I updated my home gateway to -current as of yesterday, and the SixXS
tunnel client can no longer set up a tunnel.

The problem appears to be that getsockname() now returns 0.0.0.0
as the local IPv4 address used for sending UDP heartbeat packets
to the remote endpoint.  That seems wrong.

 41467 aiccu    CALL  socket(AF_INET,0x2<SOCK_DGRAM>,0)
 41467 aiccu    RET   socket 3
 41467 aiccu    CALL  getpid()
 41467 aiccu    RET   getpid 41467/0xa1fb
 41467 aiccu    CALL  clock_gettime(CLOCK_MONOTONIC,0x7f7ffffe4b00)
 41467 aiccu    STRU  struct timespec { 1348.522182695 }
 41467 aiccu    RET   clock_gettime 0
 41467 aiccu    CALL  getpid()
 41467 aiccu    RET   getpid 41467/0xa1fb
 41467 aiccu    CALL  clock_gettime(CLOCK_MONOTONIC,0x7f7ffffe4b10)
 41467 aiccu    STRU  struct timespec { 1348.522220689 }
 41467 aiccu    RET   clock_gettime 0
 41467 aiccu    CALL  mmap(0,0x1000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE
|MAP_ANON>,-1,0)
 41467 aiccu    RET   mmap 18050416377856/0x106ab0a80000
 41467 aiccu    CALL  connect(3,0x106a5e192d30,16)
 41467 aiccu    STRU  struct sockaddr { AF_INET, 212.224.0.188:3740 }
 41467 aiccu    RET   connect 0
 41467 aiccu    CALL  kbind(0x7f7ffffe5c98,24,0x28e906c7f289171d)
 41467 aiccu    RET   kbind 0
 41467 aiccu    CALL  getsockname(3,0x7f7ffffe5dc0,0x7f7ffffe5ddc)
 41467 aiccu    STRU  struct sockaddr { AF_INET, 0.0.0.0:23595 }
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 41467 aiccu    RET   getsockname 0
 41467 aiccu    CALL  kbind(0x7f7ffffe5c98,24,0x28e906c7f289171d)
 41467 aiccu    RET   kbind 0
 41467 aiccu    CALL  kbind(0x7f7ffffe5c98,24,0x28e906c7f289171d)
 41467 aiccu    RET   kbind 0
 41467 aiccu    CALL  write(2,0x7f7ffffe5770,0x24)
 41467 aiccu    GIO   fd 2 wrote 36 bytes
       "heartbeat_socket() - IPv4 : 0.0.0.0
       "
 41467 aiccu    RET   write 36/0x24
 41467 aiccu    CALL  sigprocmask(SIG_BLOCK,0x80000<SIGCHLD>)
 41467 aiccu    RET   sigprocmask 0<>
 41467 aiccu    CALL  vfork()
 57356 aiccu    RET   vfork 0
 57356 aiccu    CALL  sigprocmask(SIG_SETMASK,0<>)
 57356 aiccu    RET   sigprocmask 0x80000<SIGCHLD>
 57356 aiccu    CALL  execve(0x106ace28d010,0x7f7ffffe59c0,0x7f7ffffe6030)
 57356 aiccu    NAMI  "/bin/sh"
 57356 aiccu    ARGS  
        [0] = "sh"
        [1] = "-c"
        [2] = "/sbin/ifconfig gif0 tunnel 0.0.0.0 212.224.0.188"
 57356 sh       RET   execve 0

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to