aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
...
* Add a new config option TestSocks so people can see if theirRoger Dingledine2005-11-16
| | | | | | | | | applications are using socks4, socks4a, socks5-with-ip, or socks5-with-hostname. This way they don't have to keep mucking with tcpdump and wondering if something got cached somewhere. svn:r5399
* when a stream times out, provide less (but better) explanationRoger Dingledine2005-11-14
| | | | | | | | of what happened. don't bother printing the path, since i don't know of any person who has gotten anything useful out of that. svn:r5367
* On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson2005-11-05
| | | | | | superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers. svn:r5349
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Change more files to new loggin interface. 3 left.Nick Mathewson2005-10-25
| | | | svn:r5310
* Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson2005-10-24
| | | | | | interface; use new circ_log_path interface svn:r5302
* solve the first half of bug 199: if we don't like the looksRoger Dingledine2005-10-19
| | | | | | | | of an address, but it's the controller's job to handle it, don't refuse it first. svn:r5287
* Make --hash-password not craash on exit.Nick Mathewson2005-10-12
| | | | svn:r5243
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Fix verbose compiler warnings, including one in routerlist.c that would have ↵Nick Mathewson2005-10-05
| | | | | | been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address. svn:r5190
* Check for named servers when looking them up by nickname;Nick Mathewson2005-10-04
| | | | | | | | | | | | | | | | | | | warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185
* bugfix: we were whining about using socks4 or socks5-with-local-lookupRoger Dingledine2005-09-24
| | | | | | | | even when they used an IP in the "virtual" range we designed exactly for this case. svn:r5142
* put a log message so we can start confirming socks5-with-remote-dnsRoger Dingledine2005-09-23
| | | | | | | vs socks5-with-local-dns svn:r5130
* remove another loud debug msgRoger Dingledine2005-09-22
| | | | svn:r5113
* when the user asked for a rendezvous port that the hidden serviceRoger Dingledine2005-09-12
| | | | | | | | didn't want to provide, we were sending an IP address back along with the end cell. fortunately, it was zero. but stop that anyway. svn:r5022
* make the patch less likely to bite us laterRoger Dingledine2005-09-12
| | | | svn:r5021
* Resolve stack corruption identified by edmanw in connection_edge_end(). Thanks!Nick Mathewson2005-09-12
| | | | svn:r5020
* Fix another ntohlNick Mathewson2005-09-03
| | | | svn:r4903
* Note to self: htonl(htonl(X)) is *not* "twice as good as htonl(X)". Spotted ↵Nick Mathewson2005-09-03
| | | | | | by arma. svn:r4900
* Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add ↵Nick Mathewson2005-09-02
| | | | | | a missing ntohl in connection_ap_handshake_socks_resolved. svn:r4894
* Make unit tests run without segfaultingNick Mathewson2005-08-22
| | | | svn:r4804
* after failing from resolve failed or misc, reset the num failures.Roger Dingledine2005-08-15
| | | | svn:r4780
* Implement exit enclaves: if we know an IP address for the destination,Roger Dingledine2005-08-15
| | | | | | | | | and there's a running Tor server at that address which allows exit to the destination, then extend the circuit to that exit first. Also, if the user asks for a .exit node, cannibalize general circs for it. svn:r4779
* Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson2005-08-08
| | | | | | understands address policies. svn:r4751
* fix compile error in cvsRoger Dingledine2005-07-02
| | | | svn:r4520
* Be more explicit about which IP we are connecting to; expose future exit ↵Nick Mathewson2005-07-01
| | | | | | policy problems better. svn:r4519
* forward-port the 0.1.0.11 stuffRoger Dingledine2005-07-01
| | | | svn:r4515
* Make errors retrievable from tor_socketpair; resolve bug 163.Nick Mathewson2005-06-30
| | | | svn:r4509
* Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson2005-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506
* Implement all the rest of the new controller protocol, debug a little, add ↵Nick Mathewson2005-06-19
| | | | | | some new features, add ADDRMAP events. svn:r4460
* Remove code that has been #if-0ed for a long time.Nick Mathewson2005-06-15
| | | | svn:r4435
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* Fix for 152: reject malformed .onion addresses rather then passing them onNick Mathewson2005-06-07
| | | | svn:r4329
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* Fix a segfaultNick Mathewson2005-05-11
| | | | svn:r4191
* Apply patch from Geoff for bug 132. Clean it up a little to fix a memory ↵Nick Mathewson2005-05-10
| | | | | | leak and to avoid unnecessary parse/unparse code. svn:r4188
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* remove archaic debugging aid that was probably unsafeRoger Dingledine2005-05-03
| | | | svn:r4176
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* Change conn_(type|state)_to_string from const arrays to switch functions so ↵Nick Mathewson2005-04-07
| | | | | | we (I) will not make Tor crash the next time we (I) add a new state. svn:r4045
* Rename circuit_get_by_stream to circuit_get_by_edge_conn, and actually start ↵Nick Mathewson2005-04-06
| | | | | | using it. Watch out, kids! svn:r4026
* Add a pointer from edge connections to their corresponding circuit (ulp!); ↵Nick Mathewson2005-04-06
| | | | | | add some debugging sanity-checking for cirid_orconn_map stuff svn:r4024
* Move most of *_mark_for_close out of macros.Nick Mathewson2005-04-03
| | | | svn:r3992
* Give better warnings if connection_close_unattached_ap gets called twice or ↵Nick Mathewson2005-04-02
| | | | | | called on a marked connection; rename it to connection_mark_unattached_ap. svn:r3990
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Short-term fix: prevent possible segfault in connection_close_unattached_apNick Mathewson2005-04-01
| | | | svn:r3970
* mark two more bugs. nick, can you take a look?Roger Dingledine2005-03-29
| | | | svn:r3920