aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
Commit message (Collapse)AuthorAge
* let children survive sigint, sigterm, etc.Roger Dingledine2004-08-08
| | | | | | | | this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* Revert cpuworker to use addr/portNick Mathewson2004-07-16
| | | | svn:r2049
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson2004-07-01
| | | | svn:r1997
* Make tor build on win32 again; handle locking for serverNick Mathewson2004-06-05
| | | | svn:r1948
* bump an info message down to a debugRoger Dingledine2004-06-03
| | | | svn:r1947
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858
* Make some functions staticNick Mathewson2004-05-12
| | | | svn:r1857
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* bugfix: do directory_send_command only after we've established a socketRoger Dingledine2004-05-09
| | | | | | | also many comments, cleaning, etc svn:r1823
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798
* Comments for nearly all non-tricky filesNick Mathewson2004-05-05
| | | | svn:r1796
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* log correctly if decoding onion failedRoger Dingledine2004-04-25
| | | | svn:r1690
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* deal with hardware word alignmentRoger Dingledine2004-03-20
| | | | | | | | | this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314
* don't close all the fd's when you spawn a thread, only when you forkRoger Dingledine2004-03-12
| | | | svn:r1267
* Make all the other read/writes into recv/sends, except when they shouldn't be.Nick Mathewson2004-03-11
| | | | svn:r1260
* stop asserting that computers always go forward in timeRoger Dingledine2004-03-06
| | | | | | | it's simply not true svn:r1236
* make workers explain their death better when tor diesRoger Dingledine2004-03-04
| | | | | | | and make them say it at log level info rather than err svn:r1232
* Split out mark_for_close with circuits. Seems to work for me.Nick Mathewson2004-03-02
| | | | svn:r1197
* Push responsibility for connection marking down as far as possible; have ↵Nick Mathewson2004-02-28
| | | | | | only a close path; add some missing end cells; change return conventions a little. svn:r1149
* split the token bucket into 'rate' and 'burst' paramsRoger Dingledine2004-01-10
| | | | | | | | | | | we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
* Fix the dns bug: children weren't dyingRoger Dingledine2004-01-06
| | | | | | | | | | | | | | | We were telling a child to die by closing the parent's file descriptor to him. But newer children were inheriting the open file descriptor from the parent, and since they weren't closing them, the socket never closed, so the child never read eof, so he never knew to exit. As a side effect to this bug, we were probably failing to properly close connections to remote hosts, ORs, and OPs, after a dns child was born. I'm surprised Tor worked at all. svn:r974
* rename circ_id_t to uint16_t for code clarityRoger Dingledine2003-12-19
| | | | | | | change message when using non-recommended tor version svn:r954
* end-to-end integrity checking now worksRoger Dingledine2003-12-17
| | | | | | | | initialize digests from shared secrets at handshake make circuit_send_next_onion_skin use connection_edge_send_command svn:r948
* add H(K|1) to the onionskin replyRoger Dingledine2003-12-16
| | | | | | | | | | verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941
* on hup, close and rebind listener ports too (in case their config has changed)Roger Dingledine2003-12-14
| | | | svn:r926
* initial patches on patchesRoger Dingledine2003-11-16
| | | | svn:r814
* Rename aci to circ_id throughout.Nick Mathewson2003-11-11
| | | | svn:r784
* Stop using stdout for non-debugging casesNick Mathewson2003-10-15
| | | | svn:r592
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | | | | and fix a few typos svn:r571
* wrap strdup; prefer time() to gettimeofday()Roger Dingledine2003-10-04
| | | | svn:r538
* refactor so connection_write_to_buf() never failsRoger Dingledine2003-10-04
| | | | svn:r537
* clean up receiver buckets; prepare for payloads in relay_end; note a few bugsRoger Dingledine2003-09-27
| | | | svn:r502
* connection_new() can't ever failRoger Dingledine2003-09-27
| | | | svn:r497
* first pass: obey log conventionRoger Dingledine2003-09-26
| | | | | | | | | | | | | | | | | | | | | ERR is if something fatal just happened WARNING is something bad happened, but we're still running. The bad thing is either a bug in the code, an attack or buggy protocol/implementation of the remote peer, etc. The operator should examine the bad thing and try to correct it. (No error or warning messages should be expected. I expect most people to run on -l warning eventually.) NOTICE is never ever used. INFO means something happened (maybe bad, maybe ok), but there's nothing you need to (or can) do about it. DEBUG is for everything louder than INFO. svn:r486
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | 'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483
* refactor connects into connection_connect()Roger Dingledine2003-09-16
| | | | svn:r460
* fix the cpuworker circ-had-vanished bug (maybe)Roger Dingledine2003-09-14
| | | | | | | still several (many) tls-related bugs outstanding. svn:r454
* serious bug in cpuworker. need to think about redesign or how to handle it.Roger Dingledine2003-09-12
| | | | svn:r448
* start honoring the recommended_versions stringRoger Dingledine2003-08-23
| | | | | | | | | your client exits if you're running a version not in the directory's list of acceptable versions (unless you have a config variable set to override). svn:r408
* 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