aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Infrastructure to test BEGIN_DIR cells.Roger Dingledine2006-12-13
| | | | | | | | | | 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
* remove an XXXX that asked to get removedRoger Dingledine2006-12-13
| | | | svn:r9097
* a better fix. puts r8446 to bed.Roger Dingledine2006-12-12
| | | | svn:r9096
* Fix a bug in 0.1.2.2-alpha that prevented clients from askingRoger Dingledine2006-12-12
| | | | | | | | to resolve an address at a given exit node even when they ask for it by name. svn:r9095
* couldn't handle leaving this typo inRoger Dingledine2006-12-12
| | | | svn:r9094
* minor cleanups and notesRoger Dingledine2006-12-12
| | | | svn:r9093
* r11552@Kushana: nickm | 2006-12-12 13:34:13 -0500Nick Mathewson2006-12-12
| | | | | | | fix a signed/unsigned comparison in eventdns.c svn:r9092
* r11548@Kushana: nickm | 2006-12-12 00:44:51 -0500Nick Mathewson2006-12-12
| | | | | | | Merge whitespace and other changes from libevent svn:r9090
* r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500Nick Mathewson2006-12-12
| | | | | | | Add ipv6 functionality to evdns. svn:r9089
* r11498@Kushana: nickm | 2006-12-11 21:40:24 -0500Nick Mathewson2006-12-12
| | | | | | | Document all structures and (non-exported) functions. External documentation will probably wind up being a manpage, hopefully written by somebody else. svn:r9087
* r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500Nick Mathewson2006-12-12
| | | | | | | Rename nameserver functions: every one should now have "server" in the name. svn:r9086
* r11496@Kushana: nickm | 2006-12-11 19:39:37 -0500Nick Mathewson2006-12-12
| | | | | | | Clean up XXXX comments in evdns code. Make server_ports actually go away when their refcnt reaches zero. svn:r9085
* r11495@Kushana: nickm | 2006-12-11 19:11:14 -0500Nick Mathewson2006-12-12
| | | | | | | More evdns: tab fixes. Dont make users worry about flags. Set truncated flag correctly when generating responses, rather than just bailing out. svn:r9084
* r11494@Kushana: nickm | 2006-12-11 14:50:20 -0500Nick Mathewson2006-12-12
| | | | | | | Export DNS types and classes in eventdns.h so that server code can use them. svn:r9083
* r11493@Kushana: nickm | 2006-12-11 14:28:42 -0500Nick Mathewson2006-12-12
| | | | | | | 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
* r11492@Kushana: nickm | 2006-12-11 12:30:23 -0500Nick Mathewson2006-12-12
| | | | | | | Implement dns server reply retry logic. svn:r9081
* r11491@Kushana: nickm | 2006-12-11 12:12:57 -0500Nick Mathewson2006-12-12
| | | | | | | More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration. svn:r9080
* svn:r9079Nick Mathewson2006-12-12
|
* svn:r9077Nick Mathewson2006-12-12
|
* r9254@Kushana: nickm | 2006-10-17 17:23:36 -0400Nick Mathewson2006-12-12
| | | | | | | Implement dns label compression. Clients do not need this much; dns servers definitely do. svn:r9073
* r9099@Kushana: nickm | 2006-10-05 17:42:55 -0400Nick Mathewson2006-12-12
| | | | | | | start fleshing out some logic to build server support into eventdns. Still needs work and testing. svn:r9068
* fix another bug in r9052, pointed out by robert hoganRoger Dingledine2006-12-10
| | | | svn:r9063
* some more cleanups and a bugfix on r9052Roger Dingledine2006-12-10
| | | | svn:r9062
* resolve a buffer overflow / crash from r9051Roger Dingledine2006-12-10
| | | | svn:r9061
* correction and cleanups on r9047Roger Dingledine2006-12-09
| | | | svn:r9060
* fix xiando's bug -- we were reporting stuff about hibernationRoger Dingledine2006-12-09
| | | | | | | even though it wasn't enabled. svn:r9055
* r11486@Kushana: nickm | 2006-12-08 00:58:47 -0500Nick Mathewson2006-12-08
| | | | | | | 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
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson2006-12-08
| | | | | | | Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
* r11475@Kushana: nickm | 2006-12-07 20:49:21 -0500Nick Mathewson2006-12-08
| | | | | | | Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263. svn:r9051
* more changes on r9041Roger Dingledine2006-12-07
| | | | svn:r9049
* r11469@Kushana: nickm | 2006-12-07 15:11:04 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* r11467@Kushana: nickm | 2006-12-07 14:38:54 -0500Nick Mathewson2006-12-07
| | | | | | | Whitespace cleanup svn:r9046
* r11462@Kushana: nickm | 2006-12-07 13:42:21 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* r11461@Kushana: nickm | 2006-12-07 13:16:45 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* r11458@Kushana: nickm | 2006-12-07 12:04:22 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* r11456@Kushana: nickm | 2006-12-07 10:09:55 -0500Nick Mathewson2006-12-07
| | | | | | | oops; removed one unmap too many in the tests. svn:r9040
* r11454@Kushana: nickm | 2006-12-07 10:07:24 -0500Nick Mathewson2006-12-07
| | | | | | | Apparently, we actually hit the nasty mmap-then-unlink behavior. Fix it. svn:r9039
* r11451@Kushana: nickm | 2006-12-07 10:06:30 -0500Nick Mathewson2006-12-07
| | | | | | | 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
* Fix an assert failure when the directory authority setsRoger Dingledine2006-12-04
| | | | | | | | AuthDirRejectUnlisted and then receives a descriptor from an unlisted router (reported by seeess). svn:r9023
* r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500Nick Mathewson2006-12-04
| | | | | | | Merge circuit_about_to_close_connection and connection_about_to_close_connection. svn:r9021
* r9853@Kushana: nickm | 2006-12-04 00:02:03 -0500Nick Mathewson2006-12-04
| | | | | | | Patch from Fabian Keil: Fix return statement in get_pf_socket() svn:r9020
* cleanups, bump to 0.1.2.4-alphaRoger Dingledine2006-12-02
| | | | svn:r9015
* r9843@Kushana: nickm | 2006-11-30 17:22:25 -0500Nick Mathewson2006-11-30
| | | | | | | Turn an xxxx0124 into an #ifdef; avoid leaking memory. svn:r9013
* actually, i think this fix was closest to what i originallyRoger Dingledine2006-11-26
| | | | | | | | | intended. this way we don't call resolve-my-address, which yells and screams if we're using an internal address (mere clients should not have to care). svn:r8998
* r9399@totoro: nickm | 2006-11-26 14:22:17 -0500Nick Mathewson2006-11-26
| | | | | | | Actually, clients *should* try to guess their addresses. svn:r8997
* r9396@totoro: nickm | 2006-11-26 13:36:29 -0500Nick Mathewson2006-11-26
| | | | | | | Fix router_new_address_suggestion() so it only changes last_guessed_ip() when it actually calls resolve_my_address(). (bug found by dev-girl) svn:r8996
* we were leaking all the fingerprints for !reject, !invalid,Roger Dingledine2006-11-20
| | | | | | | and !badexit lines in the approved-routers file. svn:r8974
* r9347@totoro: nickm | 2006-11-20 11:24:46 -0500Nick Mathewson2006-11-20
| | | | | | | | | | | 11:23 < armadev> typo 11:23 < nickm> ? 11:23 < armadev> did you get the coffee yet? :) 11:23 < nickm> no 11:23 < armadev> i'm at an advantage..i haven't slept yet svn:r8972
* r9345@totoro: nickm | 2006-11-20 11:22:10 -0500Nick Mathewson2006-11-20
| | | | | | | Fix a small and unlikely memory leak in dirserv.c. I think this is not the one arma is looking for. svn:r8971