summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-19Rename routers_have_same_or_addr() to reflect the fact that it now checks ↵Linus Nordberg
both OR ports.
2012-07-19Include IPv6 OR ports in status documents only if we're a bridge authority.Linus Nordberg
2012-07-19Don't put unreachable IPv6 OR port in routerstatus.Linus Nordberg
To have only reachable ports in "a" lines.
2012-07-19Add "a" line to status document.Linus Nordberg
2012-07-19Add last_reachable and testing_since for IPv6 OR port.Linus Nordberg
2012-07-19Don't assume that a node has routerinfo.Linus Nordberg
We can end up in dirserv_orconn_tls_done() with a node missing routerinfo in at least two cases -- command_process_certs_cell() and connection_or_check_valid_tls_handshake() -- and probably more.
2012-07-19Move last_reachable and testing_since from routerinfo_t to node_t.Linus Nordberg
2012-07-19Avoid double-typedef of transport_t.Nick Mathewson
You can say "struct foo_t" as much as you want, but you'd better not have "typedef struct foo_t foo_t" more than once. Fix for bug 6416. Bug not in any released version of Tor.
2012-07-18Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-18Merge branch 'smartlist_shorten' into maint-0.2.3Nick Mathewson
2012-07-18Tweaks to 6400 changes file and docs as suggested by armaNick Mathewson
2012-07-17Merge remote-tracking branch 'asn/bug3589'Nick Mathewson
2012-07-17Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-17Improve message on spurious SOCKSListenAddressNick Mathewson
2012-07-17Fix the remaining instances of nexted SMARTLIST_FOREACHNick Mathewson
2012-07-17Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/ENDNick Mathewson
The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when you have a nice short loop body, but using it for long bodies makes your preprocessor tell the compiler that all the code is on the same line. That causes grief, since compiler warnings and debugger lines will all refer to that one line. So, here's a new style rule: SMARTLIST_FOREACH blocks need to be short.
2012-07-17Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-17Allow TestingTorNetwork when alternate dir and bridge authorities are set.Linus Nordberg
Allow TestingTorNetwork when AlternateDirAuthority and AlternateBridgeAuthority is set even if DirServer is not.
2012-07-16Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-16Refer to the correct variable in a loop when parsing entry guard stateNick Mathewson
Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.
2012-07-16Coverity 709056: Check return value on fputs in tor-gencertNick Mathewson
2012-07-12Address Nick's comments.George Kadianakis
- Add a changes/ file. - Make it compile under --enable-gcc-warnings. - Update the file-level documentation of src/or/transports.c. - Only update descriptor if at least a managed proxy was configured. - Add our external IP address to the extra-info descriptor instead of 0.0.0.0.
2012-07-06Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-06Merge branch 'maint-0.2.2' into maint-0.2.3Roger Dingledine
2012-07-06Revert to the May 2012 geoip dbRoger Dingledine
The June 2012 db marks too many relays as country "A1". Addresses bug 6334.
2012-07-06Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-06Merge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3Roger Dingledine
2012-07-06Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-06Fix port range in parse_port_range().George Kadianakis
2012-07-06Fix a bug handling SENDME cells on nonexistent streams.Nick Mathewson
This could result in bizarre window values. Report and patch contributed pseudymously. Fixes part of bug 6271. This bug was introduced before the first Tor release, in svn commit r152. (bug 6271, part a.)
2012-07-05Fix compilation on 32-bit. Fix for bug 6277, not in any released tor.Nick Mathewson
2012-07-05Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-07-05On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rcNick Mathewson
2012-07-03Change extra-info "method" to "transport".George Kadianakis
2012-07-03Mark descriptor as dirty if all managed proxies are configured.George Kadianakis
2012-07-03Add pluggable transport info to extra-info descriptors.George Kadianakis
2012-07-03Constify some functions.George Kadianakis
2012-07-03Make some transports.c functions static.George Kadianakis
- Also reorder functions.
2012-07-03Refactor mp->transports to use transport_t.George Kadianakis
2012-07-03Introduce a transport_t deep copy function.George Kadianakis
2012-07-03Move transport-related functions from circuitbuild.c to transports.c.George Kadianakis
Move 'transport_t' to transports.h, and all transport-related functions that don't rely on 'bridge_list' to transports.c.
2012-07-01Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-01Revert "Detect bug 6252 (unexpected sendme cell)"Roger Dingledine
This reverts commit c32ec9c425e9539bcc8ede95612e2d331c2cc2dd. It turns out the two sides of the circuit don't actually stay in sync, so it is perfectly normal for the circuit window on the exit relay to grow to 2000+. We should fix that bug and then reconsider this patch.
2012-07-01Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-01Detect bug 6252 (unexpected sendme cell)Roger Dingledine
I only check on circuits, not streams, since bloating your stream window past the initial circuit window can't help you much. Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising races if we lower CIRCWINDOW_START for an experiment.
2012-06-29Fix crash bug from 4a8eaad7 (Bug 6255)Nick Mathewson
We were doing a tor_strclear() on client_keys_str when it might not even be set. Fix for bug 6255; bug not in any release of Tor. Thanks to katmagic for finding this one!
2012-06-29Fix clang warning on d4285f03df475dc. Not in any released tor.Nick Mathewson
2012-06-28bump version to 0.2.3.18-rc-devNick Mathewson
2012-06-28Merge commit '81cd3d7ad641a8dbf'Nick Mathewson
2012-06-28Make check-spaces happy againNick Mathewson