[CUWiN-Dev] HSLSD Not Sending HSLS(9191) Packets

Socrates Socrates socrates.socrates at gmail.com
Fri Jan 12 01:08:43 CST 2007


Hi Dave

Thanks for the response. Here's what I found, on my Linux the 9191 port is
associated with address 0.0.0.0 and not the interface address (
169.254.237.50) as is shown on CUWiN box.

Below are the outputs for netstat -ln and also the hsls debug output on
Linux.

netstat -ln on my linux is (ipv4):
tcp        0      0 127.0.0.1:55362         0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:49052         0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
udp        0      0 169.254.237.50:36919    0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 0.0.0.0:68              0.0.0.0:*
udp        0      0 0.0.0.0:9191            0.0.0.0:*
udp        0      0 169.254.237.50:500      0.0.0.0:*
udp        0      0 146.64.19.215:500       0.0.0.0:*
udp        0      0 127.0.0.1:500           0.0.0.0:*

netstat -ln on CUWiN is (ipv4):
tcp        0      0  169.254.10.168.22      169.254.237.50.39604
ESTABLISHED
tcp        0      0  *.5000                 *.*                    LISTEN
tcp        0      0  *.22                   *.*                    LISTEN
tcp        0      0  127.0.0.1.80           *.*                    LISTEN
tcp        0      0  127.0.0.1.9292         *.*                    LISTEN
tcp        0      0  *.2601                 *.*                    LISTEN
udp        0      0  127.0.0.1.123          *.*
udp        0      0  10.177.52.254.123      *.*
udp        0      0  169.254.10.168.123     *.*
udp        0      0  10.0.10.168.123        *.*
udp        0      0  *.123                  *.*
udp        0      0  10.177.52.254.9191     *.*
udp        0      0  169.254.10.168.9191    *.*
udp        0      0  *.9191                 *.*


The truncated Linux debug output with -l tx and -l rx is:

root at appletiser:/space/work/hsls/linux/src/hsls# ./run-hsls
20070112064853 main: event(3) initialized
20070112064853 hsls_ext_init_hook: hsls client handle aquired
20070112064853 hsls_ext_init_hook: transponder subscribed
20070112064853 RX 252B iface 3 src 169.254.10.168 dst 224.0.0.2
hsls_interface_recv: cannot resolve source 169.254.10.168
20070112064853 hsls_interface_recv: cannot resolve source 169.254.10.168
hsls_unpack_lsas -- nlsa =1
hsls_unpack_lsas -- nlsa =1
PEER 10.0.10.168 DOWN -> UP seqno 0
 lsa recd  start
 lsa recd =  foreign router lsa interface 10.0.10.168 type ptmp masklen 32
index 1 neighbor 169.254.237.50 seqno 12 flags 0 metrics [(etx, 65535)]
 lsa recd =  foreign router lsa interface 10.177.52.254 type stub masklen 24
index 2 neighbor 10.177.52.254 seqno 0 flags 0x1<UP> metrics [(etx, 65535)]
 lsa recd =  foreign router lsa interface  type stub masklen 64 index 2
neighbor  seqno 0 flags 0x1<UP> metrics [(etx, 65535)]
 lsa recd =  foreign router lsa interface  type stub masklen 64 index 1
neighbor  seqno 0 flags 0x1<UP> metrics [(etx, 65535)]
 lsa recd  end
20070112064854 etx_txbeacon_cb: 169.254.237.50
20070112064854 TX 68B from 169.254.237.50 to 224.0.0.2 with jitter
20070112064854 RX 72B iface 3 src 169.254.10.168 dst 224.0.0.2



I'd appreciate your further assistance.

Kind regards;
Lawrence


On 1/12/07, David Young <dyoung at pobox.com> wrote:
>
> On Mon, Jan 08, 2007 at 10:14:23AM +0200, Socrates Socrates wrote:
> > Hi David, all
> >
> > I have made an attempt to port hsls to linux and all along I thought all
> was
> > well until now.
> >
> > Problem:
> > My port does not seem to send hsls packets, it only sends beacons.
>
> Lawrence,
>
> While hslsd runs, what UDP sockets on port 9191 does netstat -ln show
> you on Linux?  Compare with the CUWiN box.
>
> Please activate logging of transmitted and received packets using the
> command-line options -l tx and -l rx.  It will provide you with more
> information.
>
> Dave
>
> --
> David Young             OJC Technologies
> dyoung at ojctech.com      Urbana, IL * (217) 278-3933
> _______________________________________________
> CU-Wireless-Dev mailing list
> CU-Wireless-Dev at lists.cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chambana.net/mailman/archive/cu-wireless-dev/attachments/20070112/93751b35/attachment.htm


More information about the CU-Wireless-Dev mailing list