[Ronja] ronjaping doesn't work

Karel Kulhavy twibright at hispeed.ch
Mon Dec 15 16:05:30 GMT 2008


Hello

Has anyone had this problem?

I just tried to run Ronjaping on Linux From Scratch and it said something in the sense that the ip protocol is 4 and should be 0.

The reason: the ping performs an apparently unnecessary
asanity check of the system. On of the checks is getprotobyname("ip") which returns 4 according to /etc/protocols:
ip             4 IP           # IP in IP (encapsulation)         [RFC2003]

However the IPPROTO_IP is 0 according to /usr/include/netinet/in.h:
    IPPROTO_IP = 0,        /* Dummy protocol for TCP.  */

Obviously, in one case some kind of IP over IP encapsulation is meant and in the other plain IP protocol and that's why it doesn't
work.

I just took this test out and then it runs. I plan to commit it into
Ronja and update it online.

Cheers,

Karel



More information about the Ronja mailing list