summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2005-04-23LOG_ERR is for when you're planning to die.Roger Dingledine
svn:r4087
2005-04-23Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for ↵debian-version-0.1.0.3-rc-200504231430-1Nick Mathewson
TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.) svn:r4085
2005-04-08Make libevent_logging_callback static.Nick Mathewson
svn:r4058
2005-04-06Stop putting nodename in the Platform string of server descriptors.Roger Dingledine
It doesn't actually help, and it is confusing/upsetting some people. svn:r4037
2005-04-06bugfix: chdir to your datadirectory at the *end* of theRoger Dingledine
daemonize process, not the beginning. this was a problem because the first time you run tor, if your datadir isn't there, and you have runasdaemon set to 1, it will try to chdir to it before it tries to create it. oops. svn:r4033
2005-04-05Revise control spec and implementation to allow all log messages to be sent ↵Nick Mathewson
to controller with their severities intact. svn:r4010
2005-04-03I hear the smart kinds compile before committing. Then they never miss parensNick Mathewson
svn:r3999
2005-04-03Make smartlist_string_remove consistent with smartlist_stringNick Mathewson
svn:r3998
2005-04-03Add useful smartlist_string_remove function.Nick Mathewson
svn:r3996
2005-04-03Fix unterminated commentNick Mathewson
svn:r3991
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-04-01fix typo in earlier libevent mmessage suppress patchNick Mathewson
svn:r3950
2005-04-01Add code to suppress spurious libevent log msgs; use it to resolve bug 68.Nick Mathewson
svn:r3948
2005-04-01Use recent libevent features when possibleNick Mathewson
svn:r3940
2005-04-01Try to make crash-on-shutdown bug harder to trigger.Nick Mathewson
svn:r3939
2005-03-31add a tor_tls_is_server method to remember if conn->tlsRoger Dingledine
was an initiator or a receiver svn:r3931
2005-03-28remember some thoughts about using WSAStartup to learnRoger Dingledine
how many sockets we get to use on win32. svn:r3905
2005-03-23Fix a few more instances of memory not freed on exit (found by weasel).Nick Mathewson
svn:r3830
2005-03-22bugfix: make smartlist_join_strings2 actually use the separator/terminatorRoger Dingledine
svn:r3805
2005-03-17Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson
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
2005-03-16Fix a fun windows bug: apparently windows stat wants paths not to end with ↵Nick Mathewson
slash. svn:r3766
2005-03-14Fix some more obscure compiler warningsNick Mathewson
svn:r3758
2005-03-14Renormalize whitespaceNick Mathewson
svn:r3757
2005-03-03Finish implementing GETINFO; make it easy to query address maps.Nick Mathewson
svn:r3732
2005-02-28Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson
svn:r3710
2005-02-28Fix strmap_free to release memory actually held by the strmap.Nick Mathewson
svn:r3708
2005-02-28give a better warning when tor points at an https server.Nick Mathewson
svn:r3706
2005-02-25Be specific about which "illegal character" we just saw in the cert.Nick Mathewson
svn:r3699
2005-02-25Implement more control spec functionalityNick Mathewson
- Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
2005-02-22Forward-port the trick to bump up ConnLimit as far as it canRoger Dingledine
go, but not past MAXCONNECTIONS. Also throw away the FAKE_POLL caveats since 0.1.0 doesn't need it any more. svn:r3657
2005-02-22Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson
svn:r3656
2005-02-22Note a non-bug in read_file_to_str as used. If we start to rely on it ↵Nick Mathewson
behaving differently, we need to change how it behaves. [Noticed by Chris Palmer] svn:r3655
2005-02-22But on windows, localtime and gmtime _are_ threadsafe.Nick Mathewson
svn:r3654
2005-02-22Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson
Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
2005-02-22Remove assumptions that maximum path length is anything like 1024. From ↵Nick Mathewson
comments by Chris Palmer svn:r3652
2005-02-22remove spurious semicolonsNick Mathewson
svn:r3650
2005-02-22Snarf some logic from python, adapted to our own needs, to handle ↵Nick Mathewson
gethostbyname_r correctly across platforms. svn:r3649
2005-02-22Initial IRIX compatibility fixes: check for inttypes.h; check for platform ↵Nick Mathewson
cell_t. svn:r3648
2005-02-22Fix windows build: do not spuriously include openssl where not needed; ↵Nick Mathewson
handle lack of gethostbyname_r properly. svn:r3644
2005-02-20bugfix: actually use the argument to strmap_free()Roger Dingledine
svn:r3640
2005-02-19avoid case (not yet triggered) where smartlists could grow outRoger Dingledine
of control svn:r3636
2005-02-13Tell openssl how to use locks and how to find thread ids -- this may prevent ↵Nick Mathewson
race conditions surrounding the error queue. svn:r3622
2005-02-12Apply windows patch from Dmitri BelyNick Mathewson
svn:r3617
2005-02-11Free tls resources on exit tooNick Mathewson
svn:r3615
2005-02-03Handle return value from getaddrinfo properlyNick Mathewson
svn:r3526
2005-02-03Use getaddrinfo and gethostbyname_r where available. Note that these are ↵Nick Mathewson
not necessarily threadsafe: this needs more thinking. Perhaps we should back down on this multithreading idea. svn:r3522
2005-02-03Forward-port SGI Compatibility patches from Jan SchaumannNick Mathewson
svn:r3517
2005-02-03point out a potential thread/process leak problem when we're out of memoryRoger Dingledine
svn:r3512
2005-02-03Add --with-dmalloc configure optionPeter Palfrader
svn:r3508
2005-02-03http://www.erlenstar.demon.co.uk/unix/faq_2.html says weRoger Dingledine
should call _exit, not exit, from child processes. svn:r3506