Skip to content

Coexistence of SIIT and NAT64 on the same server#451

Open
Dando-Real-ITA wants to merge 6 commits intoNICMx:mainfrom
Dando-Real-ITA:main
Open

Coexistence of SIIT and NAT64 on the same server#451
Dando-Real-ITA wants to merge 6 commits intoNICMx:mainfrom
Dando-Real-ITA:main

Conversation

@Dando-Real-ITA
Copy link
Copy Markdown

I was trying to create a bidrectional tunnel between an IPv6 only subnet and a IPv4 only subnet, by using NAT64 with pool6 A and SIIT with pool6 B + EAMT. On the server, only the first installed instance installed was running, no matter the type.

The pull has the following changes:

  • In ttpcomm_translate_inner_packet, allow VERDICT_UNTRANSLATABLE to pass through
  • Make xlator_find_netfilter instance type aware, by using the priv field of the hooks
  • Added multiple logs instance aware that helped me find the cause
  • Added an offset to SIIT priority, so that it does not try to translate with pool6 before NAT64 had a chance to match the packet

After rebuilding the kernel mods, I was able to achieve bidirectional communication using the two different pool6 and the logs were listing both instance types running

The commits were created with the help of github copilot

Copilot AI and others added 6 commits April 25, 2026 03:39
…d_netfilter

Agent-Logs-Url: https://github.com/Dando-Real-ITA/Jool/sessions/43ba4fb6-57fe-4de3-b7e9-655d811f0e85

Co-authored-by: Dando-Real-ITA <3657228+Dando-Real-ITA@users.noreply.github.com>
…-tagging

Filter netfilter hook lookups by translator type (NAT64 vs SIIT)
…RANSLATABLE no longer dropped

Agent-Logs-Url: https://github.com/Dando-Real-ITA/Jool/sessions/03aef55a-c14b-4186-8534-e81730770eaa

Co-authored-by: Dando-Real-ITA <3657228+Dando-Real-ITA@users.noreply.github.com>
…n-issues

Add hook-level debug logs and guarantee NAT64 runs before SIIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants