[hipl-dev] [Bug 789327] Re: mobility is broken

  • From: Miika Komu <789327@xxxxxxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Thu, 09 Jun 2011 19:20:39 -0000

Please merge the commit, I confirm that it does not crash hipd anymore.

-- 
You received this bug notification because you are a member of HIPL core
team, which is subscribed to HIPL.
https://bugs.launchpad.net/bugs/789327

Title:
  mobility is broken

Status in Host Identity Protocol for Linux:
  In Progress

Bug description:
  I tested hard IPv6-only handovers. After base exchange, I delete and
  add a new IPv6 address and this occurs at the other host:

  debug(hipd/input.c:565@hip_receive_control_packet): HIP association state 
ESTABLISHED
  debug(hipd/input.c:573@hip_receive_control_packet): handle relay to failed, 
continue the bex handler
  debug(modules/update/hipd/update.c:190@hip_check_update_freshne: previous 
incoming update id=0
  debug(modules/update/hipd/update.c:192@hip_check_update_freshne: previous 
outgoing update id=4294967295
  debug(modules/update/hipd/update.c:198@hip_check_update_freshne: SEQ 
parameter found with Update ID 1.
  debug(hipd/input.c:144@hip_verify_packet_hmac_general): 
hip_verify_packet_hmac() invoked.
  debug(hipd/input.c:111@hip_verify_hmac): HMAC 
data0x3B111011000000002001001911ACE3AF236711A41A3636EC20010015E1568A783226DBAAF2FFED060041000C00000090E5A9B875E5A9B87500C10048000104000000000000000000000000000000FFFFC0A800A500010400000000003FFE000000000000000000000000000800010400000000002001000053AA064C08BB20A5AD4A59A7000000000181000400000001
  debug(lib/core/crypto.c:378@hip_write_hmac): HMAC 
key:0xF9352844AE24C972EE121CFAC915C858884C8656
  debug(lib/core/crypto.c:379@hip_write_hmac): HMAC 
in:0x3B111011000000002001001911ACE3AF236711A41A3636EC20010015E1568A783226DBAAF2FFED060041000C00000090E5A9B875E5A9B87500C10048000104000000000000000000000000000000FFFFC0A800A500010400000000003FFE000000000000000000000000000800010400000000002001000053AA064C08BB20A5AD4A59A7000000000181000400000001
  debug(lib/core/crypto.c:380@hip_write_hmac): HMAC 
out:0x2451F4234BBF62433DC4C8445BBE51B45BBBEFAD
  debug(hipd/input.c:117@hip_verify_hmac): 
HMAC0x2451F4234BBF62433DC4C8445BBE51B45BBBEFAD
  debug(modules/update/hipd/update_param_handling.c:343@hip_handl: LOCATOR has 
3 address(es), loc param len=80
  debug(modules/update/hipd/update_param_handling.c:350@hip_handl: 
hip_get_state_item returned localstate: 0x675290
  debug(modules/update/hipd/update_param_handling.c:363@hip_handl: Comparing: 
3ffe:0000:0000:0000:0000:0000:0000:0008
  debug(lib/core/debug.c:741@hip_print_hit): to : NULL

  Program received signal SIGSEGV, Segmentation fault.
  0x000000000043cc9e in ipv6_addr_cmp (a1=0x7fffffffea30, a2=0x0) at 
lib/core/prefix.c:391
  391       return memcmp(a1, a2, sizeof(struct in6_addr));
  (gdb) bt
  #0  0x000000000043cc9e in ipv6_addr_cmp (a1=0x7fffffffea30, a2=0x0) at 
lib/core/prefix.c:391
  #1  0x0000000000428b14 in hip_handle_locator_parameter (packet_type=<value 
optimised out>, ha_state=<value optimised out>, ctx=0x7fffffffea20)
      at modules/update/hipd/update_param_handling.c:366
  #2  0x00000000004217ad in hip_run_handle_functions (packet_type=<value 
optimised out>, ha_state=5, ctx=0x7fffffffea20) at hipd/pkt_handling.c:161
  #3  0x000000000041937a in hip_receive_control_packet (ctx=0x7fffffffea20) at 
hipd/input.c:577
  #4  0x0000000000411ed1 in hip_handle_raw_input_v6 (ctx=0x7fffffffea20) at 
hipd/hip_socket.c:76
  #5  0x0000000000411734 in hip_run_socket_handles (read_fdset=0x7fffffffe990, 
ctx=0x7fffffffea20) at hipd/hip_socket.c:307
  #6  0x00000000004124f9 in hipd_main (argc=<value optimised out>, argv=<value 
optimised out>) at hipd/hipd.c:403
  #7  main (argc=<value optimised out>, argv=<value optimised out>) at 
hipd/hipd.c:464

To manage notifications about this bug go to:
https://bugs.launchpad.net/hipl/+bug/789327/+subscriptions

Other related posts: