aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Collapse)AuthorAge
...
* move the periodic buffer shrinking interval from 3 mins to 1 minRoger Dingledine2005-05-14
| | | | svn:r4204
* Implement --verify-config command-line option to fix bug 69.Nick Mathewson2005-05-07
| | | | svn:r4182
* log buffer sizes on kill -usr1 too.Roger Dingledine2005-05-06
| | | | svn:r4180
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Call tor_free_all instead of connections_free_all after forkingNick Mathewson2005-05-03
| | | | svn:r4173
* Change buffer shrinking strategy: only try to shrink once every 3 minutes. ↵Nick Mathewson2005-05-02
| | | | | | Do not try to read over buffer size unless buffer is nearly empty. svn:r4165
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* help debug: when we close a conn due to timeout, tell us itsRoger Dingledine2005-04-25
| | | | | | | file descriptor, not its connectionarray index. svn:r4113
* zero-out errno before calling event_dispatch, just in case we have ↵Nick Mathewson2005-04-17
| | | | | | misdiagnosed poll(2)/EINVAL bug. svn:r4081
* remove some redundant codeRoger Dingledine2005-04-08
| | | | svn:r4062
* 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
* blow away most calls to assert_all_pending_dns_resolves_ok, sinceRoger Dingledine2005-04-06
| | | | | | | they're eating our cpu. svn:r4034
* fix an assert trigger: when we have the rare case of acceptingRoger Dingledine2005-04-06
| | | | | | | | a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027
* 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
* Use recent libevent features when possibleNick Mathewson2005-04-01
| | | | svn:r3940
* still publish your descriptor if orport is reachable but dirport isn'tRoger Dingledine2005-03-31
| | | | | | | | | when building testing circs for orport testing, require high-bandwidth nodes, so fewer circs fail. complain about unreachable orport separately from unreachable dirport. svn:r3935
* don't check for reachability, and don't whine about it, while we'reRoger Dingledine2005-03-29
| | | | | | | hibernating. svn:r3919
* but only do the rapid reachability testing if we're hoping to be a server.Roger Dingledine2005-03-27
| | | | svn:r3902
* if your server hasn't found itself to be reachable, complain everyRoger Dingledine2005-03-27
| | | | | | | 20 minutes, not just once. svn:r3897
* 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
* try harder to establish reachability, in the first 20 minutesRoger Dingledine2005-03-26
| | | | | | | of uptime. svn:r3884
* make it clearer to the human that his server is testingRoger Dingledine2005-03-26
| | | | | | | | its reachability. tell him when it succeeds, or when 20 minutes pass and it hasn't succeeded yet. svn:r3882
* and fill in another missing socks replyRoger Dingledine2005-03-25
| | | | svn:r3877
* remove dead codeRoger Dingledine2005-03-25
| | | | svn:r3875
* Fix bug 44: on HUP, if descriptor building fails (say, because ↵Nick Mathewson2005-03-23
| | | | | | router_get_my_address() fails), use old descriptor and warn. svn:r3839
* fix a 32bit/64bit sprintf mixup that weasel pointed outRoger Dingledine2005-03-22
| | | | svn:r3823
* Prevent spurious closes when we put stuff on a conn that has not written for ↵Nick Mathewson2005-03-22
| | | | | | a while. svn:r3816
* cleanup and a questionRoger Dingledine2005-03-22
| | | | svn:r3815
* Clear up a couple of pedantic compiler warningsNick Mathewson2005-03-22
| | | | svn:r3812
* be more explicit about why we are expiring a conn; improve logic a bit tooNick Mathewson2005-03-22
| | | | svn:r3808
* if our clock jumps forward by 100 seconds or more, assume somethingRoger Dingledine2005-03-19
| | | | | | | has gone wrong with our network and abandon all not-yet-used circs. svn:r3792
* stop logging at -l notice every single time a create cell successfullyRoger Dingledine2005-03-19
| | | | | | | gets processed svn:r3791
* Enable NT service code by defaultNick Mathewson2005-03-19
| | | | svn:r3780
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769
* Fix some more obscure compiler warningsNick Mathewson2005-03-14
| | | | svn:r3758
* Renormalize whitespaceNick Mathewson2005-03-14
| | | | svn:r3757
* Get address map resetting implemented.Nick Mathewson2005-03-11
| | | | svn:r3745
* Still more code to make sure we send the right number and kind of RELAY END ↵Nick Mathewson2005-03-02
| | | | | | cells svn:r3723
* Clean up rend cache on shutdownNick Mathewson2005-02-28
| | | | svn:r3714
* Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson2005-02-28
| | | | svn:r3710
* free some more memory at shutdownRoger Dingledine2005-02-28
| | | | svn:r3707
* Checkpoint in-progress fixes:Roger Dingledine2005-02-27
| | | | | | | | | | | | | Add 'testing' circuit purpose, for reachability testing. Notice when our IP changes, and reset stats. Try to pull down a directory via Tor to see if our DirPort is working. Try to extend a circuit back to us to see if our ORPort is working. Only publish a descriptor if they're both reachable. These mostly work, and I'd better get them in before I cause conflicts. svn:r3703
* Check returns from libevent calls better; stop poking at internals of events ↵Nick Mathewson2005-02-25
| | | | | | to see if they are live. svn:r3691
* Forward-port fix to make dual-purpose NT executable work.Nick Mathewson2005-02-23
| | | | svn:r3665
* Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine2005-02-22
| | | | | | | | go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
* Fix windows build: juggle }s and #endifs around in main.cNick Mathewson2005-02-22
| | | | svn:r3645
* Add a new AddressMap directive to rewrite incoming socks addresses.Roger Dingledine2005-02-22
| | | | | | | | | | Add a new TrackHostExits directive to trigger addressmaps for certain incoming socks addresses, for sites that break when your exit keeps changing. Redo the client-side dns cache so it's just an addressmap too. svn:r3641
* Free tls resources on exit tooNick Mathewson2005-02-11
| | | | svn:r3615