aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* A few testcases for policy summariesPeter Palfrader2008-08-13
| | | | svn:r16527
* Also special case "accept 1-65535" case, do not leak in non-exit casePeter Palfrader2008-08-13
| | | | svn:r16526
* Return NULL for policies that do not allow any exitsPeter Palfrader2008-08-13
| | | | svn:r16525
* Fix condition statement for accept items, fix two assertsPeter Palfrader2008-08-13
| | | | svn:r16524
* Make sure we don't run off the end of the listPeter Palfrader2008-08-13
| | | | svn:r16523
* Move policy_summarize() prototype to or.hPeter Palfrader2008-08-13
| | | | svn:r16522
* Create string representation of exit summariesPeter Palfrader2008-08-13
| | | | svn:r16521
* Nickm says I'm going to hell, but if I write that in a comment he might just ↵Peter Palfrader2008-08-13
| | | | | | save my soul svn:r16520
* implement policy_summary_accept and policy_summary_reject together with a ↵Peter Palfrader2008-08-13
| | | | | | set of helpers svn:r16519
* Start with exit policy summariesPeter Palfrader2008-08-13
| | | | svn:r16518
* Next patch from Karsten: client-side configuration stuff for proposal 121.Nick Mathewson2008-08-12
| | | | svn:r16510
* Rate-limit "too-many-sockets" messages; they can get needlessly verbose.Nick Mathewson2008-08-09
| | | | svn:r16480
* Patch cleanups from karstenNick Mathewson2008-08-09
| | | | svn:r16479
* Fix bug in my changes to karsten's patchNick Mathewson2008-08-08
| | | | svn:r16477
* handle ipv6 in socks5 requests.Nick Mathewson2008-08-08
| | | | svn:r16476
* The first of Karsten's proposal 121 patches: configure and maintain client ↵Nick Mathewson2008-08-08
| | | | | | authorization data. Tweaked a bit: see comments on or-dev. svn:r16475
* Try once again to make BSD compilation happy.Nick Mathewson2008-08-08
| | | | svn:r16474
* r17692@tombo: nickm | 2008-08-07 22:41:26 -0400Nick Mathewson2008-08-08
| | | | | | | Fix more compile errors on BSD pf stuff. How about now? svn:r16472
* r17680@tombo: nickm | 2008-08-07 16:06:30 -0400Nick Mathewson2008-08-07
| | | | | | | Add a missing safe_str for a debug_log_message. Fix the bad part of bug 674. svn:r16462
* Oops. On recent linux kernels we were not detecting the ↵Nick Mathewson2008-08-07
| | | | | | 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
* r17667@tombo: nickm | 2008-08-07 15:13:30 -0400Nick Mathewson2008-08-07
| | | | | | | Make the TransPort input code handle IPv6 addresses, I hope. This code may not compile. Possibly fix bug 796. svn:r16459
* r17666@tombo: nickm | 2008-08-07 15:12:30 -0400Nick Mathewson2008-08-07
| | | | | | | Make tor_addr_from_sockaddr also give away the port in a useful format svn:r16458
* r17664@tombo: nickm | 2008-08-06 12:32:09 -0400Nick Mathewson2008-08-06
| | | | | | | Patch from Christopher Davis: open /dev/pf before dropping privileges. Fixes bug 782. Backport candidate. svn:r16450
* r17659@tombo: nickm | 2008-08-06 12:22:11 -0400Nick Mathewson2008-08-06
| | | | | | | Fix bug 794: recover 3 bytes wasted per memory chunk. Fix from rovv. svn:r16447
* bump to 0.2.1.4-alpha-dev, add a future todo itemRoger Dingledine2008-08-05
| | | | svn:r16440
* r17645@31-33-44: nickm | 2008-08-05 16:28:01 -0400Nick Mathewson2008-08-05
| | | | | | | Make unspecified addresses also cause connection_is_rate_limited to say 0. svn:r16437
* r17643@31-33-44: nickm | 2008-08-05 16:18:25 -0400Nick Mathewson2008-08-05
| | | | | | | 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
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | 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
* Document that we break ties in favor of smaller SD digest if there are still ↵Peter Palfrader2008-08-05
| | | | | | ties after comparing the published timestamp svn:r16432
* Take out the TestVia config option, since it was a workaround forRoger Dingledine2008-08-05
| | | | | | | a bug that was fixed in Tor 0.1.1.21. svn:r16409
* get closer to a releaseRoger Dingledine2008-08-05
| | | | svn:r16408
* minor fixesRoger Dingledine2008-08-04
| | | | svn:r16407
* Make check-spaces happy.Karsten Loesing2008-08-04
| | | | svn:r16406
* don't log-warn on a bootstrapping status event if the recommendationRoger Dingledine2008-08-04
| | | | | | | is to ignore. svn:r16405
* In some edge cases it occurs that the router descriptor of a previously ↵Karsten Loesing2008-08-04
| | | | | | 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
* Remove dead code that was left from marking HiddenService(Exclude)Nodes ↵Karsten Loesing2008-08-04
| | | | | | obsolete in task 754. svn:r16401
* Fix a false assertion when extending a circuit to a relay to which a ↵Karsten Loesing2008-08-03
| | | | | | 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
* Fix a bug when generating router descriptors: The address part of exit ↵Karsten Loesing2008-08-03
| | | | | | policies was uninitialized. svn:r16372
* bump to 0.2.1.3-alphaRoger Dingledine2008-08-03
| | | | svn:r16369
* note a feature (bugfix) we should do one dayRoger Dingledine2008-08-03
| | | | svn:r16368
* When a struct ends with char a[1], the size of all earlier members of the ↵Nick Mathewson2008-07-31
| | | | | | struct is _not_ sizeof(st)-1; compilers add alignment. Problem spotted by rovv. Backport candidate. svn:r16302
* Make compiler with GCC warnings enabled happy.Karsten Loesing2008-07-31
| | | | svn:r16300
* r17436@tombo: nickm | 2008-07-30 09:03:19 -0400Nick Mathewson2008-07-30
| | | | | | | 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
* r17435@tombo: nickm | 2008-07-30 08:50:54 -0400Nick Mathewson2008-07-30
| | | | | | | 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
* r17434@tombo: nickm | 2008-07-29 10:58:36 -0400Nick Mathewson2008-07-30
| | | | | | | 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
* r17426@tombo: nickm | 2008-07-28 20:34:03 -0400Nick Mathewson2008-07-29
| | | | | | | More test coverage for tor_addr_t; fix a couple of bugs. svn:r16234
* r17391@pc-10-8-1-079: nickm | 2008-07-25 17:11:17 +0200Nick Mathewson2008-07-25
| | | | | | | 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
* r17359@pc-10-8-1-079: nickm | 2008-07-25 16:42:48 +0200Nick Mathewson2008-07-25
| | | | | | | whitespace fixes svn:r16209
* r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200Nick Mathewson2008-07-25
| | | | | | | 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
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200Nick Mathewson2008-07-24
| | | | | | | 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