Jan Vidar Krey
7706e1cb8a
Fix copyright year.
2014-05-14 11:39:18 +02:00
Jan Vidar Krey
52211a6bac
Updated copyright year.
2013-03-22 20:00:40 +01:00
Jan Vidar Krey
f25015927a
Clean up white space.
2013-03-22 20:00:40 +01:00
Jan Vidar Krey
50912bdf75
More work on splitting out OpenSSL specific bits.
2012-10-15 20:39:03 +02:00
Jan Vidar Krey
f20c42d05f
Wrapped everything OpenSSL related in a SSL_USE_OPENSSL check macro.
2012-10-02 23:59:11 +02:00
Yorhel
b9005b1724
core/probe.c: Fix TLS probe when handshake version != SSL version
...
GnuTLS sends a handshake with SSL 3.0 (0x0300) in the outer packet, but
mentions TLS 1.2 (0x0303) in the Client Hello. There's no real need for
uhub to validate these fields, as OpenSSL should do that itself already.
Just use the version mentioned in Client Hello for logging output.
2012-06-02 14:46:47 +02:00
Jan Vidar Krey
3a39a36fbb
Fix for bug #166 - TLS crash.
2011-11-29 10:19:43 +01:00
Jan Vidar Krey
169b8a4a75
Added option to redirect from adc:// to adcs:// if tls is required.
2011-08-16 12:11:04 +02:00
Jan Vidar Krey
474e2be308
Fix stupid mistake.
2011-08-16 12:06:44 +02:00
Jan Vidar Krey
3353049ae3
Several SSL/TLS related memory leak fixes.
2011-08-16 12:06:17 +02:00
Jan Vidar Krey
77faac0494
Fixed some minor issues found during code review.
2010-05-25 22:47:30 +02:00
Jan Vidar Krey
0de66286fa
Partially fix bug #117 - tls_require ignored entirely in 0.3.0 released
...
If tls_require is enabled then the hub will simply close the connection if a
user connects without TLS.
In the future we should redirect the user either to another server or to the adcs server.
2010-02-15 19:00:48 +01:00
Jan Vidar Krey
21a5981905
Make sure start_listening_socket does everything, this will lead the way to multiple listen ports.
2010-01-21 17:31:55 +01:00
Jan Vidar Krey
f84073f7cc
Various fixes for epoll handling without libevent.
...
This should take care of most compile issues as well as busy loops caused by unhandled recv() calls returning 0 and general cleanups.
2010-01-19 17:52:58 +01:00
Jan Vidar Krey
1c58a85de1
More work on epoll.
2010-01-17 23:00:28 +01:00
Jan Vidar Krey
f35b2c35cb
Fix some compile errors.
2009-12-14 16:17:59 +01:00
Jan Vidar Krey
b3aa5332c8
Work on epoll backend, and removing dependency on libevent.
2009-12-10 23:12:04 +01:00
Jan Vidar Krey
53536f191d
Crash fix.
2009-11-21 11:47:26 +01:00
Jan Vidar Krey
2526c8a9ed
Silly compile error.
2009-11-18 17:43:11 +01:00
Jan Vidar Krey
eb7bec585e
Fix problems with write events not being processed due to a read event taking presendence.
...
Conflicts:
src/core/netevent.c
2009-11-18 17:40:23 +01:00
Jan Vidar Krey
066b3f5243
Fix protocol probe. Will detect ADC and TLS handshake - any other request
...
will simply cause the hub to close the connection.
Conflicts:
src/core/netevent.c
src/core/probe.c
2009-11-18 17:38:25 +01:00
Jan Vidar Krey
e6cc47070c
A few minor TLS fixes
2009-10-09 21:38:14 +02:00
Jan Vidar Krey
0c5d98c671
TLS compile and crash fixes.
2009-10-09 21:11:11 +02:00
Jan Vidar Krey
2910c571b0
Fix protocol probe. Will detect ADC and TLS handshake - any other request
...
will simply cause the hub to close the connection.
Fix problems with write events not being processed due to a read event taking presendence.
Fix bug #86 : Windows does not have "getrlimit()".
2009-10-08 23:16:15 +02:00