Nick Mathewson
|
fa6e72dc4b
Remove a call to find_whitespace_eos that didn't actually do anything.
|
преди 17 години |
Nick Mathewson
|
a42e82b0de
While I'm at it, refactor control.c a little so that the dead code no longer exists.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
2c4097e99d
More compilation tweaks on Android: fix two clear errors in our code that apparently the compiler cares about there.
|
преди 17 години |
Andrew Lewman
|
dce4677503
Update openssl version, suggest latest libevent.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
b0a8ecd193
Use RSA_generate_key_ex where available.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
870fd18b8f
Refactor some exit-policy-related functions that showed up in oprofile.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
ccda4e481c
Fix compilation under gethostbyname-based systems.
|
преди 17 години |
Nick Mathewson
|
ae71b52945
remove the responsibility for setting listensocklen to the function that made the sockaddr
|
преди 17 години |
Roger Dingledine
|
365c72246c
partial move to letting bridge descriptor fetches use our new (well,
|
преди 17 години |
Roger Dingledine
|
43c22c5b79
minor todo updates
|
преди 17 години |
Roger Dingledine
|
5519e633ec
New controller event "clients_seen" to report a geoip-based summary
|
преди 17 години |
Nick Mathewson
|
0c5e03fa21
Remove a deprecated controller alias; make another one generate a warning.
|
преди 17 години |
Nick Mathewson
|
a87335472c
Make connection_create_listener take a sockaddr_len, not just a sockaddr whose length we try to divine.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
374c1e979f
Refactor tor_addr_t manipulation functions so that as few as possible look at the tor_addr_t representation.
|
преди 17 години |
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.
|
преди 17 години |
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.
|
преди 17 години |
Nick Mathewson
|
f182e9707f
Bump version to 0.2.1.9-alpha-dev
|
преди 17 години |
Nick Mathewson
|
f7adc017c4
Document and make more conservative the logic for picking the size of the bloom filter to use for retaining descriptors.
|
преди 17 години |
Nick Mathewson
|
73e1a1d26e
Document our Bloom filter parameter choices.
|
преди 17 години |
Nick Mathewson
|
0f9f45ff33
Document the pk operation count fields in rephist.c, and move them into a struct for clarity, and change their type to what we actually want to cast them to.
|
преди 17 години |
Nick Mathewson
|
df5e8f65bc
Add more missing documentation, and correct an error in container.c documentation: Don't introduce two parameters called n when you're calling an algorithm O(n).
|
преди 17 години |
Roger Dingledine
|
41aef35963
last cleanups
|
преди 17 години |
Roger Dingledine
|
20f964c6da
prepare for 0.2.1.9-alpha
|
преди 17 години |
Roger Dingledine
|
2a42986c96
ok, fair enough, some of these variables were time_t's after all
|
преди 17 години |
Roger Dingledine
|
4ff04fda77
so which is it? TIME_MAX or INT_MAX? pick INT_MAX for now.
|
преди 17 години |