Commit Graph

2719 Commits

Author SHA1 Message Date
Nick Mathewson
08627d5d87 Track whether descriptor is dirty/uploaded. When any options are set, mark it dirty. Once a minute, regenerate and upload the server descriptor if it is dirty.
svn:r2832
2004-11-13 16:53:48 +00:00
Roger Dingledine
ec7d0d43f4 add in some more todo items
svn:r2831
2004-11-13 11:45:44 +00:00
Roger Dingledine
d214e06af2 remove finished 0.0.9pre5 items
add a weasel-wishlist item


svn:r2830
2004-11-13 04:33:21 +00:00
Nick Mathewson
6c40d2b227 Allocate 009pre6 items
svn:r2829
2004-11-13 04:31:46 +00:00
Nick Mathewson
0b42e31fe0 Comment a confusing conditional
svn:r2828
2004-11-13 02:54:30 +00:00
Peter Palfrader
8fd6d0e3f3 And install it into usr/share/doc/tor/
svn:r2827
2004-11-13 02:51:44 +00:00
Roger Dingledine
56a718f538 include control-spec.txt in the tarball
svn:r2826
2004-11-13 02:49:11 +00:00
Roger Dingledine
5864f4ac01 fix a seg fault when fetching rendezvous descs
svn:r2825
2004-11-12 21:59:27 +00:00
Nick Mathewson
a3788d5c9d Fix argument to strncpy.
svn:r2824
2004-11-12 21:14:51 +00:00
Nick Mathewson
a8f9ba91db Nobody was using the return values from smartlist_(set|del|del_keeporder), so remove them.
svn:r2823
2004-11-12 21:14:06 +00:00
Nick Mathewson
238a895e69 Add a FAST_SMARTLIST define to optionally inline smartlist_get and smartlist_len, which are two major profiling offenders.
svn:r2822
2004-11-12 20:41:52 +00:00
Nick Mathewson
c466b7e72f Speed up tor_strndup a lot: profiling suggests that our use of strlcpy here was a bad idea.
svn:r2821
2004-11-12 20:41:03 +00:00
Nick Mathewson
eabcf6618e Write most of the implementation for SAVECONF.
svn:r2820
2004-11-12 20:09:54 +00:00
Nick Mathewson
5109de5626 Rename exit_policy to addr_policy, since it gets used for SOCKS and directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act.
svn:r2819
2004-11-12 19:39:13 +00:00
Peter Palfrader
ad8e779db2 Tweak it some more
svn:r2817
2004-11-12 17:34:02 +00:00
Peter Palfrader
ecf21bda3f Change init startup script to properly deal with tor printing stuff on startup.
svn:r2816
2004-11-12 17:31:42 +00:00
Peter Palfrader
26652ef72c Guess this is 0.0.8+0.0.9pre5-2
svn:r2815
2004-11-12 17:24:28 +00:00
Peter Palfrader
3bd77da001 Remove /usr/bin/tor-control.py from the binary package
svn:r2814
2004-11-12 17:21:16 +00:00
Peter Palfrader
ead200164a Do not patch the default torrc to include settings we really want. Instead modify the compiled in default options.
svn:r2813
2004-11-12 17:17:58 +00:00
Peter Palfrader
a1e7ad4855 Fix two comments in torrc.sample.in directly in the upstream source
svn:r2812
2004-11-12 17:04:42 +00:00
Peter Palfrader
abd90020a4 Point to /var/log/tor (the directory) instead of a single file (/var/log/tor/log) in the debian patch of the manpage.
svn:r2811
2004-11-12 16:52:10 +00:00
Peter Palfrader
b7131c2260 Make logs readable by the system administrators (group adm)
svn:r2810
2004-11-12 16:48:27 +00:00
Peter Palfrader
2e0db9b0f9 Symlink tor(8) manpage to torrc(5)
svn:r2809
2004-11-12 16:47:21 +00:00
Nick Mathewson
60880cda84 Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
svn:r2808
2004-11-12 16:39:03 +00:00
Nick Mathewson
2a5bcb29e6 Resolve FIXME: Possible solution to note_disconnect problem; needs thought and review.
svn:r2807
2004-11-12 05:52:19 +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
0faab62cd9 Resolve FIXMES: sometimes an error code is just an error code
svn:r2805
2004-11-12 05:03:50 +00:00
Roger Dingledine
90e0ad517e dfc caught a SIGXFSZ error when his debugfile reached 2GB.
so if they exist, catch them and ignore them.
write() will fail normally and we'll look at errno like
normal human beings.


svn:r2804
2004-11-12 04:59:37 +00:00
Roger Dingledine
c106ab8315 clean torrc sample
change log files to end in .log for logrotate to notice
mention that address doesn't need to be defined


svn:r2803
2004-11-12 04:00:07 +00:00
Roger Dingledine
21782df73e mention that Address doesn't need to be set
svn:r2802
2004-11-12 03:30:11 +00:00
Roger Dingledine
a24bd3c024 move datadirectory to the 'general' section,
move contactinfo to the 'server' section


svn:r2801
2004-11-12 03:29:03 +00:00
Roger Dingledine
fde595feb7 when clients do --list-fingerprint, it's misleading to
give them one, because it will never be the same again


svn:r2800
2004-11-11 13:24:10 +00:00
Nick Mathewson
6252cba522 apply patch from Andre Eisenbach: include event code with events, as required by control-spec.txt
svn:r2799
2004-11-11 00:54:53 +00:00
Nick Mathewson
e69d9647ed Remove XXXX009 comment telling us to do the last (circID-related) fix
svn:r2798
2004-11-10 20:19:45 +00:00
Nick Mathewson
954570486f Resolve a FIXME: use identity comparison, not nickname comparison, to
choose circuit ID types.  This is important because our view of "the
nickname of the router on the other side of this connection" is
skewed, and depends on whether we think the other rotuer is
verified--and there's no way to know whether another router thinks you
are verified.

For backward compatibility, we notice when the other router chooses
the same circuit ID type as us (because it's running an old version),
and switch our type to be polite.


svn:r2797
2004-11-10 20:14:37 +00:00
Nick Mathewson
35d0d3c050 Note a pre6 item
svn:r2796
2004-11-10 20:01:38 +00:00
Nick Mathewson
ec49905fb8 When we think we have no bandwidth, guess that we will run for 1 day.
svn:r2795
2004-11-10 19:32:44 +00:00
Nick Mathewson
9c22b428bf Clarify a warning about /.tor
svn:r2794
2004-11-10 14:29:18 +00:00
Nick Mathewson
a43db78e8d Resolve FIXME items: make the kill-unattached-AP timeout symbolic
svn:r2793
2004-11-10 14:28:47 +00:00
Nick Mathewson
c9af37d1ba Resolve FIXME items: make circuit_free_cpath_node static
svn:r2792
2004-11-10 14:28:04 +00:00
Nick Mathewson
fde4129ac3 Resolve FIXME items: clarify two XXXX comments for 009
svn:r2791
2004-11-10 14:27:26 +00:00
Nick Mathewson
aa1c0c4d67 Resolve FIXME items: fix assert failure on malformed socks4a qreuests. (bug reported by Anna Shubina wrt old Netscapes)
svn:r2790
2004-11-10 14:26:34 +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
987cb2b93a when you cast MAX_UINT to an int it confuses the users
svn:r2788
2004-11-10 09:09:15 +00:00
Roger Dingledine
23a69fde8e bump us to 0.0.9pre6-cvs
svn:r2787
2004-11-10 09:02:07 +00:00
Nick Mathewson
c1bf171ed8 Fix a few bugs in accounting: parse bw_accounting correctly; set end time of continued interval; record used bandwidth on state change.
svn:r2785
2004-11-10 04:19:53 +00:00
Roger Dingledine
df671e09cc don't install tor-control.py, just ship it
svn:r2784
2004-11-10 04:06:24 +00:00
Roger Dingledine
646903542a make nick's config patch build
svn:r2783
2004-11-10 03:48:38 +00:00
Peter Palfrader
40f463ec9f Log at level notice of higher, not warn or higher. Thanks arma
svn:r2781
2004-11-10 03:46:06 +00:00
Peter Palfrader
bc932f555e Change the description slightly, to say "don't rely on the current Tor network
if you really need strong anonymity", instead of "Tor will not provide
anonymity currently".


svn:r2780
2004-11-10 03:45:34 +00:00