Nick Mathewson
|
9199696182
Add some wrappers around SPLAY_* for the common map-from-string-to-X case.
|
20 lat temu |
Nick Mathewson
|
971b002d93
Include strlcpy and strlcat where not available, so our string ops can be less error-prone.
|
20 lat temu |
Roger Dingledine
|
f55ff5b8d2
teach us to recognize internal IPs
|
20 lat temu |
Nick Mathewson
|
976bacae94
Make all the other read/writes into recv/sends, except when they shouldn't be.
|
20 lat temu |
Nick Mathewson
|
2da54de968
Make tor build on windows again. More work still needed
|
20 lat temu |
Roger Dingledine
|
5cf0b6224b
bugfix: stop trying to write to a stderr that may not be there
|
21 lat temu |
Nick Mathewson
|
cacacfe2b1
Integrate new daemon code, adapted from submission by christian grothoff
|
21 lat temu |
Roger Dingledine
|
eb730c41c8
clean tabs, trailing whitespace
|
21 lat temu |
Roger Dingledine
|
3465c4dee4
make it compile
|
21 lat temu |
Roger Dingledine
|
f4cb5d8c93
extend smartlist with _remove() and _subtract()
|
21 lat temu |
Roger Dingledine
|
4d3d99fa0c
extend smartlist with a few smarter operations
|
21 lat temu |
Roger Dingledine
|
1ae84fcbc1
add a 'smartlist' building block that picks random elements from a list
|
21 lat temu |
Nick Mathewson
|
ac552573dd
Make router/directory parsing nondestructive and more const-friendly
|
21 lat temu |
Roger Dingledine
|
ec02f83f94
add a tor_malloc_zero wrapper: tor_malloc and memset 0
|
21 lat temu |
Roger Dingledine
|
9358381d83
break out the string manipulation routines
|
21 lat temu |
Steven Hazel
|
4139c1c86a
- fixed a bug in the id switching code -- setgid has to happen before
|
21 lat temu |
Roger Dingledine
|
069227db5b
introduce new tor_free() macro
|
21 lat temu |
Roger Dingledine
|
5f1750a288
include our own timegm() impl, since it's not portable
|
21 lat temu |
Nick Mathewson
|
77be56fbdd
Add tor_realloc to mirror tor_malloc
|
21 lat temu |
Roger Dingledine
|
de6cbe53c0
some early bugfixes
|
21 lat temu |
Roger Dingledine
|
be874358a4
wrap strdup; prefer time() to gettimeofday()
|
21 lat temu |
Nick Mathewson
|
6ac42f5ec0
Make testcases run again; more sanity checking to descriptor generation.
|
21 lat temu |
Roger Dingledine
|
467d278b8b
more cleanup and rearranging
|
21 lat temu |
Roger Dingledine
|
677707433e
shift read_file_to_str() into util.c
|
21 lat temu |
Nick Mathewson
|
92acbe12bc
Refactor common file code into util.c; add published to descriptors
|
21 lat temu |
Roger Dingledine
|
e585dad887
fix the cpuworker circ-had-vanished bug (maybe)
|
21 lat temu |
Roger Dingledine
|
2dda97e8fd
implemented cpuworkers
|
21 lat temu |
Nick Mathewson
|
1777487f4e
Tor now builds on win32.
|
21 lat temu |
Nick Mathewson
|
cd3467bb01
Attempt to make sockets code work right on windows.
|
21 lat temu |
Nick Mathewson
|
bbd4032fc1
Make windows happier still
|
21 lat temu |