summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-01-21Fix an error in tor_addr_parse that kept us from having a hidden service or ↵Nick Mathewson
a bridge live at an IPv6 address. svn:r18206
2009-01-21Fix warning on panther compile, and bug 913. Backport candidate.Nick Mathewson
svn:r18203
2009-01-21Let controllers actually ask for the "clients_seen" event. BugfixRoger Dingledine
on 0.2.1.10-alpha; reported by Matt Edman. svn:r18201
2009-01-21get ready for more developmentRoger Dingledine
svn:r18200
2009-01-20bump to 0.2.1.11-alpha, clean up changelogtor-0.2.1.11-alphaRoger Dingledine
svn:r18192
2009-01-20Add a better (non-locale-having) ctypes implementation to avoid protocol and ↵Nick Mathewson
parsing mismatches on different platforms. svn:r18189
2009-01-15This patch changes the default location where config and data filesNick Mathewson
are stored when the --enable-local-appdata option is configured. This changes the Windows path from %APPDATA% to a host local %USERPROFILE%\Local Settings\Application Data\ path (aka, LOCAL_APPDATA). Patch from coderman. svn:r18122
2009-01-14make an assert tighter and replace another with an if.Nick Mathewson
svn:r18102
2009-01-14Now that we can hit the end of router_rebuild_store before chunk_list is ↵Nick Mathewson
set, we need to test it before freeing it. svn:r18101
2009-01-14Refactor MIN_IPS_TO_NOTE_* macros in geoip.c: simplify code.Nick Mathewson
It was dumb to have an "announce the value if it's over 0" version of the code coexisting with an "announce the value if it's at least N" version. Retain the latter only, with N set to 1. Incidentally, this should fix a Coverity REVERSE_INULL warning. svn:r18100
2009-01-14Fix a compile warning on win32.Nick Mathewson
svn:r18099
2009-01-13True, 17 is greater than 0. But this applies to 4111 as well.Karsten Loesing
svn:r18097
2009-01-13Fix up (I hope) most ot the things that coverity suddenly claimed were ↵Nick Mathewson
REVERSE_INULL. This is what we get for bragging about being down to 0 issues. svn:r18096
2009-01-13Do the tor_assert hack everywhere in test_crypto_aes_iv.Nick Mathewson
svn:r18095
2009-01-13Fix a leak memory on the failing case of test_memeq_hexNick Mathewson
svn:r18094
2009-01-10Fix a harmless-to-us bug in ht.h.Nick Mathewson
There was a field that _HT_FOI_INSERT was never setting. Everything that calls _HT_FOI_INSERT was setting it via tor_malloc_zero, but that's fragile. svn:r18064
2009-01-10Fix ServerDNSRandomizeCase so that setting it to 0 works.Nick Mathewson
Bugfix on 0.2.1.7-alpha. Backport candidate. Fixes bug 905. svn:r18063
2009-01-07Make the last bunch of libevent version detection silliness work on macosx.Nick Mathewson
svn:r18015
2009-01-07Check that Libevent header version matches Libevent library version.Nick Mathewson
Unfortunately, old Libevents don't _put_ a version in their headers, so this can get a little tricky. Fortunately, the only binary-compatibility issue we care about is the size of struct event. Even more fortunately, Libevent 2.0 will let us keep binary compatiblity forever by letting us decouple ourselves from the structs, if we like. svn:r18014
2009-01-07Discard router descriptors as we load them if they are more thanRoger Dingledine
five days old. Otherwise if Tor is off for a long time and then starts with cached descriptors, it will try to use the onion keys in those obsolete descriptors when building circuits. Bugfix on 0.2.0.x. Fixes bug 887. svn:r17993
2009-01-07actually find the right identity_digest to blame when we getRoger Dingledine
a destroy cell from our first hop. svn:r17991
2009-01-06well, that was a disaster. this time for sure.Roger Dingledine
svn:r17989
2009-01-06no actual changes besides a seg fault on startup, i meantRoger Dingledine
svn:r17986
2009-01-06simplify. no actual changes i think. ;)Roger Dingledine
svn:r17985
2009-01-06When our circuit fails at the first hop (e.g. we get a destroyRoger Dingledine
cell back), avoid using that OR connection anymore, and also tell all the one-hop directory requests waiting for it that they should fail. Bugfix on 0.2.1.3-alpha. svn:r17984
2009-01-06Make outgoing DNS requests respect OutboundBindAddress.Nick Mathewson
Fixes the bug part of bug 789. svn:r17983
2009-01-06Note a problem in the interface tor_addr_to_sockaddr.Nick Mathewson
svn:r17982
2009-01-06ok, all set to destabilize it againRoger Dingledine
svn:r17980
2009-01-06bump to 0.2.1.10-alpha, reorganize the changelogtor-0.2.1.10-alphaRoger Dingledine
svn:r17974
2009-01-06clarify which relay gave us the good netinfo cellRoger Dingledine
svn:r17973
2009-01-06When a relay gets a create cell it can't decrypt (e.g. because it'sRoger Dingledine
using the wrong onion key), we were dropping it and letting the client time out. Now actually answer with a destroy cell. Bugfix on 0.0.2pre8. svn:r17970
2009-01-06Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an ↵Roger Dingledine
obsolete consensus. Discarding. Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus" doesn't need a real warn. svn:r17969
2009-01-06Update to the "December 19 2008" ip-to-country fileRoger Dingledine
svn:r17968
2009-01-06Clean up (and mark for 0.2.2.) comments relating to non-beauty of current ↵Nick Mathewson
bug-743 fix. svn:r17966
2009-01-06Slightly better messages on ControlListenAddress 0.0.0.0Nick Mathewson
svn:r17963
2009-01-06Prevent bridge relays from serving their 'extrainfo' documentRoger Dingledine
to anybody who asks, now that extrainfo docs include potentially sensitive aggregated client geoip summaries. svn:r17958
2009-01-06Make dirserv_get_routerdesc_fingerprints() treat extrainfos with ↵Nick Mathewson
send_unencrypted==0 correctly. Irrelevant, since we will soon never send them at all. svn:r17953
2009-01-06Bugfix on r13098. Backport candidate.Roger Dingledine
When we made bridge authorities stop serving bridge descriptors over unencrypted links, we also broke DirPort reachability testing for bridges. So bridges with a non-zero DirPort were printing spurious warns to their logs. Bugfix on 0.2.0.16-alpha. Fixes bug 709. svn:r17945
2009-01-05apply a variant of rovv's bug 872 patch, and document that we want a better ↵Nick Mathewson
solution for 0.2.2.x. svn:r17924
2009-01-05Bridge relays that had DirPort set to 0 would stop fetchingRoger Dingledine
descriptors shortly after startup, and then briefly resume after a new bandwidth test and/or after publishing a new bridge descriptor. Bridge users that try to bootstrap from them would get a recent networkstatus but would get descriptors from up to 18 hours earlier, meaning most of the descriptors were obsolete already. Reported by Tas; bugfix on 0.2.0.13-alpha. svn:r17920
2009-01-05If the cached networkstatus consensus is more than five days old,Roger Dingledine
discard it rather than trying to use it. In theory it could be useful because it lists alternate directory mirrors, but in practice it just means we spend many minutes trying directory mirrors that are long gone from the network. Helps bug 887 a bit; bugfix on 0.2.0.x. svn:r17917
2009-01-05Preserve reporting of stream end reasons to the local controlMike Perry
port. They were lost in the changes for Proposal 148. svn:r17911
2009-01-04Use doxygen-style comments instead of C-style comments.Karsten Loesing
svn:r17893
2009-01-04Another fun openbsd warning fix. On ioerror's computer at least, they ↵Nick Mathewson
redefined an unsigned field in zlib.h to be signed. I am quite sure this makes me more secure somehow. svn:r17892
2009-01-04OpenBSD malloc.h believes that you should be able to detect headers with ↵Nick Mathewson
autoconf, or build without warnings, but not both. So never include malloc.h on OpenBSD. Backport candidate. svn:r17891
2009-01-04Document some variables used for generating statistics on usage of V0 hidden ↵Karsten Loesing
service directory authorities. svn:r17890
2009-01-04Another round of downgrading removing or postponing XXXX021 issues. Some ↵Nick Mathewson
remain, though. svn:r17888
2009-01-04Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address ↵Nick Mathewson
on any platform. svn:r17887
2009-01-04Fix an xxx021: do not remove routerinfos as too old and unlisted unless we ↵Nick Mathewson
have a consensus. Backport candidate. svn:r17886
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867