New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIB logging doesn't log UDP and ICMP, only TCP #241

Closed
steffann opened this Issue Mar 4, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@steffann
Contributor

steffann commented Mar 4, 2017

Looking at the logging after a reboot:

root@tr2:~# dmesg | fgrep Jool
[   56.471196] NAT64 Jool: NAT64 Jool v3.5.2.0 module inserted.

root@tr2:~# jool --bib
TCP:
  (empty)
UDP:
  (empty)
ICMP:
  (empty)

Now I trigger TCP, UDP and ICMP. This shows up in the BIB table:

root@tr2:~# jool --bib
TCP:
[Dynamic] 185.54.94.51#11898 - 2a02:a213:a300:9300:8caf:f8ee:2588:6677#57320
  (Fetched 1 entries.)
UDP:
[Dynamic] 185.54.94.50#47022 - 2a02:a213:a300:9300:8caf:f8ee:2588:6677#57681
  (Fetched 1 entries.)
ICMP:
[Dynamic] 185.54.94.49#61371 - 2a02:a213:a300:9300:8caf:f8ee:2588:6677#6678
  (Fetched 1 entries.)

But the logging only shows the TCP entry:

root@tr2:~# dmesg | fgrep Jool
[   56.471196] NAT64 Jool: NAT64 Jool v3.5.2.0 module inserted.
[   88.442538] NAT64 Jool: 2017/3/4 20:50:57 (GMT) - Mapped 2a02:a213:a300:9300:8caf:f8ee:2588:6677#57320 to 185.54.94.51#11898 (TCP)

For some reason UDP and ICMP entries don't show up...

@steffann

This comment has been minimized.

Show comment
Hide comment
@steffann

steffann Mar 4, 2017

Contributor

And I found the missing bits. Patch provided in #242.

Contributor

steffann commented Mar 4, 2017

And I found the missing bits. Patch provided in #242.

@steffann

This comment has been minimized.

Show comment
Hide comment
@steffann

steffann Mar 8, 2017

Contributor

And the fix has already been merged

Contributor

steffann commented Mar 8, 2017

And the fix has already been merged

@steffann steffann closed this Mar 8, 2017

@ydahhrk ydahhrk added this to the 3.5.3 milestone Mar 9, 2017

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