aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
Commit message (Collapse)AuthorAge
* ok, i'm not allowed to say that there. oh well.Roger Dingledine2006-07-04
| | | | svn:r6720
* fix a misleading function commentRoger Dingledine2006-07-04
| | | | svn:r6717
* if we're the server-side of the tls and there are problems,Roger Dingledine2006-07-04
| | | | | | | don't yell as loudly. svn:r6716
* and now the exciting part: there is now no such thing as doingRoger Dingledine2006-06-07
| | | | | | | a client-only tls, that is, one with no certs. svn:r6558
* simplify the tortls api: we only support being a "server", thatRoger Dingledine2006-06-07
| | | | | | | | | | is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557
* looks like we missed a piece of the 0.1.1.9 paranoia code.Roger Dingledine2006-06-07
| | | | | | | hopefully this change is a no-op. svn:r6556
* if we're a server and some peer has a broken tls certificate, don'tRoger Dingledine2006-05-26
| | | | | | | shout about it unless we want to hear about protocol violations. svn:r6507
* Claim a commonname of Tor, rather than TOR, in tls handshakes.Roger Dingledine2006-05-24
| | | | | | | Maybe this will help us win the war of names. svn:r6489
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* Start the process of converting warn to log_warn and so on.Roger Dingledine2006-02-13
| | | | | | | | | This is needed because Windows already has an err() that we can't clobber. And we need to be able to make the log functions a macro so we can print the function's name in the log entry. svn:r6000
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Split 0119_PARANOIA into 0119_PARANOIA_[ABC]. A is "this is suspicious, and ↵Nick Mathewson2006-01-17
| | | | | | we have not tried running without this yet". B is "this is suspicious, but the last time we tested, it was okay." C is "How could this possibly be the cause?" svn:r5840
* Add a (diabled by default) option in crypto.h to disable most of the ↵Nick Mathewson2006-01-10
| | | | | | interesting crypto-related changes made on 0.1.1.9. This will help hunt bug 234. svn:r5777
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Hm; looks like the callback business was unnecessary, since DHparams_dup() ↵Nick Mathewson2005-11-14
| | | | | | copies dh->length. svn:r5372
* Use a callback to set our DH parameters; set SSL_OP_SINGLE_DH_USE.Nick Mathewson2005-11-14
| | | | svn:r5371
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson2005-10-25
| | | | | | domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
* Check for even more windows version flags, and note any we do not recognize.Nick Mathewson2005-10-24
| | | | svn:r5297
* Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson2005-10-18
| | | | | | of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
* Downgrade a few INFO level logs to DEBUG again. Also add two or three newPeter Palfrader2005-10-17
| | | | | | | | logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263
* start the process of reducing clutter in server logsRoger Dingledine2005-10-17
| | | | svn:r5253
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Never call free() on tor_malloc()d memory. This is unlikely to be our ↵Nick Mathewson2005-09-30
| | | | | | current leak, but it may help dmalloc work. svn:r5168
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* put quotes around user-supplied strings so they are more likely toRoger Dingledine2005-08-26
| | | | | | | realize if they add bad characters (like quotes) to the torrc svn:r4844
* Try to resolve another reported solaris x86 warningNick Mathewson2005-08-12
| | | | svn:r4771
* Appease the hungry God of GCC: it hates K&R style unspecified args!Nick Mathewson2005-06-21
| | | | svn:r4470
* Load hardware acceleration options when/where available. Can anybody test this?Nick Mathewson2005-06-20
| | | | svn:r4467
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* Apparently, ASN1 failures are not treated as SSL connection errors, but are ↵Nick Mathewson2005-04-23
| | | | | | just general OpenSSL errors. Or something. Anyway, bulletproof tor_tls_handshake. svn:r4098
* LOG_ERR is for when you're planning to die.Roger Dingledine2005-04-23
| | | | svn:r4087
* Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for ↵Nick Mathewson2005-04-23
| | | | | | TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.) svn:r4085
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* add a tor_tls_is_server method to remember if conn->tlsRoger Dingledine2005-03-31
| | | | | | | was an initiator or a receiver svn:r3931
* Try a little harder to avoid openssl SSL* double-free reports.Nick Mathewson2005-02-28
| | | | svn:r3710
* give a better warning when tor points at an https server.Nick Mathewson2005-02-28
| | | | svn:r3706
* Be specific about which "illegal character" we just saw in the cert.Nick Mathewson2005-02-25
| | | | svn:r3699
* Patch to localtime/gmtime handling: use the _r variants where available. ↵Nick Mathewson2005-02-22
| | | | | | Use mutexes to fake _r where necessary. Make mutexes no-ops where no threading is enabled. svn:r3653
* Free tls resources on exit tooNick Mathewson2005-02-11
| | | | svn:r3615
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244
* Fix some memory leaks and unlikely segfaultsNick Mathewson2004-12-07
| | | | svn:r3103
* Fix leakable rsa keyNick Mathewson2004-12-07
| | | | svn:r3099
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Clean up some logging and interfacesNick Mathewson2004-11-23
| | | | svn:r2945