aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
AgeCommit message (Collapse)Author
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-10when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
2005-12-07what the heck is wrong with this little piece of code?Roger Dingledine
why can none of us get it right? it looks so simple. svn:r5521
2005-12-06tell the controller about new .onion streams too.Roger Dingledine
svn:r5520
2005-12-06the other half of weasel's patch, so old gcc's can build cvs again.Roger Dingledine
svn:r5517
2005-12-06Old gccs want you to do your variable declarations firstPeter Palfrader
svn:r5516
2005-12-06when we're giving up on a circuit and retrying on a new one,Roger Dingledine
log the name of the exit node. perhaps people will find this useful, or see patterns, or something. svn:r5515
2005-12-05Set chosen_exit_name to something we are not about to zero.Nick Mathewson
svn:r5507
2005-12-05When parsing foo.exit, if foo is unknown, and we are leaving circuits ↵Nick Mathewson
unattached, set the chosen_exit field and leave the address empty svn:r5504
2005-12-04fix a log message to be mildly more helpfulRoger Dingledine
svn:r5498
2005-12-03Clean up some comments; remove some dead codeNick Mathewson
svn:r5493
2005-12-03Expunge remaining places where we used "tree" to mean "associative array".Nick Mathewson
svn:r5490
2005-11-30Fix some verbose warnings and remove an unneeded include.Nick Mathewson
svn:r5472
2005-11-23Replace balanced trees with hash tables: this should make stuff ↵Nick Mathewson
significantly faster. svn:r5441
2005-11-16Add a new config option TestSocks so people can see if theirRoger Dingledine
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
2005-11-14when a stream times out, provide less (but better) explanationRoger Dingledine
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
2005-11-05On directory servers, old_routers was wasting hundreds of bytes per ↵Nick Mathewson
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
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-25Change more files to new loggin interface. 3 left.Nick Mathewson
svn:r5310
2005-10-24Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson
interface; use new circ_log_path interface svn:r5302
2005-10-19solve the first half of bug 199: if we don't like the looksRoger Dingledine
of an address, but it's the controller's job to handle it, don't refuse it first. svn:r5287
2005-10-12Make --hash-password not craash on exit.Nick Mathewson
svn:r5243
2005-10-06Make doxygen marginally happierNick Mathewson
svn:r5208
2005-10-05Fix verbose compiler warnings, including one in routerlist.c that would have ↵Nick Mathewson
been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address. svn:r5190
2005-10-04Check for named servers when looking them up by nickname;Nick Mathewson
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
2005-09-24bugfix: we were whining about using socks4 or socks5-with-local-lookupRoger Dingledine
even when they used an IP in the "virtual" range we designed exactly for this case. svn:r5142
2005-09-23put a log message so we can start confirming socks5-with-remote-dnsRoger Dingledine
vs socks5-with-local-dns svn:r5130
2005-09-22remove another loud debug msgRoger Dingledine
svn:r5113
2005-09-12when the user asked for a rendezvous port that the hidden serviceRoger Dingledine
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
2005-09-12make the patch less likely to bite us laterRoger Dingledine
svn:r5021
2005-09-12Resolve stack corruption identified by edmanw in connection_edge_end(). Thanks!Nick Mathewson
svn:r5020
2005-09-03Fix another ntohlNick Mathewson
svn:r4903
2005-09-03Note to self: htonl(htonl(X)) is *not* "twice as good as htonl(X)". Spotted ↵Nick Mathewson
by arma. svn:r4900
2005-09-02Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add ↵Nick Mathewson
a missing ntohl in connection_ap_handshake_socks_resolved. svn:r4894
2005-08-22Make unit tests run without segfaultingNick Mathewson
svn:r4804
2005-08-15after failing from resolve failed or misc, reset the num failures.Roger Dingledine
svn:r4780
2005-08-15Implement exit enclaves: if we know an IP address for the destination,Roger Dingledine
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
2005-08-08Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson
understands address policies. svn:r4751
2005-07-02fix compile error in cvsRoger Dingledine
svn:r4520
2005-07-01Be more explicit about which IP we are connecting to; expose future exit ↵Nick Mathewson
policy problems better. svn:r4519
2005-07-01forward-port the 0.1.0.11 stuffRoger Dingledine
svn:r4515
2005-06-30Make errors retrievable from tor_socketpair; resolve bug 163.Nick Mathewson
svn:r4509
2005-06-29Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson
- 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
2005-06-19Implement all the rest of the new controller protocol, debug a little, add ↵Nick Mathewson
some new features, add ADDRMAP events. svn:r4460
2005-06-15Remove code that has been #if-0ed for a long time.Nick Mathewson
svn:r4435
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-06-07Fix for 152: reject malformed .onion addresses rather then passing them onNick Mathewson
svn:r4329
2005-05-17doxygeny goodness from tyranixRoger Dingledine
svn:r4262