Menu

#72 traffic during startup causes unusable daemon and garbage

All
closed-fixed
HIP daemon (45)
5
2014-05-05
2012-12-06
No

Under Linux:
1. hip should be stopped
2. start a ping to a LSI known in the known_host_identities.xml file
3. start the hip process
4. hip will not be usable, and there is a small amount of garbage output to the console:

Adding address 2001:14:4e43:ef47:9834:531a:34f4:5692 to interface 8.
hip_esp_output() thread started...
����Thu Dec 6 09:07:53 2012 (1) Listening for HIP control packets...
Thu Dec 6 09:07:53 2012 HIP threads initialization completed.

(The characters following "hip_esp_output() thread started...")

Discussion

  • Jeff Ahrenholz

    Jeff Ahrenholz - 2014-05-05
    • status: open --> closed-fixed
    • assigned_to: Jeff Ahrenholz
     
  • Jeff Ahrenholz

    Jeff Ahrenholz - 2014-05-05

    fixed in r261

    this bug affects initialization only -- when traffic to an LSI (or legacy node in VPLS mode) is being sent while the daemon starts up

    this bug affects both normal and VPLS mode HIP

    an uninitialized espsp[0] was used, causing esp_send_to_hipd() to write() to file descriptor 0
    (causing the garbled output on stdout)

    the buffer_packet() function added an LSI entry preventing further ACQUIRE messages,
    and therefore no base exchange or traffic,
    until 2 minutes later when hip_remove_expired_lsi_entries() expired the entry

     

Log in to post a comment.

MongoDB Logo MongoDB