[hipl-users]

  • From: Adrian Alvarez <aralvarez33@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 27 May 2009 17:49:01 +0200

Hello everyone,

I was trying to run the deamon after the recent patch, but the deamon is
crashisng right away.

Here is a copy of the error:

Starting program: /usr/sbin/hipd -k
[Thread debugging using libthread_db enabled]
debug(hipd.c:459@hipd_main): foreground
info(hipd.c:468@hipd_main): hipd pid=17851 starting
debug(init.c:198@hip_set_os_dep_variables): sysname=Linux nodename=vault113
release=2.6.28-11-generic version=#42-Ubuntu SMP Fri Apr 17 01:57:59 UTC
2009 machine=i686
debug(init.c:68@hip_print_sysinfo): version=5.0
debug(init.c:79@hip_print_sysinfo): Printing /proc/cpuinfo
debug(init.c:89@hip_print_sysinfo): processor: 0
debug(init.c:89@hip_print_sysinfo): vendor_id: GenuineIntel
debug(init.c:89@hip_print_sysinfo): cpu family: 6
debug(init.c:89@hip_print_sysinfo): model: 23
debug(init.c:89@hip_print_sysinfo): model name: Intel(R) Core(TM)2 Duo
CPU     E8500  @ 3.16GHz
debug(init.c:89@hip_print_sysinfo): stepping: 6
debug(init.c:89@hip_print_sysinfo): cpu MHz: 3158.773
debug(init.c:89@hip_print_sysinfo): cache size: 6144 KB
debug(init.c:89@hip_print_sysinfo): physical id: 0
debug(init.c:89@hip_print_sysinfo): siblings: 2
debug(init.c:89@hip_print_sysinfo): core id: 0
debug(init.c:89@hip_print_sysinfo): cpu cores: 2
debug(init.c:89@hip_print_sysinfo): apicid: 0
debug(init.c:89@hip_print_sysinfo): initial apicid: 0
debug(init.c:89@hip_print_sysinfo): fdiv_bug: no
debug(init.c:89@hip_print_sysinfo): hlt_bug: no
debug(init.c:89@hip_print_sysinfo): f00f_bug: no
debug(init.c:89@hip_print_sysinfo): coma_bug: no
debug(init.c:89@hip_print_sysinfo): fpu: yes
debug(init.c:89@hip_print_sysinfo): fpu_exception: yes
debug(init.c:89@hip_print_sysinfo): cpuid level: 10
debug(init.c:89@hip_print_sysinfo): wp: yes
debug(init.c:89@hip_print_sysinfo): flags: fpu vme de pse tsc msr pae mce
cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor
ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
tpr_shadodebug(init.c:89@hip_print_sysinfo): w vnmi flexpriority
debug(init.c:89@hip_print_sysinfo): bogomips: 6317.54
debug(init.c:89@hip_print_sysinfo): clflush size: 64
debug(init.c:89@hip_print_sysinfo): power management:
debug(init.c:89@hip_print_sysinfo):
debug(init.c:89@hip_print_sysinfo): processor: 1
debug(init.c:89@hip_print_sysinfo): vendor_id: GenuineIntel
debug(init.c:89@hip_print_sysinfo): cpu family: 6
debug(init.c:89@hip_print_sysinfo): model: 23
debug(init.c:89@hip_print_sysinfo): model name: Intel(R) Core(TM)2 Duo
CPU     E8500  @ 3.16GHz
debug(init.c:89@hip_print_sysinfo): stepping: 6
debug(init.c:89@hip_print_sysinfo): cpu MHz: 3158.773
debug(init.c:89@hip_print_sysinfo): cache size: 6144 KB
debug(init.c:89@hip_print_sysinfo): physical id: 0
debug(init.c:89@hip_print_sysinfo): siblings: 2
debug(init.c:89@hip_print_sysinfo): core id: 1
debug(init.c:89@hip_print_sysinfo): cpu cores: 2
debug(init.c:89@hip_print_sysinfo): apicid: 1
debug(init.c:89@hip_print_sysinfo): initial apicid: 1
debug(init.c:89@hip_print_sysinfo): fdiv_bug: no
debug(init.c:89@hip_print_sysinfo): hlt_bug: no
debug(init.c:89@hip_print_sysinfo): f00f_bug: no
debug(init.c:89@hip_print_sysinfo): coma_bug: no
debug(init.c:89@hip_print_sysinfo): fpu: yes
debug(init.c:89@hip_print_sysinfo): fpu_exception: yes
debug(init.c:89@hip_print_sysinfo): cpuid level: 10
debug(init.c:89@hip_print_sysinfo): wp: yes
debug(init.c:89@hip_print_sysinfo): flags: fpu vme de pse tsc msr pae mce
cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor
ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
tpr_shadodebug(init.c:89@hip_print_sysinfo): w vnmi flexpriority
debug(init.c:89@hip_print_sysinfo): bogomips: 6317.39
debug(init.c:89@hip_print_sysinfo): clflush size: 64
debug(init.c:89@hip_print_sysinfo): power management:
debug(init.c:89@hip_print_sysinfo):
debug(init.c:134@hip_print_sysinfo): Printing lsmod output
debug(init.c:136@hip_print_sysinfo): Module                  Size  Used by
debug(init.c:136@hip_print_sysinfo): binfmt_misc            16776  1
debug(init.c:136@hip_print_sysinfo): ip6_queue              15504  0
debug(init.c:136@hip_print_sysinfo): ip_queue               15504  0
debug(init.c:136@hip_print_sysinfo): bridge                 56340  0
debug(init.c:136@hip_print_sysinfo): stp                    10500  1 bridge
debug(init.c:136@hip_print_sysinfo): bnep                   20224  2
debug(init.c:136@hip_print_sysinfo): sha1_generic           10368  0
debug(init.c:136@hip_print_sysinfo): xfrm6_mode_beet        10496  0
debug(init.c:136@hip_print_sysinfo): xfrm4_mode_beet        10496  0
debug(init.c:136@hip_print_sysinfo): aes_i586               15744  0
debug(init.c:136@hip_print_sysinfo): aes_generic            35880  1
aes_i586
debug(init.c:136@hip_print_sysinfo): des_generic            24832  0
debug(init.c:136@hip_print_sysinfo): cbc                    11648  0
debug(init.c:136@hip_print_sysinfo): crypto_null            11008  0
debug(init.c:136@hip_print_sysinfo): esp4                   14208  0
debug(init.c:136@hip_print_sysinfo): esp6                   14080  0
debug(init.c:136@hip_print_sysinfo): dummy                  10624  0
debug(init.c:136@hip_print_sysinfo): xfrm_user              28800  0
debug(init.c:136@hip_print_sysinfo): ipip                   16644  0
debug(init.c:136@hip_print_sysinfo): ip6_tunnel             21124  0
debug(init.c:136@hip_print_sysinfo): xfrm4_tunnel           10496  0
debug(init.c:136@hip_print_sysinfo): tunnel4                11272  2
ipip,xfrm4_tunnel
debug(init.c:136@hip_print_sysinfo): xfrm6_tunnel           14496  0
debug(init.c:136@hip_print_sysinfo): ip6table_filter        10624  1
debug(init.c:136@hip_print_sysinfo): tunnel6                11144  2
ip6_tunnel,xfrm6_tunnel
debug(init.c:136@hip_print_sysinfo): ip6_tables             20880  1
ip6table_filter
debug(init.c:136@hip_print_sysinfo): iptable_filter         10752  1
debug(init.c:136@hip_print_sysinfo): ip_tables              19472  1
iptable_filter
debug(init.c:136@hip_print_sysinfo): x_tables               23044  2
ip6_tables,ip_tables
debug(init.c:136@hip_print_sysinfo): input_polldev          11912  0
debug(init.c:136@hip_print_sysinfo): video                  25360  0
debug(init.c:136@hip_print_sysinfo): output                 11008  1 video
debug(init.c:136@hip_print_sysinfo): sbp2                   30476  0
debug(init.c:136@hip_print_sysinfo): lp                     17156  0
debug(init.c:136@hip_print_sysinfo): snd_hda_intel         435636  3
debug(init.c:136@hip_print_sysinfo): snd_pcm_oss            46336  0
debug(init.c:136@hip_print_sysinfo): snd_mixer_oss          22656  1
snd_pcm_oss
debug(init.c:136@hip_print_sysinfo): snd_pcm                82948  2
snd_hda_intel,snd_pcm_oss
debug(init.c:136@hip_print_sysinfo): snd_seq_dummy          10756  0
debug(init.c:136@hip_print_sysinfo): snd_seq_oss            37760  0
debug(init.c:136@hip_print_sysinfo): snd_seq_midi           14336  0
debug(init.c:136@hip_print_sysinfo): snd_rawmidi            29696  1
snd_seq_midi
debug(init.c:136@hip_print_sysinfo): snd_seq_midi_event     15104  2
snd_seq_oss,snd_seq_midi
debug(init.c:136@hip_print_sysinfo): snd_seq                56880  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
debug(init.c:136@hip_print_sysinfo): x38_edac               12552  0
debug(init.c:136@hip_print_sysinfo): iTCO_wdt               19108  0
debug(init.c:136@hip_print_sysinfo): snd_timer              29704  2
snd_pcm,snd_seq
debug(init.c:136@hip_print_sysinfo): snd_seq_device         14988  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
debug(init.c:136@hip_print_sysinfo): pcspkr                 10496  0
debug(init.c:136@hip_print_sysinfo): dcdbas                 15264  0
debug(init.c:136@hip_print_sysinfo): edac_core              47404  1
x38_edac
debug(init.c:136@hip_print_sysinfo): iTCO_vendor_support    11652  1
iTCO_wdt
debug(init.c:136@hip_print_sysinfo): ppdev                  15620  0
debug(init.c:136@hip_print_sysinfo): psmouse                61972  0
debug(init.c:136@hip_print_sysinfo): serio_raw              13316  0
debug(init.c:136@hip_print_sysinfo): snd                    62628  15
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
debug(init.c:136@hip_print_sysinfo): soundcore              15200  1 snd
debug(init.c:136@hip_print_sysinfo): snd_page_alloc         16904  2
snd_hda_intel,snd_pcm
debug(init.c:136@hip_print_sysinfo): parport_pc             40100  1
debug(init.c:136@hip_print_sysinfo): parport                42220  3
lp,ppdev,parport_pc
debug(init.c:136@hip_print_sysinfo): usbhid                 42336  0
debug(init.c:136@hip_print_sysinfo): ohci1394               38576  0
debug(init.c:136@hip_print_sysinfo): ieee1394               94660  2
sbp2,ohci1394
debug(init.c:136@hip_print_sysinfo): tg3                   131204  0
debug(init.c:136@hip_print_sysinfo): fbcon                  46112  0
debug(init.c:136@hip_print_sysinfo): tileblit               10752  1 fbcon
debug(init.c:136@hip_print_sysinfo): font                   16384  1 fbcon
debug(init.c:136@hip_print_sysinfo): bitblit                13824  1 fbcon
debug(init.c:136@hip_print_sysinfo): softcursor              9984  1 bitblit
debug(init.c:1001@hip_probe_kernel_modules): Probing for 19 modules. When
the modules are built-in, the errors can be ignored
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe xfrm6_tunnel
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe xfrm4_tunnel
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe ip6_tunnel
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe ipip
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe ip4_tunnel
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe xfrm_user
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe dummy
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe esp6
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe esp4
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe ipv6
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe crypto_null
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe cbc
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe blkcipher
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe des
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe aes
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe xfrm4_mode_beet
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe xfrm6_mode_beet
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe sha1
debug(init.c:1006@hip_probe_kernel_modules): /sbin/modprobe capability
debug(init.c:1017@hip_probe_kernel_modules): Probing completed
debug(dh.c:164@hip_init_cipher): Generating DH keys
debug(dh.c:139@hip_regen_dh_keys): DH key for group 1 generated
debug(dh.c:139@hip_regen_dh_keys): DH key for group 2 generated
debug(dh.c:139@hip_regen_dh_keys): DH key for group 3 generated
debug(dh.c:142@hip_regen_dh_keys): 3 keys generated
debug(init.c:296@hipd_init): Initializing the netdev_init_addresses
debug(netdev.c:507@hip_netdev_init_addresses): Initializing addresses...
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:139@filter_address): Address ignored: address family is
unknown.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:110@filter_address): IPv4 address to filter is 127.0.0.1.
debug(netdev.c:129@filter_address): Address ignored: IPV4_LOOPBACK.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:110@filter_address): IPv4 address to filter is 127.0.0.53.
debug(netdev.c:129@filter_address): Address ignored: IPV4_LOOPBACK.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:110@filter_address): IPv4 address to filter is
157.159.100.215.
debug(netdev.c:228@add_address_to_list): Address passed the address filter
test.
debug(netdev.c:269@add_address_to_list): Added a new IPv6 address to
ifindex2spi map. The map has 1 addresses.
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=2, n->if_index=2, ifindex=2
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:110@filter_address): IPv4 address to filter is 1.0.0.1.
debug(netdev.c:126@filter_address): Address ignored: LSI32.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=5
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:66@filter_address): IPv6 address to filter is ::1.
debug(netdev.c:79@filter_address): Address ignored: IPV6_LOOPBACK.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=1
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:66@filter_address): IPv6 address to filter is
2001:660:3203:1000:222:19ff:fe26:78be.
debug(netdev.c:228@add_address_to_list): Address passed the address filter
test.
debug(netdev.c:269@add_address_to_list): Added a new IPv6 address to
ifindex2spi map. The map has 2 addresses.
debug(netdev.c:176@exists_address_in_list): mapped=0
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=2
debug(netdev.c:196@exists_address_in_list): addr6:
2001:0660:3203:1000:0222:19ff:fe26:78be
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=2
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:66@filter_address): IPv6 address to filter is
fe80::222:19ff:fe26:78be.
debug(netdev.c:85@filter_address): Address ignored: LINKLOCAL.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:176@exists_address_in_list): mapped=0
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=2
debug(netdev.c:196@exists_address_in_list): addr6:
2001:0660:3203:1000:0222:19ff:fe26:78be
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=2
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:66@filter_address): IPv6 address to filter is
2001:11:f1e9:76d:bde0:26f5:69ab:286e.
debug(netdev.c:99@filter_address): Address ignored: address is HIT.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(netdev.c:176@exists_address_in_list): mapped=0
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=5
debug(netdev.c:196@exists_address_in_list): addr6:
2001:0660:3203:1000:0222:19ff:fe26:78be
debug(netdev.c:176@exists_address_in_list): mapped=1
debug(netdev.c:194@exists_address_in_list): n->addr.ss_family=10,
addr->sa_family=10, n->if_index=2, ifindex=5
debug(netdev.c:196@exists_address_in_list): addr6: 157.159.100.215
debug(netdev.c:206@exists_address_in_list): Address exists in the list
debug(netdev.c:66@filter_address): IPv6 address to filter is
fe80::d00a:55ff:fefa:fa61.
debug(netdev.c:85@filter_address): Address ignored: LINKLOCAL.
debug(netdev.c:230@add_address_to_list): Address failed the address filter
test.
debug(init.c:764@hip_create_nat_sock_udp): hip_create_nat_sock_udp()
invoked.
debug(init.c:805@hip_create_nat_sock_udp): UDP socket created and bound to
addr: 0.0.0.0
debug(init.c:764@hip_create_nat_sock_udp): hip_create_nat_sock_udp()
invoked.
debug(init.c:805@hip_create_nat_sock_udp): UDP socket created and bound to
addr: 0.0.0.0
debug(init.c:358@hipd_init): hip_raw_sock_v6 input = 11
debug(init.c:359@hipd_init): hip_raw_sock_v6 output = 8
debug(init.c:360@hipd_init): hip_raw_sock_v4 input = 12
debug(init.c:361@hipd_init): hip_raw_sock_v4 output = 9
debug(init.c:362@hipd_init): hip_nat_sock_udp input = 13
debug(init.c:363@hipd_init): hip_nat_sock_udp output = 10
debug(init.c:364@hipd_init): hip_icmp_sock = 14
debug(init.c:372@hipd_init): Setting SP
debug(xfrmapi.c:558@hip_setup_hit_sp_pair): Start
debug(xfrmapi.c:567@hip_setup_hit_sp_pair): hip_setup_hit_sp_pair
debug(xfrmapi.c:579@hip_setup_hit_sp_pair): End
debug(init.c:376@hipd_init): Setting iface dummy0
debug(init.c:379@hipd_init): Lowering MTU of dev dummy0 to 1370
info(misc.c:881@hip_serialize_host_id_action): Using hostname: vault113
info(misc.c:903@hip_serialize_host_id_action): No key file given, using
default.
debug(misc.c:985@hip_serialize_host_id_action): Using RSA (pub HI)
filenamebase: /etc/hip/hip_host_rsa_key_pub
debug(builder.c:3781@rsa_to_hip_endpoint): rsa_to_hip_endpoint called
info(builder.c:3899@hip_any_key_to_hit): hit:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(builder.c:3901@hip_any_key_to_hit): hi is private rsa
info(misc.c:1208@hip_serialize_host_id_action): RSA HIT:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(hidb.c:292@hip_handle_add_local_hi): /* --------- */
debug(hidb.c:293@hip_handle_add_local_hi): input->hits = :
0000:0000:0000:0000:0000:0000:0000:0000
debug(hidb.c:294@hip_handle_add_local_hi): input->hitr = :
0000:0000:0000:0000:0000:0000:0000:0000
debug(hidb.c:307@hip_handle_add_local_hi): host id found in the msg
debug(hidb.c:114@hip_get_hostid_entry_by_lhi_and_algo): Failed to find a
host ID entry, Returning NULL.
debug(hidb.c:240@hip_add_host_id): Generating a new R1 set.
debug(output.c:574@hip_create_r1): Transform order index 0 is AES
debug(output.c:579@hip_create_r1): Transform order index 1 is 3DES
debug(output.c:584@hip_create_r1): Transform order index 2 is NULL_SHA1
info(output.c:612@hip_create_r1): src_hit used to build r1 network header:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(builder.c:2562@hip_build_param_diffie_hellman_contents): group_id2 =
1, htons(pubkey_len2)= 12288
debug(builder.c:3952@hip_build_param_nat_transform): 0x0100
debug(builder.c:3957@hip_build_param_nat_transform): 0x00000001
debug(output.c:682@hip_create_r1): Found 0 active service(s)
debug(esp_prot_hipd_msg.c:372@esp_prot_r1_add_transforms): userspace IPsec
hint: esp protection extension UNUSED, skip
debug(cookie.c:193@hip_precreate_r1): Packet 0 created
debug(output.c:574@hip_create_r1): Transform order index 0 is AES
debug(output.c:579@hip_create_r1): Transform order index 1 is 3DES
debug(output.c:584@hip_create_r1): Transform order index 2 is NULL_SHA1
info(output.c:612@hip_create_r1): src_hit used to build r1 network header:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(builder.c:2562@hip_build_param_diffie_hellman_contents): group_id2 =
1, htons(pubkey_len2)= 12288
debug(builder.c:3952@hip_build_param_nat_transform): 0x0100
debug(builder.c:3957@hip_build_param_nat_transform): 0x00000001
debug(output.c:682@hip_create_r1): Found 0 active service(s)
debug(esp_prot_hipd_msg.c:372@esp_prot_r1_add_transforms): userspace IPsec
hint: esp protection extension UNUSED, skip
debug(cookie.c:193@hip_precreate_r1): Packet 1 created
debug(output.c:574@hip_create_r1): Transform order index 0 is AES
debug(output.c:579@hip_create_r1): Transform order index 1 is 3DES
debug(output.c:584@hip_create_r1): Transform order index 2 is NULL_SHA1
info(output.c:612@hip_create_r1): src_hit used to build r1 network header:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(builder.c:2562@hip_build_param_diffie_hellman_contents): group_id2 =
1, htons(pubkey_len2)= 12288
debug(builder.c:3952@hip_build_param_nat_transform): 0x0100
debug(builder.c:3957@hip_build_param_nat_transform): 0x00000001
debug(output.c:682@hip_create_r1): Found 0 active service(s)
debug(esp_prot_hipd_msg.c:372@esp_prot_r1_add_transforms): userspace IPsec
hint: esp protection extension UNUSED, skip
debug(cookie.c:193@hip_precreate_r1): Packet 2 created
debug(netdev.c:1375@hip_add_iface_local_route): Adding local HIT route:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e/128
debug(netdev.c:1375@hip_add_iface_local_route): Adding local HIT route:
0000:0000:0000:0000:0000:ffff:0100:0001/128
debug(netdev.c:1355@hip_add_iface_local_hit): Adding HIT:
2001:0011:f1e9:076d:bde0:26f5:69ab:286e/28
debug(nlink.c:766@hip_ipaddr_modify): IFA INDEX IS 5
debug(nlink.c:769@hip_ipaddr_modify): value exit function netlink_talk 0
debug(netdev.c:1355@hip_add_iface_local_hit): Adding HIT:
0000:0000:0000:0000:0000:ffff:0100:0001/28
debug(nlink.c:737@hip_ipaddr_modify): Label 1.0.0.1/24:1
debug(nlink.c:766@hip_ipaddr_modify): IFA INDEX IS 5
debug(nlink.c:769@hip_ipaddr_modify): value exit function netlink_talk 0
debug(hidb.c:356@hip_handle_add_local_hi): Adding of HIP localhost
identities was successful
debug(init.c:659@hip_init_host_ids): Keys added
debug(nlink.c:632@hip_iproute_get): Getting route for destination address:
1.0.0.0
error(nlink.c:1191@parse_rtattr): Deficit len 28, rta_len=0
info(init.c:663@hip_init_host_ids): default_hit :
2001:0011:f1e9:076d:bde0:26f5:69ab:286e
debug(init.c:664@hip_init_host_ids): default_lsi : 1.0.0.1
info(hipconf.c:2234@hip_do_hipconf): User message was sent successfully to
the HIP daemon.
info(hipconf.c:2234@hip_do_hipconf): User message was sent successfully to
the HIP daemon.
info(hipconf.c:2234@hip_do_hipconf): User message was sent successfully to
the HIP daemon.
info(hipconf.c:2234@hip_do_hipconf): User message was sent successfully to
the HIP daemon.
info(hipconf.c:1161@hip_conf_handle_debug): Displaying all debugging
messages
info(hipconf.c:2234@hip_do_hipconf): User message was sent successfully to
the HIP daemon.
debug(init.c:1082@hip_init_certs): Configuration file existed exiting
hip_init_certs
debug(sqlitedbapi.c:48@hip_sqlite_open_db): Database existed so just opening
it
debug(sqlitedbapi.c:51@hip_sqlite_open_db): Opening the db
[New Thread 0xb7a46940 (LWP 17851)]
[New Thread 0xb7a45b90 (LWP 17881)]
[Thread 0xb7a45b90 (LWP 17881) exited]
info(init.c:437@hipd_init): Initializing HIP relay / RVS.
debug(hiprelay.c:704@hip_relay_read_config):
Read relay configuration file with following values:
Whitelist enabled: YES
Number of HITs in the whitelist: 0
Minimum lifetime: 112
Maximum lifetime: 158
info(hiprelay.c:90@hip_relay_init): Read configuration file
"/etc/hip/relay_config" successfully.
*** glibc detected *** /usr/sbin/hipd: free(): invalid pointer: 0xbfa3bd4c
***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7acc604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7ace5b6]
/usr/sbin/hipd[0x80c99cc]
/usr/sbin/hipd[0x80c9aa0]
/usr/sbin/hipd[0x808f79d]
/usr/sbin/hipd[0x8058df2]
/usr/sbin/hipd[0x805a2dd]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7a73775]
/usr/sbin/hipd[0x804da21]
======= Memory map: ========
08048000-08138000 r-xp 00000000 08:08 2270361    /usr/sbin/hipd
08138000-08139000 r--p 000ef000 08:08 2270361    /usr/sbin/hipd
08139000-0813b000 rw-p 000f0000 08:08 2270361    /usr/sbin/hipd
0813b000-0813f000 rw-p 0813b000 00:00 0
084d3000-084f5000 rw-p 084d3000 00:00 0          [heap]
b70f1000-b70fe000 r-xp 00000000 08:08 786453     /lib/libgcc_s.so.1
b70fe000-b70ff000 r--p 0000c000 08:08 786453     /lib/libgcc_s.so.1
b70ff000-b7100000 rw-p 0000d000 08:08 786453     /lib/libgcc_s.so.1
b7100000-b7121000 rw-p b7100000 00:00 0
b7121000-b7200000 ---p b7121000 00:00 0
b720c000-b7216000 r-xp 00000000 08:08 803593     /lib/tls/i686/cmov/
libnss_files-2.9.so
b7216000-b7217000 r--p 00009000 08:08 803593     /lib/tls/i686/cmov/
libnss_files-2.9.so
b7217000-b7218000 rw-p 0000a000 08:08 803593     /lib/tls/i686/cmov/
libnss_files-2.9.so
b7218000-b7221000 r-xp 00000000 08:08 803595     /lib/tls/i686/cmov/
libnss_nis-2.9.so
b7221000-b7222000 r--p 00008000 08:08 803595     /lib/tls/i686/cmov/
libnss_nis-2.9.so
b7222000-b7223000 rw-p 00009000 08:08 803595     /lib/tls/i686/cmov/
libnss_nis-2.9.so
b7223000-b7238000 r-xp 00000000 08:08 803590     /lib/tls/i686/cmov/
libnsl-2.9.so
b7238000-b7239000 r--p 00014000 08:08 803590     /lib/tls/i686/cmov/
libnsl-2.9.so
b7239000-b723a000 rw-p 00015000 08:08 803590     /lib/tls/i686/cmov/
libnsl-2.9.so
b723a000-b723c000 rw-p b723a000 00:00 0
b723c000-b7243000 r-xp 00000000 08:08 803591     /lib/tls/i686/cmov/
libnss_compat-2.9.so
b7243000-b7244000 r--p 00006000 08:08 803591     /lib/tls/i686/cmov/
libnss_compat-2.9.so
b7244000-b7245000 rw-p 00007000 08:08 803591     /lib/tls/i686/cmov/
libnss_compat-2.9.so
b7245000-b7246000 ---p b7245000 00:00 0
b7246000-b7a47000 rw-p b7246000 00:00 0
b7a47000-b7a5b000 r-xp 00000000 08:08 786455     /lib/libz.so
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7a46940 (LWP 17851)]
0xb7f21430 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xb7f21430 in __kernel_vsyscall ()
#1  0xb7a886d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7a8a098 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7ac624d in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7acc604 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7ace5b6 in free () from /lib/tls/i686/cmov/libc.so.6
#6  0x080c99cc in hip_user_to_uid (name=0x8127394 "nobody") at
capability.c:45
#7  0x080c9aa0 in hip_set_lowcapability (run_as_sudo=0) at capability.c:159
#8  0x0808f79d in hipd_init (flush_ipsec=1, killold=1) at init.c:446
#9  0x08058df2 in hipd_main (argc=2, argv=0xbfa3d2b4) at hipd.c:472
#10 0x0805a2dd in main (argc=2, argv=0xbfa3d2b4) at hipd.c:795



Also; here is a copy of my configuration file:

# Format of this file is as with hipconf, but without hipconf prefix
# add hi default    # add all four HITs (see bug id 522)
# add map HIT IP    # preload some HIT-to-IP mappings to hipd
# add service rvs   # the host acts as HIP rendezvous (see also
/etc/hip/relay_config)
# add server rvs [RVS-HIT] <RVS-IP-OR-HOSTNAME> <lifetime-secs> # register
to rendezvous server
hit-to-ip on # resolve HITs to locators in dynamic DNS zone
# hit-to-ip set hit-to-ip.infrahip.net. # resolve HITs to locators in
dynamic DNS zone
nsupdate on # send dynamic DNS updates
# heartbeat 10 # send ICMPv6 messages inside HIP tunnels
# add server rvs hiprvs.infrahip.net 50000 # Register to free RVS at
infrahip
opendht off # turn DHT support on (use /etc/hip/dhtservers to define the
used server)
# locator on        # host sends all of its locators in base exchange
# opp normal|advanced|none
# transform order 213 # crypto preference order (1=AES, 2=3DES, 3=NULL)

nat plain-udp       # use UDP capsulation (for NATted environments)
debug all        # debug verbosity: all, medium or none
~

~

~

~

~

~

~


thank you all,

Adrian.

Other related posts: