aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-12-13reenable write limiting. nick finally convinced me this wasRoger Dingledine
a smart move. more todo sub-items remain for it. svn:r9101
2006-12-13finish enabling begin-dir cells. require one-hop circs forRoger Dingledine
socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
2006-12-13Infrastructure to test BEGIN_DIR cells.Roger Dingledine
New socks command CONNECT_DIR. New config option TunnelDirConns that builds a circ ending at the directory server and delivers a BEGIN_DIR cell if it's running 0.1.2.2-alpha or later. We still need to make one-hop circs when appropriate, while making other conns avoid them. svn:r9098
2006-12-13remove an XXXX that asked to get removedRoger Dingledine
svn:r9097
2006-12-12a better fix. puts r8446 to bed.Roger Dingledine
svn:r9096
2006-12-12Fix a bug in 0.1.2.2-alpha that prevented clients from askingRoger Dingledine
to resolve an address at a given exit node even when they ask for it by name. svn:r9095
2006-12-12couldn't handle leaving this typo inRoger Dingledine
svn:r9094
2006-12-12minor cleanups and notesRoger Dingledine
svn:r9093
2006-12-12 r11552@Kushana: nickm | 2006-12-12 13:34:13 -0500Nick Mathewson
fix a signed/unsigned comparison in eventdns.c svn:r9092
2006-12-12 r11548@Kushana: nickm | 2006-12-12 00:44:51 -0500Nick Mathewson
Merge whitespace and other changes from libevent svn:r9090
2006-12-12 r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500Nick Mathewson
Add ipv6 functionality to evdns. svn:r9089
2006-12-12 r11498@Kushana: nickm | 2006-12-11 21:40:24 -0500Nick Mathewson
Document all structures and (non-exported) functions. External documentation will probably wind up being a manpage, hopefully written by somebody else. svn:r9087
2006-12-12 r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500Nick Mathewson
Rename nameserver functions: every one should now have "server" in the name. svn:r9086
2006-12-12 r11496@Kushana: nickm | 2006-12-11 19:39:37 -0500Nick Mathewson
Clean up XXXX comments in evdns code. Make server_ports actually go away when their refcnt reaches zero. svn:r9085
2006-12-12 r11495@Kushana: nickm | 2006-12-11 19:11:14 -0500Nick Mathewson
More evdns: tab fixes. Dont make users worry about flags. Set truncated flag correctly when generating responses, rather than just bailing out. svn:r9084
2006-12-12 r11494@Kushana: nickm | 2006-12-11 14:50:20 -0500Nick Mathewson
Export DNS types and classes in eventdns.h so that server code can use them. svn:r9083
2006-12-12 r11493@Kushana: nickm | 2006-12-11 14:28:42 -0500Nick Mathewson
Oops; apparently DNS replies are supposed to include the questions. Revise "add_ptr_reply" to accept an inaddr_arpa name instead of just the sockaddr_in. Also, add a "-servertest" function to the test code to see whether the DNS server logic is working. svn:r9082
2006-12-12 r11492@Kushana: nickm | 2006-12-11 12:30:23 -0500Nick Mathewson
Implement dns server reply retry logic. svn:r9081
2006-12-12 r11491@Kushana: nickm | 2006-12-11 12:12:57 -0500Nick Mathewson
More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration. svn:r9080
2006-12-12svn:r9079Nick Mathewson
2006-12-12svn:r9077Nick Mathewson
2006-12-12 r9254@Kushana: nickm | 2006-10-17 17:23:36 -0400Nick Mathewson
Implement dns label compression. Clients do not need this much; dns servers definitely do. svn:r9073
2006-12-12 r9099@Kushana: nickm | 2006-10-05 17:42:55 -0400Nick Mathewson
start fleshing out some logic to build server support into eventdns. Still needs work and testing. svn:r9068
2006-12-11when we decide not to mmap, because the file is empty or isn'tRoger Dingledine
there at all, don't yell so loud. svn:r9065
2006-12-10fix another bug in r9052, pointed out by robert hoganRoger Dingledine
svn:r9063
2006-12-10some more cleanups and a bugfix on r9052Roger Dingledine
svn:r9062
2006-12-10resolve a buffer overflow / crash from r9051Roger Dingledine
svn:r9061
2006-12-09correction and cleanups on r9047Roger Dingledine
svn:r9060
2006-12-09fix xiando's bug -- we were reporting stuff about hibernationRoger Dingledine
even though it wasn't enabled. svn:r9055
2006-12-08 r11486@Kushana: nickm | 2006-12-08 00:58:47 -0500Nick Mathewson
Fix a longstanding bug in eventdns related to timeouts: The timeout count was never actually reset to 0. Argh. Now we reset it to zero after we get a successful request, or after we notice that a nameserver is back up, or after we decide the nameserver is down because of timeouts. This may fix bug 326. svn:r9054
2006-12-08 r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
2006-12-08 r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500Nick Mathewson
Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263. svn:r9051
2006-12-07more changes on r9041Roger Dingledine
svn:r9049
2006-12-07 r11469@Kushana: nickm | 2006-12-07 15:11:04 -0500Nick Mathewson
Round stored/transmitted values for bandwidth usage. This might make some attacks work less well. This might well be voodoo, but it gives me a warm fuzzy feeling. svn:r9048
2006-12-07 r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500Nick Mathewson
Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second. svn:r9047
2006-12-07 r11467@Kushana: nickm | 2006-12-07 14:38:54 -0500Nick Mathewson
Whitespace cleanup svn:r9046
2006-12-07 r11462@Kushana: nickm | 2006-12-07 13:42:21 -0500Nick Mathewson
Make bandwidth accounting information get stored to the state file as well as bw_accounting. Read from the state file if it is more recent than bw_accounting, or if bw_accounting is not there. svn:r9044
2006-12-07 r11461@Kushana: nickm | 2006-12-07 13:16:45 -0500Nick Mathewson
Change logging format of state file to only include non-default values. Adjust clients to never store bandwidth history in the state file. (Possible backport candidate.) svn:r9043
2006-12-07 r11458@Kushana: nickm | 2006-12-07 12:04:22 -0500Nick Mathewson
Fix bug 338: log verbose nicknames, not just keys, for intro points. Also, suppress intro point name logging when SafeLogging is 1. (The security part is a possible backport candidate.) svn:r9041
2006-12-07 r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500Nick Mathewson
oops; removed one unmap too many in the tests. svn:r9040
2006-12-07 r11454@Kushana: nickm | 2006-12-07 10:07:24 -0500Nick Mathewson
Apparently, we actually hit the nasty mmap-then-unlink behavior. Fix it. svn:r9039
2006-12-07 r11451@Kushana: nickm | 2006-12-07 10:06:30 -0500Nick Mathewson
Apparently Windows takes a dim view of unlinking a file while it is mapped. Silly windows, did nobody ever tell you about inodes? svn:r9038
2006-12-07 r11444@Kushana: nickm | 2006-12-07 09:38:52 -0500Nick Mathewson
Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping. Second, CreateFileMapping is documented to return NULL on failure. svn:r9035
2006-12-04Fix an assert failure when the directory authority setsRoger Dingledine
AuthDirRejectUnlisted and then receives a descriptor from an unlisted router (reported by seeess). svn:r9023
2006-12-04bump to 0.1.2.4-alpha-devRoger Dingledine
svn:r9022
2006-12-04 r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500Nick Mathewson
Merge circuit_about_to_close_connection and connection_about_to_close_connection. svn:r9021
2006-12-04 r9853@Kushana: nickm | 2006-12-04 00:02:03 -0500Nick Mathewson
Patch from Fabian Keil: Fix return statement in get_pf_socket() svn:r9020
2006-12-02help ftello find its prototypeRoger Dingledine
svn:r9016
2006-12-02cleanups, bump to 0.1.2.4-alphaRoger Dingledine
svn:r9015
2006-11-30 r9843@Kushana: nickm | 2006-11-30 17:22:25 -0500Nick Mathewson
Turn an xxxx0124 into an #ifdef; avoid leaking memory. svn:r9013