#
70703aa9 |
| 03-Mar-2025 |
acazuc <acazuc@acazuc.fr> |
netinet: allow per protocol random IP id control, single out IPSEC
A globally enabled random IP id generation maybe useful in most IP contexts, but it may be unnecessary in the case of IPsec encapsu
netinet: allow per protocol random IP id control, single out IPSEC
A globally enabled random IP id generation maybe useful in most IP contexts, but it may be unnecessary in the case of IPsec encapsulated packets because IPsec can be configured to use anti-replay windows.
This commit adds a new net.inet.ipsec.random_id sysctl to control whether or not IPsec packets should use random IP id generation.
Rest of the protocols/modules are still controlled by the global net.inet.ip.random_id, but can be easily augmented with a knob.
Reviewed by: glebius Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D49164
show more ...
|
#
532106f7 |
| 22-Feb-2025 |
Gleb Smirnoff <glebius@FreeBSD.org> |
netinet: use in_broadcast() inline
There should be no functional change.
Reviewed by: rrs, markj Differential Revision: https://reviews.freebsd.org/D49088
|
Revision tags: release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
#
ce20b48a |
| 24-Oct-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve debug output
MFC after: 3 days
|
Revision tags: release/13.4.0, release/14.1.0 |
|
#
b67716dd |
| 10-May-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: store heartbeat creation time as time_t Reported by: Coverity Scan CID: 1493087 MFC after: 3 days
|
#
e187fa56 |
| 08-May-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: fix sctp_sendall() when an mbuf chain is provided
In this case uio is NULL, which needs to be checked and m must be copied into the sctp_copy_all structure. Reported by: Coverity Scan CID: 14
sctp: fix sctp_sendall() when an mbuf chain is provided
In this case uio is NULL, which needs to be checked and m must be copied into the sctp_copy_all structure. Reported by: Coverity Scan CID: 1400449 MFC after: 3 days
show more ...
|
#
3d40cc7a |
| 08-May-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: add missing check
If memory allocation fails, m is NULL. Since this is possible, check for it. Reported by: Coverity Scan CID: 1086866 MFC after: 3 days
|
Revision tags: release/13.3.0 |
|
#
644cffe6 |
| 24-Feb-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve sending of packets containing an INIT ACK chunk
If the peer announced support of zero checksums, do so when sending packets containing an INIT ACK chunk.
MFC after: 1 week
|
#
533faf21 |
| 23-Feb-2024 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve consistency
MFC after: 1 week
|
Revision tags: release/14.0.0 |
|
#
c3179e66 |
| 18-Aug-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: cleanup cdefs.h include
|
#
685dc743 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
c6207881 |
| 28-Jul-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: keep sb_acc and sb_ccc in sync
PR: 260116 MFC after: 1 week
|
#
52640d61 |
| 23-Jul-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: update zero checksum support
Implement support for the error detection method identifier. MFC after: 2 weeks
|
#
7ea8d027 |
| 20-Jun-2023 |
Richard Scheffenegger <rscheff@FreeBSD.org> |
Update various sys/netinet source files to conform with the style(9) guide on how to label FALLTHOUGH in switch statements.
No functional chance.
Reviewed By: tuexen, cc, #transport Sponsored by:
Update various sys/netinet source files to conform with the style(9) guide on how to label FALLTHOUGH in switch statements.
No functional chance.
Reviewed By: tuexen, cc, #transport Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D40622
show more ...
|
#
04ede367 |
| 03-May-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: only start shutdown guard timer when sending SHUTDOWN chunk
The intention is to protect a malicious peer not following the shutdown procedures.
MFC after: 1 week
|
Revision tags: release/13.2.0 |
|
#
48345048 |
| 18-Mar-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: fix typo in assignment
|
#
6026b45a |
| 15-Mar-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve negotiation of zero checksum feature
Enforce consistency between announcing 0-cksum support and actually using it in the association. The value from the inp when the INIT ACK is sent m
sctp: improve negotiation of zero checksum feature
Enforce consistency between announcing 0-cksum support and actually using it in the association. The value from the inp when the INIT ACK is sent must be used, not the one from the inp when the cookie is received.
show more ...
|
#
4a2b92d9 |
| 10-Mar-2023 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: initial implementation of draft-tuexen-tsvwg-sctp-zero-checksum
|
Revision tags: release/12.4.0 |
|
#
bb995f2e |
| 08-Aug-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve handling of send() calls with no user data`
In particular, don't report EAGAIN on send() calls with no user data, which might trigger a KASSERT in asyc IO.
Reported by: syzbot+3b4dc5d
sctp: improve handling of send() calls with no user data`
In particular, don't report EAGAIN on send() calls with no user data, which might trigger a KASSERT in asyc IO.
Reported by: syzbot+3b4dc5d1d63e9bd01eda@syzkaller.appspotmail.com MFC after: 1 week
show more ...
|
#
9057fedd |
| 25-Jul-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Fix unused variable warning in sctp_output.c
With clang 15, the following -Werror warning is produced:
sys/netinet/sctp_output.c:9367:33: error: variable 'cnt_thru' set but not used [-Werror,-W
Fix unused variable warning in sctp_output.c
With clang 15, the following -Werror warning is produced:
sys/netinet/sctp_output.c:9367:33: error: variable 'cnt_thru' set but not used [-Werror,-Wunused-but-set-variable] int no_fragmentflg, bundle_at, cnt_thru; ^
The 'cnt_thru' variable was in sctp_output.c when it was first added, but appears to have been a debugging aid that has never been used, so remove it.
MFC after: 3 days
show more ...
|
#
ee9ee699 |
| 08-Jun-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: remove book keeping not needed anymore
MFC after: 3 days
|
#
ad6ae52d |
| 08-Jun-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: cleanup, no functional change
MFC after: 3 days
|
#
2646cd08 |
| 28-May-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: use a consistent view of the send parameters
Reported by: syzbot+e26628a755f78bacff16@syzkaller.appspotmail.com MFC after: 3 days
|
#
e2ceff30 |
| 28-May-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: ignore SCTP_SENDALL flag on 1-to-1 style sockets
MFC after: 3 days
|
#
64b297e8 |
| 28-May-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: improve handling of send() when association is shutdown
Accept send() calls only when the association is not being shut down or the expicit message EOR mode is used and the application provide
sctp: improve handling of send() when association is shutdown
Accept send() calls only when the association is not being shut down or the expicit message EOR mode is used and the application provides follow-up data.
Reported by: syzbot+341e9ebd9d24ca7dc62a@syzkaller.appspotmail.com MFC after: 3 days
show more ...
|
#
f21168e6 |
| 28-May-2022 |
Michael Tuexen <tuexen@FreeBSD.org> |
sctp: cleanup of error paths
MFC after: 3 days
|