aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
Commit message (Collapse)AuthorAge
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* the last of the log convention conversion. finally.Roger Dingledine2006-02-13
| | | | svn:r6005
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Jan 05 19:39:27.356 [warn] connection_edge_process_end_not_open():Roger Dingledine2006-01-07
| | | | | | | Got an end because of misc error, but we're not an AP. Closing. svn:r5744
* Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson2006-01-05
| | | | svn:r5734
* Some tor servers process billions of cells in a matter of days.Roger Dingledine2005-12-31
| | | | | | | These statistics need to be uint64_t's. svn:r5686
* when we fail three times to resolve or connect, we were telling theRoger Dingledine2005-12-19
| | | | | | | user it was because we failed to resolve. svn:r5620
* Choose directory servers from routerstatus list, not from routerinfo list. ↵Nick Mathewson2005-12-14
| | | | | | This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories. svn:r5586
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine2005-12-10
| | | | | | | | | | | | 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
* crank the max line limit down to 150 chars.Roger Dingledine2005-12-10
| | | | svn:r5550
* Rename connection_get_by_identity_digest to reflect that it is OR-only. ↵Nick Mathewson2005-11-30
| | | | | | Make it use a hashtable instead of a linear search. svn:r5469
* we used to kill the circuit when we receive a relay command weRoger Dingledine2005-11-17
| | | | | | | | | don't recognize. now we just drop it. perhaps this will make us more forward-compatible? or perhaps it will bite us? one day we will find out. svn:r5405
* another case where the poor server operator doesn't need toRoger Dingledine2005-11-15
| | | | | | | hear about lexi's bugs. svn:r5388
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* fix a segvNick Mathewson2005-10-25
| | | | svn:r5311
* Convert circuituse, command, config, connection, relay, router, test to new ↵Nick Mathewson2005-10-25
| | | | | | logging interface svn:r5308
* 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
* more log unclutteringRoger Dingledine2005-10-17
| | | | svn:r5254
* start the process of reducing clutter in server logsRoger Dingledine2005-10-17
| | | | svn:r5253
* bugfix: we were automatically condemning an exit node (concludingRoger Dingledine2005-09-09
| | | | | | | | | | | | its advertised exit policy is different from its real one) as soon as it refused any requests. After fixing that bug, another bug appeared: we would try the same server again and again, since once we learned an IP address for a hostname, we still kept think of it as the hostname. now pass it to the remapper before trying to reattach. svn:r4962
* and another byte counting error.Nick Mathewson2005-09-03
| | | | svn:r4902
* Excellent. We have at least 8 bytes, so I can safely get the 9th.Nick Mathewson2005-09-03
| | | | svn:r4901
* 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
* after failing from resolve failed or misc, reset the num failures.Roger Dingledine2005-08-15
| | | | svn:r4780
* i'm sick of having my streams fail because of a confused exit node.Roger Dingledine2005-08-13
| | | | | | | try this band-aid to see if it gets better. svn:r4773
* Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson2005-08-08
| | | | | | understands address policies. svn:r4751
* 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
* fix stray funny-characterRoger Dingledine2005-06-19
| | | | svn:r4458
* 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
* Handle relay cells with rh.length too large.Nick Mathewson2005-05-17
| | | | svn:r4264
* 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
* New and frightening code to implement fast-path first-hop CREATE_FAST cells. ↵Nick Mathewson2005-05-02
| | | | | | Watch out when we bump the version to 0.1.0.6-rc! svn:r4162
* allow servers to publish descriptors from 12 hours in the future.Roger Dingledine2005-04-07
| | | | | | | | hopefully this will allow more slack and let crummier servers help out too. svn:r4046
* 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
* Hopefully, this will make ORs much faster, and not break them: keep a big ↵Nick Mathewson2005-04-06
| | | | | | splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster. svn:r4020
* client now retries when streams end early for 'hibernating' orRoger Dingledine2005-04-04
| | | | | | | 'resource limit' reasons; refactor. svn:r4004
* 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
* clean up socks reply stuff more.Roger Dingledine2005-03-27
| | | | | | | add a few more reasons so we can be more informative. svn:r3895
* stop most cases of hanging up on a socks connection without sendingRoger Dingledine2005-03-27
| | | | | | | | the socks reject. audit for remaining ones. also make things more uniform so we always remember to hold-open-until-flushed, etc. svn:r3891
* fix assert: stop trying to send a socks reply to an *exit*Roger Dingledine2005-03-26
| | | | | | | connection when we get an end cell before it's finished opening. svn:r3886
* fix another case where we need to send a socks reply (reject)Roger Dingledine2005-03-25
| | | | | | | back before we close the conn. svn:r3876
* forward-port the circuit_resume_edge_reading_helper fix.Roger Dingledine2005-03-24
| | | | svn:r3863
* whoops, fix seg fault i just introducedRoger Dingledine2005-03-23
| | | | svn:r3828
* fix assert triggers (bugs 109 and 96), and put in someRoger Dingledine2005-03-23
| | | | | | | debugging logs to notice future repeat bugs. svn:r3826