aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
* r8750@totoro: nickm | 2006-09-27 20:52:01 -0400Nick Mathewson2006-09-28
| | | | | | | Fix some warnings on mingw; hopefully this should let us build on mingw without warnings. svn:r8509
* Minor fix: add code to eventdns so it can free memory on shutdown. This ↵Nick Mathewson2006-09-25
| | | | | | should help valgrind and dmalloc freak out less. svn:r8503
* Trivial fix to make dmalloc happier: release memory held in static member of ↵Nick Mathewson2006-09-25
| | | | | | escaped(). svn:r8502
* r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400Nick Mathewson2006-09-21
| | | | | | | Trivial whitespace cleanups. svn:r8443
* r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400Nick Mathewson2006-09-21
| | | | | | | Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet. svn:r8440
* r8839@Kushana: nickm | 2006-09-17 16:11:59 -0400Nick Mathewson2006-09-17
| | | | | | | Add some client performance XXXXs; try to move some common case tests higher on their decision trees. svn:r8410
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* r9752@danube: weasel | 2006-09-14 07:06:49 +0200Peter Palfrader2006-09-14
| | | | | | | Fix some dead code that is on occasion useful svn:r8389
* r9736@danube: weasel | 2006-09-14 05:53:06 +0200Peter Palfrader2006-09-14
| | | | | | | | Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file(): There is not need to put together the path to the approved-routers file in more than one place. svn:r8386
* - made configure check if we are building for win32Mike Chiussi2006-09-06
| | | | | | | | | | | | | - made configure link to required system dll's if building for win32 - added diffs for libevent 1.1b - forced user to turn off eventdns if win32 is set - cleaned up tor_mmap_file()_win32 (not sure if it's stable) - cleaned up some warnings and typos svn:r8322
* and make the comment better, while i'm at itRoger Dingledine2006-08-28
| | | | svn:r8273
* an even better check -- now servers hang up if they can't writeRoger Dingledine2006-08-28
| | | | | | | for a while, and clients hang up if they can't read for a while. svn:r8272
* fix bug found by Adam J. Richter: directory clients shouldn'tRoger Dingledine2006-08-28
| | | | | | | | | hang up five minutes after they begin. but directory servers should still hang up after 5 minutes of failing to deliver any bytes. svn:r8271
* r8608@Kushana: nickm | 2006-08-27 16:57:47 -0400Nick Mathewson2006-08-28
| | | | | | | Make it possible to change nameserver options while Tor is running. svn:r8255
* i'm guessing nick meant to check the return value of dns_init.Roger Dingledine2006-08-27
| | | | | | | and revise some log severities to match the convention. svn:r8234
* clean up logging conventions in do_list_fingerprint()Roger Dingledine2006-08-24
| | | | svn:r8222
* tor --verify-config now exits with -1(255) or 0 depending on whetherRoger Dingledine2006-08-23
| | | | | | | the config options are bad or good. svn:r8221
* r7411@Kushana: nickm | 2006-08-17 19:00:25 -0400Nick Mathewson2006-08-17
| | | | | | | patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down. svn:r7072
* fix typo, add explanatory commentRoger Dingledine2006-08-11
| | | | svn:r7026
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson2006-08-11
| | | | | | | Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020
* r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400Nick Mathewson2006-07-28
| | | | | | | Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t svn:r6934
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* publish a new descriptor after we hup. this is important if ourRoger Dingledine2006-07-23
| | | | | | | | config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
* think harder about my logicRoger Dingledine2006-07-22
| | | | svn:r6806
* i lied, that won't work at all. maybe this will.Roger Dingledine2006-07-22
| | | | svn:r6805
* more bulletproof reachability testingRoger Dingledine2006-07-22
| | | | svn:r6804
* bugfix: if you find yourself reachable, then don't ever make any clientRoger Dingledine2006-07-21
| | | | | | | | | requests (so you stop predicting circuits), then hup, then later your IP changes, you won't think circuits are working so you won't try to test reachability, so you won't publish. svn:r6800
* Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double ↵Nick Mathewson2006-07-18
| | | | | | arithmetic either. svn:r6785
* fix some more places where we shouldn't crash if we can't buildRoger Dingledine2006-07-17
| | | | | | | our own descriptor yet. svn:r6775
* MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t ↵Nick Mathewson2006-07-17
| | | | | | and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers. svn:r6768
* Get rid of the router_retry_connections notion. Now routers no longerRoger Dingledine2006-07-04
| | | | | | | | | | | | | try to rebuild long-term connections to directory authorities, and directory authorities no longer try to rebuild long-term connections to all servers. We still don't hang up connections in these two cases though -- we need to look at it more carefully to avoid flapping, and we likely need to wait til 0.1.1.x is obsolete. svn:r6712
* lower the number of seconds before we yell about clock jump.Roger Dingledine2006-06-15
| | | | | | | and make the yelling only happen if you're a server. svn:r6625
* simplify the tortls api: we only support being a "server", thatRoger Dingledine2006-06-07
| | | | | | | | | | is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557
* 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
* clean up a commentRoger Dingledine2006-05-28
| | | | svn:r6508
* stop telling people that "tor -h" will help them in any way.Roger Dingledine2006-05-08
| | | | svn:r6447
* petty cleanupsRoger Dingledine2006-04-25
| | | | svn:r6421
* no need to escape the address for our connections -- they areRoger Dingledine2006-04-16
| | | | | | | always IP addresses. svn:r6389
* Stop assuming every authority is a v1 authorityPeter Palfrader2006-04-10
| | | | svn:r6377
* make DirFetchPeriod and StatusFetchPeriod truly obsolete.Roger Dingledine2006-04-10
| | | | svn:r6373
* Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine2006-03-27
| | | | | | | Fix some minor bugs and memory leaks along the way. svn:r6246
* stop caching the v1 directory so often.Roger Dingledine2006-03-22
| | | | svn:r6226
* stop writing the "router.desc" file, ever. nothing uses it anymore.Roger Dingledine2006-03-22
| | | | svn:r6224
* Bugfix: looks like clients since 0.1.1.10-alpha have beenRoger Dingledine2006-03-21
| | | | | | | | expiring connections whenever 5 minutes pass and they *do* have circuits on them. svn:r6213
* Allow non-printable characters for exit streams (both forRoger Dingledine2006-03-19
| | | | | | | | | connecting and for resolving). Now we tolerate applications that don't follow the RFCs. But continue to block malformed names at the socks side. svn:r6193
* if we as a directory mirror don't know of any v1 directoryRoger Dingledine2006-03-15
| | | | | | | authorities, then don't try to cache any v1 directories. svn:r6162
* when event_add or event_del fail, tell us why.Roger Dingledine2006-03-13
| | | | svn:r6156
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143