oscserv error: "could not determine the owner of received UDP packet"

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Nov 17 10:51:21 PST 2014


On Mon, 2014-11-17 at 18:39 +0000, David Woodhouse wrote:
> On Sat, 2014-11-15 at 16:03 +0100, Nikos Mavrogiannopoulos wrote:
> > +				if (vpninfo->dtls_session_id_set) {
> > +					if (memcmp(vpninfo->dtls_session_id, dtls_session_id, 32) != 0) {
> > +						if (vpninfo->dtls_state != DTLS_DISABLED) {
> > +							dtls_close(vpninfo);
> > +							vpninfo->dtls_state = DTLS_SLEEPING;
> > +							vpninfo->new_dtls_started = 0;
> > +						}
> > +					}
> 
> Couldn't we just call dtls_reconnect() here?

Not sure. That would start the DTLS connection while parsing the headers
and that didn't seem quite right at the moment.






More information about the openconnect-devel mailing list