a) packet_socket_linux.c --> add #include <linux/sockios.h>
b) Makefile.common --> add to CFLAGS switch -Wno-address-of-packed-member
c) eliminate collision with system gettid() by renaming run_system_call.c:
52c52
< static pid_t sys_gettid(void)
---
> static pid_t gettid(void)
1889c1889
< state->syscalls->thread_id = sys_gettid();
---
> state->syscalls->thread_id = gettid();
1891c1891
< die_perror("sys_gettid");
---
> die_perror("gettid");
After this all builds clean.
2. Major:
While running locally is all fine - when I try to run it remotely I get ioctl error
ioctl SIOCGIFINDEX: No such device on an ZeroTier interface - which works fine before.
Moreover after the packetdrill run attempt the IP address magically disappears from this interface and nothing I tried (down/up, full net reset etc ...) other then full reboot is able to bring it back.
That is showstopper for me to continue to use this otherwise great tool.
Questions:
* Did anyone managed to build it fine on ubuntu with gcc9.3.0 without the above diffs ?
* Did anyone was able to run it on a LAN ?
* Did anyone try to run over ZeroTier LAN ?
Many thx,
Robert
--
You received this message because you are subscribed to the Google Groups "packetdrill" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packetdrill...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packetdrill/CA%2Bb%2BER%3D_HaBRQqKjcVdMHZwtEekq2kg2ie33oUi2H%3D6BA6Tx5Q%40mail.gmail.com.