Skip to content
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

1.2.13 break responder? #4

Open
hshh opened this issue Jul 10, 2024 · 3 comments
Open

1.2.13 break responder? #4

hshh opened this issue Jul 10, 2024 · 3 comments

Comments

@hshh
Copy link

hshh commented Jul 10, 2024

After upgrade to 1.2.13 from 1.2.8, pndpd is work incorrectly.

pndpd.conf

responder {
    iface ens18
    filter 3333::/112
}

debug log

time=2024-07-10T19:23:48.415Z level=DEBUG source=pndpd/pndp/listener.go:113 msg="Got packet" packet=3333FF000001229B0D5DA2E586DD6000000000203AFFFE80000000000000209B0DFFFE5DA2E5FF0200000000000000000001FF0000018700153000000000260552C00001062644440000000000010101229B0D5DA2E5 interface=ens18 type=1 "source MAC"=22:9B:D:5D:A2:E5 "source IP"=fe80::209b:dff:fe5d:a2e5 "destination IP"=ff02::1:ff00:1 "requested IP"=3333::1
time=2024-07-10T19:23:48.416Z level=DEBUG source=pndpd/pndp/responder.go:90 msg="Responding for whitelisted IP" ip=3333::1
time=2024-07-10T19:23:48.416Z level=DEBUG source=pndpd/pndp/responder.go:109 msg="Sending packet" type=0 dest=ff02::1:ff00:1 interface=ens18
time=2024-07-10T19:23:49.431Z level=DEBUG source=pndpd/pndp/listener.go:113 msg="Got packet" packet=3333FF000001229B0D5DA2E586DD6000000000203AFFFE80000000000000209B0DFFFE5DA2E5FF0200000000000000000001FF0000018700153000000000260552C00001062644440000000000010101229B0D5DA2E5 interface=ens18 type=1 "source MAC"=22:9B:D:5D:A2:E5 "source IP"=fe80::209b:dff:fe5d:a2e5 "destination IP"=ff02::1:ff00:1 "requested IP"=3333::1
time=2024-07-10T19:23:49.431Z level=DEBUG source=pndpd/pndp/responder.go:90 msg="Responding for whitelisted IP" ip=3333::1
time=2024-07-10T19:23:49.431Z level=DEBUG source=pndpd/pndp/responder.go:109 msg="Sending packet" type=0 dest=ff02::1:ff00:1 interface=ens18
time=2024-07-10T19:23:50.451Z level=DEBUG source=pndpd/pndp/listener.go:113 msg="Got packet" packet=3333FF000001229B0D5DA2E586DD6000000000203AFFFE80000000000000209B0DFFFE5DA2E5FF0200000000000000000001FF0000018700153000000000260552C00001062644440000000000010101229B0D5DA2E5 interface=ens18 type=1 "source MAC"=22:9B:D:5D:A2:E5 "source IP"=fe80::209b:dff:fe5d:a2e5 "destination IP"=ff02::1:ff00:1 "requested IP"=3333::1
time=2024-07-10T19:23:50.451Z level=DEBUG source=pndpd/pndp/responder.go:90 msg="Responding for whitelisted IP" ip=3333::1
time=2024-07-10T19:23:50.451Z level=DEBUG source=pndpd/pndp/responder.go:109 msg="Sending packet" type=0 dest=ff02::1:ff00:1 interface=ens18
@Kioubit
Copy link
Owner

Kioubit commented Jul 11, 2024

I am having trouble reproducing this and there is no obvious change between 1.2.8 and 1.2.13 in this part of the code that would cause this. Did you compile your own version or did you download the pre-compiled version?

@hshh
Copy link
Author

hshh commented Jul 11, 2024

1.2.12, it works.
1.2.13, not work.
Test with pre-compiled version.

@Kioubit
Copy link
Owner

Kioubit commented Jul 14, 2024

I am not able to reproduce it with the 1.2.13 pre-compiled binary. Are you able to reproduce it? If so, do you have a tcpdump capture while the program is running?

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

No branches or pull requests

2 participants