hipd crash when following tutorial

Bug #1739827 reported by Nathan Dehnel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
Invalid
Undecided
Unassigned

Bug Description

following http://mkomu.kapsi.fi/hipl/manual/HOWTO.html#ch_basictest

gentooserver ~ # ifconfig eno1 inet6 add 3ffe::2/64
gentooserver ~ # hipd
info(libhipl/hipd.c:304@hipd_main): hipd pid=13471 starting
error(libhipl/init.c:338@probe_kernel_modules): Ignoring failure to load dummy!
error(libcore/gpl/nlink.c:1312@do_chflags): SIOCGIFFLAGSNo such device
error(libcore/gpl/nlink.c:1312@do_chflags): SIOCGIFFLAGSNo such device
error(libhipl/hipd.c:311@hipd_main): hipd_init() failed!
error(libcore/gpl/nlink.c:1312@do_chflags): SIOCGIFFLAGSNo such device
info(libhipl/init.c:1014@hip_exit): Uninitializing RVS / HIP relay database and whitelist.
info(libhipl/init.c:1019@hip_exit): hip_raw_sock_input_v6
info(libhipl/init.c:1024@hip_exit): hip_raw_sock_output_v6
info(libhipl/init.c:1029@hip_exit): hip_raw_sock_input_v4
info(libhipl/init.c:1034@hip_exit): hip_raw_sock_output_v4
info(libhipl/init.c:1039@hip_exit): hip_nat_sock_input_udp
info(libhipl/init.c:1044@hip_exit): hip_nat_sock_output_udp
info(libhipl/init.c:1066@hip_exit): hip_nl_ipsec.fd
info(libhipl/init.c:1070@hip_exit): hip_nl_route.fd
info(libhipl/hipd.c:371@hipd_main): hipd pid=13471 exiting, retval=1

gentooserver ~ # hipconf daemon get ha all
Sending user message 22 to HIPD on socket 3
Sent 40 bytes
Waiting to receive daemon info.
recv() peek error (is the daemon running?)
Failed to send user message to the HIP daemon.
send recv info
Failed to send user message.
(Check syntax for hipconf. Is the daemon running or root privilege needed?)
Error: Cannot configure the daemon.
gentooserver ~ # ip xfrm state
gentooserver ~ # uname -a
Linux gentooserver 4.12.12-gentoo #1 SMP Mon Nov 13 22:50:24 CST 2017 x86_64 Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz GenuineIntel GNU/Linux
gentooserver ~ # lsb_release -a
LSB Version: n/a
Distributor ID: Gentoo
Description: NAME=Gentoo
Release: n/a
Codename: n/a
gentooserver ~ # cat /etc/hip/hipd.conf
cat: /etc/hip/hipd.conf: No such file or directory
gentooserver ~ # cat /etc/selinux/config
cat: /etc/selinux/config: No such file or directory
gentooserver ~ # iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
gentooserver ~ # ip6tables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
gentooserver ~ # ps axu | grep hip
root 13527 0.0 0.0 10616 828 pts/0 S+ 13:55 0:00 grep --colour=auto hip
gentooserver ~ # ps axu | grep dns
root 13530 0.0 0.0 10616 920 pts/0 S+ 13:55 0:00 grep --colour=auto dns

Nathan Dehnel (ncdehnel)
description: updated
Revision history for this message
Pupu Toivonen (scolphoy) wrote :

error(libhipl/init.c:338@probe_kernel_modules): Ignoring failure to load dummy!
error(libcore/gpl/nlink.c:1312@do_chflags): SIOCGIFFLAGSNo such device

Do you have the Dummy Network Interface support in the kernel?

hipd fails to work without that. The dummy network interface is the "plaintext" interface hipd uses to capture the plain packets that need to be encapsulated and sent out, and where it pushes the received packets after they have been decapsulated.

Revision history for this message
Nathan Dehnel (ncdehnel) wrote :

You are right. That was the issue. Thanks.

Changed in hipl:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.