Nick Mathewson
|
5777ee0e1a
Add some functions to escape values from the network before sending them to the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
|
преди 18 години |
Nick Mathewson
|
6a4e304d9e
Allow private:* in routerdescs; not generated yet (because older Tors do not understand it); needs testing.
|
преди 18 години |
Nick Mathewson
|
dba155ecff
Generate 18.0.0.0/8 address policy format in descs when we can; warn when the mask is not reducible to a bit-prefix.
|
преди 19 години |
Roger Dingledine
|
5f051574d5
Happy new year!
|
преди 19 години |
Nick Mathewson
|
7fc62029d4
Refuse to use RunAsDaemon when torrc is a relative path. Fixes bug 229.
|
преди 19 години |
Nick Mathewson
|
a1bcdb2f76
util.c:1308: error: conflicting types for "is_internal_IP"
|
преди 19 години |
Nick Mathewson
|
6b49a93bd5
Move code to check for zero digests into util.c
|
преди 19 години |
Roger Dingledine
|
c68cadc0c8
tor_assert had a misleading comment
|
преди 19 години |
Nick Mathewson
|
5d85560d9e
Remove last vestiges of old logging interface.
|
преди 19 години |
Nick Mathewson
|
932106f54c
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
|
преди 19 години |
Nick Mathewson
|
edf5698474
Start dividing log messages into logging domains. No, LD_ is not the best of identifiers. src/or has not been converted yet. Domains dont do anything yet.
|
преди 19 години |
Nick Mathewson
|
768160c872
Inline key smartlist functions; use fast versions by default.
|
преди 19 години |
Nick Mathewson
|
ba24193ab5
Make doxygen marginally happier
|
преди 19 години |
Nick Mathewson
|
c5ee3e961e
Reorganize some quick-and-dirty code to find out what openssl stuff is leaking, using dmalloc.
|
преди 19 години |
Nick Mathewson
|
26e7a05725
even better function start checks; give dmalloc a chance of working.
|
преди 19 години |
Nick Mathewson
|
5c53545d81
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
|
преди 19 години |
Nick Mathewson
|
d4fb1fcd6c
Two new functions like write_bytes_to_file: one takes a list of byte-and-len structs; one appends.
|
преди 19 години |
Nick Mathewson
|
c4b3bf06c6
add strupper function
|
преди 19 години |
Nick Mathewson
|
b6a13b6cdf
Add directory listing functions to util.[ch]. Watch the features creep!
|
преди 19 години |
Roger Dingledine
|
d5e426ab51
add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()
|
преди 19 години |
Nick Mathewson
|
11ff0aba80
Make clients regenerate their keys when their IP address changes.
|
преди 19 години |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
преди 19 години |
Roger Dingledine
|
509405a5f7
clean up this TOR_FRAGILE business
|
преди 19 години |
Roger Dingledine
|
652dde72f1
bugfix: chdir to your datadirectory at the *end* of the
|
преди 19 години |
Nick Mathewson
|
0e81265359
update copyright notices.
|
преди 19 години |
Nick Mathewson
|
bbaa3c7792
Implement more control spec functionality
|
преди 20 години |
Nick Mathewson
|
6e6d95b3db
Change from inet_ntoa to a threadproof tor_inet_ntoa.
|
преди 20 години |
Peter Palfrader
|
ddd724ef94
Add --with-dmalloc configure option
|
преди 20 години |
Roger Dingledine
|
cf17d0d29c
move network_init from or/main to common/compat
|
преди 20 години |
Nick Mathewson
|
c79c4200f4
Fix a bug in last patch; and keep my name out of the assert() call too.
|
преди 20 години |