aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
Commit message (Collapse)AuthorAge
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* r15088@tombo: nickm | 2007-11-30 23:47:29 -0500Nick Mathewson2007-12-01
| | | | | | | Add support to get a callback invoked when the client renegotiate a connection. Also, make clients renegotiate. (not enabled yet, until they detect that the server acted like a v2 server) svn:r12623
* r15087@tombo: nickm | 2007-11-30 22:32:26 -0500Nick Mathewson2007-12-01
| | | | | | | Start getting freaky with openssl callbacks in tortls.c: detect client ciphers, and if the list doesn't look like the list current Tors use, present only a single cert do not ask for a client cert. Also, support for client-side renegotiation. None of this is enabled unless you define V2_HANDSHAKE_SERVER. svn:r12622
* r16669@catbus: nickm | 2007-11-14 14:50:03 -0500Nick Mathewson2007-11-14
| | | | | | | When we complete an OR handshake, set up all the internal fields and mark the connection as open. svn:r12495
* r16523@catbus: nickm | 2007-11-07 11:35:49 -0500Nick Mathewson2007-11-07
| | | | | | | Improve "tls error. breaking" message a little. svn:r12411
* r16455@catbus: nickm | 2007-11-06 12:48:00 -0500Nick Mathewson2007-11-06
| | | | | | | Parse CERT cells and act correctly when we get them. svn:r12396
* r16432@catbus: nickm | 2007-11-05 14:18:57 -0500Nick Mathewson2007-11-05
| | | | | | | Send and parse link_auth cells properly. svn:r12386
* r16413@catbus: nickm | 2007-11-05 13:14:18 -0500Nick Mathewson2007-11-05
| | | | | | | Add functions to encode certificates svn:r12384
* r16411@catbus: nickm | 2007-11-05 11:27:37 -0500Nick Mathewson2007-11-05
| | | | | | | Remember X509 certificates in the context. Store peer/self certificate digests in handshake state. svn:r12382
* r16410@catbus: nickm | 2007-11-05 10:54:29 -0500Nick Mathewson2007-11-05
| | | | | | | Code to remember client_random and server_random values, and to compute hmac using TLS master secret. svn:r12381
* r16285@catbus: nickm | 2007-10-30 17:43:25 -0400Nick Mathewson2007-10-30
| | | | | | | Implement (but do not enable) link connection version negotiation svn:r12286
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson2007-08-08
| | | | | | | Include fewer redundant headers; use the compiler search paths better. svn:r11060
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500Nick Mathewson2007-01-30
| | | | | | | Audit non-const char arguments; make a lot more of them const. svn:r9466
* r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500Nick Mathewson2007-01-15
| | | | | | | Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry. svn:r9355
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500Nick Mathewson2007-01-15
| | | | | | | Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
* r11741@Kushana: nickm | 2006-12-28 22:41:29 -0500Nick Mathewson2006-12-29
| | | | | | | Count TLS bytes accurately: previously, we counted only the number of bytes read or transmitted via tls, not the number of extra bytes used to do so. This has been a lonstanding wart. The fix "Works for me". svn:r9207
* r11566@Kushana: nickm | 2006-12-13 17:46:24 -0500Nick Mathewson2006-12-13
| | | | | | | Try to fix an assert failure in new write limiting code: make buffers.c aware of previous "forced" write sizes from tortls. svn:r9105
* 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
* 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
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* 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
* start the process of reducing clutter in server logsRoger Dingledine2005-10-17
| | | | svn:r5253
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* 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
* 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
* Free tls resources on exit tooNick Mathewson2005-02-11
| | | | svn:r3615
* Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name outNick Mathewson2004-12-22
| | | | | | | of the warning messages. svn:r3199
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Split X509 certificate liveness checks into a separate functionNick Mathewson2004-11-14
| | | | svn:r2873
* oh, and some more in common/Roger Dingledine2004-10-14
| | | | svn:r2483
* Make tor_tls_new variant use alternative (certless) contextNick Mathewson2004-07-22
| | | | svn:r2096
* Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson2004-07-21
| | | | | | behavior svn:r2073
* doxygen markup for common/*.hRoger Dingledine2004-05-10
| | | | svn:r1840
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* Remove spurious semiNick Mathewson2004-04-26
| | | | svn:r1724
* Add a macro to catch unhandled openssl errors.Nick Mathewson2004-04-26
| | | | svn:r1723
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* Document stuff, reduce magic numbers, add emacs magicNick Mathewson2004-04-06
| | | | svn:r1502
* Note discrepency between N bytes transmitted over TLS and actual bandwidth ↵Nick Mathewson2004-01-13
| | | | | | use; add 2 functions to help resolve. svn:r986
* Code to get nicknames from peer certsNick Mathewson2003-10-19
| | | | svn:r627
* shift read_file_to_str() into util.cRoger Dingledine2003-09-28
| | | | svn:r504
* Add function to wrap SSL_pendingNick Mathewson2003-09-27
| | | | svn:r501
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | 'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483