- Add some debug loggin
- Fix copy-pasta bug
- Only handle as an IP change if the IP actually changed.
- Remove debug code.
- Handle DTLS packets with content type of 254 as IP change packets.
- Fix
getConnections
callback.
- Set
selfRestored
property on socket instead of passing through events.
- Include flag in
secureConnection
event indicating the connection was self restored.
- Guard
resumeSession
by checking formbedSocket
.
- Add
resumeSocket
method to server. This allows socket resumption without needing to receive a message.
- Properly unset flags on reset
- Allow undefined buffer receive calls
- Check for valid receive buffer
- Filter obviously invalid packets based on size
- Don't send alerts on any invalid MAC
- Add options to turn on/off sending
close_notify
alerts
- Fix segfault caused by accessing SessionWrap variables directly
- Fix invalid access to
msg.length
onsocket.receive
- Do not consider session resumed unless message is understood
- Add session resumption and renegotiation support
- Emit
connection
event when receiving first message from a source ip/port quartet.
- Handle client reconnecting on the same host/port quartet
- Add null terminating byte for PEM encoded keys
- Fix npm publish
- Increase max content to 768 bytes
- Add time information to debug output
- Add setter for
handshakeTimeoutMin
- Fix
debug
argument - Remove test certs
- Remove public key as an argument because it can be derived from the private key
- Update mbedtls that queues Finished messages in more states for a server
- Handle socket binding errors
- Remove special state checking code
- Update mbedtls that plays nice with GCC
- Return
int
fromDtlsSocket::close
that indicates when a close alert will not be sent. - Use direct form of callbacks from C++
- Fix send callback handling to prevent deadlock
- Fix
publicKeyPEM
property
- Update mbedtls to fix queueing corner cases
- Update mbedtls that queues out-of-sequence handshake messages and has better raw public key support.
- Allow sockets a chance to send closing alerts on server close
- change
DtlsSocket
into astream.Duplex
- add
publicKeyPEM
on the socket to retrieve the public key in PEM format.
- change
socket.address
andsocket.port
tosocket.remoteAddress
andsocket.remotePort
- Initial release