aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Collapse)AuthorAge
* Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't needNick Mathewson2004-04-07
| | | | | | | to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533
* Put ourself in router list; act accordingly.Nick Mathewson2004-04-07
| | | | svn:r1521
* router_choose_random_node wants a smartlist of routers, not of nicknames.Nick Mathewson2004-04-06
| | | | svn:r1510
* Continue attack on magic numbers; use new crypto wrappers where possibleNick Mathewson2004-04-06
| | | | svn:r1504
* Remove the last tab in non-contributed codeNick Mathewson2004-04-06
| | | | svn:r1503
* Make it build on linuxNick Mathewson2004-04-03
| | | | svn:r1468
* Make "common" no longer depend on or.hNick Mathewson2004-04-03
| | | | svn:r1466
* Handle rendezvous relay cellsNick Mathewson2004-04-03
| | | | svn:r1464
* Hide smartlist internalsNick Mathewson2004-04-03
| | | | svn:r1451
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* Implement rennd_services_initNick Mathewson2004-04-02
| | | | svn:r1443
* Parse and generate service descriptorsNick Mathewson2004-03-31
| | | | svn:r1403
* Make smartlist Do What Arma Expects.Nick Mathewson2004-03-30
| | | | svn:r1401
* Remove maximum-size field from smartlistsNick Mathewson2004-03-30
| | | | svn:r1397
* Make smartlists start small and grow as needed.Nick Mathewson2004-03-30
| | | | svn:r1394
* Add an autoconf test for whether unaligned int access is permitted.Nick Mathewson2004-03-21
| | | | | | | | It works on macos, and works correctly when I twiddle the test code to generate a spurious segfault. Will it work anywhere else? svn:r1329
* Add macros and functions to wrap memcpy/alignment logic.Nick Mathewson2004-03-21
| | | | svn:r1326
* Add initial history-tracking backend code for reputation module. Not called ↵Nick Mathewson2004-03-20
| | | | | | or tested yet. svn:r1310
* Add some wrappers around SPLAY_* for the common map-from-string-to-X case.Nick Mathewson2004-03-19
| | | | | | | | It will probably be less blindingly fast than using SPLAY_* directly, but only slightly so. svn:r1306
* Include strlcpy and strlcat where not available, so our string ops can be ↵Nick Mathewson2004-03-17
| | | | | | less error-prone. svn:r1289
* teach us to recognize internal IPsRoger Dingledine2004-03-14
| | | | svn:r1271
* Make all the other read/writes into recv/sends, except when they shouldn't be.Nick Mathewson2004-03-11
| | | | svn:r1260
* Make tor build on windows again. More work still neededNick Mathewson2004-03-09
| | | | svn:r1247
* bugfix: stop trying to write to a stderr that may not be thereRoger Dingledine2004-02-28
| | | | | | | also, tell start_daemon our desired cwd svn:r1170
* Integrate new daemon code, adapted from submission by christian grothoffNick Mathewson2004-01-03
| | | | svn:r969
* clean tabs, trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r952
* make it compileRoger Dingledine2003-12-14
| | | | svn:r923
* extend smartlist with _remove() and _subtract()Roger Dingledine2003-12-14
| | | | svn:r922
* extend smartlist with a few smarter operationsRoger Dingledine2003-12-13
| | | | svn:r910
* add a 'smartlist' building block that picks random elements from a listRoger Dingledine2003-12-13
| | | | svn:r897
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* add a tor_malloc_zero wrapper: tor_malloc and memset 0Roger Dingledine2003-11-18
| | | | svn:r836
* break out the string manipulation routinesRoger Dingledine2003-11-12
| | | | svn:r804
* - fixed a bug in the id switching code -- setgid has to happen beforeSteven Hazel2003-10-22
| | | | | | | | | | | | | | | setuid, because after we setuid we don't have the priviledges we need to setgid anymore, duh. merged switch_user() and switch_group() into switch_id(), since that code has to be wound together. - return -1 from switch_id() if it's not defined to do anything else. - moved daemoinize(), write_pidfile(), and switch_id() from main.c to util.c svn:r656
* introduce new tor_free() macroRoger Dingledine2003-10-21
| | | | svn:r643
* include our own timegm() impl, since it's not portableRoger Dingledine2003-10-20
| | | | svn:r635
* Add tor_realloc to mirror tor_mallocNick Mathewson2003-10-14
| | | | svn:r582
* some early bugfixesRoger Dingledine2003-10-07
| | | | | | | | | | our log() conflicts with log(3) distribute only the correct files from doc/ and src/config/ sometimes laptops go back in time. i guess that's ok for now. and bump the version number because we're live. svn:r544
* wrap strdup; prefer time() to gettimeofday()Roger Dingledine2003-10-04
| | | | svn:r538
* Make testcases run again; more sanity checking to descriptor generation.Nick Mathewson2003-10-01
| | | | svn:r532
* more cleanup and rearrangingRoger Dingledine2003-09-29
| | | | | | | still not finished integrating new dirserv stuff svn:r507
* shift read_file_to_str() into util.cRoger Dingledine2003-09-28
| | | | svn:r504
* Refactor common file code into util.c; add published to descriptorsNick Mathewson2003-09-26
| | | | svn:r487
* fix the cpuworker circ-had-vanished bug (maybe)Roger Dingledine2003-09-14
| | | | | | | still several (many) tls-related bugs outstanding. svn:r454
* implemented cpuworkersRoger Dingledine2003-08-20
| | | | | | | | | | please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402
* Tor now builds on win32.Nick Mathewson2003-08-14
| | | | svn:r400
* Attempt to make sockets code work right on windows.Nick Mathewson2003-08-14
| | | | svn:r398
* Make windows happier stillNick Mathewson2003-08-12
| | | | svn:r392
* Adopt socketpair implementation from perl. For now, always use it.Nick Mathewson2003-08-12
| | | | svn:r389
* Add abstraction for fork vs thread.Nick Mathewson2003-08-12
| | | | svn:r387