summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
AgeCommit message (Collapse)Author
2004-11-16minor fixesRoger Dingledine
svn:r2901
2004-11-12Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson
clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-06Make options no longer a global variable.Roger Dingledine
Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
2004-10-17start the process of making 0.0.7* obsoleteRoger Dingledine
svn:r2565
2004-10-16don't assert multiple things in the same tor_assert()Roger Dingledine
svn:r2544
2004-08-08let children survive sigint, sigterm, etc.Roger Dingledine
this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
2004-07-22stop using atexit() to remove our pid, since it's calledRoger Dingledine
immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
2004-07-16Revert cpuworker to use addr/portNick Mathewson
svn:r2049
2004-07-13Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson
key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
2004-07-01Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson
svn:r1997
2004-06-05Make tor build on win32 again; handle locking for serverNick Mathewson
svn:r1948
2004-06-03bump an info message down to a debugRoger Dingledine
svn:r1947
2004-05-12break connection_edge_end out of connection_mark_for_closeRoger Dingledine
svn:r1858
2004-05-12Make some functions staticNick Mathewson
svn:r1857
2004-05-10it's amazing what a bit of punctuation can do for appearancesRoger Dingledine
svn:r1843
2004-05-10More doxygenation.Nick Mathewson
svn:r1832
2004-05-09more doxygen markupRoger Dingledine
plenty more remains svn:r1824
2004-05-09bugfix: do directory_send_command only after we've established a socketRoger Dingledine
also many comments, cleaning, etc svn:r1823
2004-05-06bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine
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
2004-05-05Comments for nearly all non-tricky filesNick Mathewson
svn:r1796
2004-05-02Working strerror for windows socket errors, plus some snide comments.Nick Mathewson
svn:r1775
2004-04-28Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson
svn:r1745
2004-04-25use tor_assertRoger Dingledine
remove obsolete BUF_OK macro svn:r1697
2004-04-25log correctly if decoding onion failedRoger Dingledine
svn:r1690
2004-04-24Merge flagday into main branch.Nick Mathewson
svn:r1683
2004-03-20deal with hardware word alignmentRoger Dingledine
this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314
2004-03-12don't close all the fd's when you spawn a thread, only when you forkRoger Dingledine
svn:r1267
2004-03-11Make all the other read/writes into recv/sends, except when they shouldn't be.Nick Mathewson
svn:r1260
2004-03-06stop asserting that computers always go forward in timeRoger Dingledine
it's simply not true svn:r1236
2004-03-04make workers explain their death better when tor diesRoger Dingledine
and make them say it at log level info rather than err svn:r1232
2004-03-02Split out mark_for_close with circuits. Seems to work for me.Nick Mathewson
svn:r1197
2004-02-28Push responsibility for connection marking down as far as possible; have ↵Nick Mathewson
only a close path; add some missing end cells; change return conventions a little. svn:r1149
2004-01-10split the token bucket into 'rate' and 'burst' paramsRoger Dingledine
we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
2004-01-06Fix the dns bug: children weren't dyingRoger Dingledine
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
2003-12-19rename circ_id_t to uint16_t for code clarityRoger Dingledine
change message when using non-recommended tor version svn:r954
2003-12-17end-to-end integrity checking now worksRoger Dingledine
initialize digests from shared secrets at handshake make circuit_send_next_onion_skin use connection_edge_send_command svn:r948
2003-12-16add H(K|1) to the onionskin replyRoger Dingledine
verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941
2003-12-14on hup, close and rebind listener ports too (in case their config has changed)Roger Dingledine
svn:r926
2003-11-16initial patches on patchesRoger Dingledine
svn:r814
2003-11-11Rename aci to circ_id throughout.Nick Mathewson
svn:r784
2003-10-15Stop using stdout for non-debugging casesNick Mathewson
svn:r592
2003-10-10change WARNING to WARNRoger Dingledine
and fix a few typos svn:r571
2003-10-04wrap strdup; prefer time() to gettimeofday()Roger Dingledine
svn:r538
2003-10-04refactor so connection_write_to_buf() never failsRoger Dingledine
svn:r537
2003-09-27clean up receiver buckets; prepare for payloads in relay_end; note a few bugsRoger Dingledine
svn:r502
2003-09-27connection_new() can't ever failRoger Dingledine
svn:r497
2003-09-26first pass: obey log conventionRoger Dingledine
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
2003-09-25Refactor buffers; implement descriptors.Nick Mathewson
'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
2003-09-16refactor connects into connection_connect()Roger Dingledine
svn:r460