aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
Commit message (Expand)AuthorAge
* Remove unused open circuits when there are too many, not when they are too old.•••svn:r1332 Nick Mathewson2004-03-21
* Dont expire circuits we didnt originate. This may be redundant somehow, but ...•••svn:r1331 Nick Mathewson2004-03-21
* Add a RunTesting option to try to learn link state by creating test circuits,...•••svn:r1327 Nick Mathewson2004-03-21
* make servers not crash when they rep-hist-note circuits that don't start at them•••svn:r1317 Roger Dingledine2004-03-20
* deal with hardware word alignment•••this was causing the seg faults on sparc processors i wonder if i got them all. svn:r1314 Roger Dingledine2004-03-20
* Integrate the new "rephist" [rep(utation) hist(ory)] module to trace•••successful/failed connections, successful/failed extends, and connection uptimes. It's still not done: more tests are needed, and not everything calls connection/circuit_mark_for_close properly. This skews the results. Also, there needs to be a 'testing' mode for non-OP ORs, where they periodically build circuits just to test whether extends work. svn:r1313 Nick Mathewson2004-03-20
* clean up some presentation and comments•••svn:r1294 Roger Dingledine2004-03-18
* bugfix: address that strcat vulnerability in circuit.c•••svn:r1273 Roger Dingledine2004-03-14
* Make tor build on windows again. More work still needed•••svn:r1247 Nick Mathewson2004-03-09
* reenable part of assert_circuit_ok, leave some still disabled•••svn:r1207 Roger Dingledine2004-03-03
* Fix (maybe) assert_circuit_ok. leave it disabled till arma confirms•••svn:r1205 Nick Mathewson2004-03-03
* Nth time is the charm on list manip.•••svn:r1201 Nick Mathewson2004-03-03
* fix a pair of lurking segfaults•••svn:r1198 Roger Dingledine2004-03-02
* Split out mark_for_close with circuits. Seems to work for me.•••svn:r1197 Nick Mathewson2004-03-02
* print a statement when the first circ is finished,•••so the user knows it's working svn:r1179 Roger Dingledine2004-02-29
* create a separate connection_edge_destroy() function•••svn:r1176 Roger Dingledine2004-02-29
* clean up some log messages and severities•••still plenty more left to clean svn:r1158 Roger Dingledine2004-02-28
* if a relay cell is unrecognized at the end of the circuit,•••send back a destroy svn:r1153 Roger Dingledine2004-02-28
* Make has_sent_end irrelevant: only try to send end if reason is nonzero•••svn:r1148 Nick Mathewson2004-02-28
* patches/answers to nick's commit•••svn:r1146 Roger Dingledine2004-02-27
* 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
* clean up an ia64 warning•••svn:r1140 Roger Dingledine2004-02-27
* 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
* adding the reattach-after-timeout feature wasn't so easy after all.•••maybe it works now. svn:r1101 Roger Dingledine2004-02-18
* Propagate yes/no/maybe a little farther forward.•••svn:r1096 Nick Mathewson2004-02-17
* turn some knobs, add more debugging•••svn:r1023 Roger Dingledine2004-01-30
* add an ap_conn connecting state; report connecting delay•••svn:r1011 Roger Dingledine2004-01-20
* 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
* make loglevel info less noisy•••svn:r961 Roger Dingledine2003-12-30
* randomize the initial circ_id and stream_id, so an adversary who•••breaks in part-way through can't learn how many circs/streams have been made svn:r960 Roger Dingledine2003-12-28
* back out the insert-padding-if-conflict code•••use recognized + digest instead, just assume it's enough bits svn:r959 Roger Dingledine2003-12-26
* 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
* 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
* end-to-end integrity checking now works•••initialize digests from shared secrets at handshake make circuit_send_next_onion_skin use connection_edge_send_command svn:r948 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
* resolve an edge case in get_unique_circ_id_by_conn•••svn:r944 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
* Make compile warning-free on cygwin•••svn:r936 Nick Mathewson2003-12-15
* start tracking the 'It appears I've already sent the end' warning•••svn:r932 Roger Dingledine2003-12-14
* more friendly warning when there are too many dns workers•••svn:r919 Roger Dingledine2003-12-14
* bugfix: a circuit that immediately failed still counts as a failed circuit•••svn:r905 Roger Dingledine2003-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
* close the circuit when we get a truncated cell•••svn:r893 Roger Dingledine2003-12-09
* fix vicious bug in connection_ap_attach_pending that caused it to••• never work. fix vicious bug in choose_good_exit_server that caused it to *skip over* pending circuits, and look only at *non-pending circuits*, when choosing a good exit node for the new circuit. bugfix: remove incorrect asserts in circuit_get_newest() svn:r876 Roger Dingledine2003-12-03
* simplify: options.OnionRouter==1 iff options.ORPort>0•••svn:r857 Roger Dingledine2003-11-20
* bugfix and cleanups•••svn:r848 Roger Dingledine2003-11-19