fping ipv6 crashes with exit code 4

42 vues
Accéder directement au premier message non lu

agossi

non lue,
11 juil. 2019, 10:04:2311/07/2019
à fping-users
Hi all,

has someone faced fping6 (3.16) or fping (4.21) crashes when IPv6 shall be used?
IPv4 works well on version 3.16 and on 4.21 only if configured with disabled IPv6.

Are there special dependencies which will make the cross compiled IPv6 executable crash?
What libraries are least needed for correct execution?


Many thanks in advance

agossi

non lue,
12 juil. 2019, 04:56:0412/07/2019
à fping-users
Found the root cause, it is because of

 /* confirm that ICMP is available on this machine */
    if ((proto = getprotobyname("ipv6-icmp")) == NULL)
        crash_and_burn("icmp: unknown protocol");

 if "ipv6-icmp" is not in the /etc/protocols it will segfault.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message