pndpd icon indicating copy to clipboard operation
pndpd copied to clipboard

1.2.13 break responder?

Open hshh opened this issue 1 year ago • 3 comments

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

hshh avatar Jul 10 '24 19:07 hshh

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?

Kioubit avatar Jul 11 '24 13:07 Kioubit

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

hshh avatar Jul 11 '24 16:07 hshh

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?

Kioubit avatar Jul 14 '24 14:07 Kioubit

I had exactly the same issue with 1.2.13. Rolling back to 1.2.12 fixed it for me too. All precompiled versions, x86/64

devastgh avatar Apr 11 '25 20:04 devastgh

Fixed in the latest version

Kioubit avatar Jun 23 '25 01:06 Kioubit