]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Wed, 8 Dec 2004 00:42:50 +0000 (00:42 +0000)]
Solaris CC freaks out if isspace and friends get anything other than an int. We learned that, so we casted. But it is also a bad idea to cast a signed char to an int and expect things to work on win32. Now we cast to unsigned char, then to int, then pass to isspace. Ug
svn:r3120
Roger Dingledine [Tue, 7 Dec 2004 23:42:32 +0000 (23:42 +0000)]
a preliminary changelog for rc7
svn:r3119
Nick Mathewson [Tue, 7 Dec 2004 23:20:10 +0000 (23:20 +0000)]
Log contents of bw_accounting when we read it; fix memory leak.
svn:r3118
Roger Dingledine [Tue, 7 Dec 2004 21:57:37 +0000 (21:57 +0000)]
resolve tequila's crash bug: you can't free something
and then keep using it.
svn:r3117
Roger Dingledine [Tue, 7 Dec 2004 21:57:10 +0000 (21:57 +0000)]
rearrange debug logs to make more sense
svn:r3116
Roger Dingledine [Tue, 7 Dec 2004 19:42:45 +0000 (19:42 +0000)]
clean two more minor memory leaks
svn:r3115
Nick Mathewson [Tue, 7 Dec 2004 19:36:43 +0000 (19:36 +0000)]
Only set a cookie when we intend to.
svn:r3114
Roger Dingledine [Tue, 7 Dec 2004 17:49:14 +0000 (17:49 +0000)]
fix a minor leak for people offering hidden services
svn:r3113
Roger Dingledine [Tue, 7 Dec 2004 16:50:47 +0000 (16:50 +0000)]
log bytes written with kill -USR1 too
svn:r3112
Roger Dingledine [Tue, 7 Dec 2004 16:37:32 +0000 (16:37 +0000)]
fix the other half of the pipe race
svn:r3111
Roger Dingledine [Tue, 7 Dec 2004 15:37:35 +0000 (15:37 +0000)]
fix comment
svn:r3110
Roger Dingledine [Tue, 7 Dec 2004 15:31:54 +0000 (15:31 +0000)]
avoid a sigpipe from a race: if we get the end right after
the app has hung up on us, we shouldn't hold-open-until-flush.
svn:r3109
Roger Dingledine [Tue, 7 Dec 2004 15:29:54 +0000 (15:29 +0000)]
I'm a bad person.
Stop treating the uint16_t's as null-terminated strings,
and stop looking at the byte after them to see if it's null,
because sometimes you're not allowed to look there.
svn:r3108
Roger Dingledine [Tue, 7 Dec 2004 09:18:25 +0000 (09:18 +0000)]
were we on crack??
svn:r3107
Roger Dingledine [Tue, 7 Dec 2004 09:11:38 +0000 (09:11 +0000)]
salvage another 300 bytes per hup
svn:r3106
Roger Dingledine [Tue, 7 Dec 2004 08:58:26 +0000 (08:58 +0000)]
and bust another memory leak
svn:r3105
Roger Dingledine [Tue, 7 Dec 2004 08:51:10 +0000 (08:51 +0000)]
plug another memory leak
svn:r3104
Nick Mathewson [Tue, 7 Dec 2004 07:48:16 +0000 (07:48 +0000)]
Fix some memory leaks and unlikely segfaults
svn:r3103
Roger Dingledine [Tue, 7 Dec 2004 07:37:01 +0000 (07:37 +0000)]
bump us to 0.0.9rc7-cvs
svn:r3102
Roger Dingledine [Tue, 7 Dec 2004 07:35:32 +0000 (07:35 +0000)]
note an improvement on our uname we might want to make one day
svn:r3101
Roger Dingledine [Tue, 7 Dec 2004 06:51:46 +0000 (06:51 +0000)]
ORPort must be defined if ORBindAddress is defined.
svn:r3100
Nick Mathewson [Tue, 7 Dec 2004 06:48:02 +0000 (06:48 +0000)]
Fix leakable rsa key
svn:r3099
Roger Dingledine [Tue, 7 Dec 2004 06:38:41 +0000 (06:38 +0000)]
clean up docs a bit for default log lines.
svn:r3098
Roger Dingledine [Tue, 7 Dec 2004 06:27:39 +0000 (06:27 +0000)]
when recommending new-format log lines, if the upper bound is LOG_ERR,
leave it implicit.
svn:r3097
Roger Dingledine [Tue, 7 Dec 2004 06:16:14 +0000 (06:16 +0000)]
fix the man page to say that the maxseverity part of the log
line is optional even when logging to files.
svn:r3096
Nick Mathewson [Tue, 7 Dec 2004 05:33:55 +0000 (05:33 +0000)]
Renormalize whitespace
svn:r3095
Nick Mathewson [Tue, 7 Dec 2004 05:31:38 +0000 (05:31 +0000)]
Make unit tests work on win32
svn:r3094
Nick Mathewson [Mon, 6 Dec 2004 23:33:19 +0000 (23:33 +0000)]
Tweak running-own-network instructions
svn:r3093
Nick Mathewson [Mon, 6 Dec 2004 23:19:55 +0000 (23:19 +0000)]
More win32 fixes: 1) tolerate extra "readable" events better. 2) when being multithreaded, leave parent fdarray open.
svn:r3092
Nick Mathewson [Mon, 6 Dec 2004 22:39:10 +0000 (22:39 +0000)]
Fix parse_iso_time on platforms without strptime.
svn:r3091
Roger Dingledine [Mon, 6 Dec 2004 06:27:39 +0000 (06:27 +0000)]
bump us to 0.0.9rc6
svn:r3089
Roger Dingledine [Mon, 6 Dec 2004 06:17:57 +0000 (06:17 +0000)]
three more items for shortly post 0.0.9
svn:r3088
Roger Dingledine [Mon, 6 Dec 2004 06:14:45 +0000 (06:14 +0000)]
answer resolved ip in network order
svn:r3087
Roger Dingledine [Mon, 6 Dec 2004 06:07:57 +0000 (06:07 +0000)]
avoid using uninitialized variable
svn:r3086
Roger Dingledine [Mon, 6 Dec 2004 06:06:13 +0000 (06:06 +0000)]
don't use cache for resolving .foo.exit names, but do reply immediately
if we're asked to resolve an IP.foo.exit.
svn:r3085
Roger Dingledine [Mon, 6 Dec 2004 05:26:19 +0000 (05:26 +0000)]
fix indenting
svn:r3084
Roger Dingledine [Sun, 5 Dec 2004 13:02:18 +0000 (13:02 +0000)]
send an end to the streams we close when we hibernate, rather
than just chopping them off
svn:r3083
Roger Dingledine [Sun, 5 Dec 2004 12:47:46 +0000 (12:47 +0000)]
check if we have a cached resolve for a tor-resolve address *after*
we remove the .foo.exit part of the address.
svn:r3082
Roger Dingledine [Sun, 5 Dec 2004 12:35:00 +0000 (12:35 +0000)]
fix a minor leak in my recent commit
svn:r3081
Roger Dingledine [Sun, 5 Dec 2004 12:26:02 +0000 (12:26 +0000)]
talk about quotas rather than bandwidths, in the logs
svn:r3080
Roger Dingledine [Sun, 5 Dec 2004 11:58:30 +0000 (11:58 +0000)]
int is not necessarily the same size as size_t
svn:r3079
Roger Dingledine [Sun, 5 Dec 2004 07:10:08 +0000 (07:10 +0000)]
New circuit building strategy: keep a list of ports that we've used in the past 6 hours, and always try to have 2 circuits open or on the way
that will handle each such port. (We can extend this to include addresses
if exit policies shift to require that.) Seed us with port 80 so web
browsers won't complain that Tor is "slow to start up".
This was necessary because our old circuit building strategy just involved
counting circuits, and as time went by we would build up a big pile of
circuits that had peculiar exit policies (e.g. only exit to 9001-9100)
which would take up space in the circuit pile but never get used.
Fix router_compare_addr_to_addr_policy: it was not treating a port of *
as always matching, so we were picking reject *:* nodes as exit nodes too.
If you haven't used a clean circuit in an hour, throw it away, just to
be on the safe side.
This means after 6 hours a totally unused Tor client will have no
circuits open.
svn:r3078
Roger Dingledine [Sat, 4 Dec 2004 13:58:34 +0000 (13:58 +0000)]
fix comment
svn:r3077
Roger Dingledine [Sat, 4 Dec 2004 10:18:41 +0000 (10:18 +0000)]
plus add a comment re: the previous bug
svn:r3076
Roger Dingledine [Sat, 4 Dec 2004 08:56:59 +0000 (08:56 +0000)]
bugfix: router_exit_policy_rejects_all() was broken, so we were
sometimes picking middleman nodes as our last hop, which wasn't
very useful.
svn:r3075
Roger Dingledine [Sat, 4 Dec 2004 07:13:37 +0000 (07:13 +0000)]
Now we allow writing to the buffer even when the stream if marked for
close, if we're planning to wait to flush it.
This is important because we were sending a socks reject back if we're
closing and hadn't already sent one, but it wasn't actually getting
written since the conn was already marked-for-close.
svn:r3074
Roger Dingledine [Sat, 4 Dec 2004 03:26:35 +0000 (03:26 +0000)]
React to eof immediately on non-open edge connections.
Stop keeping track of num_retries for apconns, since they expire
after 60 seconds anyway.
When warning about retrying or giving up, print the address, so
the user knows which one it's talking about.
svn:r3073
Roger Dingledine [Sat, 4 Dec 2004 02:51:11 +0000 (02:51 +0000)]
bugfix: When we were checking to see if an ap_conn should time out
waiting for its connected cell, we were calculating time from when the
ap_conn was created. So if it waited say 20 seconds before being attached,
then we would immediately decide that the circuit had timed out.
Also, make circuit_dump_by_conn() display actual circuit progress,
including circuits that haven't been attached to the conn yet but
hope to when it finishes connecting.
svn:r3072
Roger Dingledine [Sat, 4 Dec 2004 01:23:04 +0000 (01:23 +0000)]
whoops
just because it says snprintf doesn't mean it's a noop
svn:r3071
Nick Mathewson [Sat, 4 Dec 2004 01:14:36 +0000 (01:14 +0000)]
Add function to check that addr_policy_t is okay; change struct addr_policy_t to addr_policy_t.
svn:r3070
Roger Dingledine [Sat, 4 Dec 2004 00:36:34 +0000 (00:36 +0000)]
bump us to 0.0.9rc6-cvs
darn these bugs
svn:r3069
Roger Dingledine [Sat, 4 Dec 2004 00:25:54 +0000 (00:25 +0000)]
make circuit building and router parsing less noisy
svn:r3068
Roger Dingledine [Fri, 3 Dec 2004 23:53:35 +0000 (23:53 +0000)]
while hibernating, hup should not regrow our listeners.
svn:r3067
Roger Dingledine [Fri, 3 Dec 2004 04:32:24 +0000 (04:32 +0000)]
fix tor-doc urls to point to new website
svn:r3066
Roger Dingledine [Thu, 2 Dec 2004 09:27:24 +0000 (09:27 +0000)]
rearrange TODO a lot; still needs more.
svn:r3065
Nick Mathewson [Thu, 2 Dec 2004 04:33:01 +0000 (04:33 +0000)]
Be more proactive about noticing underflows: size_t values greater than 0x800...00 are likely to be trouble.
svn:r3064
Roger Dingledine [Thu, 2 Dec 2004 04:31:52 +0000 (04:31 +0000)]
clean up 3 more underflow possibilities
svn:r3063
Roger Dingledine [Thu, 2 Dec 2004 04:16:18 +0000 (04:16 +0000)]
fix redundant (and dangerous) NUL termination
svn:r3062
Peter Palfrader [Wed, 1 Dec 2004 09:22:14 +0000 (09:22 +0000)]
* New upstream release (candidate).
* Add a few 'date' calls in debian/rules, so I can see how long building the docs takes on autobuilders.
svn:r3060
Nick Mathewson [Wed, 1 Dec 2004 04:55:03 +0000 (04:55 +0000)]
check for duplicate circuit ID _after_ updating circ_id_type.
svn:r3058
Roger Dingledine [Wed, 1 Dec 2004 04:34:13 +0000 (04:34 +0000)]
ha ha, don't put dollar signs around Id unless you mean it
svn:r3057
Roger Dingledine [Wed, 1 Dec 2004 04:32:51 +0000 (04:32 +0000)]
bump to 0.0.9rc5
svn:r3056
Roger Dingledine [Wed, 1 Dec 2004 04:27:11 +0000 (04:27 +0000)]
move StatusFetchPeriod to 15 minutes so it's within bounds by default
svn:r3055
Roger Dingledine [Wed, 1 Dec 2004 04:13:15 +0000 (04:13 +0000)]
one more typo
svn:r3054
Nick Mathewson [Wed, 1 Dec 2004 03:51:59 +0000 (03:51 +0000)]
Fix windows build.
svn:r3053
Nick Mathewson [Wed, 1 Dec 2004 03:48:14 +0000 (03:48 +0000)]
Spell-check strings and comments
svn:r3052
Nick Mathewson [Wed, 1 Dec 2004 03:15:59 +0000 (03:15 +0000)]
If we are using select, make sure we stay within FD_SETSIZE.
svn:r3051
Roger Dingledine [Wed, 1 Dec 2004 02:54:13 +0000 (02:54 +0000)]
do even less inside our signal handler,
just to be extra paranoidly safe
svn:r3050
Roger Dingledine [Wed, 1 Dec 2004 02:17:56 +0000 (02:17 +0000)]
two more items for post 0.0.9
svn:r3049
Nick Mathewson [Tue, 30 Nov 2004 22:42:31 +0000 (22:42 +0000)]
add some todo items before arma conflicts with them ;)
svn:r3048
Nick Mathewson [Tue, 30 Nov 2004 16:07:20 +0000 (16:07 +0000)]
Clarify chosen tag progression
svn:r3047
Roger Dingledine [Tue, 30 Nov 2004 10:47:48 +0000 (10:47 +0000)]
clean obsolete circuit_log_path code
svn:r3046
Roger Dingledine [Tue, 30 Nov 2004 10:33:23 +0000 (10:33 +0000)]
a changelog for rc5
svn:r3045
Roger Dingledine [Tue, 30 Nov 2004 10:07:18 +0000 (10:07 +0000)]
.exit stuff is done.
defer intro point bug fix til after 0.0.9 is out since it will be invasive.
svn:r3044
Peter Palfrader [Tue, 30 Nov 2004 09:58:17 +0000 (09:58 +0000)]
Rather have a badly worded FAQ than a wrong one
svn:r3043
Roger Dingledine [Tue, 30 Nov 2004 09:02:25 +0000 (09:02 +0000)]
clean up the other "Tell Roger" log that dfc keeps getting
svn:r3042
Roger Dingledine [Tue, 30 Nov 2004 08:54:08 +0000 (08:54 +0000)]
a few minor tweaks
svn:r3041
Roger Dingledine [Tue, 30 Nov 2004 08:44:19 +0000 (08:44 +0000)]
write down our "how to have two defaults for dirfetchperiod"
issue, so we don't forget about it.
svn:r3040
Roger Dingledine [Tue, 30 Nov 2004 08:39:14 +0000 (08:39 +0000)]
Let resolve conns retry/expire also, rather than sticking around forever.
Put the check-if-requested-exitrouter-will-reject-us code in the
circuit_attach loop, so it gets checked periodically and not just
once at the beginning. This is useful in case the routerlist changes,
but also in case the address gets resolved into something that we learn
we'll reject.
svn:r3039
Roger Dingledine [Tue, 30 Nov 2004 08:15:09 +0000 (08:15 +0000)]
refuse .exit addresses immediately if the requested node would
refuse the request (e.g. due to exit policy or wrong version)
svn:r3038
Nick Mathewson [Tue, 30 Nov 2004 07:17:35 +0000 (07:17 +0000)]
fix more grammar stuff
svn:r3037
Nick Mathewson [Tue, 30 Nov 2004 07:06:05 +0000 (07:06 +0000)]
Make tor-resolve accept x.y.exit addresses again
svn:r3036
Nick Mathewson [Tue, 30 Nov 2004 06:44:07 +0000 (06:44 +0000)]
use shorter minimum key lifetime until 008 is dead
svn:r3035
Nick Mathewson [Tue, 30 Nov 2004 06:18:46 +0000 (06:18 +0000)]
It seems that some people just don't appreciate my avant-garde communication
style, and expect me to use sentences in documentation. Doh.
svn:r3034
Nick Mathewson [Tue, 30 Nov 2004 06:17:35 +0000 (06:17 +0000)]
doxygen uses backslashes, not forward-slashes
svn:r3033
Nick Mathewson [Tue, 30 Nov 2004 06:15:06 +0000 (06:15 +0000)]
clarify why strlcpy is safe in truncated log messages
svn:r3032
Nick Mathewson [Tue, 30 Nov 2004 06:12:21 +0000 (06:12 +0000)]
Fix last patch
svn:r3031
Nick Mathewson [Tue, 30 Nov 2004 04:19:25 +0000 (04:19 +0000)]
Update tor-spec.txt: list and describe all router and directory fields.
svn:r3030
Nick Mathewson [Tue, 30 Nov 2004 03:44:10 +0000 (03:44 +0000)]
Rename parse_address to parse_extended_hostname (since we have other kinds of addresses); make its output an enum; support HEXDIGEST.exit hostnames.
svn:r3029
Nick Mathewson [Tue, 30 Nov 2004 03:41:06 +0000 (03:41 +0000)]
Make version parsing tests pass
svn:r3028
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
Nick Mathewson [Tue, 30 Nov 2004 03:10:56 +0000 (03:10 +0000)]
Add casei versions of strcmpstart/strcmpend
svn:r3026
Nick Mathewson [Tue, 30 Nov 2004 02:26:41 +0000 (02:26 +0000)]
Enforce coding style.
svn:r3025
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
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
Nick Mathewson [Mon, 29 Nov 2004 23:04:26 +0000 (23:04 +0000)]
Implement new version format for post 0.1.
svn:r3022
Peter Palfrader [Mon, 29 Nov 2004 22:31:23 +0000 (22:31 +0000)]
New upstream release (candidate) - rc3
svn:r3020
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
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
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