Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Schultz
de0ffd5153 properly handle a DTLS handshake failure
early DTLS handshake failures would not terminate the read
loop and cause the remaining handshake bytes to be feed to
packet reader, causing an error assertion.

Rework the main read loop to terminate it when the read
event is not longer active and stop the read event on
handshake failure.

Also, make the DTLS handshake erorr message a bit more readable
by appending the WolfSSL error message to it.

Fixes issue #8.
2016-08-17 15:18:35 +02:00
Andreas Schultz
29ed6544c5 switch everything to new log API and drop old one 2016-03-30 14:47:57 +02:00
Andreas Schultz
667d7a59e7 transition to WolfSSL API
Rename all remaining CyaSSL API references to WolfSSL.
Newer WolfSSL have significant DTLS fixes and security
improvements. Continuing to support old CyaSSL releases
would impact the perfomance of encrypted WTP sessions.
2016-03-07 15:32:36 +01:00
Andreas Schultz
93cb64ca6f convert (partially) to wolfssl 2016-02-05 17:33:57 +01:00
vemax78
2894b2c7aa Fix error management to send socket functions 2014-12-27 18:45:09 +01:00
vemax78
8d9985fdea The capwap data channel migrated from userspace to kernalspace 2014-09-10 21:58:23 +02:00
vemax78
3573dd4251 Removing the OpenSSL library for CyaSSL.
OpenSSL license was not compatible with the GPL license.
2014-05-15 21:43:21 +02:00
vemax78
127d2f944c Removed obsolete functions 2014-04-09 18:45:22 +02:00
vemax78
72dc064a23 Fix warning "value computed is not used" when call BIO_dgram_get_peer and
BIO_dgram_set_peer.

Issue signaled by Udaya Bhaskar Reddy Panditi
2014-03-16 12:48:40 +01:00
vemax78
3147abc9bc Before create new session check if receive DTLS Client Hello 2013-10-21 18:44:37 +02:00
vemax78
d34e98fc2c Implicitly inserted capwap_outofmemory() into the capwap_alloc().
capwap_alloc() can never return NULL.
2013-08-18 19:07:19 +02:00
vemax78
deb453f0be Fix dtls 2013-08-05 21:35:03 +02:00
vemax78
16fe0bb6bd Enable presharedkey SSL 2013-05-27 23:10:49 +02:00
vemax78
6c55b4d71f Improve memory administration for tx/rx packet manager 2013-05-27 21:33:23 +02:00
vemax78
8df566f36e fix thread-safe openssl 2013-05-23 22:38:48 +02:00
vemax78
cc630c36ae improve ssl 2013-05-05 19:25:58 +02:00
vemax78
7dd6d43954 First commit 2013-05-01 14:52:55 +02:00