Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | cleanups, bugfixes, more verbose logs | Roger Dingledine | 2003-09-24 |
| | | | | | | | | | | | | | | | | | | | Fixed up the assert_*_ok funcs some (more work remains) Changed config so it reads either /etc/torrc or the -f arg, never both Finally tracked down a nasty bug with our use of tls: It turns out that if you ask SSL_read() for no more than n bytes, it will read the entire record from the network (and maybe part of the next record, I'm not sure), give you n bytes of it, and keep the remaining bytes internally. This is fine, except our poll-for-read looks at the network, and there are no bytes pending on the network, so we never know to ask SSL_read() for more bytes. Currently I've hacked it so if we ask for n bytes and it returns n bytes, then it reads again right then. This will interact poorly with our rate limiting; we need a cleaner solution. svn:r481 | ||
* | integrate assert_connection_ok() checks | Roger Dingledine | 2003-09-23 |
| | | | | svn:r479 | ||
* | call it tor, not or | Roger Dingledine | 2003-09-22 |
| | | | | svn:r478 | ||
* | it's safe to do parallel directory fetches/uploads | Roger Dingledine | 2003-09-22 |
| | | | | svn:r477 | ||
* | get network/host order working right again for socks4 | Roger Dingledine | 2003-09-21 |
| | | | | svn:r476 | ||
* | bugfixes and note missing features | Roger Dingledine | 2003-09-21 |
| | | | | | | | | | | | | | deal with content-length headers better when reading http don't assume struct socks4_info is a packed struct fail the socks handshake if destip is zero flesh out conn_state_to_string() for dir conn fix typo (bug) in connection_handle_read() directory get is now called fetch, post is now upload reopen logs on sighup svn:r475 | ||
* | fix a segfault on truncated log lines | Roger Dingledine | 2003-09-19 |
| | | | | svn:r473 | ||
* | leave the socks handshake on the inbuf until it's complete | Roger Dingledine | 2003-09-18 |
| | | | | | | | | | | | this paves the way for supporting socks5 and other handshakes it also removes those pesky AP-only variables from connection_t also hacked a fix for a bug where some streams weren't ending properly -- maybe because marked connections weren't flushing properly? svn:r472 | ||
* | add in directory 'post' support | Roger Dingledine | 2003-09-17 |
| | | | | svn:r471 | ||
* | phase out non-tls handshake, now that tls is stable. | Roger Dingledine | 2003-09-16 |
| | | | | svn:r470 | ||
* | bugfixes and refactorings | Roger Dingledine | 2003-09-16 |
| | | | | svn:r468 | ||
* | More fine-grained logging messages on ZeroReturn/Syscall error cases | Nick Mathewson | 2003-09-16 |
| | | | | svn:r467 | ||
* | Make sequential ACI selection logic handle HIGHER/LOWER | Nick Mathewson | 2003-09-16 |
| | | | | svn:r466 | ||
* | Use EXIT properly in assert_connection_ok | Nick Mathewson | 2003-09-16 |
| | | | | svn:r465 | ||
* | Add first cut of assert_*_ok functions | Nick Mathewson | 2003-09-16 |
| | | | | svn:r464 | ||
* | Add backend support for multiple logfiles, including console logs. | Nick Mathewson | 2003-09-16 |
| | | | | | | | | | Also optimize logging by formatting messages in memory before sending them through stdio. (It turns out (according to gprof) that logging performance matters.) svn:r463 | ||
* | Add #ifdef'd code (on by default) to allocate ACIs sequentially. | Nick Mathewson | 2003-09-16 |
| | | | | svn:r462 | ||
* | clean up exported api's | Roger Dingledine | 2003-09-16 |
| | | | | svn:r461 | ||
* | refactor connects into connection_connect() | Roger Dingledine | 2003-09-16 |
| | | | | svn:r460 | ||
* | Cipher lists need to be colon separated. Also make initialization more ↵ | Nick Mathewson | 2003-09-15 |
| | | | | | | bulletproof svn:r459 | ||
* | Fix TLS error logging | Nick Mathewson | 2003-09-15 |
| | | | | svn:r458 | ||
* | Log protocol errors | Nick Mathewson | 2003-09-15 |
| | | | | svn:r457 | ||
* | bugfix: onion pending queue now works | Roger Dingledine | 2003-09-14 |
| | | | | | | | and fixed recent memory leak svn:r456 | ||
* | finally tracked down the seg fault | Roger Dingledine | 2003-09-14 |
| | | | | svn:r455 | ||
* | fix the cpuworker circ-had-vanished bug (maybe) | Roger Dingledine | 2003-09-14 |
| | | | | | | | still several (many) tls-related bugs outstanding. svn:r454 | ||
* | fix two more bugs | Roger Dingledine | 2003-09-13 |
| | | | | svn:r452 | ||
* | reshuffle functions for cleaner organization | Roger Dingledine | 2003-09-12 |
| | | | | svn:r451 | ||
* | tls works between routers now too | Roger Dingledine | 2003-09-12 |
| | | | | | | | things are still a bit shaky svn:r450 | ||
* | tls works with onion proxies now. | Roger Dingledine | 2003-09-12 |
| | | | | svn:r449 | ||
* | serious bug in cpuworker. need to think about redesign or how to handle it. | Roger Dingledine | 2003-09-12 |
| | | | | svn:r448 | ||
* | Fix bugs in certificate generation and SSL context creation. Both seem to ↵ | Nick Mathewson | 2003-09-11 |
| | | | | | | work now. svn:r447 | ||
* | update onion router configs for tls | Roger Dingledine | 2003-09-11 |
| | | | | svn:r446 | ||
* | check for funny business from the remote peer | Roger Dingledine | 2003-09-11 |
| | | | | svn:r445 | ||
* | Non-debugging messages are nice to log too | Nick Mathewson | 2003-09-11 |
| | | | | svn:r444 | ||
* | Resolve XXXXs in tortls.c | Nick Mathewson | 2003-09-11 |
| | | | | svn:r443 | ||
* | Simplify some code paths in TLS; cut down on memory leaks; use | Nick Mathewson | 2003-09-11 |
| | | | | | | | reasonable ciphers if not everyone has OpenSSL 0.9.7. svn:r442 | ||
* | Add router_get_by_pk function; use in connection_tls_finish_handshake. | Nick Mathewson | 2003-09-11 |
| | | | | svn:r441 | ||
* | fix typo that's been bugging me | Roger Dingledine | 2003-09-11 |
| | | | | svn:r440 | ||
* | collect info from peer we just handshaked with | Roger Dingledine | 2003-09-11 |
| | | | | svn:r439 | ||
* | Add certificate verification functions | Nick Mathewson | 2003-09-10 |
| | | | | svn:r438 | ||
* | Make crypto structures private to crypto.c | Nick Mathewson | 2003-09-10 |
| | | | | svn:r437 | ||
* | Add prototypes for functions to check whether the peer certificate is | Nick Mathewson | 2003-09-10 |
| | | | | | | | | valid (if it is present); and to get a public key from a peer certificate (in order to identify the peer). svn:r436 | ||
* | fix confirmed win32 bug | Roger Dingledine | 2003-09-08 |
| | | | | svn:r435 | ||
* | tls infrastructure now in place, give or take | Roger Dingledine | 2003-09-08 |
| | | | | svn:r434 | ||
* | another wishlist function for the tls interface | Roger Dingledine | 2003-09-08 |
| | | | | svn:r433 | ||
* | add CertFile, Nickname | Roger Dingledine | 2003-09-08 |
| | | | | | | | | write new certfile if you don't have one already set up a tls context on startup svn:r432 | ||
* | hide the global tls context inside tortls.c | Roger Dingledine | 2003-09-08 |
| | | | | svn:r431 | ||
* | clean up config.c so it doesn't expose as much | Roger Dingledine | 2003-09-08 |
| | | | | svn:r430 | ||
* | more futzing towards tls | Roger Dingledine | 2003-09-07 |
| | | | | | | | not there yet svn:r429 | ||
* | clean read_to_buf more | Roger Dingledine | 2003-09-05 |
| | | | | svn:r428 |