Commit Graph

52 Commits

Author SHA1 Message Date
Jacob Appelbaum
9cc76cf005 First implementation of tor-fw-helper.
tor-fw-helper is a command-line tool to wrap and abstract various
firewall port-forwarding tools.

This commit matches the state of Jacob's tor-fw-helper branch as of
23 September 2010.

  (commit msg by Nick)
2010-09-30 11:37:53 -04:00
Sebastian Hahn
8cae0b6b1b Simplify expression to list files for check-spaces
The tinytest* files went into src/test/.
2010-07-27 10:00:46 +02:00
Steven Murdoch
4c38069b39 Include src/tools in paths to check with "make check-spaces" 2010-05-20 22:27:58 -04:00
Nick Mathewson
b006e3279f Merge remote branch 'origin/maint-0.2.1'
Conflicts:
	src/common/test.h
	src/or/test.c
2010-02-27 17:16:31 -05:00
Nick Mathewson
c3e63483b2 Update Tor Project copyright years 2010-02-27 17:14:21 -05:00
Roger Dingledine
9254655924 we deleted AUTHORS, so don't put it in the tarball 2010-02-22 00:38:02 -05:00
Sebastian Hahn
4116a00679 List all the excluded files for make check-spaces
The file listing for excluded files was outdated. tree.h doesn't
exist anymore, and several other files were missing.
2009-12-12 02:53:27 +01:00
Nick Mathewson
d58a6bb137 Make "make test" depend on "all". 2009-09-23 00:24:43 -04:00
Nick Mathewson
da1aa66f70 Move testing code into new src/test directory. 2009-09-23 00:24:43 -04:00
Nick Mathewson
d4b54549b8 Refactor unit tests to use the tinytest framework.
"Tinytest" is a minimalist C unit testing framework I wrote for
Libevent.  It supports some generally useful features, like being able
to run separate unit tests in their own processes.

I tried to do the refactoring to change test.c as little as possible.
Thus, we mostly don't call the tinytest macros directly.  Instead, the
test.h header is now a wrapper on tinytest.h to make our existing
test_foo() macros work.

The next step(s) here will be:
  - To break test.c into separate files, each with its own test group.
  - To look into which things we can test
  - To refactor the more fiddly tests to use the tinytest macros
    directly and/or run forked.
  - To see about writing unit tests for things we couldn't previously
    test without forking.
2009-09-23 00:24:43 -04:00
Roger Dingledine
c3274c4c43 Merge branch 'maint-0.2.1' into master 2009-07-24 18:37:12 -04:00
Roger Dingledine
4b5371686c make phobos's lines start with tabs again
in case Make on openirix128 can't handle it otherwise
2009-07-24 17:15:14 -04:00
Andrew Lewman
be5faae7a9 added LIBS=-lrt to Makefile.am for static libevent in the tor rpms. 2009-07-24 17:07:26 -04:00
Nick Mathewson
078c34e28e Merge commit 'origin/maint-0.2.1'
[Didn't take Karsten's full bug 1024 workaround, since 0.2.2 doesn't
use v0 rend descs.]
2009-07-02 10:20:20 -04:00
Peter Palfrader
0cbc0c463b Update the year for the copyright statement in two more files 2009-06-30 10:35:10 -04:00
Sebastian Hahn
d230827912 Remove all svn metadata minus what I missed.
Tor doesn't use SVN anymore, making $Revision$, $Id$ and $Date$
meaningless. Remove them without replacement.
2009-05-05 17:05:46 +02:00
Nick Mathewson
507b01357a r17426@tombo: nickm | 2008-07-28 20:34:03 -0400
More test coverage for tor_addr_t; fix a couple of bugs.


svn:r16234
2008-07-29 00:34:50 +00:00
Nick Mathewson
9c8833174c Make dist depend on check.
svn:r14951
2008-06-04 18:41:32 +00:00
Nick Mathewson
8c6b5d6640 r14246@tombo: nickm | 2008-02-17 19:33:02 -0500
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file.


svn:r13566
2008-02-19 05:08:27 +00:00
Nick Mathewson
842a33ff20 Update some copyright notices: it is now 2008.
svn:r13412
2008-02-07 05:31:47 +00:00
Nick Mathewson
759c58151e r11775@catbus: nickm | 2007-02-12 16:39:09 -0500
Update copyright dates.


svn:r9570
2007-02-12 21:39:53 +00:00
Roger Dingledine
48261e91d8 add a new file ReleaseNotes that contains just the
summary changelogs from the stable releases. we'll
be removing these summaries from ChangeLog, in favor
of more detailed per-sub-release changelogs.


svn:r9405
2007-01-25 20:44:48 +00:00
Nick Mathewson
e9ad1650c0 r11651@Kushana: nickm | 2006-12-20 12:05:04 -0500
Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options.


svn:r9160
2006-12-20 17:05:48 +00:00
Nick Mathewson
ceb3a50977 r8936@totoro: nickm | 2006-10-07 21:00:05 -0400
Make "make test" test.


svn:r8645
2006-10-08 03:17:24 +00:00
Nick Mathewson
174c3dc6b7 r9021@Kushana: nickm | 2006-09-29 16:58:41 -0400
Add a perl script and a make target to find and check for duplicate log messages at level notice or higher.


svn:r8539
2006-09-29 22:33:28 +00:00
Nick Mathewson
b1ad605780 Build correctly for use on OS X platforms with case-sensitive filesystems
svn:r8487
2006-09-24 21:45:02 +00:00
Nick Mathewson
c660a0f6a2 More DNS fixes. Send meaningful TTLs back to the client when
possible.  Cache at the server side independently from the TTL, to
prevent attackers from probing the server to see who has been asking
for what hostnames.  (Hi, Dan Kaminski!)

Also, clean some whitespace.


svn:r6526
2006-06-03 21:41:14 +00:00
Andrew Lewman
1fcc12ffff Reworked dist-rpm in order to duplicate what dist used to do, but don't actually require dist.
svn:r6437
2006-05-04 00:34:51 +00:00
Andrew Lewman
73c268707b Temporary hacks to ensure make dist-rpm works from cvs until a better
solution can be found.


svn:r6383
2006-04-13 01:46:27 +00:00
Andrew Lewman
561f2ec7b9 Remove a dependency on dist and assume a tarball is in ".." for
dist-rpm.


svn:r6363
2006-04-10 14:12:29 +00:00
Andrew Lewman
55ca3927e9 Fix up Makefile.am for the rpm target_cpu and target_os implementation.
svn:r6024
2006-02-16 22:00:46 +00:00
Andrew Lewman
fab7268bf0 Implement first version of the ability to target arch and OS in rpm
builds.  This also implements the resulting dist-rpm filename to match the
target arch.


svn:r6023
2006-02-16 21:53:18 +00:00
Roger Dingledine
5f051574d5 Happy new year!
svn:r5949
2006-02-09 05:46:49 +00:00
Nick Mathewson
787dfac69b make whitespace checker handle non-C too.
svn:r4412
2005-06-11 18:52:37 +00:00
Nick Mathewson
0e81265359 update copyright notices.
svn:r3982
2005-04-01 20:15:56 +00:00
Nick Mathewson
20142a2508 Forward-port OSX packaging stuff from maint branch
svn:r3299
2005-01-05 02:46:25 +00:00
Nick Mathewson
0e9f77b9d8 Forward-port last RPM change to mainline
svn:r3178
2004-12-18 23:04:55 +00:00
Nick Mathewson
5a5be93f80 Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
svn:r2758
2004-11-09 20:04:00 +00:00
Nick Mathewson
311695e279 Finish applying jbash patch to Makefile.am; make dist-rpm work again
svn:r2682
2004-11-04 22:46:38 +00:00
Nick Mathewson
69e5e8d0ad Merge RPM spec patch from jbash
svn:r2674
2004-11-04 15:17:22 +00:00
Nick Mathewson
d15a95145e Add Doxygen config file and make target, along with section in HACKING document
svn:r1819
2004-05-07 17:03:52 +00:00
Nick Mathewson
a1503f667e Integrate jbash's RPM spec into build process. (Requires "rpmbuild" to
build properly.  Works fine on redhat 9.  YMMV.)


svn:r1199
2004-03-02 19:09:30 +00:00
Steven Hazel
3ba1a82680 made these scripts know about config/Makefile.am
svn:r1090
2004-02-17 06:41:18 +00:00
Roger Dingledine
7244c23da3 include our ChangeLog file in make dist
svn:r1070
2004-02-17 01:06:48 +00:00
Roger Dingledine
b1d8973990 figured out how to make autoconf a bit less viral
(thanks cherub)


svn:r666
2003-10-24 03:27:53 +00:00
Roger Dingledine
f84cdb9005 force the admin to mkdir the datadirectory himself,
so he gets the permissions right.

also this means clients will never need to make the datadirectory.

also remind the admin to fix his clock before setting up his node.


svn:r650
2003-10-22 04:33:11 +00:00
Steven Hazel
1769b00cdb create var/lib/tor on "make install" -- this should allow
sample-server-torrc to Just Work


svn:r605
2003-10-16 08:53:14 +00:00
Roger Dingledine
de6cbe53c0 some early bugfixes
our log() conflicts with log(3)
distribute only the correct files from doc/ and src/config/
sometimes laptops go back in time. i guess that's ok for now.
and bump the version number because we're live.


svn:r544
2003-10-07 16:30:05 +00:00
Roger Dingledine
b6615bc7de allow make dist to work, because we moved stuff to doc
svn:r211
2003-03-19 22:43:03 +00:00
Roger Dingledine
e7ecd5e1d5 actually writing down the current license state
svn:r116
2002-09-27 02:46:29 +00:00