Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-23 | add support for systemd notification protocol | Michael Scherer | |
This permit for now to signal readiness in a cleaner way to systemd. | |||
2014-12-23 | tweak whitespace; log bad socket family if bug occurs | Nick Mathewson | |
2014-12-23 | Add the transparent proxy getsockopt to the sandbox | Francisco Blas Izquierdo Riera (klondike) | |
When receiving a trasnsparently proxied request with tor using iptables tor dies because the appropriate getsockopt calls aren't enabled on the sandbox. This patch fixes this by adding the two getsockopt calls used when doing transparent proxying with tor to the sandbox for the getsockopt policy. This patch is released under the same license as the original file as long as the author is credited. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> | |||
2014-12-23 | Use the appropriate call to getsockopt for IPv6 sockets | Francisco Blas Izquierdo Riera (klondike) | |
The original call to getsockopt to know the original address on transparently proxyed sockets using REDIRECT in iptables failed with IPv6 addresses because it assumed all sockets used IPv4. This patch fixes this by using the appropriate options and adding the headers containing the needed definitions for these. This patch is released under the same license as the original file as long as the author iscredited. Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> | |||
2014-12-22 | Tweak channel unit tests so we don't see coverity complaints | Nick Mathewson | |
channel_write_*_cell() can delete its argument, so coverity doesn't like us doing pointer comparison against that argument later. Silly. | |||
2014-12-22 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2014-12-22 | Merge remote-tracking branch 'public/bug14013_024' into maint-0.2.5 | Nick Mathewson | |
2014-12-22 | When decoding a base-{16,32,64} value, clear the target buffer first | Nick Mathewson | |
This is a good idea in case the caller stupidly doesn't check the return value from baseX_decode(), and as a workaround for the current inconsistent API of base16_decode. Prevents any fallout from bug 14013. | |||
2014-12-22 | Fix a bunch of memory leaks in the unit tests. Found with valgrind | Nick Mathewson | |
2014-12-22 | Coverity complained that we were not checking this return value | Nick Mathewson | |
2014-12-22 | Fix some coverity issues in the unit tests | Nick Mathewson | |
2014-12-21 | Merge branch 'ticket7356_squashed' | Nick Mathewson | |
2014-12-21 | Fixing mistake in comment. | rl1987 | |
2014-12-21 | Using channel state lookup macros in connection_or.c. | rl1987 | |
2014-12-21 | Using CHANNEL_FINISHED macro in connection.c | rl1987 | |
2014-12-21 | Using channel state lookup macros in circuitlist.c. | rl1987 | |
2014-12-21 | Using CHANNEL_IS_OPEN macro in circuitbuild.c | rl1987 | |
2014-12-21 | Using channel state lookup macros in circuitbias.c. | rl1987 | |
2014-12-21 | Using channel state lookup macros in channeltls.c | rl1987 | |
2014-12-21 | Use channel state lookup macros in channel.c | rl1987 | |
2014-12-21 | Using macros and inline function for quick lookup of channel state. | rl1987 | |
2014-12-21 | Merge remote-tracking branch 'teor/bug14002-osx-transproxy-ipfw-pf' | Nick Mathewson | |
2014-12-21 | Make log bufer 10k, not 9.78k. | teor | |
2014-12-21 | Fix a comment in tor_addr_parse | teor | |
2014-12-21 | Fix clang warning, IPv6 address comment, buffer size typo | teor | |
The address of an array in the middle of a structure will always be non-NULL. clang recognises this and complains. Disable the tautologous and redundant check to silence this warning. Fixes bug 14001. | |||
2014-12-20 | Fix transparent proxy checks to allow OS X to use ipfw or pf | teor | |
OS X uses ipfw (FreeBSD) or pf (OpenBSD). Update the transparent proxy option checks to allow for both ipfw and pf on OS X. Fixes bug 14002. | |||
2014-12-19 | LLONG_MIN => INT64_MIN. | Nick Mathewson | |
2014-12-19 | Define an int64_min when it is missing | Nick Mathewson | |
2014-12-19 | Fix unit test. | Karsten Loesing | |
Looks like we forgot to update unit tests when we switched from 32-bit to 64-bit ints while tweaking 7cd53b7. | |||
2014-12-19 | Merge branch 'asn-karsten-task-13192-5-squashed' | Nick Mathewson | |
2014-12-19 | Add two hidden-service related statistics. | George Kadianakis | |
The two statistics are: 1. number of RELAY cells observed on successfully established rendezvous circuits; and 2. number of .onion addresses observed as hidden-service directory. Both statistics are accumulated over 24 hours, obfuscated by rounding up to the next multiple of a given number and adding random noise, and written to local file stats/hidserv-stats. Notably, no statistics will be gathered on clients or services, but only on relays. | |||
2014-12-19 | Merge remote-tracking branch 'dgoulet/bug13936_025_v2' | Nick Mathewson | |
2014-12-17 | Fix: call circuit_has_opened() for rendezvous circuit | David Goulet | |
In circuit_get_open_circ_or_launch(), for a rendezvous circuit, rend_client_rendcirc_has_opened() but circuit_has_opened() is preferred here since it will call the right function for a specific circuit purpose. Furthermore, a controller event is triggered where the former did not. Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2014-12-12 | fix a long line | Nick Mathewson | |
2014-12-12 | Merge remote-tracking branch 'meejah/ticket-13941-b' | Nick Mathewson | |
2014-12-12 | Tweak 13942 fix | Nick Mathewson | |
2014-12-11 | Pre-check hidden-service-dir permissions/ownership | meejah | |
See ticket #13942 where Tor dies if you feed it a hidden service directory with the wrong owner via SETCONF. | |||
2014-12-11 | Fix 13941: make calling log_new_relay_greeting() optional. | meejah | |
Specifically, only if we're creating secret_id_key do we log the greeting (and then only if the key is actually created). | |||
2014-12-10 | Add better support to obfuscate statistics. | Karsten Loesing | |
2014-12-10 | when somebody uploads too much, say who tried it | Roger Dingledine | |
2014-12-07 | Use END_CIRC_REASON_TORPROTOCOL instead of magic number. | rl1987 | |
2014-12-04 | Add fakechans.h to noinst_headers | Nick Mathewson | |
2014-12-04 | Fix more 64/32 warnings in test_channel.c | Nick Mathewson | |
2014-12-04 | Initialize libevent in circuitmux/destroy_cell_queue test | Nick Mathewson | |
2014-12-02 | Constify crypto_pk_get_digest(). | George Kadianakis | |
2014-11-28 | Fix some 32-bit build issues in the tests | Nick Mathewson | |
When comparing 64-bit types, you need to use tt_[ui]64_op(). Found by Jenkins | |||
2014-11-28 | Fix a signed/unsigned comparison warning in scheduler_run | Nick Mathewson | |
2014-11-27 | Fix a memory leak in rend_services_introduce | Nick Mathewson | |
This is CID 1256187 ; bug not in any released tor. | |||
2014-11-27 | Fix a likely bug found by coverity in test_scheduler.c. | Nick Mathewson | |
Andrea, do you agree with this? This is CID 1256186 | |||
2014-11-27 | One more, appease "make check-spaces" | Nick Mathewson | |