Added SCTP handling for masquerading
authorRick van Rein <rick@openfortress.nl>
Sun, 24 Sep 2017 22:52:24 +0000 (00:52 +0200)
committerRick van Rein <rick@openfortress.nl>
Sun, 24 Sep 2017 22:52:24 +0000 (00:52 +0200)
commit8a6f4876f70be034987673bd0337f5fcd36b4bae
tree9fc109418a0850e0274fa876750457909ebe7b06
parentfa270756d4efe075da878eaacbde286b3e7d9f87
Added SCTP handling for masquerading
This was easier than expected... since masquerading changes an address,
but not the SCTP common header and further SCTP details, it does not
[seem to] pass into the SCTP checksum, as that uses no pseudo IP header AFAIK.
So, the [complicating] CRC-32 checksum computation need not be redone :-)
There is a need to update UDP signatures, also for an SCTP tunnel, and when
SCTP is the IPv6 payload there should be no checksum updated anywhere.
[We currently have too much code as a result of that, for sctp_offset.]
6bed4router.c