aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Server transport proxies should bind on the same port each time, if possible.George Kadianakis2011-08-07
|
* Changed a printf() to a log_debug().George Kadianakis2011-07-18
|
* Reuse get_string_from_pipe() in log_from_pipe().George Kadianakis2011-07-18
|
* Let's be smarter while parsing {Client,Server}TransportPlugin lines.George Kadianakis2011-07-18
|
* Replaced ST_* enum prefix for stream status with IO_STREAM_*.George Kadianakis2011-07-18
|
* Updated #includes etc. to use transports.[ch].George Kadianakis2011-07-18
|
* Renamed pluggable_transports.[ch] to transports.[ch].George Kadianakis2011-07-18
|
* Reverting the accounting thing introduced in 5492de76 till I think how it ↵George Kadianakis2011-07-14
| | | | should be done properly.
* Changed a couple of 180 spec stuff according to #3578.George Kadianakis2011-07-14
| | | | | * Restored "proxy" in external ServerTransportPlugin lines. * Changed the extended OR port and ORPort env. vars to addr:port.
* Put some last missing pieces together.George Kadianakis2011-07-13
| | | | | | | | * Add some utility transport functions in circuitbuild.[ch] so that we can use them from pt.c. * Make the accounting system consider traffic coming from proxies. * Make sure that we only fetch bridge descriptors when all the transports are configured.
* Create the pluggable_transports.[ch] source files responsible for talking ↵George Kadianakis2011-07-13
| | | | the 180 talk.
* Add support for managed {Client,Server}TransportPlugin parsing.George Kadianakis2011-07-13
|
* Refactor the interfaces of transport/proxy lookup fnsNick Mathewson2011-07-03
| | | | | | | | | | Returning a tristate is needless here; we can just use the yielded transport/proxy_type field to tell whether there's a proxy, and have the return indicate success/failure. Also, store the proxy_type in the or_connection_t rather than letting it get out of sync if a configuration reload happens between launching the or_connection and deciding what to say with it.
* Future-proof and user-proof parse_bridge_lineNick Mathewson2011-07-03
|
* Simplify parse_client_transport_lineNick Mathewson2011-07-02
|
* Style and grammar tweaks on 2841 branchNick Mathewson2011-07-02
|
* Small tweaks to 2841 codeNick Mathewson2011-07-02
| | | | | | | - const-ify some transport_t pointers - Remove a vestigial argument to parse_bridge_line - Make it compile without warnings on my laptop with --enable-gcc-warnings
* Trivial code tweaks and documentation updates.George Kadianakis2011-06-28
|
* Revised how we handle ClientTransportPlugin and Bridge lines.George Kadianakis2011-06-22
| | | | | | | | Multiple Bridge lines can point to the same one ClientTransportPlugin line, and we can have multiple ClientTransportPlugin lines in our configuration file that don't match with a bridge. We also issue a warning when we have a Bridge line with a pluggable transport but we can't match it to a ClientTransportPlugin line.
* Various small tweaks around config.c and or.hGeorge Kadianakis2011-06-21
|
* Tweaked connection{.c,.h,_or.c} based on nick's comments.George Kadianakis2011-06-21
| | | | | | | * Tweaked doxygen comments. * Changed returns of get_proxy_addrport(). * Ran make check-spaces. * Various small code tweaks.
* Fixes on circuitbuild.[ch] based on nick's comments.George Kadianakis2011-06-21
| | | | | | | | | * Renamed transport_info_t to transport_t. * Introduced transport_get_by_name(). * Killed match_bridges_with_transports(). We currently *don't* detect whether any bridges miss their transports, of if any transports miss their bridges. * Various code and aesthetic tweaks and English language changes.
* Fixes small bugs.George Kadianakis2011-06-14
|
* This commit is an attempt to beautify the previous commit.George Kadianakis2011-06-14
| | | | It creates some helper functions that return the proxy type, proxy addr/port, etc.
* Our warning now is much more specific, mentioning proxy type/addr/port.George Kadianakis2011-06-14
| | | | | Not included in the previous commit, because the implementation is ugly; I see no other way of doing this though.
* We now warn the user if a proxy server is not up when we try to connect with it.George Kadianakis2011-06-14
|
* Various trivial changes.George Kadianakis2011-06-12
| | | | | | | | * Improved function documentation. * Renamed find_bridge_transport_by_addrport() to find_transport_by_bridge_addrport(). * Sanitized log severities we use. * Ran check-spaces.
* We can now connect using transports as well!George Kadianakis2011-06-12
|
* We can now match our transports with our bridges.George Kadianakis2011-06-11
|
* ClientTransportPlugin parsing done.George Kadianakis2011-06-11
|
* Fix a memleak in nodelist_assert_ok()Sebastian Hahn2011-06-08
|
* Remove a dead variable in the heartbeat codeSebastian Hahn2011-06-08
|
* Update the uptime string to include an hours indicatorSebastian Hahn2011-06-08
| | | | | Before, it wasn't really obvious if one meant hours:minutes or minutes:seconds etc.
* Fix crash bug (3361) when setting off-flavor networkstatusNick Mathewson2011-06-07
| | | | | | When we set a networkstatus in the non-preferred flavor, we'd check the time in the current_consensus. But that might have been NULL, which could produce a crash as seen in bug 3361.
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-06
|\
| * Detect insanely large circuit build state; don't give its length to rand_intNick Mathewson2011-06-06
| |
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-03
|\|
| * Merge branch 'bug3318c' into maint-0.2.2Nick Mathewson2011-06-03
| |\
| | * Reject 128-byte keys that are not 1024-bitNick Mathewson2011-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we added the check for key size, we required that the keys be 128 bytes. But RSA_size (which defers to BN_num_bytes) will return 128 for keys of length 1017..1024. This patch adds a new crypto_pk_num_bits() that returns the actual number of significant bits in the modulus, and uses that to enforce key sizes. Also, credit the original bug3318 in the changes file.
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-03
|\| |
| * | Merge remote-tracking branch 'rransom/bug2748-v2' into maint-0.2.2Nick Mathewson2011-06-03
| |\ \
| | * | Log malformed HS descriptor requests at the proper levelRobert Ransom2011-03-14
| | | | | | | | | | | | | | | | This log message should be a 'protocol warning', not a 'warning'.
| | * | Remove dead code from rend_cache_lookup_v2_desc_as_dirRobert Ransom2011-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hid_serv_responsible_for_desc_id's return value is never negative, and there is no need to search through the consensus to find out whether we are responsible for a descriptor ID before we look in our cache for a descriptor.
* | | | Use an autobool for UseBridges_Nick Mathewson2011-06-03
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-03
|\| | |
| * | | Add an "auto" option to UseBridgesNick Mathewson2011-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UseBridges 1 now means "connect only to bridges; if you know no bridges, don't make connections." UseBridges auto means "Use bridges if they are known, and we have no EntryNodes set, and we aren't a server." UseBridges 0 means "don't use bridges."
* | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-02
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/or/rendclient.c
| * | | Merge remote-tracking branch 'rransom-tor/bug3309' into maint-0.2.2Nick Mathewson2011-06-02
| |\ \ \
| | * | | Add info-level log messages during HS-client-state purgeRobert Ransom2011-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | I hope these will never be useful, but having them and not needing them is better than needing them and not having them.
| | * | | Refactor HS client state-clearing code into a separate functionRobert Ransom2011-06-02
| | | | |