Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-16 | Merge branch 'bug8546_squashed' | Nick Mathewson | |
Conflicts: src/or/connection.c src/or/or.h src/or/relay.c | |||
2015-01-16 | Replace field-by-field copy with memcpy for entry_port_cfg | Nick Mathewson | |
2015-01-16 | Move entry_port_cfg_t fields in entry_connection_t | Nick Mathewson | |
Also rename some options for uniformity, and apply this script: @@ entry_connection_t *conn; @@ conn-> +entry_cfg. \( isolation_flags \| session_group \| socks_prefer_no_auth \| ipv4_traffic \| ipv6_traffic \| prefer_ipv6 \| cache_ipv4_answers \| cache_ipv6_answers \| use_cached_ipv4_answers \| use_cached_ipv6_answers \| prefer_ipv6_virtaddr \) | |||
2015-01-16 | Combine entry_port_cfg_t fields in listener_connection_t | Nick Mathewson | |
Also, revise the code using these options with this cocci script: @@ listener_connection_t *conn; @@ conn-> +entry_cfg. \( isolation_flags \| session_group \| socks_prefer_no_auth \| ipv4_traffic \| ipv6_traffic \| prefer_ipv6 \| cache_ipv4_answers \| cache_ipv6_answers \| use_cached_ipv4_answers \| use_cached_ipv6_answers \| prefer_ipv6_virtaddr \) | |||
2015-01-16 | Split client-specific and server-specific parts of port_cfg_t | Nick Mathewson | |
Also, apply this cocci script to transform accesses. (Plus manual migration for accesses inside smartlist_foreach loops.) @@ port_cfg_t *cfgx; @@ cfgx-> +server_cfg. \( no_advertise \| no_listen \| all_addrs \| bind_ipv4_only \| bind_ipv6_only \) @@ port_cfg_t *cfgx; @@ cfgx-> +entry_cfg. \( isolation_flags \| session_group \| socks_prefer_no_auth \| ipv4_traffic \| ipv6_traffic \| prefer_ipv6 \| cache_ipv4_answers \| cache_ipv6_answers \| use_cached_ipv4_answers \| use_cached_ipv6_answers \| prefer_ipv6_virtaddr \) | |||
2015-01-15 | Add string for IP_NOW_REDUNDANT in circuit_end_reason_to_control_string | Nick Mathewson | |
Closes 14207; bugfix on 0.2.6.2-alpha. | |||
2015-01-15 | unittests: use tt_i64_op() instead of tt_int_op() in laplace tests. | George Kadianakis | |
Do this in even more places to try to fix the build. | |||
2015-01-15 | fix typo | Roger Dingledine | |
2015-01-15 | Merge remote-tracking branch 'andrea/bug12194_alt' | Nick Mathewson | |
2015-01-15 | Fix the checkdir/perms test when umask==077 | Nick Mathewson | |
Fixes 14215; bugfix on 0.2.6.2-alpha. Reported by "cypherpunks". | |||
2015-01-15 | Add comments in rendclient.c noting that certain functions involved in ↵ | Andrea Shepard | |
handling ended HS connection attempts must be idempotent | |||
2015-01-15 | unittests: use tt_i64_op() instead of tt_int_op() in laplace tests. | George Kadianakis | |
2015-01-15 | unittests: Change some tt_assert()s to tt_int_op()s. | George Kadianakis | |
2015-01-15 | Restrict sample values of the Laplace distribution to int64_t. | George Kadianakis | |
This helps avoid undefined behavior from casting big double values to int64_t. Fixes #14090. | |||
2015-01-14 | Merge remote-tracking branch 'public/bug13397' | Nick Mathewson | |
2015-01-14 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2015-01-14 | Do not log a notice on every socks connection | Nick Mathewson | |
2015-01-14 | New minimum uptime to become an HSDir is 96 hours. | George Kadianakis | |
2015-01-13 | Fix new unused variable warning in connection_listener_new | Nick Mathewson | |
2015-01-13 | whitespace fix | Nick Mathewson | |
2015-01-13 | Merge remote-tracking branch 'andrea/ticket12585_v3' | Nick Mathewson | |
2015-01-13 | Remove needless strdup in addressmap_register_virtual_address() | Nick Mathewson | |
Fixes bug 14195. Bugfix on 0.1.0.1-rc. | |||
2015-01-12 | Fix a conversion warning on 32-bit clang | Nick Mathewson | |
2015-01-12 | On jessie, we need a =, not a == | Nick Mathewson | |
2015-01-12 | mktemp wants some Xs | Nick Mathewson | |
2015-01-12 | Tweak zero_length_keys.sh and test/include.am to make out-of-tree builds work | Nick Mathewson | |
2015-01-13 | Explicitly chmod AF_UNIX sockets to 0600 when *GroupWritable isn't specified | Andrea Shepard | |
2015-01-13 | Remove no-longer-accurate comment from connection.c | Andrea Shepard | |
2015-01-13 | Fix ipv4/ipv6 traffic bits on AF_UNIX socks listeners and remove hacky ↵ | Andrea Shepard | |
workarounds for brokenness | |||
2015-01-12 | Fix default list handling for parse_unix_socket_config(); avoid clearing ↵ | Andrea Shepard | |
whole pre-existing list | |||
2015-01-12 | Merge remote-tracking branch 'teor/bug13111-empty-key-files-fn-empty' | Nick Mathewson | |
2015-01-12 | reindent cell_queues_check_size() | Nick Mathewson | |
2015-01-12 | Merge branch 'bug13806_squashed' | Nick Mathewson | |
Conflicts: src/or/relay.c | |||
2015-01-12 | When OOM, free cached hidden service descriptors too. | Nick Mathewson | |
2015-01-12 | Kill duplicated code in connection_listener_new() | Andrea Shepard | |
2015-01-12 | src/common/compat_libevent.h: include testsupport.h | Anthony G. Basile | |
When tor is configured with --enable-bufferevents, the build fails because compat_libevent.h makes use of the macro MOCK_DECL() which is defined in testsupport.h, but not included. We add the include. | |||
2015-01-12 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2015-01-12 | Merge remote-tracking branch 'public/bug14129_024' into maint-0.2.5 | Nick Mathewson | |
2015-01-11 | Fix unused-parameter warning in systemd_watchdog_callback | Nick Mathewson | |
2015-01-11 | fix and enable systemd watchdog | Tomasz Torcz | |
There were following problems: - configure.ac wrongly checked for defined HAVE_SYSTEMD; this wasn't working, so the watchdog code was not compiled in. Replace library search with explicit version check - sd_notify() watchdog call was unsetting NOTIFY_SOCKET from env; this means only first "watchdog ping" was delivered, each subsequent one did not have socket to be sent to and systemd was killing service - after those fixes, enable Watchdog in systemd unit with one minute intervals | |||
2015-01-11 | send more details about daemon status to supervisor | Tomasz Torcz | |
If running under systemd, send back information when reloading configuration and gracefully shutting down. This gives administator more information about current Tor daemon state. | |||
2015-01-11 | send PID of the main daemon to supervisor | Tomasz Torcz | |
If running under systemd, notify the supervisor about current PID of Tor daemon. This makes systemd unit simpler and more robust: it will do the right thing regardless of RunAsDaemon settings. | |||
2015-01-11 | Merge remote-tracking branch 'teor/nickm-bug13401' | Nick Mathewson | |
2015-01-11 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2015-01-11 | Don't crash on torrc Vi[rtualAddrNetworkIPv[4|6]] with no option value | teor | |
Check for a missing option value in parse_virtual_addr_network before asserting on the NULL in tor_addr_parse_mask_ports. This avoids crashing on torrc lines like Vi[rtualAddrNetworkIPv[4|6]] when no value follows the option. Bugfix on 0.2.3 (de4cc126cbb5 on 24 November 2012), fixes #14142. | |||
2015-01-10 | Fix tortls.c build with GCC<4.6 | Nick Mathewson | |
apparantly, "pragma GCC diagnostic push/pop" don't exist with older versions. Fixes bug in 740e592790f570c446cbb5e6d4a77f842f75; bug not in any released Tor. | |||
2015-01-10 | Ignore warning for redundant decl in openssl/srtp.h | Nick Mathewson | |
2015-01-10 | Merge remote-tracking branch 'teor/fix-typos' | Nick Mathewson | |
2015-01-10 | Speed up hidden service bootstrap by reducing the initial post delay | teor | |
Drop the MIN_REND_INITIAL_POST_DELAY on a testing network to 5 seconds, but keep the default at 30 seconds. Reduces the hidden service bootstrap to 25 seconds from around 45 seconds. Change the default src/test/test-network.sh delay to 25 seconds. Closes ticket 13401. | |||
2015-01-10 | Create TestingDirAuthVoteHSDir like TestingDirAuthVoteExit/Guard | teor | |
TestingDirAuthVoteHSDir ensures that authorities vote the HSDir flag for the listed relays regardless of uptime or ORPort connectivity. Respects the value of VoteOnHidServDirectoriesV2. Partial fix for bug 14067. |