Skip to content

Add support for translating IPv4/UDP packets with zero checksum, leaving the checksum as zero. #446

Description

@jivanpal

RFC 8200 section 8.1 cites RFC 6936, making an exception for the treatment of IPv4 packets containing a UDP datagram with zero checksum, when such packets are to be translated to IPv6. In particular:

As an exception to the default behavior, protocols that use UDP as a tunnel encapsulation may enable zero-checksum mode for a specific port (or set of ports) for sending and/or receiving. Any node implementing zero-checksum mode must follow the requirements specified in "Applicability Statement for the Use of IPv6 UDP Datagrams with Zero Checksums" [RFC6936].

Tayga has recently (about a year ago, in version 0.9.5) implemented this as the option udp-cksum-mode-fwd, permitting use cases such as the routing of zero-checksum IPv4/UDP datagrams (such as used in VoWiFi ePDG tunnels/encapsulation) over 464XLAT connections where Tayga acts as the PLAT.

It may be desirable to add a similar option to Jool, e.g. called forward-udp-checksum-zero (named analogously with the existing option amend-udp-checksum-zero), perhaps taking a list of UDP port numbers as an argument.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions