aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Expand)AuthorAge
* Make OP work on windows! (Also misc logging tweaks)•••svn:r1258 Nick Mathewson2004-03-11
* Get entropy in windows.•••svn:r1257 Nick Mathewson2004-03-11
* Make tor build on windows again. More work still needed•••svn:r1247 Nick Mathewson2004-03-09
* re-try streams at most 4 times•••svn:r1242 Roger Dingledine2004-03-07
* New, more flexible directory parsing backend. Uses a bit more RAM, but implem...•••svn:r1235 Nick Mathewson2004-03-05
* Try to find out early if buffers get trashed or double-freed.•••svn:r1225 Nick Mathewson2004-03-03
* Implement hold_open_until_flushed. I may have missed something important.•••svn:r1209 Nick Mathewson2004-03-03
* make socks5 not give a spurious warning•••also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT svn:r1208 Roger Dingledine2004-03-03
* make circuit-building less noisy when a node in your exclude/exit/entrynodes ...•••svn:r1206 Roger Dingledine2004-03-03
* Split out mark_for_close with circuits. Seems to work for me.•••svn:r1197 Nick Mathewson2004-03-02
* Fix assertion failure spotted by arma.•••Apparently, when a DNS failure was already cached, then when we tried to mark the exit connection as closed, we'd try to remove it from the pending queue anyway, and hit an assert. Now, we put failed-resolve connections in a separate state so that mark_for_close does the right thing. svn:r1196 Nick Mathewson2004-03-02
* create a separate connection_edge_destroy() function•••svn:r1176 Roger Dingledine2004-02-29
* bugfix: when we time out on a stream and detach, send an end first•••svn:r1175 Roger Dingledine2004-02-28
* Split dns_cancel_pending_resolve into dns_cancel_pending_resolve (kill a•••resolve in response to a DNS worker dying) and connection_dns_remove (remove a pending connection from the resolve structure.) svn:r1168 Nick Mathewson2004-02-28
* Stop trying to flush on broken sockets marked for close.•••svn:r1163 Nick Mathewson2004-02-28
* rename ExcludedNodes config option to ExcludeNodes•••svn:r1155 Roger Dingledine2004-02-28
* Push responsibility for connection marking down as far as possible; have only...•••svn:r1149 Nick Mathewson2004-02-28
* Refactor mark_for_close, connection_edge_end and friends. Now, everybody•••who wants to shut down a connection calls connection_mark_for_close instead of setting marked_for_close to 1. This automatically removes the connection from the DNS cache if needed, sends a RELAY END cell if appropriate, and can be changed to do whatever else is needed. Still to do: - The same for circuits, maybe. - Add some kind of hold_connection_open_until_flushed flag, maybe. - Change stuff that closes connections with return -1 to use mark_for_close, maybe. svn:r1145 Nick Mathewson2004-02-27
* Fix a bug where you might flush some data on a tls connection, and then•••add some more data to be flushed but never turn POLLOUT on. not sure how commonly this bug was hit, but it would be a doozy. Also add some asserts to see if it happens elsewhere. svn:r1142 Roger Dingledine2004-02-27
* When it can't resolve any dirservers, it was useless from then on.•••Now it reloads the RouterFile (or default dirservers) if it has no dirservers. svn:r1130 Roger Dingledine2004-02-26
* when they use tor as an http proxy, give them an http 501 failure•••svn:r1126 Roger Dingledine2004-02-26
* if the default torrc isn't there, just use some default defaults•••plus provide an internal dirservers file if they don't have one having no config files will make it easier to run on windows svn:r1124 Roger Dingledine2004-02-26
* Basic RAM poisoning and magic-checking to notice connection and circuit•••corruption faster; also, check for corruption in dns.c so we can fail fast for the bug that's nailing Lucky and moria3. svn:r1123 Nick Mathewson2004-02-25
* On OSX, decline to use the built-in select-baed poll wrapper, since it seems ...•••svn:r1114 Nick Mathewson2004-02-20
* go back to a single exitpolicy parameter•••if your exitpolicy includes " *:*" then it is final, else we append the default exit policy. (thanks weasel) svn:r1105 Roger Dingledine2004-02-18
* Get rid of the notion of a separate default default exit policy.•••Create ExitPolicyPrepend config parameter, to customize the default exit policy. svn:r1103 Roger Dingledine2004-02-18
* adding the reattach-after-timeout feature wasn't so easy after all.•••maybe it works now. svn:r1101 Roger Dingledine2004-02-18
* Fix router_compare_addr_to_exit_policy, and name its return codes. The bug w...•••svn:r1093 Nick Mathewson2004-02-17
* add an ap_conn connecting state; report connecting delay•••svn:r1011 Roger Dingledine2004-01-20
* add TOR_PERF macro options•••svn:r1008 Roger Dingledine2004-01-20
* split the token bucket into 'rate' and 'burst' params•••we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982 Roger Dingledine2004-01-10
* Fix the dns bug: children weren't dying•••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 Roger Dingledine2004-01-06
* the onionskin challenge length was 30 bytes longer than necessary•••(i think ;) svn:r971 Roger Dingledine2004-01-05
* fix endian issue: rh.integrity was getting sent wrong•••now it's a char[4] rather than an int svn:r966 Roger Dingledine2004-01-02
* checkpoint: revamp relay cell packaging and handling•••include the infrastructure for inserting padding cells when there's a relay-recognized conflict, but it does not work currently. svn:r958 Roger Dingledine2003-12-23
* make sure there's no conflict when generating stream_ids•••svn:r955 Roger Dingledine2003-12-19
* rename circ_id_t to uint16_t for code clarity•••change message when using non-recommended tor version svn:r954 Roger Dingledine2003-12-19
* make a relay_header_t struct and pack/unpack funcs•••split 7-byte stream_id string into 2-byte recognized and 2-byte stream_id fix two seg faults in fetch_from_buf_http fix several lurking seg faults in handling unexpected relay cells still need to * clean up relay_crypt * use relay dummies if there's going to be a conflict with rh.recognized * check for a conflict when generating stream_ids svn:r953 Roger Dingledine2003-12-19
* remove trailing whitespace•••svn:r951 Roger Dingledine2003-12-17
* make fetch_from_buf_http malloc its strings rather•••than use fixed-size strings reorganize directory_handle_command so it'll be easier to do more with our directory servers svn:r950 Roger Dingledine2003-12-17
* infrastructure for integrity-checks in relay cells•••make circuit_consider_sending_sendme use connection_edge_send_command fix endian bug in relay length handling (maybe) svn:r946 Roger Dingledine2003-12-16
* move cell size to 512 bytes•••move length to 2 bytes, put it in the relay header remove 4 reserved bytes in cell add 4 bytes to relay header for the integrity check svn:r942 Roger Dingledine2003-12-16
* add H(K|1) to the onionskin reply•••verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941 Roger Dingledine2003-12-16
* start tracking the 'It appears I've already sent the end' warning•••svn:r932 Roger Dingledine2003-12-14
* change dns notation from question/answer to address/addr•••svn:r929 Roger Dingledine2003-12-14
* add options.ExcludedNodes -- nodes that are never picked in path building•••svn:r924 Roger Dingledine2003-12-14
* revamp circuit node selection to use smartlists:••• * now we know for sure if an acceptable node is available; we don't have to keep guessing and checking * we try options.EntryNodes first for picking the first node svn:r904 Roger Dingledine2003-12-13
* Add port ranges to exit policies•••svn:r899 Nick Mathewson2003-12-13
* if >=2 circs are being built that handle a given stream,•••no need to have new circs handle it too. svn:r896 Roger Dingledine2003-12-12
* Make router/directory parsing nondestructive and more const-friendly•••svn:r890 Nick Mathewson2003-12-08