summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-25Use EVP for AES only when hardware accel is presentNick Mathewson
Fixes bug 4525, fix on 0.2.3.8-alpha.
2011-11-20Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-20Changes file for bug4521 backports.Nick Mathewson
2011-11-20Sockets are unsigned on windowsSebastian Hahn
this gets rid of a warning about signed/unsigned comparison This is a backport of 0a5338e03cdf14ef80584c6ff8adeb49200b8a76 that accidentally only went into master
2011-11-20Log more loudly on a bad cert from an authority.Nick Mathewson
Clock skew made this situation way too frequent so we demoted it to "protocol_warn", but when there's an authority, it should really just be warn.
2011-11-20Get rid of an unused parameter warning on winSebastian Hahn
This is a backport of bed79c47f4ec0ee72b19e2b81c54131d516d07ef which accidentally only went into master
2011-11-19changes file for bug4515Nick Mathewson
2011-11-19Imporved unit test coverage for tor_inet_ptonAnders Sundman
2011-11-19Minor tor_inet_pton bug fixesAnders Sundman
In particular: * Disallow "0x10::" * Don't blow up on ":" * Disallow "::10000"
2011-11-18Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-19Don't log about stats when running as a client without geoipSebastian Hahn
Completely disable stats if we aren't running as a relay. We won't collect any anyway, so setting up the infrastructure for them and logging about them is wrong. This also removes a confusing log message that clients without a geoip db would have seen. Fixes bug 4353.
2011-11-18Merge remote-tracking branch 'public/benchmark'Nick Mathewson
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 remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-11-16Merge branch 'bug4457_master'Nick Mathewson
2011-11-16Merge branch 'bug4457_022' into maint-0.2.2Nick 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-15Merge branch 'bug4371_squashed'Nick Mathewson
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-11All-in-one benchmark test for cell cryptoNick Mathewson
2011-11-11Convert bench_dmap to produce reasonable output.Nick Mathewson
2011-11-11New src/test/bench.c to allow us to actually _run_ benchmark codeNick Mathewson
Yes, the timing functions are suboptimal. Please improve!
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-11Changes file for patches from 4ZMNick Mathewson