aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-11-17Fix a couple of memory leaks in rend_add_service spotted by coverityNick Mathewson
2011-11-16trivial code cleanup in generate_v2_networkstatus_opinion()Roger Dingledine
2011-11-16fix trivial typoRoger Dingledine
somebody should s/authoritative directory server/directory authority/g at some point
2011-11-16Merge remote-tracking branch 'sebastian/bug2893'Nick Mathewson
2011-11-16Merge branch 'bug4457_master'Nick Mathewson
2011-11-16Eat all whitespace after a control commandSebastian Hahn
2011-11-16allow manual control port authenticate via netcatRoger Dingledine
2011-11-16Fix a check-spaces complaintSebastian Hahn
2011-11-16Don't allow building on platforms where AF_UNSPEC != 0Sebastian Hahn
2011-11-16Don't fail to send netinfo if real_addr is unsetSebastian Hahn
If we haven't set real_addr on a connection, we also now that _base.addr hasn't been tampered with. So we can use that.
2011-11-15Make certificate skew into a protocol warningNick Mathewson
2011-11-15Allow up to a 30 days future skew, 48 hours past skew in certs.Nick Mathewson
2011-11-15Merge remote-tracking branch 'sebastian/bug4469'Nick Mathewson
2011-11-15Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-15Fix compile warnings on windowsSebastian Hahn
2011-11-14Use real_addr in send_netinfoNick Mathewson
Reported by "troll_un"; bugfix on 0.2.0.10-alpha; fixes bug 4349.
2011-11-14Merge remote-tracking branch 'public/bug4367'Nick Mathewson
2011-11-14Disable IOCP and retry event_base_new_with_config once on failureNick Mathewson
This is a fancier bug4457 workaround for 0.2.3. In 0.2.2, we could just tell Libevent "Don't enable locking!" so it wouldn't try to make the event_base notifiable. But for IOCP, we need a notifiable base. (Eventually, we'll want a notifiable base for other stuff, like multithreaded crypto.) So the solution is to try a full-featured initialization, and then retry with all the options turned off if that fails.
2011-11-14Merge remote-tracking branch 'public/bug4457_022' into bug4457_masterNick Mathewson
Conflicts: src/common/compat_libevent.c Resolving conflict by not taking 7363eae13cb8 ("Use the EVENT_BASE_FLAG_NOLOCK flag to prevent socketpair() invocation"): in Tor 0.2.3.x, we _do_ sometimes use notifiable event bases.
2011-11-14Detect failure from event_init() or event_base_new_with_config()Nick Mathewson
2011-11-14Use the EVENT_BASE_FLAG_NOLOCK flag to prevent socketpair() invocationNick Mathewson
In Tor 0.2.2, we never need the event base to be notifiable, since we don't call it from other threads. This is a workaround for bug 4457, which is not actually a Tor bug IMO.
2011-11-14Merge remote-tracking branch '4ZM/topic/test/4433_address'Nick Mathewson
2011-11-14Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-14Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-11-14Merge remote-tracking branch 'karsten/geoip-november2011' into maint-0.2.1Nick Mathewson
2011-11-11Fix test_util.c compilation on MSVCGisle Vanem
"Those '{}' constructs are not well liked by MSVC (cl v.16.xx)." Received on tor-dev; fixes bug on 0.2.3.3-alpha.
2011-11-11Remove the torint.h include from aes.hSebastian Hahn
This hasn't been needed for a while, there's nothing in aes.h now that would need uint* stuff.
2011-11-11Fix the bench_{aes,dmap} test functions to work with TTSebastian Hahn
TT expects them to be named test_bench_{aes,dmap}. Also change the DISABLED macro to reflect that.
2011-11-11Remove vestiges of RIJNDAEL_COUNTER_OPTIMIZATIONNick Mathewson
2011-11-11Stop using "u32" and "u8" in aes.cNick Mathewson
2011-11-11Dump our internal AES implementationNick Mathewson
This thing was pretty pointless on versions of OpenSSL 0.9.8 and later, and almost totally pointless on OpenSSL 1.0.0. Also, favor EVP by default, since it lets us get hardware acceleration where present. (See issue 4442)
2011-11-11Merge remote-tracking branch '4ZM/topic/test/4434_address'Nick Mathewson
2011-11-11Unit tests for tor_addr_to_strAnders Sundman
2011-11-11Unit tests for tor_addr_to_PTR_nameAnders Sundman
2011-11-11Return value bugfix of tor_addr_to_PTR_nameAnders Sundman
Returns value semantics was inconsitent between IPv4 and IPv6
2011-11-11Fixed buffer bounds check bug in tor_addr_to_strAnders Sundman
2011-11-11Unit tests for tor_inet_ntopAnders Sundman
2011-11-11Fixed of-by-one error in tor_inet_ntopAnders Sundman
The of-by-one error could lead to 1 byte buffer over runs IPv6 for addresses.
2011-11-10Unit tests for eat_whitespace functionsAnders Sundman
2011-11-10Unit test for n_bits_set funcAnders Sundman
2011-11-10Unit test for hex_str funcAnders Sundman
Note: Too long input is undefined by contract. That behaviour should not be asserted in test.
2011-11-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-09Merge remote-tracking branch 'rransom-tor/bug4426' into maint-0.2.2Nick Mathewson
2011-11-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-09Don't warn when compiling with --disable-threadsSebastian Hahn
STMT_VOID semantics suggested by nick, thanks!
2011-11-09Rewrite comment at head of eventdns.cNick Mathewson
Let's make it more obvious to the everyday reader that eventdns.c is a) Based on Libevent's evdns.c b) Slated for demolition c) Supposed to keep API-compatibility with Libevent. d) Not worth tweaking unless there's a bug.
2011-11-07Include HiddenServiceDir in some warning messagesRobert Ransom
2011-11-07Add some XXXesRobert Ransom
2011-11-07Add GETINFO md/id/* and md/name/* items for relay microdescsRobert Ransom
2011-11-07Merge remote-tracking branch 'rransom-tor/bug4411'Nick Mathewson