Commit Graph

2830 Commits

Author SHA1 Message Date
Nick Mathewson cd70264377 Clean up some logging and interfaces
svn:r2945
2004-11-23 00:08:26 +00:00
Nick Mathewson 6fc834ab16 Enhancements to whitespace borkage detector
svn:r2944
2004-11-22 23:28:54 +00:00
Nick Mathewson 22dba27d8d 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
2004-11-22 23:28:26 +00:00
Nick Mathewson fe32c2d141 Fix sign-related warnings
svn:r2942
2004-11-22 22:50:17 +00:00
Nick Mathewson d4754b334c Compile cleanly on windows; prevent some insane bandwidth cases (e.g., "BandwidthBurst 1000 TB" from occuring.
svn:r2941
2004-11-22 22:24:10 +00:00
Nick Mathewson b9cdb142c9 Mark some TODO items done
svn:r2940
2004-11-22 22:14:27 +00:00
Nick Mathewson 983a335f3b Normalize space
svn:r2939
2004-11-22 22:13:34 +00:00
Nick Mathewson f17c08beed 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
2004-11-22 22:10:37 +00:00
Nick Mathewson 0343f4e907 Document changed options; tweak formatting slightly
svn:r2937
2004-11-22 21:58:55 +00:00
Nick Mathewson 956b463dfe Implement weekly/monthly/daily accounting
svn:r2936
2004-11-22 21:56:51 +00:00
Nick Mathewson 55df2620c6 Add function to format local time in ISO format
svn:r2935
2004-11-22 21:38:44 +00:00
Nick Mathewson 805c9e3673 Absolutely never call close_temp_logs while validating log options.
svn:r2934
2004-11-22 20:08:07 +00:00
Roger Dingledine 604be3ae44 clean up tor-stress a bit, for posterity
svn:r2933
2004-11-22 00:10:35 +00:00
Roger Dingledine 4f2c2c9948 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
2004-11-21 11:30:33 +00:00
Roger Dingledine 27b8797245 clean up some more.
i think i'm getting closer.


svn:r2931
2004-11-21 11:20:28 +00:00
Roger Dingledine 310a8da0d2 break reached_eof() out of process_inbuf()
svn:r2930
2004-11-21 10:14:57 +00:00
Roger Dingledine 671d84dc2f some more debugging aids
svn:r2929
2004-11-21 09:39:01 +00:00
Roger Dingledine 6a516dfdd3 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
2004-11-21 07:43:12 +00:00
Roger Dingledine 67ac11c2fa 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
2004-11-21 06:35:22 +00:00
Nick Mathewson bb18d4238f Dont keep rephist info for routers that havent had activity for 24 hours.
svn:r2926
2004-11-21 05:14:46 +00:00
Nick Mathewson bdb61f2a04 fix typo
svn:r2925
2004-11-21 05:06:22 +00:00
Nick Mathewson 36f4e15e81 Call init_keys() where needed; fix hibernate bug.
svn:r2924
2004-11-21 04:19:04 +00:00
Nick Mathewson bfc2e95230 Bump windows version
svn:r2923
2004-11-21 04:18:36 +00:00
Roger Dingledine a4b1eb5630 allow StrictEntryNode and StrictExitNode to be singular
svn:r2922
2004-11-20 23:16:03 +00:00
Roger Dingledine 73da4bad46 stop some more seg faults
svn:r2921
2004-11-20 12:55:41 +00:00
Roger Dingledine 63353462f8 if your requested exit node has bandwidth 0, pick it anyway
svn:r2920
2004-11-20 12:41:05 +00:00
Roger Dingledine d4ac7300d6 and a comment so i don't try to 'fix' it again later
svn:r2919
2004-11-20 12:17:19 +00:00
Roger Dingledine 246b14d8e9 yes, in fact, i broke it. putting back.
svn:r2918
2004-11-20 12:16:47 +00:00
Roger Dingledine 6322287dc1 printfs want carriage returns
svn:r2917
2004-11-20 08:00:57 +00:00
Roger Dingledine 7bb7aff367 bump us to 0.0.9rc1-cvs
svn:r2916
2004-11-20 07:58:51 +00:00
Roger Dingledine 0cec6feb9e better text for AccountingMaxKB
document SIGUSR2


svn:r2915
2004-11-20 07:35:20 +00:00
Roger Dingledine dd19cf6ba3 kill -USR2 now moves all logs to loglevel debug
plus fix some typos


svn:r2914
2004-11-20 07:33:55 +00:00
Roger Dingledine a30a5bce0f simplify close_temp_logs()
(nick, did i break this?)


svn:r2913
2004-11-20 07:08:00 +00:00
Roger Dingledine a8840db4ac remove another possible sigpipe cause
svn:r2912
2004-11-20 06:52:13 +00:00
Nick Mathewson 8acaf8e187 Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting setup. More docs needed
svn:r2911
2004-11-20 00:37:00 +00:00
Roger Dingledine aa9461f13a jbash prefers one backslash to two.
one didn't work for me when i tried, but hey.
i hate shell.


svn:r2910
2004-11-19 08:36:25 +00:00
Roger Dingledine e4eb15152b clean up the tor-doc some
svn:r2909
2004-11-18 14:00:46 +00:00
Nick Mathewson 230d3b2aee mark some last items for 009rc1
svn:r2908
2004-11-18 01:52:37 +00:00
Roger Dingledine 2e4763655d bugfix: when our poll is interrupted, we believed the revents values.
svn:r2907
2004-11-17 20:26:39 +00:00
Peter Palfrader 82185d8283 New upstream version
svn:r2905
debian-version-0.0.8+0.0.9pre6-1
2004-11-16 04:35:12 +00:00
Nick Mathewson 647c076c8f add a TODO item and some comment changes.
svn:r2904
2004-11-16 03:32:01 +00:00
Roger Dingledine 3e4f30fbb9 bump us to 0.0.9pre6
svn:r2902
tor-0.0.9pre6
2004-11-16 03:29:09 +00:00
Roger Dingledine abdf073f14 minor fixes
svn:r2901
2004-11-16 03:12:53 +00:00
Roger Dingledine 2e2db452d6 a changelog for 0.0.9pre6
svn:r2900
2004-11-16 03:12:35 +00:00
Roger Dingledine 73bb02809d add signals to man page
svn:r2899
2004-11-16 02:19:55 +00:00
Nick Mathewson 89a456a1d4 Fix a fun bug in read_all that was corrupting config files on windows, and probably doing other bad stuff too.
svn:r2898
2004-11-16 00:08:56 +00:00
Nick Mathewson 014198e758 Our new favored MS build environment is vc7/visual studio .net; vc6 is just too broken.
svn:r2897
2004-11-15 23:34:38 +00:00
Nick Mathewson 6143c515cd Make log_fn not fail so miserably on VC6
svn:r2896
2004-11-15 23:30:26 +00:00
Nick Mathewson d63d5cb139 Whitespace normalization
svn:r2895
2004-11-15 23:29:24 +00:00
Nick Mathewson 5b668d8557 ugly macros to make log_fn play nice on non-GCC compilers.
svn:r2894
2004-11-15 21:18:07 +00:00