aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
AgeCommit message (Collapse)Author
2006-06-15lower the number of seconds before we yell about clock jump.Roger Dingledine
and make the yelling only happen if you're a server. svn:r6625
2006-06-07simplify the tortls api: we only support being a "server", thatRoger Dingledine
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
2006-06-04Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
2006-05-28clean up a commentRoger Dingledine
svn:r6508
2006-05-08stop telling people that "tor -h" will help them in any way.Roger Dingledine
svn:r6447
2006-04-25petty cleanupsRoger Dingledine
svn:r6421
2006-04-16no need to escape the address for our connections -- they areRoger Dingledine
always IP addresses. svn:r6389
2006-04-10Stop assuming every authority is a v1 authorityPeter Palfrader
svn:r6377
2006-04-10make DirFetchPeriod and StatusFetchPeriod truly obsolete.Roger Dingledine
svn:r6373
2006-03-27Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine
Fix some minor bugs and memory leaks along the way. svn:r6246
2006-03-22stop caching the v1 directory so often.Roger Dingledine
svn:r6226
2006-03-22stop writing the "router.desc" file, ever. nothing uses it anymore.Roger Dingledine
svn:r6224
2006-03-21Bugfix: looks like clients since 0.1.1.10-alpha have beenRoger Dingledine
expiring connections whenever 5 minutes pass and they *do* have circuits on them. svn:r6213
2006-03-19Allow non-printable characters for exit streams (both forRoger Dingledine
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
2006-03-15if we as a directory mirror don't know of any v1 directoryRoger Dingledine
authorities, then don't try to cache any v1 directories. svn:r6162
2006-03-13when event_add or event_del fail, tell us why.Roger Dingledine
svn:r6156
2006-03-12More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson
svn:r6143
2006-03-12Cleanup on time-relaqted constants. New conventions:Nick Mathewson
1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142
2006-03-12a better clean-upRoger Dingledine
svn:r6139
2006-03-12and another fixRoger Dingledine
svn:r6138
2006-03-09stop printing a log message at every iteration through theRoger Dingledine
event loop when holding open a conn for flushing but it doesn't want to flush any more bytes yet. svn:r6114
2006-03-09Implement NEWNYM. Nick, did I do a bad thing?Roger Dingledine
svn:r6105
2006-03-09clean up typoRoger Dingledine
svn:r6103
2006-02-14Explain why we only expire open connectionsPeter Palfrader
svn:r6015
2006-02-14Do not mark connections obsolete before they have done their TLS handshake ↵Peter Palfrader
or are at least 60 seconds old svn:r6013
2006-02-13the things we do for our windows users.Roger Dingledine
i hope they appreciate it. svn:r6004
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-02-09stop calling it a "libevent poll" -- the word "poll" hasRoger Dingledine
other meaning in this context that are confusing. svn:r5936
2006-02-05as soon as we've fetched some more directory info, that's timeRoger Dingledine
to think about downloading more server descriptors. this way we don't have a 10 second pause in initial bootstrapping. svn:r5916
2006-02-05forward-port the part where ordinary users try to fetch directoriesRoger Dingledine
less often. not critical but might as well stay in sync with stable. svn:r5910
2006-02-01don't try to upload hidden service descriptors until we haveRoger Dingledine
established a circuit. svn:r5884
2006-01-29only start testing reachability once we've established a circuit.Roger Dingledine
this will make startup on dirservers less noisy. it may also break things in subtle ways. svn:r5878
2006-01-26a slightly more useful message when you get a sighupRoger Dingledine
svn:r5869
2006-01-23Stop complaining loudly whenever some poor client falls offRoger Dingledine
the network before we finish writing to him. svn:r5850
2006-01-11oh hey. we were hanging up on every tor client because heRoger Dingledine
was obsolete as soon as he started. big oops. svn:r5807
2006-01-11Fix wide linesNick Mathewson
svn:r5793
2006-01-10entry nodes are now entry guards.Roger Dingledine
this is our last easy chance for a wholesale change. heave ho. svn:r5782
2006-01-10balance the reachability testing so a smidgen of it happensRoger Dingledine
every 10 seconds. this way we don't try to do 500 tls's at once every 20 minutes. svn:r5763
2006-01-07bugfix: we were leaving open duplicate connections to other ORsRoger Dingledine
for a week, rather than closing them once we detect a duplicate. also, avoid some duplicate mark-for-closes in connection-housekeeping. svn:r5752
2006-01-07and get the log arguments rightRoger Dingledine
svn:r5747
2006-01-07a more correct log messageRoger Dingledine
svn:r5746
2005-12-31Some tor servers process billions of cells in a matter of days.Roger Dingledine
These statistics need to be uint64_t's. svn:r5686
2005-12-28helper nodes are dead. long live entry nodes.Roger Dingledine
(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673
2005-12-27normalize spacesNick Mathewson
svn:r5658
2005-12-23Keep bandwidth history accross restarts/crashesPeter Palfrader
svn:r5637
2005-12-15Instead of "Network down", say "Is your network connection down?"Nick Mathewson
svn:r5607
2005-12-15Clean fake_status a bit. Switch from has_fetched_directory to ↵Nick Mathewson
have_minimum_dir_info, and make the latter function smarter. svn:r5591
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-09In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson
160-character-per-line limit; this will creep down. svn:r5548