]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 22 Nov 2004 23:28:26 +0000 (23:28 +0000)]
Normalize a few more kinds of whitespace. We now dislike:
- func (args)
- if (x){
This doesn't normalize if(x), for(x); while(x), and friends.
svn:r2943
Nick Mathewson [Mon, 22 Nov 2004 22:50:17 +0000 (22:50 +0000)]
Fix sign-related warnings
svn:r2942
Nick Mathewson [Mon, 22 Nov 2004 22:24:10 +0000 (22:24 +0000)]
Compile cleanly on windows; prevent some insane bandwidth cases (e.g., "BandwidthBurst 1000 TB" from occuring.
svn:r2941
Nick Mathewson [Mon, 22 Nov 2004 22:14:27 +0000 (22:14 +0000)]
Mark some TODO items done
svn:r2940
Nick Mathewson [Mon, 22 Nov 2004 22:13:34 +0000 (22:13 +0000)]
Normalize space
svn:r2939
Nick Mathewson [Mon, 22 Nov 2004 22:10:37 +0000 (22:10 +0000)]
Apply NT service patch from Osamu Fujino. This still has some problems (indicated in a comment adapted from the patch submission email), but it is better than before and better than nothing.
svn:r2938
Nick Mathewson [Mon, 22 Nov 2004 21:58:55 +0000 (21:58 +0000)]
Document changed options; tweak formatting slightly
svn:r2937
Nick Mathewson [Mon, 22 Nov 2004 21:56:51 +0000 (21:56 +0000)]
Implement weekly/monthly/daily accounting
svn:r2936
Nick Mathewson [Mon, 22 Nov 2004 21:38:44 +0000 (21:38 +0000)]
Add function to format local time in ISO format
svn:r2935
Nick Mathewson [Mon, 22 Nov 2004 20:08:07 +0000 (20:08 +0000)]
Absolutely never call close_temp_logs while validating log options.
svn:r2934
Roger Dingledine [Mon, 22 Nov 2004 00:10:35 +0000 (00:10 +0000)]
clean up tor-stress a bit, for posterity
svn:r2933
Roger Dingledine [Sun, 21 Nov 2004 11:30:33 +0000 (11:30 +0000)]
The crowning bugfix.
The problem was that with high load, circuit package window was
reaching 0. Whenever we got a circuit-level sendme, we were
reading a lot on each socket, but only writing out a bit. So we
would eventually reach eof. This would be noticed and acted on
even when there are still bytes sitting in the inbuf.
svn:r2932
Roger Dingledine [Sun, 21 Nov 2004 11:20:28 +0000 (11:20 +0000)]
clean up some more.
i think i'm getting closer.
svn:r2931
Roger Dingledine [Sun, 21 Nov 2004 10:14:57 +0000 (10:14 +0000)]
break reached_eof() out of process_inbuf()
svn:r2930
Roger Dingledine [Sun, 21 Nov 2004 09:39:01 +0000 (09:39 +0000)]
some more debugging aids
svn:r2929
Roger Dingledine [Sun, 21 Nov 2004 07:43:12 +0000 (07:43 +0000)]
be more greedy about filling up all relay cells.
this may have some bugs in it still.
and it may end up not being what we want to do.
svn:r2928
Roger Dingledine [Sun, 21 Nov 2004 06:35:22 +0000 (06:35 +0000)]
commit a short script to do lots of fetches through tor at once
when you do 20 or so at once, things start going odd.
might be privoxy, might be tor.
svn:r2927
Nick Mathewson [Sun, 21 Nov 2004 05:14:46 +0000 (05:14 +0000)]
Dont keep rephist info for routers that havent had activity for 24 hours.
svn:r2926
Nick Mathewson [Sun, 21 Nov 2004 05:06:22 +0000 (05:06 +0000)]
fix typo
svn:r2925
Nick Mathewson [Sun, 21 Nov 2004 04:19:04 +0000 (04:19 +0000)]
Call init_keys() where needed; fix hibernate bug.
svn:r2924
Nick Mathewson [Sun, 21 Nov 2004 04:18:36 +0000 (04:18 +0000)]
Bump windows version
svn:r2923
Roger Dingledine [Sat, 20 Nov 2004 23:16:03 +0000 (23:16 +0000)]
allow StrictEntryNode and StrictExitNode to be singular
svn:r2922
Roger Dingledine [Sat, 20 Nov 2004 12:55:41 +0000 (12:55 +0000)]
stop some more seg faults
svn:r2921
Roger Dingledine [Sat, 20 Nov 2004 12:41:05 +0000 (12:41 +0000)]
if your requested exit node has bandwidth 0, pick it anyway
svn:r2920
Roger Dingledine [Sat, 20 Nov 2004 12:17:19 +0000 (12:17 +0000)]
and a comment so i don't try to 'fix' it again later
svn:r2919
Roger Dingledine [Sat, 20 Nov 2004 12:16:47 +0000 (12:16 +0000)]
yes, in fact, i broke it. putting back.
svn:r2918
Roger Dingledine [Sat, 20 Nov 2004 08:00:57 +0000 (08:00 +0000)]
printfs want carriage returns
svn:r2917
Roger Dingledine [Sat, 20 Nov 2004 07:58:51 +0000 (07:58 +0000)]
bump us to 0.0.9rc1-cvs
svn:r2916
Roger Dingledine [Sat, 20 Nov 2004 07:35:20 +0000 (07:35 +0000)]
better text for AccountingMaxKB
document SIGUSR2
svn:r2915
Roger Dingledine [Sat, 20 Nov 2004 07:33:55 +0000 (07:33 +0000)]
kill -USR2 now moves all logs to loglevel debug
plus fix some typos
svn:r2914
Roger Dingledine [Sat, 20 Nov 2004 07:08:00 +0000 (07:08 +0000)]
simplify close_temp_logs()
(nick, did i break this?)
svn:r2913
Roger Dingledine [Sat, 20 Nov 2004 06:52:13 +0000 (06:52 +0000)]
remove another possible sigpipe cause
svn:r2912
Nick Mathewson [Sat, 20 Nov 2004 00:37:00 +0000 (00:37 +0000)]
Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting setup. More docs needed
svn:r2911
Roger Dingledine [Fri, 19 Nov 2004 08:36:25 +0000 (08:36 +0000)]
jbash prefers one backslash to two.
one didn't work for me when i tried, but hey.
i hate shell.
svn:r2910
Roger Dingledine [Thu, 18 Nov 2004 14:00:46 +0000 (14:00 +0000)]
clean up the tor-doc some
svn:r2909
Nick Mathewson [Thu, 18 Nov 2004 01:52:37 +0000 (01:52 +0000)]
mark some last items for 009rc1
svn:r2908
Roger Dingledine [Wed, 17 Nov 2004 20:26:39 +0000 (20:26 +0000)]
bugfix: when our poll is interrupted, we believed the revents values.
svn:r2907
Peter Palfrader [Tue, 16 Nov 2004 04:35:12 +0000 (04:35 +0000)]
New upstream version
svn:r2905
Nick Mathewson [Tue, 16 Nov 2004 03:32:01 +0000 (03:32 +0000)]
add a TODO item and some comment changes.
svn:r2904
Roger Dingledine [Tue, 16 Nov 2004 03:29:09 +0000 (03:29 +0000)]
bump us to 0.0.9pre6
svn:r2902
Roger Dingledine [Tue, 16 Nov 2004 03:12:53 +0000 (03:12 +0000)]
minor fixes
svn:r2901
Roger Dingledine [Tue, 16 Nov 2004 03:12:35 +0000 (03:12 +0000)]
a changelog for 0.0.9pre6
svn:r2900
Roger Dingledine [Tue, 16 Nov 2004 02:19:55 +0000 (02:19 +0000)]
add signals to man page
svn:r2899
Nick Mathewson [Tue, 16 Nov 2004 00:08:56 +0000 (00:08 +0000)]
Fix a fun bug in read_all that was corrupting config files on windows, and probably doing other bad stuff too.
svn:r2898
Nick Mathewson [Mon, 15 Nov 2004 23:34:38 +0000 (23:34 +0000)]
Our new favored MS build environment is vc7/visual studio .net; vc6 is just too broken.
svn:r2897
Nick Mathewson [Mon, 15 Nov 2004 23:30:26 +0000 (23:30 +0000)]
Make log_fn not fail so miserably on VC6
svn:r2896
Nick Mathewson [Mon, 15 Nov 2004 23:29:24 +0000 (23:29 +0000)]
Whitespace normalization
svn:r2895
Nick Mathewson [Mon, 15 Nov 2004 21:18:07 +0000 (21:18 +0000)]
ugly macros to make log_fn play nice on non-GCC compilers.
svn:r2894
Nick Mathewson [Mon, 15 Nov 2004 16:17:59 +0000 (16:17 +0000)]
Tweak on patch to make authoritative directory servers cache
directories on disk. Make authdirservers cache *their own*
directories instead of the ones they download. This gives better
liveness, and marginally better resistance to broken authdirservers.
Authdirservers don't cache running-routers at all: r-r isn't stored to
disk, so there's no point right now.
svn:r2893
Roger Dingledine [Mon, 15 Nov 2004 10:20:57 +0000 (10:20 +0000)]
mark off almost all remaining pre6 items
svn:r2892
Roger Dingledine [Mon, 15 Nov 2004 09:38:17 +0000 (09:38 +0000)]
Authoritative dirservers now also cache the directory, since
they weren't writing anything into their datadirectory, so
when they stop and start, they would know nothing until they
fetched a directory from another authdirserver.
svn:r2891
Roger Dingledine [Mon, 15 Nov 2004 09:22:01 +0000 (09:22 +0000)]
move second stat to a cleaner place
svn:r2890
Roger Dingledine [Mon, 15 Nov 2004 09:05:54 +0000 (09:05 +0000)]
Break DirFetchPostPeriod into:
- DirFetchPeriod for fetching full directory,
- StatusFetchPeriod for fetching running-routers,
- DirPostPeriod for posting server descriptor,
- RendPostPeriod for posting hidden service descriptors.
Also make sure the hidden service descriptors are at a random
offset from each other, to hinder linkability.
svn:r2889
Roger Dingledine [Mon, 15 Nov 2004 07:50:15 +0000 (07:50 +0000)]
clean up socks handling, refuse connections to port 0
svn:r2888
Roger Dingledine [Mon, 15 Nov 2004 07:29:27 +0000 (07:29 +0000)]
a first cut at a print_usage()
svn:r2887
Nick Mathewson [Mon, 15 Nov 2004 04:48:53 +0000 (04:48 +0000)]
Only record bandwidth usage when accounting is enabled
svn:r2886
Nick Mathewson [Mon, 15 Nov 2004 04:28:24 +0000 (04:28 +0000)]
Change "warn if unverified routers are very skewed" to "never warn about unverified router skew"
svn:r2885
Roger Dingledine [Mon, 15 Nov 2004 04:19:50 +0000 (04:19 +0000)]
fix yet another 404
svn:r2884
Nick Mathewson [Mon, 15 Nov 2004 04:04:20 +0000 (04:04 +0000)]
Cache running-routers; compress running-routers; serve compressed running-routers.z
svn:r2883
Nick Mathewson [Mon, 15 Nov 2004 04:02:59 +0000 (04:02 +0000)]
Patch to patch: do not send both error and done for one command.
svn:r2882
Roger Dingledine [Mon, 15 Nov 2004 04:01:31 +0000 (04:01 +0000)]
fix a bug in configuring accounting in options_act()
svn:r2881
Roger Dingledine [Mon, 15 Nov 2004 03:53:03 +0000 (03:53 +0000)]
some fixes so far
svn:r2880
Nick Mathewson [Mon, 15 Nov 2004 03:31:32 +0000 (03:31 +0000)]
Add tor.spec and torctl to .cvsignore files
svn:r2879
Nick Mathewson [Sun, 14 Nov 2004 23:47:42 +0000 (23:47 +0000)]
Improve de-installation a little
svn:r2878
Nick Mathewson [Sun, 14 Nov 2004 23:18:20 +0000 (23:18 +0000)]
Define an elaborate set of lunacy to make sure that RPM versions do
the right thing with our recalcitrant versioning scheme. See
tor.spec.in for full details. Basically, the progression is now:
Tor version RPM version
0.0.8 ---> 0.0.8
0.0.8.1 ---> 0.0.8.1
0.0.9pre1-cvs ---> 0.0.8.99.0.0.9.pre.1.cvs
0.0.9pre1 ---> 0.0.8.99.0.0.9.pre.1.release
0.0.9pre2 ---> 0.0.8.99.0.0.9.pre.2.release
0.0.9rc1 ---> 0.0.8.99.0.0.9.rc.1.release
0.0.9 ---> 0.0.9
0.0.9.1-cvs ---> 0.0.9.0.99.0.0.9.1.cvs
0.0.9.1 ---> 0.0.9.1
The spec file (but not the system) will break if a tor version ends in
".0", so don't do that yet.
svn:r2877
Nick Mathewson [Sun, 14 Nov 2004 22:53:51 +0000 (22:53 +0000)]
Fix compilation. Duh.
svn:r2876
Nick Mathewson [Sun, 14 Nov 2004 22:21:23 +0000 (22:21 +0000)]
Resolve some hibernating-related XXXX009s.
svn:r2875
Nick Mathewson [Sun, 14 Nov 2004 22:08:25 +0000 (22:08 +0000)]
Allow more clock skew from unrecognized hosts than from recognized ones.
svn:r2874
Nick Mathewson [Sun, 14 Nov 2004 22:07:48 +0000 (22:07 +0000)]
Split X509 certificate liveness checks into a separate function
svn:r2873
Nick Mathewson [Sun, 14 Nov 2004 21:46:40 +0000 (21:46 +0000)]
Fetch running-routers.
Split logic to initiate dirfetch, running-routers fetch, and
descriptor post. arma: There are some XXXs here that raise design
questions which we should solve before the next release.
The biggest problem is this: Right now, the directory is about 50X as
large as running-routers uncompressed, and about 36X as large
compressed. Assuming:
- everybody gets the compressed version of everything,
- everybody gets cached directories from random dirservers and
uncached r-r from authdirservers
- everybody downloads r-r at the same rate they now download dirs,
then using r-r from will *increase* authdirserver directory bandwidth usage
if there are significantly more caches than authdirservers.
I think it's safe to leave this in for now, since there aren't 3x36 caching
dirservers, but we should make everybody with a dirport cache running-routers
soon. But I could be wrong.
svn:r2872
Nick Mathewson [Sun, 14 Nov 2004 21:35:30 +0000 (21:35 +0000)]
Make running-routers fetch (apparently) work
svn:r2871
Nick Mathewson [Sun, 14 Nov 2004 21:11:57 +0000 (21:11 +0000)]
Note item completed
svn:r2870
Nick Mathewson [Sun, 14 Nov 2004 21:11:06 +0000 (21:11 +0000)]
Hibernate if we start tor during the "wait for wakeup-time" phase of an accounting interval. Log our hibernation plans better.
svn:r2869
Nick Mathewson [Sun, 14 Nov 2004 20:51:28 +0000 (20:51 +0000)]
Add simpler option_is_same, as suggested by arma. Finish implementing SAVECONF
svn:r2868
Nick Mathewson [Sun, 14 Nov 2004 19:10:46 +0000 (19:10 +0000)]
Uninstaller should remove tor_resolve.exe too
svn:r2867
Nick Mathewson [Sun, 14 Nov 2004 19:08:24 +0000 (19:08 +0000)]
Make TODO items done.
svn:r2866
Nick Mathewson [Sun, 14 Nov 2004 19:08:08 +0000 (19:08 +0000)]
Note where torrc goes.
svn:r2865
Nick Mathewson [Sun, 14 Nov 2004 19:02:58 +0000 (19:02 +0000)]
Add coda at the end of configure.in to update versions in orconfig.h and tor.nsi as needed.
svn:r2864
Nick Mathewson [Sun, 14 Nov 2004 18:56:46 +0000 (18:56 +0000)]
Make happy-installer script work.
svn:r2863
Nick Mathewson [Sun, 14 Nov 2004 18:50:06 +0000 (18:50 +0000)]
Add shell script to automate windows packaging. Only Nick is expected to run this.
svn:r2862
Nick Mathewson [Sun, 14 Nov 2004 18:49:31 +0000 (18:49 +0000)]
Add tor_resolve to package
svn:r2861
Nick Mathewson [Sun, 14 Nov 2004 18:21:17 +0000 (18:21 +0000)]
Fix windows whitespace
svn:r2860
Nick Mathewson [Sun, 14 Nov 2004 18:20:12 +0000 (18:20 +0000)]
Add an unreachable return 0.
svn:r2859
Nick Mathewson [Sun, 14 Nov 2004 18:19:28 +0000 (18:19 +0000)]
Revise project files; make them work
svn:r2858
Nick Mathewson [Sun, 14 Nov 2004 18:14:15 +0000 (18:14 +0000)]
Fix cast warning in tor-resolve.c
svn:r2857
Nick Mathewson [Sun, 14 Nov 2004 18:11:42 +0000 (18:11 +0000)]
Update VC6 workspace/project files; move into a new sane directory stucture
svn:r2856
Nick Mathewson [Sun, 14 Nov 2004 17:22:10 +0000 (17:22 +0000)]
Remove redundant declaration
svn:r2855
Nick Mathewson [Sun, 14 Nov 2004 17:21:32 +0000 (17:21 +0000)]
Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in configure.in and always include orconfig.h before anything else
svn:r2854
Roger Dingledine [Sun, 14 Nov 2004 13:35:47 +0000 (13:35 +0000)]
make kill -USR1 work again
svn:r2853
Roger Dingledine [Sun, 14 Nov 2004 13:35:39 +0000 (13:35 +0000)]
ok ok the stat wasn't redundant
but the warn was
svn:r2852
Roger Dingledine [Sun, 14 Nov 2004 10:29:43 +0000 (10:29 +0000)]
clean up spec headers, mark a few todo items off
svn:r2851
Roger Dingledine [Sun, 14 Nov 2004 10:03:08 +0000 (10:03 +0000)]
correct the link to torrc.sample
svn:r2850
Roger Dingledine [Sun, 14 Nov 2004 09:49:27 +0000 (09:49 +0000)]
remove redundant stdio.h
i guess that wasn't the fix
svn:r2849
Roger Dingledine [Sun, 14 Nov 2004 09:48:54 +0000 (09:48 +0000)]
clean up the ftello call a little bit.
but i'm still getting:
log.c:94: warning: implicit declaration of function `ftello'
svn:r2848
Roger Dingledine [Sun, 14 Nov 2004 09:40:07 +0000 (09:40 +0000)]
Remove redundant stat() for reading cached directory, and remove
confusing warn when the cached directory isn't there yet.
svn:r2847
Roger Dingledine [Sun, 14 Nov 2004 09:05:56 +0000 (09:05 +0000)]
generate contrib/torctl via auto*
svn:r2846
Roger Dingledine [Sun, 14 Nov 2004 09:05:28 +0000 (09:05 +0000)]
add another contributed tor start/stop script
plus ship both our start/stop scripts in the tarball
svn:r2845
Roger Dingledine [Sun, 14 Nov 2004 04:55:02 +0000 (04:55 +0000)]
clean a comment
svn:r2844
Roger Dingledine [Sun, 14 Nov 2004 04:54:35 +0000 (04:54 +0000)]
update the 009pre5 changelog with what i actually announced
svn:r2843
Nick Mathewson [Sun, 14 Nov 2004 00:11:27 +0000 (00:11 +0000)]
Add maintainer script to propagate Tor version to windows
svn:r2842