Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Jool should whine when a non-zero suffix is inserted to the IPv6 pool. #77
This is how it normally goes:
If a IPv4 packet with destination address 192.0.2.1 arrives, Jool will translate it into a packet with destination address 64:192.0.2.1:: as expected.
That might give the user the impression that if s/he does this,
then the same address will be translated into 64:192.0.2.1::1.
However, RFC 6052 says
"the remaining bits of the address constitute the suffix. These bits are reserved for future extensions and SHOULD be set to zero."
so the address is STILL supposed to be translated into 64:192.0.2.1::.
Jool does that correctly, but the fact that it allows the user to insert the non-zero suffix (and still prints it when the userspace app requests the IPv6 pool) is confusing.
So we should bounce back the suffix to the user and force him/her to input a "suffixless prefix".