Nick Mathewson
|
45bd6c650d
Replace kludgy assert with something a little less awful, and avoid needless strlcpy in rend descriptor encoding.
|
16 years ago |
Nick Mathewson
|
76a2e11f91
Downgrade the last xxx021 in routerparse. The duplicate code stands for now.
|
16 years ago |
Nick Mathewson
|
d0924d522d
Document RELAY_EARLY cells in tor-spec.txt: proposal 110 is mostly implemented, and the rest of it will need to wait until all current Tor 0.2.0.x clients are obsolete to close.
|
16 years ago |
Nick Mathewson
|
c1c7f982d9
Do not not cannibalize a circuit that has run out of RELAY_EARLY cells. Partial bug 878 fix.
|
16 years ago |
Nick Mathewson
|
145ead96ed
Do not cannibalize a circuit that has run out of RELAY_EARLY cells. Partial bug 878 fix.
|
16 years ago |
Nick Mathewson
|
a332805a55
Extact parse-the-token-arguments to its own function, and change it to a single-pass algorithm. This simplifies the parsing code and speeds it up a little.
|
16 years ago |
Nick Mathewson
|
fa6e72dc4b
Remove a call to find_whitespace_eos that didn't actually do anything.
|
16 years ago |
Nick Mathewson
|
a42e82b0de
While I'm at it, refactor control.c a little so that the dead code no longer exists.
|
16 years ago |
Nick Mathewson
|
272b007268
coverity thinks it's dumb to check networkstatus_v2_list in one place and not another. Coverity has a point, even though the check may be redundant. CID 361.
|
16 years ago |
Nick Mathewson
|
2c4097e99d
More compilation tweaks on Android: fix two clear errors in our code that apparently the compiler cares about there.
|
16 years ago |
Andrew Lewman
|
dce4677503
Update openssl version, suggest latest libevent.
|
16 years ago |
Nick Mathewson
|
e8a3fa91a6
Use a consistent naming standard for header file guard macros, taking care not to collide with any system headers. This tripped us up on Android.
|
16 years ago |
Nick Mathewson
|
b0a8ecd193
Use RSA_generate_key_ex where available.
|
16 years ago |
Nick Mathewson
|
46f8ef8116
Switch address comparisons in policies to be exact rather than semantic. Until we do ipv6 exit policies and until we know whether we even allow ::ffff:0:0/96 addresses, there is no point in doing "semantic" comparisons. This was also showing up on oprofile.
|
16 years ago |
Nick Mathewson
|
870fd18b8f
Refactor some exit-policy-related functions that showed up in oprofile.
|
16 years ago |
Nick Mathewson
|
94507f1b6d
Fix bug in recent address.c patch: actually set the value of address * to 0.0.0.0 as we did before. This makes CMP_EXACT comparisons with bitmask 0 work on address * again.
|
16 years ago |
Nick Mathewson
|
ccda4e481c
Fix compilation under gethostbyname-based systems.
|
16 years ago |
Nick Mathewson
|
ae71b52945
remove the responsibility for setting listensocklen to the function that made the sockaddr
|
16 years ago |
Roger Dingledine
|
365c72246c
partial move to letting bridge descriptor fetches use our new (well,
|
16 years ago |
Roger Dingledine
|
43c22c5b79
minor todo updates
|
16 years ago |
Roger Dingledine
|
5519e633ec
New controller event "clients_seen" to report a geoip-based summary
|
16 years ago |
Nick Mathewson
|
0c5e03fa21
Remove a deprecated controller alias; make another one generate a warning.
|
16 years ago |
Nick Mathewson
|
a87335472c
Make connection_create_listener take a sockaddr_len, not just a sockaddr whose length we try to divine.
|
16 years ago |
Nick Mathewson
|
b3b14bf25d
Add some early checks to keep ipv6 addresses from failing by accident. Now, they fail on purpose, at least till 0.2.2.something.
|
16 years ago |
Nick Mathewson
|
374c1e979f
Refactor tor_addr_t manipulation functions so that as few as possible look at the tor_addr_t representation.
|
16 years ago |
Nick Mathewson
|
616f6643ef
get_interface_addr6(), and by extension get_interface_addr(), were pretty borked. Copying a tor_addr_t from a sockaddr_storage using memcpy is a poor notion.
|
16 years ago |
Nick Mathewson
|
61722638ea
Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, and has decent semantics for maskbits; and so that CMP_EXACT works right for bits==0.
|
16 years ago |
Nick Mathewson
|
f182e9707f
Bump version to 0.2.1.9-alpha-dev
|
16 years ago |
Nick Mathewson
|
f7adc017c4
Document and make more conservative the logic for picking the size of the bloom filter to use for retaining descriptors.
|
16 years ago |
Nick Mathewson
|
73e1a1d26e
Document our Bloom filter parameter choices.
|
16 years ago |