Commit Graph

259 Commits

Author SHA1 Message Date
Nick Mathewson
324b192f68 Make Tor use Niels Provos's libevent instead of it's current
poll-but-sometimes-select mess.  This will let us use faster async cores
(like epoll, kpoll, and /dev/poll), and hopefully work better on Windows
too.

There are some fairly nasty changes to main.c here; this will almost
certainly break something.  But hey, that's what alphas are for.


svn:r3341
2005-01-12 06:42:32 +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
323b3a8dbc Bump repository version to tor-0.1.0.0-alpha-cvs. (First prerelease will be 0.1.0.1-alpha
svn:r3168
2004-12-17 21:17:44 +00:00
Roger Dingledine
29cf8a0a45 move us to 0.0.9.1
svn:r3150
2004-12-15 19:51:35 +00:00
Roger Dingledine
c0cb824857 move us to 0.0.9
svn:r3139
2004-12-13 00:52:35 +00:00
Roger Dingledine
524a8bdc70 bump to 0.0.9rc7
svn:r3121
2004-12-08 01:14:56 +00:00
Roger Dingledine
3ff0077cbb bump us to 0.0.9rc7-cvs
svn:r3102
2004-12-07 07:37:01 +00:00
Roger Dingledine
4006246b9e bump us to 0.0.9rc6
svn:r3089
2004-12-06 06:27:39 +00:00
Roger Dingledine
e694268644 bump us to 0.0.9rc6-cvs
darn these bugs


svn:r3069
2004-12-04 00:36:34 +00:00
Roger Dingledine
a3395e893f bump to 0.0.9rc5
svn:r3056
2004-12-01 04:32:51 +00:00
Roger Dingledine
9811f68310 bump to 0.0.9rc5-cvs
svn:r3009
2004-11-29 01:00:54 +00:00
Roger Dingledine
67dc7baa59 bump to 0.0.9rc4
svn:r3001
2004-11-28 06:44:08 +00:00
Roger Dingledine
81dad3e08b that's enough changes to bump to rc4-cvs
svn:r2991
2004-11-26 04:08:07 +00:00
Roger Dingledine
d254aeb09e bump to 0.0.9rc3
svn:r2984
2004-11-25 05:40:06 +00:00
Roger Dingledine
2dc62ba5f1 bump to rc2
svn:r2965
2004-11-23 23:26:06 +00:00
Roger Dingledine
7ed738b34c fix some typos; move to 0.0.9rc1
svn:r2951
2004-11-23 07:37:25 +00:00
Roger Dingledine
7bb7aff367 bump us to 0.0.9rc1-cvs
svn:r2916
2004-11-20 07:58:51 +00:00
Roger Dingledine
3e4f30fbb9 bump us to 0.0.9pre6
svn:r2902
2004-11-16 03:29:09 +00:00
Nick Mathewson
ed01a15d4d Add coda at the end of configure.in to update versions in orconfig.h and tor.nsi as needed.
svn:r2864
2004-11-14 19:02:58 +00:00
Nick Mathewson
783bbcf471 Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
svn:r2854
2004-11-14 17:21:32 +00:00
Roger Dingledine
affcda71c6 generate contrib/torctl via auto*
svn:r2846
2004-11-14 09:05:56 +00:00
Nick Mathewson
5d92fbe30e Use autoconf to enable largefile support where necessary. Use ftello where available, since ftell can fail at 2GB.
svn:r2806
2004-11-12 05:05:41 +00:00
Nick Mathewson
8de9cfe184 Resolve FIXME items: make expand_filename handle ~ and ~username
svn:r2789
2004-11-10 14:23:31 +00:00
Roger Dingledine
23a69fde8e bump us to 0.0.9pre6-cvs
svn:r2787
2004-11-10 09:02:07 +00:00
Roger Dingledine
e5229a214c ship the tarball with a minimal cflags, since gcc's vary so much
svn:r2770
2004-11-10 02:50:02 +00:00
Nick Mathewson
21c92dace0 More whitespace normalization
svn:r2768
2004-11-10 01:20:17 +00:00
Roger Dingledine
cb30d054a8 separate out the cflags that cause spurious warnings, so
we don't ship those in the tarball
also, bump us to 0.0.9pre5


svn:r2760
2004-11-10 00:13:02 +00:00
Roger Dingledine
8af43306d9 move -Wwrite-strings -Wredundant-decls to a separate CFLAGS
line, since they fail on my system due to bugs in my includes


svn:r2718
2004-11-09 04:50:44 +00:00
Nick Mathewson
38ed0ce5e6 Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
svn:r2688
2004-11-05 17:54:50 +00:00
Nick Mathewson
69e5e8d0ad Merge RPM spec patch from jbash
svn:r2674
2004-11-04 15:17:22 +00:00
Roger Dingledine
5253405dfc my gcc has never heard of -Wendif-labels
feel free to add it back in if you can make it only used by gcc's
that know about it


svn:r2654
2004-11-03 07:29:44 +00:00
Nick Mathewson
67f14032b1 Handle strlcat/strlcpy correctly on platforms that have them.
svn:r2647
2004-11-02 19:25:52 +00:00
Nick Mathewson
ad4dc74482 Use a stricter set of warnings; make them all pass.
svn:r2645
2004-11-02 03:02:17 +00:00
Roger Dingledine
2f5efbcb44 hunt for getrlimit setrlimit sys/time.h sys/resource.h
svn:r2637
2004-11-01 08:23:45 +00:00
Nick Mathewson
ae7495dd55 Only tor and test binaries need to link against openssl and zlib; tor-resolve can be smaller.
svn:r2629
2004-10-30 19:27:06 +00:00
Nick Mathewson
5c68db8b3d Link tools directory into rest of build system
svn:r2623
2004-10-28 20:31:15 +00:00
Nick Mathewson
26f3cb8652 Add SysLog option to direct log messages to the system log instead of a FILE*.
svn:r2591
2004-10-26 21:48:41 +00:00
Roger Dingledine
9cc0c3620f ship src/win32/ in the tarball
svn:r2576
2004-10-21 00:49:17 +00:00
Roger Dingledine
820ad3c66a bump version to pre5-cvs
svn:r2574
2004-10-20 23:28:11 +00:00
Roger Dingledine
4c2595ca66 bump version to 0.0.9pre4
svn:r2557
2004-10-17 05:32:10 +00:00
Nick Mathewson
b0afd91afe Paranoid bulletproofing for exit code
svn:r2537
2004-10-16 20:37:54 +00:00
Nick Mathewson
f619c4603e Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
svn:r2536
2004-10-16 20:26:12 +00:00
Roger Dingledine
3c478c1923 bump to 0.0.9pre4-cvs
svn:r2515
2004-10-14 10:53:00 +00:00
Roger Dingledine
0d0df005ff bump version to 0.0.9pre3
svn:r2507
2004-10-14 06:59:12 +00:00
Roger Dingledine
188c9a034d oops, actually pre3-cvs now
svn:r2433
2004-10-08 06:02:14 +00:00
Roger Dingledine
53d577d16c bump us to 0.0.9pre3-cvs
svn:r2432
2004-10-08 06:02:01 +00:00
Roger Dingledine
30e5f5793e pre2 changes:
o Bugfixes on pre1:
    - Make fetching a cached directory work for 64-bit platforms too.
    - Make zlib.h a required header, not an optional header.


svn:r2411
2004-10-02 23:29:56 +00:00
Roger Dingledine
8ba86dbee9 bump version to 0.0.9pre2-cvs
svn:r2409
2004-10-01 20:59:57 +00:00
Roger Dingledine
0b728284d2 make zlib.h a required header, not an optional header
svn:r2406
2004-10-01 19:55:01 +00:00
Roger Dingledine
af9fd660d5 bump version to 0.0.9pre1
svn:r2398
2004-09-29 04:22:13 +00:00
Roger Dingledine
12101a25e8 bump us to 0.0.9pre1-cvs
svn:r2340
2004-09-10 00:14:16 +00:00
Nick Mathewson
4c799ae731 Check for zlib; link with it.
svn:r2326
2004-09-02 18:27:09 +00:00
Roger Dingledine
571176d263 bump us to 0.0.8 -- this is it. (well, soon)
svn:r2316
2004-08-25 19:09:16 +00:00
Roger Dingledine
7b5b9588f8 look for ssldir in /usr/athena too
svn:r2314
2004-08-25 19:04:55 +00:00
Roger Dingledine
1e24d59aef add a changelog and bump to 0.0.8rc2
svn:r2303
2004-08-20 21:41:19 +00:00
Roger Dingledine
6881c85dec this isn't pre4, this is rc1
svn:r2296
2004-08-18 21:59:44 +00:00
Roger Dingledine
285032ce0f bump version to pre4 (not ready yet)
svn:r2278
2004-08-18 07:00:39 +00:00
Roger Dingledine
b5e63f7dcd bump cvs to 0.0.8pre4-cvs
svn:r2217
2004-08-09 08:50:17 +00:00
Roger Dingledine
ed34b41874 bump us to 0.0.8pre3
svn:r2213
2004-08-09 07:41:21 +00:00
Peter Palfrader
0430b4c5a0 Move design-paper into its own directory, and ship it and all that is needed to build with it in the tarball
svn:r2163
2004-08-06 19:54:29 +00:00
Roger Dingledine
8a8776060f bump cvs to 0.0.8pre3-cvs
svn:r2160
2004-08-06 19:40:19 +00:00
Roger Dingledine
6466233add bump cvs version to 0.0.8pre2-cvs
svn:r2133
2004-08-04 01:26:17 +00:00
Nick Mathewson
849e998ac6 It is possible to have struct timeval but not gettimeofday.
svn:r2125
2004-08-03 23:31:22 +00:00
Roger Dingledine
e4ae4f43dd bump us to 0.0.8pre1
this is it


svn:r2120
2004-07-23 06:28:41 +00:00
Roger Dingledine
bcc1e8bb6b bump cvs version to 0.0.8pre1-cvs
svn:r1975
2004-06-17 05:38:20 +00:00
Roger Dingledine
72ed3c2810 bump version to 0.0.7
svn:r1956
2004-06-07 19:17:33 +00:00
Nick Mathewson
37c45424d6 Checkpoint work towards making tor.spec work with current tor and conform (more or less) to fedora.us packaging guidelines
svn:r1953
2004-06-06 23:20:28 +00:00
Roger Dingledine
15f405c062 cvs version is now 0.0.7rc1-cvs
svn:r1945
2004-06-03 01:18:39 +00:00
Roger Dingledine
f5e0900902 search for sys/param.h too
freebsd needs it to know what version it's running


svn:r1926
2004-06-01 17:00:19 +00:00
Roger Dingledine
5f36b11fe0 rik's patch to only include kerberos/include on red hat
svn:r1920
2004-05-26 20:23:12 +00:00
Nick Mathewson
14ba9f9153 Override unaligned-access-ok check when $host_cpu is ia64. Apparently, ia64-linux reacts to unaligned access by making the kernel gripe. Re-run autogen.sh if you need config.guess/sub.
svn:r1882
2004-05-17 20:53:04 +00:00
Roger Dingledine
fcafc5e234 bump version of cvs pre1, since old cvs pre1 is incompatible
svn:r1875
2004-05-16 08:55:13 +00:00
Roger Dingledine
ea182c839f bump cvs version to 0.0.7pre1-cvs
svn:r1810
2004-05-06 22:38:12 +00:00
Nick Mathewson
8aebd83a0e Add intptr_t and uintptr_t to torint.h
svn:r1794
2004-05-05 20:26:35 +00:00
Roger Dingledine
bfc99760c3 version is 0.0.6
svn:r1770
2004-05-02 19:27:16 +00:00
Roger Dingledine
371d507043 bump main version to 0.0.6rc4
svn:r1768
2004-05-02 03:42:14 +00:00
Roger Dingledine
27baaf1cb7 and then bump to rc4-cvs
svn:r1749
2004-04-29 02:53:36 +00:00
Roger Dingledine
ebfe2b39ce bump to rc3
svn:r1748
2004-04-29 02:53:06 +00:00
Roger Dingledine
1b4dd10cfe bump us to rc2
svn:r1713
2004-04-26 09:33:11 +00:00
Nick Mathewson
568a4d187a Check for machine/limits.h in addition to sys/limits.h
svn:r1705
2004-04-25 23:47:26 +00:00
Roger Dingledine
db814b1276 bump version to 0.0.6rc1
svn:r1698
2004-04-25 20:44:23 +00:00
Roger Dingledine
2398eacfaa bump cvs version to 0.0.6pre6-cvs
svn:r1672
2004-04-19 02:56:03 +00:00
Roger Dingledine
1e0ffab3f4 freebsd 5.x needs sys/limits.h
svn:r1652
2004-04-17 06:34:36 +00:00
Roger Dingledine
acf2215946 weasel convinced me not to call it pre5 until it's actually pre5
svn:r1640
2004-04-16 09:01:33 +00:00
Roger Dingledine
4ec4c800d7 bump cvs to 0.0.6pre5
svn:r1638
2004-04-16 08:43:09 +00:00
Roger Dingledine
ddc11899b6 bump version to 0.0.6pre4
svn:r1631
2004-04-15 03:07:01 +00:00
Roger Dingledine
c056d1c5e0 bump cvs to 0.0.6pre3
svn:r1621
2004-04-14 05:37:41 +00:00
Roger Dingledine
7c7301fe92 bump cvs to 0.0.6pre1
svn:r1532
2004-04-07 21:35:38 +00:00
Roger Dingledine
05019b64f4 bump to 0.0.5
svn:r1388
2004-03-30 18:34:30 +00:00
Roger Dingledine
826513e42b bump to 0.0.5rc3
svn:r1386
2004-03-30 03:20:48 +00:00
Roger Dingledine
d8a5358ce9 call it torrc.sample, not torrc
svn:r1374
2004-03-29 23:58:02 +00:00
Roger Dingledine
10b360f188 bump to 0.0.5rc2
svn:r1372
2004-03-29 22:18:32 +00:00
Roger Dingledine
a98579e0bc bump version back to 0.0.4.1
svn:r1348
2004-03-26 23:38:33 +00:00
Roger Dingledine
dc91cb6cb2 bump cvs to 0.0.5
svn:r1344
2004-03-26 22:44:44 +00:00
Roger Dingledine
3be56afa05 bump cvs to 0.0.4
svn:r1339
2004-03-26 19:39:11 +00:00
Nick Mathewson
2561472809 Add missing dollar sign
svn:r1330
2004-03-21 04:19:31 +00:00
Nick Mathewson
b69f5f3e1b Add an autoconf test for whether unaligned int access is permitted.
It works on macos, and works correctly when I twiddle the test code to
generate a spurious segfault.  Will it work anywhere else?


svn:r1329
2004-03-21 04:14:06 +00:00
Roger Dingledine
e5cf396285 oops, and make make work too on solaris
svn:r1316
2004-03-20 20:08:19 +00:00
Roger Dingledine
31aadef2d3 make configure work on solaris without mods
svn:r1315
2004-03-20 20:00:58 +00:00
Roger Dingledine
4d37311481 we'd forgotten to autoconf fcntl.h
svn:r1304
2004-03-19 21:33:36 +00:00
Roger Dingledine
e66adf3d79 bump version to 0.0.2
svn:r1296
2004-03-19 06:28:20 +00:00
Nick Mathewson
971b002d93 Include strlcpy and strlcat where not available, so our string ops can be less error-prone.
svn:r1289
2004-03-17 07:28:09 +00:00
Roger Dingledine
de04585103 bump us to pre27
world's shortest release


svn:r1281
2004-03-15 04:21:35 +00:00
Nick Mathewson
0e5a134709 Fix DOS line endings; autoconfize checks for strptime and inet_aton
svn:r1248
2004-03-09 22:09:13 +00:00
Roger Dingledine
044bda2f06 bump cvs to pre26
svn:r1237
2004-03-06 01:47:31 +00:00
Roger Dingledine
3ed196ca4e bump cvs to pre25
svn:r1218
2004-03-03 09:55:14 +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
Roger Dingledine
5aafb298af bump cvs to pre24
svn:r1183
2004-02-29 11:25:52 +00:00
Roger Dingledine
58a7bfab81 bump cvs to pre23
svn:r1144
2004-02-27 04:59:32 +00:00
Roger Dingledine
7d4202a6dc bump our version to pre22
svn:r1125
2004-02-26 21:27:12 +00:00
Roger Dingledine
980f74f455 bump us to pre21, add ChangeLog entries
svn:r1107
2004-02-18 08:54:35 +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
8b8753cbfa and build the torify script on ./configure
svn:r1080
2004-02-17 04:29:11 +00:00
Roger Dingledine
f527e138ad look for tor.sh in the right place
svn:r1069
2004-02-17 00:58:07 +00:00
Roger Dingledine
c5d91cc14a move cvs to pre20
svn:r1031
2004-01-31 00:13:58 +00:00
Roger Dingledine
689823f41b move us to pre19
svn:r978
2004-01-07 22:56:12 +00:00
Roger Dingledine
bf63d281b4 stop checking for the system's daemon() func, since we don't use it
svn:r975
2004-01-07 12:06:35 +00:00
Roger Dingledine
7622a80904 move us to pre18
svn:r967
2004-01-02 09:03:59 +00:00
Roger Dingledine
d3a2067584 bump cvs version to pre17, so people using cvs tor are denied from
the (incompatible) pre16 network


svn:r945
2003-12-16 22:22:11 +00:00
Roger Dingledine
a0f16c619c we are pre16
svn:r933
2003-12-14 08:45:43 +00:00
Roger Dingledine
4d9eabfed9 we are pre15
svn:r884
2003-12-03 21:05:15 +00:00
Roger Dingledine
5a894a1595 switch "-lcrypto -lssl" to "-lssl -lcrypto" for broken distributions
enforce -g on compile always. we're an alpha release after all.


svn:r878
2003-12-03 09:55:16 +00:00
Roger Dingledine
1d9b1550e0 stop building sample-server-torrc, start building tor.1
svn:r861
2003-11-21 04:19:24 +00:00
Roger Dingledine
3b78f5cb09 we are pre14.
svn:r850
2003-11-19 13:29:08 +00:00
Nick Mathewson
faa0f7ffe7 Use daemon(3) function where available.
svn:r665
2003-10-23 14:28:44 +00:00
Steven Hazel
b1eca56b77 added User and Group options -- if you set them, tor will try to
setuid and setgid respectively, and die if it can't.

(If the User option is set, tor will setgid to the user's gid as well.)

This happens after the pidfile is created, so that in cases where tor
needs to be root to work with the pidfile, it will at least be able to
create it, although it won't be able to delete it.  That sucks, but
it's somewhat better than not being able to create the pidfile in the
first place.


svn:r652
2003-10-22 06:03:11 +00:00
Roger Dingledine
b4117d2a37 move to 0.0.2pre13
svn:r631
2003-10-19 05:45:22 +00:00
Roger Dingledine
b23eea3fae don't clobber CFLAGS when configure starts
svn:r598
2003-10-15 19:13:39 +00:00
Steven Hazel
a54a65dfb6 - cause configure to create a tor.sh which will have directories set
correctly based on how configure was run

- cause tor to guess the location of torrc more intelligently

- cause cause src/config/torrc and src/conf/sample-server-torrc to be
  generated with contents that are correct for the way configure was
  run

- cause "make install" to put torrc, sample-server-torrc, and
  dirservers somewhere intelligent


svn:r587
2003-10-15 07:19:38 +00:00
Roger Dingledine
411a18e34c put out 0.0.2pre12
(mainly doc and log changes)


svn:r579
2003-10-12 07:19:10 +00:00
Roger Dingledine
8b80362c76 0.0.2pre11, new license
svn:r564
2003-10-08 04:10:59 +00:00
Roger Dingledine
16778795f3 minor fixes; bump to 0.0.2pre10
svn:r551
2003-10-07 21:27:33 +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
Nick Mathewson
cbb0a9a153 Check for uname in configure
svn:r520
2003-09-30 22:42:26 +00:00
Roger Dingledine
0d9e339d49 remove last piece of orkeygen (i think)
svn:r500
2003-09-27 09:01:39 +00:00
Roger Dingledine
36ec1792d2 bugfix: we weren't looking for sys/stat.h
svn:r480
2003-09-23 20:04:28 +00:00
Roger Dingledine
429fb381f8 let tor compile with tls on rh9
nick: is this the right way to do the autoconf stuff? what happens when
/usr/kerberos/include/ doesn't exist?
an alternate way is to add `pkg-config --cflags openssl` to CFLAGS, but
it seems that command only works on rh9. yay portability issues.


svn:r453
2003-09-14 01:44:44 +00:00
Nick Mathewson
fd20011c26 Add initial interfaces and code for TLS support. Interfaces are right; code needs work and testing.
svn:r424
2003-09-04 16:05:08 +00:00
Nick Mathewson
2cb4f7a473 Adopt socketpair implementation from perl. For now, always use it.
svn:r389
2003-08-12 07:43:15 +00:00
Roger Dingledine
c82e13f1f5 reap exited dns/cpuworkers
svn:r385
2003-08-12 06:41:53 +00:00
Roger Dingledine
33d484bf10 we must have openssl, so HAVE_OPENSSL is redundant
svn:r383
2003-08-12 05:48:26 +00:00
Nick Mathewson
c336c99e60 Start of port to win32. Missing are:
- signal support
  - forking for DNS farm
  - changes for async IO
  - daemonizing

In other words, some files still don't build, and the ones that do build,
do nonblocking IO incorrectly.

I'm also not checking in the project files till I have a good place
for them.


svn:r380
2003-08-12 03:08:41 +00:00
Nick Mathewson
5126f203f2 Work on systems with broken AC_CHECK_TYPE
svn:r379
2003-08-11 23:21:51 +00:00
Nick Mathewson
58e2edfb24 Who would have thought that some systems define intfoo_t, but not uintfoo_t? Cygwin is such a system.
svn:r378
2003-08-11 21:16:13 +00:00
Nick Mathewson
7284c25b34 Cope better on platforms that define some of intFOO_t in sys/types.h or elsewhere
svn:r377
2003-08-11 20:50:30 +00:00
Nick Mathewson
5267518455 autoconf around missing stdint.h
svn:r376
2003-08-11 20:40:21 +00:00
Roger Dingledine
2554dee0d7 move to 0.0.2pre6; remove zlib include check
svn:r335
2003-06-18 05:53:03 +00:00
Nick Mathewson
1bf9f08b26 Change gcc options to ones that work on Mac OS X; add zlib to headers
svn:r182
2003-03-17 02:04:10 +00:00
Roger Dingledine
add81a7a65 a new TODO file with more details
svn:r155
2003-02-14 04:09:56 +00:00
Roger Dingledine
00a9e3732e remove popt dependency, consolidate config stuff
reformat parts of onion.c


svn:r136
2002-11-23 06:49:01 +00:00