summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2004-09-02Add basic wrappers for zlib/gzipNick Mathewson
svn:r2324
2004-08-25Define LONG_MAX and UINT_MAX when they are missingNick Mathewson
svn:r2317
2004-08-25fix a seg fault on solarisRoger Dingledine
svn:r2313
2004-08-25make the compile work (and not complain) on sunos 5.9Roger Dingledine
svn:r2312
2004-08-24agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine
svn:r2310
2004-08-24As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ↵Nick Mathewson
broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. svn:r2309
2004-08-19Workaround for oddity in cygwin autoconfNick Mathewson
svn:r2301
2004-08-18tweak the [...truncated] string againRoger Dingledine
svn:r2289
2004-08-18don't add a spurious newline before [truncated]Roger Dingledine
svn:r2282
2004-08-18Functions to test nickname validityNick Mathewson
svn:r2269
2004-08-17Move string-splitting into a separate functionNick Mathewson
svn:r2263
2004-08-17Add strmap_isemptyNick Mathewson
svn:r2250
2004-08-16Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson
svn:r2243
2004-08-15End truncated log entries with [truncated]Nick Mathewson
svn:r2235
2004-08-09Add replace_file to util.[ch] to survive stupidity of windows rename callNick Mathewson
svn:r2208
2004-08-07Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson
format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
2004-08-07fencepostNick Mathewson
svn:r2178
2004-08-07hex_encode is obsoleted by base16_encode, and never actually worked in the ↵Nick Mathewson
first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) svn:r2175
2004-08-04Add functions to format and parse RFC1123-style times, for HTTP protocol.Nick Mathewson
svn:r2129
2004-08-03Fix all warnings on win32 buildNick Mathewson
svn:r2127
2004-08-03It is possible to have struct timeval but not gettimeofday.Nick Mathewson
svn:r2125
2004-07-23check return value of fclose while writing to disk, since it mightRoger Dingledine
return out-of-space, etc svn:r2122
2004-07-22tell the user what time _they_ are too, when a cert is expiredRoger Dingledine
svn:r2114
2004-07-22Fix base16_decode; trashing the stack is rude.Nick Mathewson
svn:r2110
2004-07-22now base16_encode() and base32_encode() can't ever failRoger Dingledine
svn:r2103
2004-07-22Make tor_tls_new variant use alternative (certless) contextNick Mathewson
svn:r2096
2004-07-21oh, and it should compile tooRoger Dingledine
svn:r2088
2004-07-21make base16_encode() fail more obviously when it failsRoger Dingledine
svn:r2087
2004-07-21fix our tls handshake chain cert bugRoger Dingledine
svn:r2086
2004-07-21Log certificate lifetime on failure.Nick Mathewson
svn:r2083
2004-07-21Log number of certs in wrong-length chainsNick Mathewson
svn:r2078
2004-07-21Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson
behavior svn:r2073
2004-07-20When faking gettimeofday with ftime, do it right.Nick Mathewson
svn:r2068
2004-07-19more useful warning messagesRoger Dingledine
(fixed because the old ones confused a user) svn:r2055
2004-07-16Resolve all DOCDOCs.Nick Mathewson
svn:r2050
2004-07-15Add generic expand_filename function to handle expanding ~/Nick Mathewson
svn:r2047
2004-07-13add is_local_IP() function to help distinguish which bandwidth "matters"Roger Dingledine
svn:r2040
2004-07-12trivial punctuation tweakRoger Dingledine
svn:r2027
2004-07-06Yes, I did mean "else if".Nick Mathewson
svn:r2016
2004-07-06Fix bug reported by peter palfrader: an empty address is unresolvable, but ↵Nick Mathewson
not an occasion for an assertion failure in a dnsworker. svn:r2015
2004-07-02More digest/nickname fixesNick Mathewson
svn:r2000
2004-07-01Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson
of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
2004-06-30Always use get_data_directory() instead of options.DataDirectory; fix a ↵Nick Mathewson
memory leak in router.c svn:r1991
2004-06-30Always log version when starting tor.Nick Mathewson
svn:r1990
2004-06-21Implement several 008pre1 items: needs more testingNick Mathewson
svn:r1981
2004-06-13if datadirectory isn't owned by this uid, tell the user he mustRoger Dingledine
fix it before he can proceed. svn:r1968
2004-06-05Unbork windows whitespaceNick Mathewson
svn:r1949
2004-06-05Make tor build on win32 again; handle locking for serverNick Mathewson
svn:r1948
2004-06-02define FD_SETSIZE in all cases, not just win32Roger Dingledine
svn:r1937
2004-06-02Stop multiplying logs on sighup.Nick Mathewson
svn:r1936