]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoMake version parsing tests pass
Nick Mathewson [Tue, 30 Nov 2004 03:41:06 +0000 (03:41 +0000)] 
Make version parsing tests pass

svn:r3028

21 years agoGive an early error if you pass a .onion or a .exit hostname to tor-resolve
Nick Mathewson [Tue, 30 Nov 2004 03:12:37 +0000 (03:12 +0000)] 
Give an early error if you pass a .onion or a .exit hostname to tor-resolve

svn:r3027

21 years agoAdd casei versions of strcmpstart/strcmpend
Nick Mathewson [Tue, 30 Nov 2004 03:10:56 +0000 (03:10 +0000)] 
Add casei versions of strcmpstart/strcmpend

svn:r3026

21 years agoEnforce coding style.
Nick Mathewson [Tue, 30 Nov 2004 02:26:41 +0000 (02:26 +0000)] 
Enforce coding style.

svn:r3025

21 years agoIf anybody set DirFetchPostPeriod, give them StatuFetchPeriod instead. Impose minima...
Nick Mathewson [Tue, 30 Nov 2004 02:23:51 +0000 (02:23 +0000)] 
If anybody set DirFetchPostPeriod, give them StatuFetchPeriod instead.  Impose minima and maxima for all *Period options; impose even tighter maxima for fetching if we are a caching dirserver.  Clip rather than rejecting.  arma: are these good?

svn:r3024

21 years agonote possible alternative for how to do CVS versions; ask arma which he likes.
Nick Mathewson [Mon, 29 Nov 2004 23:06:51 +0000 (23:06 +0000)] 
note possible alternative for how to do CVS versions; ask arma which he likes.

svn:r3023

21 years agoImplement new version format for post 0.1.
Nick Mathewson [Mon, 29 Nov 2004 23:04:26 +0000 (23:04 +0000)] 
Implement new version format for post 0.1.

svn:r3022

21 years agoNew upstream release (candidate) - rc3 debian-version-0.0.8+0.0.9rc3-1
Peter Palfrader [Mon, 29 Nov 2004 22:31:23 +0000 (22:31 +0000)] 
New upstream release (candidate) - rc3

svn:r3020

21 years agoSuggestion from weasel: Make tor --version --version dump the cvs Id of every file.
Nick Mathewson [Mon, 29 Nov 2004 22:25:31 +0000 (22:25 +0000)] 
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.

svn:r3019

21 years agoFetch cached running-routers from servers that serve it (that is, authdirservers...
Nick Mathewson [Mon, 29 Nov 2004 21:01:34 +0000 (21:01 +0000)] 
Fetch cached running-routers from servers that serve it (that is, authdirservers, and servers running 0.0.9rc5-cvs or later.)

svn:r3018

21 years agoRemove needless -2 in log code. This was not an underflow risk, sinze we only call...
Nick Mathewson [Mon, 29 Nov 2004 20:39:55 +0000 (20:39 +0000)] 
Remove needless -2 in log code.  This was not an underflow risk, sinze we only call format_msg from one place, where buf_len==10024

svn:r3017

21 years agoclean up the previous underflow check, and also point out
Roger Dingledine [Mon, 29 Nov 2004 08:40:24 +0000 (08:40 +0000)] 
clean up the previous underflow check, and also point out
yet another one that may be a problem. nick?

svn:r3016

21 years agoput in initial support for ".nickname.exit" addresses, to let alice
Roger Dingledine [Mon, 29 Nov 2004 08:34:54 +0000 (08:34 +0000)] 
put in initial support for ".nickname.exit" addresses, to let alice
decide what exit node to use; based on a patch by geoff goodell.

needs more work: e.g. it goes bananas building new circuits when the
chosen exit node's exit policy rejects the connection.

svn:r3015

21 years agoassing and tweak 009 items
Nick Mathewson [Mon, 29 Nov 2004 08:02:57 +0000 (08:02 +0000)] 
assing and tweak 009 items

svn:r3014

21 years agoAfter implementing a feature, remember to disable the error message you used to get...
Nick Mathewson [Mon, 29 Nov 2004 07:59:00 +0000 (07:59 +0000)] 
After implementing a feature, remember to disable the error message you used to get when requesting it.

svn:r3013

21 years agoDisallow NDEBUG. It is very stupid.
Nick Mathewson [Mon, 29 Nov 2004 07:22:57 +0000 (07:22 +0000)] 
Disallow NDEBUG. It is very stupid.

svn:r3012

21 years agofix integer underflow in tor_vsnprintf()
Roger Dingledine [Mon, 29 Nov 2004 06:49:04 +0000 (06:49 +0000)] 
fix integer underflow in tor_vsnprintf()
(probably exploitable)

svn:r3011

21 years agoprevent integer underflow
Roger Dingledine [Mon, 29 Nov 2004 06:43:21 +0000 (06:43 +0000)] 
prevent integer underflow
(not currently exploitable, ilja and i think)

svn:r3010

21 years agobump to 0.0.9rc5-cvs
Roger Dingledine [Mon, 29 Nov 2004 01:00:54 +0000 (01:00 +0000)] 
bump to 0.0.9rc5-cvs

svn:r3009

21 years agolist remaining items for 0.0.9
Roger Dingledine [Mon, 29 Nov 2004 01:00:06 +0000 (01:00 +0000)] 
list remaining items for 0.0.9
did i miss any?

svn:r3008

21 years agoand document it
Roger Dingledine [Sun, 28 Nov 2004 15:49:38 +0000 (15:49 +0000)] 
and document it

svn:r3007

21 years agoaccept *:706 (silc) by default
Roger Dingledine [Sun, 28 Nov 2004 15:49:12 +0000 (15:49 +0000)] 
accept *:706 (silc) by default

svn:r3006

21 years agowrong is ok, and right is fine, but in between is apparently
Roger Dingledine [Sun, 28 Nov 2004 11:39:53 +0000 (11:39 +0000)] 
wrong is ok, and right is fine, but in between is apparently
totally unacceptable to me.

svn:r3005

21 years agocorrect multiple internal spaces
Nick Mathewson [Sun, 28 Nov 2004 09:14:07 +0000 (09:14 +0000)] 
correct multiple internal spaces

svn:r3004

21 years agoNormalize space: add one between every control keyword and control clause.
Nick Mathewson [Sun, 28 Nov 2004 09:05:49 +0000 (09:05 +0000)] 
Normalize space: add one between every control keyword and control clause.

svn:r3003

21 years agobump to 0.0.9rc4 tor-0.0.9rc4
Roger Dingledine [Sun, 28 Nov 2004 06:44:08 +0000 (06:44 +0000)] 
bump to 0.0.9rc4

svn:r3001

21 years agoone of the debugging aids was misleading
Roger Dingledine [Sun, 28 Nov 2004 06:33:14 +0000 (06:33 +0000)] 
one of the debugging aids was misleading

svn:r3000

21 years agoconnect() on win32 can do more things than we thought?
Nick Mathewson [Sun, 28 Nov 2004 05:58:55 +0000 (05:58 +0000)] 
connect() on win32 can do more things than we thought?

svn:r2999

21 years agoVery oops. make windows nonblocking sockets nonblocking
Nick Mathewson [Sun, 28 Nov 2004 05:57:18 +0000 (05:57 +0000)] 
Very oops. make windows nonblocking sockets nonblocking

svn:r2998

21 years agoremember; tor_socket_errno has side effects!
Nick Mathewson [Sun, 28 Nov 2004 05:48:02 +0000 (05:48 +0000)] 
remember; tor_socket_errno has side effects!

svn:r2997

21 years agochange documentation to point to correct parts of torrc
Roger Dingledine [Sat, 27 Nov 2004 08:19:24 +0000 (08:19 +0000)] 
change documentation to point to correct parts of torrc

svn:r2996

21 years agomove the rendezous section of the torrc to the middle, since
Roger Dingledine [Sat, 27 Nov 2004 08:18:22 +0000 (08:18 +0000)] 
move the rendezous section of the torrc to the middle, since
it isn't server-only, and indeed it may be unwise to run a
hidden service on a server.

svn:r2995

21 years agodocument directory interaction a bit better
Roger Dingledine [Sat, 27 Nov 2004 05:23:59 +0000 (05:23 +0000)] 
document directory interaction a bit better

svn:r2994

21 years agoinform him more sanely
Roger Dingledine [Fri, 26 Nov 2004 04:19:03 +0000 (04:19 +0000)] 
inform him more sanely

svn:r2993

21 years agoinform the user that you noticed when he sent a USR2
Roger Dingledine [Fri, 26 Nov 2004 04:17:57 +0000 (04:17 +0000)] 
inform the user that you noticed when he sent a USR2

svn:r2992

21 years agothat's enough changes to bump to rc4-cvs
Roger Dingledine [Fri, 26 Nov 2004 04:08:07 +0000 (04:08 +0000)] 
that's enough changes to bump to rc4-cvs

svn:r2991

21 years agoif you want to handle -USR2, you should catch it too.
Roger Dingledine [Fri, 26 Nov 2004 04:03:19 +0000 (04:03 +0000)] 
if you want to handle -USR2, you should catch it too.

svn:r2990

21 years agoremove emacs droppings, since nick says he doesn't need them anymore
Roger Dingledine [Fri, 26 Nov 2004 04:00:55 +0000 (04:00 +0000)] 
remove emacs droppings, since nick says he doesn't need them anymore

svn:r2989

21 years agogive up trying to track down the reason we're calling package_inbuf
Roger Dingledine [Fri, 26 Nov 2004 03:43:54 +0000 (03:43 +0000)] 
give up trying to track down the reason we're calling package_inbuf
with a package window of 0. it's safe to just catch the error cases
there and do the right thing.

svn:r2988

21 years agocall set_max_file_descriptors() after we configure logs, so
Roger Dingledine [Fri, 26 Nov 2004 03:05:55 +0000 (03:05 +0000)] 
call set_max_file_descriptors() after we configure logs, so
it doesn't always do loglevel info logs on windows.

svn:r2987

21 years agowhen warning that a version is too new, don't use the confusing
Roger Dingledine [Thu, 25 Nov 2004 05:49:13 +0000 (05:49 +0000)] 
when warning that a version is too new, don't use the confusing
text "is_obsolete_version():".

svn:r2986

21 years agobump to 0.0.9rc3 tor-0.0.9rc3
Roger Dingledine [Thu, 25 Nov 2004 05:40:06 +0000 (05:40 +0000)] 
bump to 0.0.9rc3

svn:r2984

21 years agoClarify a bunch of log messages
Nick Mathewson [Thu, 25 Nov 2004 04:20:10 +0000 (04:20 +0000)] 
Clarify a bunch of log messages

svn:r2983

21 years agoNew upstream release (candidate) debian-version-0.0.8+0.0.9rc2-1
Peter Palfrader [Wed, 24 Nov 2004 08:42:37 +0000 (08:42 +0000)] 
New upstream release (candidate)

svn:r2981

21 years agoFlush the logfd after we print "Tor opening log file", so we don't see those messages...
Peter Palfrader [Wed, 24 Nov 2004 08:42:06 +0000 (08:42 +0000)] 
Flush the logfd after we print "Tor opening log file", so we don't see those messages days later

svn:r2980

21 years agoupdate conn_state_to_string
Roger Dingledine [Wed, 24 Nov 2004 07:58:15 +0000 (07:58 +0000)] 
update conn_state_to_string

svn:r2979

21 years agoa little help for dfc to debug his "resolve 800 things at once" test
Roger Dingledine [Wed, 24 Nov 2004 07:51:30 +0000 (07:51 +0000)] 
a little help for dfc to debug his "resolve 800 things at once" test

svn:r2978

21 years agoavoid infinite loop in tor-resolve if tor hangs up on it
Roger Dingledine [Wed, 24 Nov 2004 07:45:42 +0000 (07:45 +0000)] 
avoid infinite loop in tor-resolve if tor hangs up on it

svn:r2977

21 years agotor-stress doesn't use gettimeofday anymore, and it's not portable,
Roger Dingledine [Wed, 24 Nov 2004 06:44:58 +0000 (06:44 +0000)] 
tor-stress doesn't use gettimeofday anymore, and it's not portable,
so comment it out.

svn:r2976

21 years agodon't process marked-for-close conns further.
Roger Dingledine [Wed, 24 Nov 2004 06:41:58 +0000 (06:41 +0000)] 
don't process marked-for-close conns further.
(fix assert trigger -- if we're lucky.)

svn:r2975

21 years agomake tor-resolve work, uh, more. this time for sure!
Roger Dingledine [Wed, 24 Nov 2004 06:16:36 +0000 (06:16 +0000)] 
make tor-resolve work, uh, more. this time for sure!

svn:r2974

21 years agomake tor-resolve work again
Roger Dingledine [Wed, 24 Nov 2004 06:01:52 +0000 (06:01 +0000)] 
make tor-resolve work again

svn:r2973

21 years agoa changelog for rc2 tor-0.0.9rc2
Roger Dingledine [Wed, 24 Nov 2004 05:17:34 +0000 (05:17 +0000)] 
a changelog for rc2

svn:r2971

21 years agobugfix: let socks do multiple rounds of negotiation again
Roger Dingledine [Wed, 24 Nov 2004 04:35:28 +0000 (04:35 +0000)] 
bugfix: let socks do multiple rounds of negotiation again
(which is needed for socks5)

svn:r2970

21 years agopatch to nick's patch
Roger Dingledine [Wed, 24 Nov 2004 03:58:45 +0000 (03:58 +0000)] 
patch to nick's patch

svn:r2969

21 years agomake nt service version match actual version
Nick Mathewson [Wed, 24 Nov 2004 00:55:39 +0000 (00:55 +0000)] 
make nt service version match actual version

svn:r2968

21 years agobump windows version stuff to 009rc2
Nick Mathewson [Wed, 24 Nov 2004 00:33:30 +0000 (00:33 +0000)] 
bump windows version stuff to 009rc2

svn:r2967

21 years agoAdd a TODO item
Nick Mathewson [Wed, 24 Nov 2004 00:14:39 +0000 (00:14 +0000)] 
Add a TODO item

svn:r2966

21 years agobump to rc2
Roger Dingledine [Tue, 23 Nov 2004 23:26:06 +0000 (23:26 +0000)] 
bump to rc2

svn:r2965

21 years agoDocument that times are in 24-hour format.
Nick Mathewson [Tue, 23 Nov 2004 22:35:22 +0000 (22:35 +0000)] 
Document that times are in 24-hour format.

svn:r2964

21 years agoBetter notice for hibernate interval spans; when estimate is 0, start out awake.
Nick Mathewson [Tue, 23 Nov 2004 22:34:23 +0000 (22:34 +0000)] 
Better notice for hibernate interval spans; when estimate is 0, start out awake.

svn:r2963

21 years agoUse nick's patch against config. in the rc1 debian package debian-version-0.0.8+0.0.9rc1-1
Peter Palfrader [Tue, 23 Nov 2004 11:09:38 +0000 (11:09 +0000)] 
Use nick's patch against config. in the rc1 debian package

svn:r2961

21 years agoBugfix: when no units are given, default to seconds or bytes.
Nick Mathewson [Tue, 23 Nov 2004 10:52:27 +0000 (10:52 +0000)] 
Bugfix: when no units are given, default to seconds or bytes.

svn:r2960

21 years agoNew upstream release (candidate)
Peter Palfrader [Tue, 23 Nov 2004 10:20:34 +0000 (10:20 +0000)] 
New upstream release (candidate)

svn:r2959

21 years agotweak changelogs tor-0.0.9rc1
Roger Dingledine [Tue, 23 Nov 2004 10:11:20 +0000 (10:11 +0000)] 
tweak changelogs

svn:r2957

21 years agoanother slightly less confusing message
Roger Dingledine [Tue, 23 Nov 2004 10:05:56 +0000 (10:05 +0000)] 
another slightly less confusing message

nick: we need to figure out if we should say anything different
here when the wake-up time and the expected back-to-sleep time
have both passed.

svn:r2956

21 years agoless confusing message upon hibernation
Roger Dingledine [Tue, 23 Nov 2004 09:21:03 +0000 (09:21 +0000)] 
less confusing message upon hibernation

svn:r2955

21 years agofail more gracefully next time
Roger Dingledine [Tue, 23 Nov 2004 09:01:37 +0000 (09:01 +0000)] 
fail more gracefully next time

svn:r2954

21 years agoinitialize rephist before we init_from_config, since init_from_config
Roger Dingledine [Tue, 23 Nov 2004 09:00:55 +0000 (09:00 +0000)] 
initialize rephist before we init_from_config, since init_from_config
can make us init_keys if we're going to hibernate, which makes us build
a router_desc.

svn:r2953

21 years agoupdate unit tests to reflect changed interface
Roger Dingledine [Tue, 23 Nov 2004 08:36:26 +0000 (08:36 +0000)] 
update unit tests to reflect changed interface

svn:r2952

21 years agofix some typos; move to 0.0.9rc1
Roger Dingledine [Tue, 23 Nov 2004 07:37:25 +0000 (07:37 +0000)] 
fix some typos; move to 0.0.9rc1

svn:r2951

21 years agoadd a changelog for rc1
Roger Dingledine [Tue, 23 Nov 2004 07:36:48 +0000 (07:36 +0000)] 
add a changelog for rc1

svn:r2950

21 years agoupdate todo some more
Roger Dingledine [Tue, 23 Nov 2004 06:09:28 +0000 (06:09 +0000)] 
update todo some more

svn:r2949

21 years agoDr. Seuss on iterating circular lists: "It's fun to have fun, but you
Nick Mathewson [Tue, 23 Nov 2004 06:08:08 +0000 (06:08 +0000)] 
Dr. Seuss on iterating circular lists: "It's fun to have fun, but you
have to know how."

svn:r2948

21 years agoNote TODO status; add a couple of items for post-rc1.
Nick Mathewson [Tue, 23 Nov 2004 00:12:43 +0000 (00:12 +0000)] 
Note TODO status; add a couple of items for post-rc1.

svn:r2947

21 years agoFix critical bug in circuit_list_path: cpath is a circular list! (Also reimplement...
Nick Mathewson [Tue, 23 Nov 2004 00:11:36 +0000 (00:11 +0000)] 
Fix critical bug in circuit_list_path: cpath is a circular list!  (Also reimplement circuit_log_cpath using circuit_list_cpath).

svn:r2946

21 years agoClean up some logging and interfaces
Nick Mathewson [Tue, 23 Nov 2004 00:08:26 +0000 (00:08 +0000)] 
Clean up some logging and interfaces

svn:r2945

21 years agoEnhancements to whitespace borkage detector
Nick Mathewson [Mon, 22 Nov 2004 23:28:54 +0000 (23:28 +0000)] 
Enhancements to whitespace borkage detector

svn:r2944

21 years agoNormalize a few more kinds of whitespace. We now dislike:
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

21 years agoFix sign-related warnings
Nick Mathewson [Mon, 22 Nov 2004 22:50:17 +0000 (22:50 +0000)] 
Fix sign-related warnings

svn:r2942

21 years agoCompile cleanly on windows; prevent some insane bandwidth cases (e.g., "BandwidthBurs...
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

21 years agoMark some TODO items done
Nick Mathewson [Mon, 22 Nov 2004 22:14:27 +0000 (22:14 +0000)] 
Mark some TODO items done

svn:r2940

21 years agoNormalize space
Nick Mathewson [Mon, 22 Nov 2004 22:13:34 +0000 (22:13 +0000)] 
Normalize space

svn:r2939

21 years agoApply NT service patch from Osamu Fujino. This still has some problems (indicated...
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

21 years agoDocument changed options; tweak formatting slightly
Nick Mathewson [Mon, 22 Nov 2004 21:58:55 +0000 (21:58 +0000)] 
Document changed options; tweak formatting slightly

svn:r2937

21 years agoImplement weekly/monthly/daily accounting
Nick Mathewson [Mon, 22 Nov 2004 21:56:51 +0000 (21:56 +0000)] 
Implement weekly/monthly/daily accounting

svn:r2936

21 years agoAdd function to format local time in ISO format
Nick Mathewson [Mon, 22 Nov 2004 21:38:44 +0000 (21:38 +0000)] 
Add function to format local time in ISO format

svn:r2935

21 years agoAbsolutely never call close_temp_logs while validating log options.
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

21 years agoclean up tor-stress a bit, for posterity
Roger Dingledine [Mon, 22 Nov 2004 00:10:35 +0000 (00:10 +0000)] 
clean up tor-stress a bit, for posterity

svn:r2933

21 years agoThe crowning bugfix.
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

21 years agoclean up some more.
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

21 years agobreak reached_eof() out of process_inbuf()
Roger Dingledine [Sun, 21 Nov 2004 10:14:57 +0000 (10:14 +0000)] 
break reached_eof() out of process_inbuf()

svn:r2930

21 years agosome more debugging aids
Roger Dingledine [Sun, 21 Nov 2004 09:39:01 +0000 (09:39 +0000)] 
some more debugging aids

svn:r2929

21 years agobe more greedy about filling up all relay cells.
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

21 years agocommit a short script to do lots of fetches through tor at once
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

21 years agoDont keep rephist info for routers that havent had activity for 24 hours.
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

21 years agofix typo
Nick Mathewson [Sun, 21 Nov 2004 05:06:22 +0000 (05:06 +0000)] 
fix typo

svn:r2925

21 years agoCall init_keys() where needed; fix hibernate bug.
Nick Mathewson [Sun, 21 Nov 2004 04:19:04 +0000 (04:19 +0000)] 
Call init_keys() where needed; fix hibernate bug.

svn:r2924

21 years agoBump windows version
Nick Mathewson [Sun, 21 Nov 2004 04:18:36 +0000 (04:18 +0000)] 
Bump windows version

svn:r2923

21 years agoallow StrictEntryNode and StrictExitNode to be singular
Roger Dingledine [Sat, 20 Nov 2004 23:16:03 +0000 (23:16 +0000)] 
allow StrictEntryNode and StrictExitNode to be singular

svn:r2922