]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve compliance with RFC 4895 and RFC 6458.
authorMichael Tuexen <tuexen@FreeBSD.org>
Wed, 6 Jun 2018 19:27:06 +0000 (19:27 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Wed, 6 Jun 2018 19:27:06 +0000 (19:27 +0000)
commitff34bbe9c237f0d16a8535b718f0578e2fb7ad87
tree29a4d268ecce24780d239201748264b71adde21b
parent69b96cd3008d003f21c874f80746bc1e40840e31
Improve compliance with RFC 4895 and RFC 6458.

Silently dicard SCTP chunks which have been requested to be
authenticated but are received unauthenticated no matter if support
for SCTP authentication has been negotiated. This improves compliance
with RFC 4895.

When the application uses the SCTP_AUTH_CHUNK socket option to
request a chunk to be received in an authenticated way, enable
the SCTP authentication extension for the end-point. This improves
compliance with RFC 6458.

Discussed with: Peter Lei
MFC after: 3 days
sys/netinet/sctp_input.c
sys/netinet/sctp_usrreq.c