Age | Commit message (Collapse) | Author |
|
svn:r16518
|
|
svn:r16510
|
|
svn:r16480
|
|
svn:r16479
|
|
svn:r16477
|
|
svn:r16476
|
|
authorization data. Tweaked a bit: see comments on or-dev.
svn:r16475
|
|
svn:r16474
|
|
Fix more compile errors on BSD pf stuff. How about now?
svn:r16472
|
|
Add a missing safe_str for a debug_log_message. Fix the bad part of bug 674.
svn:r16462
|
|
linux/netfilter_ipv4.h header properly, since we needed to have in_addr and in6_addr and __u32 defined before trying to include it. Fix that.
svn:r16460
|
|
Make the TransPort input code handle IPv6 addresses, I hope. This code may not compile. Possibly fix bug 796.
svn:r16459
|
|
Make tor_addr_from_sockaddr also give away the port in a useful format
svn:r16458
|
|
Patch from Christopher Davis: open /dev/pf before dropping privileges. Fixes bug 782. Backport candidate.
svn:r16450
|
|
Fix bug 794: recover 3 bytes wasted per memory chunk. Fix from rovv.
svn:r16447
|
|
svn:r16440
|
|
Make unspecified addresses also cause connection_is_rate_limited to say 0.
svn:r16437
|
|
Oops. Remove code to set (nonportable) sin_len fields. Added it to try to fix a bug that turned out to be something else.
svn:r16436
|
|
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
ties after comparing the published timestamp
svn:r16432
|
|
a bug that was fixed in Tor 0.1.1.21.
svn:r16409
|
|
svn:r16408
|
|
svn:r16407
|
|
svn:r16406
|
|
is to ignore.
svn:r16405
|
|
picked introduction point becomes obsolete. In that case, don't stick to using that introduction point, but simply give up on it. Reverts some part of r15825.
svn:r16404
|
|
obsolete in task 754.
svn:r16401
|
|
connection is already established. In that case the circuit should not need to memorize extend info for that relay. circuitbuild.c:389 contains a similar assertion.
svn:r16375
|
|
policies was uninitialized.
svn:r16372
|
|
svn:r16369
|
|
svn:r16368
|
|
struct is _not_ sizeof(st)-1; compilers add alignment. Problem spotted by rovv. Backport candidate.
svn:r16302
|
|
svn:r16300
|
|
Move n_addr, n_port, and n_conn_id_digest fields of circuit_t into a separately allocated extend_info_t. Saves 22 bytes per connected circuit_t on 32-bit platforms, and makes me more comfortable with using tor_addr_t in place of uint32_t n_addr.
svn:r16257
|
|
Allow alternate form of SMARTLIST_FOREACH with paired BEGIN and END macros. This lets the compiler tell us which line an error has occurred on.
svn:r16256
|
|
Refactor tor_addr_from_string: it didnt need most of parse_addr_mask_port_range, and its dependence on that latter function made it less flexible.
svn:r16255
|
|
More test coverage for tor_addr_t; fix a couple of bugs.
svn:r16234
|
|
Tor_addr_compare did a semantic comparison, such that ::1.2.3.4 and 1.2.3.4 were "equal". we sometimes need an exact comparison. Add a feature to do that.
svn:r16210
|
|
whitespace fixes
svn:r16209
|
|
Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much.
svn:r16208
|
|
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
Refactor the router_choose_random_node interface: any function with 10 parameters, most of which are boolean and one of which is unused, should get refactored like this.
svn:r16167
|
|
Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion. First part of implementing proposal 147.
svn:r16166
|
|
Implement most of proposal 110.
svn:r16156
|
|
Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t.
svn:r16155
|
|
Patch from Christian Wilms: remove (HiddenService|Rend)(Exclude)?Nodes options. They never worked properly, and nobody seems to be using them. Resolves bug 754.
svn:r16144
|
|
In connection_edge_destroy, send a stream status control event when we have an AP connection. Previously, we would send an event when the connection was AP and non-AP at the same time. This didn't work so well. Patch from Anonymous Remailer (Austria). Backport candidate.
svn:r16143
|
|
Never allow a circuit to be created with the same circid as a circuit that has been marked for close. May be a fix for bug 779. Needs testing. Backport candidate.
svn:r16136
|
|
Fix bug in last patch: ADDR_POLICY_REJECT is not the same as ADDR_POLICY_REJECTED.
svn:r16065
|
|
Add new ExcludeExitNodes option. Also add a new routerset type to handle Exclude[Exit]Nodes. It is optimized for O(1) membership tests, so as to make choosing a random router run in O(N_routers) time instead of in O(N_routers*N_Excluded_Routers).
svn:r16061
|