aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* help the term "OP" become obsoleteRoger Dingledine2005-11-17
| | | | svn:r5403
* 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 we were cannibalizing a circuit with a particular exitRoger Dingledine2005-11-11
| | | | | | | | node in mind, we weren't checking to see if that exit node was already present earlier in the circuit. oops. svn:r5357
* 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
* enable code to remove members of old_routers when it gets big.Nick Mathewson2005-11-01
| | | | svn:r5345
* make circ->onionskin a pointer, not a static array. moria2 was usingRoger Dingledine2005-10-29
| | | | | | | | 125000 circuit_t's after it had been up for a few weeks, which translates to 20+ megs of wasted space. svn:r5333
* Do round-robin writes of at most 16 kB per write. This mightRoger Dingledine2005-10-29
| | | | | | | | be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332
* Start making directory caches retain old routerinfo_t. The code to remove ↵Nick Mathewson2005-10-27
| | | | | | old ones is definitely some textbook C problem. svn:r5323
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson2005-10-25
| | | | | | domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
* Fix one possible source of reuse-a-circuit-id bug; convert circuitbuild to ↵Nick Mathewson2005-10-24
| | | | | | new logging svn:r5301
* Migrate a few more files to domained loggingNick Mathewson2005-10-18
| | | | svn:r5285
* Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson2005-10-18
| | | | | | of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
* Use digestmap_t instead of strmap_t where appropriate. Do less hex en/decodingNick Mathewson2005-10-18
| | | | svn:r5279
* Refactor routerlist access slightly: always use router_get_by_routerlist(); ↵Nick Mathewson2005-10-18
| | | | | | change its interface; add modifier functions to add/remove elements from the current routerlist (so we can add indices). svn:r5276
* Make dirserv_get_routerdescs() return better http 404 error messages instead ↵Peter Palfrader2005-10-18
| | | | | | of a generic "Servers unavailable." svn:r5274
* start calling it *ListenAddress rather than *BindAddress,Roger Dingledine2005-10-17
| | | | | | | since none of our users know what it means to bind an address or port. svn:r5260
* start the process of reducing clutter in server logsRoger Dingledine2005-10-17
| | | | svn:r5253
* remove obsolete IgnoreVersion config from or.hRoger Dingledine2005-10-16
| | | | svn:r5251
* Enable trivial "download by descriptor digest" functionality.Nick Mathewson2005-10-14
| | | | svn:r5250
* Try to extract as many descriptors as possible from truncated http ↵Nick Mathewson2005-10-14
| | | | | | responses. (when DIR_PURPOSE_FETCH_ROUTERDESC) svn:r5249
* Check if our IP address has changed every 5 minutes. If it has, update our ↵Peter Palfrader2005-10-12
| | | | | | server descriptor, but not too often svn:r5246
* More work towards a sane digest-based liveness testing.Nick Mathewson2005-10-12
| | | | svn:r5238
* Add an as-yet-unused "EXTENDED" flag to SETEVENTS to indicate that the ↵Nick Mathewson2005-10-12
| | | | | | client can handle extra labeled info in its events. Add moreinfo to the "what is ready for downloading" msg so we can investigate digest-related download rules svn:r5237
* doxygen fixRoger Dingledine2005-10-07
| | | | svn:r5217
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Rate-limit warnings related to unrecognized MyFamily elements.Nick Mathewson2005-10-05
| | | | svn:r5204
* infrastructure for the 'change pseudonym' button.Roger Dingledine2005-10-05
| | | | | | | not used yet. svn:r5199
* replace former relaunches of directory downloads with reset of failure count ↵Nick Mathewson2005-10-05
| | | | | | and relaunch of status downloads. Fix memory leak in trusted_dir_server_t. Reset "last download attempted" time when resetting failure counts. svn:r5195
* reset warning flags on SIGHUP. arma: is this everything?Nick Mathewson2005-10-05
| | | | svn:r5192
* 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
* resolve some directory-related XXXXs; downgrade naming conflict messages ↵Nick Mathewson2005-10-05
| | | | | | from WARN to INFO for non-authorities; do not repeat naming conflict messages. svn:r5189
* 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
* link nicknames to trusted directory servers; log these nicknames when ↵Nick Mathewson2005-10-04
| | | | | | mentioning servers; also, when we get a naming conflict; log which nicknames or keys are supposed to bind. svn:r5184
* free helper node status info on shutdownNick Mathewson2005-09-30
| | | | svn:r5177
* Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads ↵Nick Mathewson2005-09-30
| | | | | | when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. svn:r5166
* Hey kids, guess why connection_mark_for_close() started giving an assert ↵Nick Mathewson2005-09-30
| | | | | | when called for an even-numbered line? Right, because I made it a bitfield, when it was really a line number. Why did I think it was a bitfield? A stale comment. Let that be a lesson to us all. svn:r5164
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* 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
* I love the smell of C in the morning. Make router-download rules smarter ↵Nick Mathewson2005-09-22
| | | | | | (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder. svn:r5110
* Use a separate type for "local view of router status". Also, even though I ↵Nick Mathewson2005-09-22
| | | | | | told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand. svn:r5109
* Implement new version handling code.Nick Mathewson2005-09-21
| | | | svn:r5100
* Make give-up-on-failure actually work: it seems the servers gave me a real ↵Nick Mathewson2005-09-18
| | | | | | test case. svn:r5091
* Prevent a "try forever to download an unobtainable descriptor" bug. Still ↵Nick Mathewson2005-09-18
| | | | | | remaining: the "give up forever" bug. svn:r5090
* Refactor new directory code a bit. Keep a big list of rolled-up router ↵Nick Mathewson2005-09-18
| | | | | | status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs. svn:r5089
* Remove a bunch of #if0d code that I no longer need to look at.Nick Mathewson2005-09-16
| | | | svn:r5083
* Unify our "figure out which fingerprints we were downloading" code.Nick Mathewson2005-09-16
| | | | svn:r5077
* Make authdirs smarter. Reject/invalidate by key and IP. Remember that not ↵Nick Mathewson2005-09-15
| | | | | | every authdir has to be a naming authdir. svn:r5074
* make some functions static; clean dead networkstatus entries more often.Nick Mathewson2005-09-15
| | | | svn:r5072
* Stop downloading directories and download routers instead. This still needs ↵Nick Mathewson2005-09-15
| | | | | | some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. svn:r5070