Hello Phil
> If I use "call 144.725 vk6bbs" to connect to another station
> in vanilla ax25 mode, the socket is closed after I disconnect.
> That's what I want it to do.
>
> If I use "call nr0 WRLSS" to do a netrom call to the same
> station's node front-end all goes well. I send B for bye, get
> disconnected and all appears well. However my station and WRLSS
> keep sending periodic packets to each other apparently to keep
> the connection alive at socket level. If I do a "netstat" it shows
> that I am still connected to the remote station.
That is correct behaviour for NET/ROM. Your connection is actually a
NET/ROM connection so the NET/ROM socket *will* close when you send the
'B', but the AX.25 connection stays active, it is nothing to worry about.
The AX.25 connection will usually be closed after a period of ten minutes
or so of no activity. Depending on the kernel version, your Linux machine
may close the connection first, but the current default is not to close
an existing AX.25 connection as that behavious annoyed DX Cluster users.
> If I then do a netrom connect to another remote station, I end
> up with another active socket after "disconnecting". In the extreme
> case, I could end up with many live connections.
That is nothing to worry about.
> Tha same thing happens with TCP connections (even though I have my
> system set for DG mode).
That is surprising.
> What can I do do have the sockets freed after disconnecting?
Set the AX.25 Idle Timeout to some low figure, or reboot the machine.
Unless it causes you a problem, don't worry about it.
> 73
> Phil Maley vk6ad
>
> ----------------------------
> Email: terhi.victor@logonet.com
> Phone: +61 (0)417 954 187
Jonathan
-- +----------------------------------+---------------------------------------+ | e-mail: abzsupo.cucxaxdmuy@smoczka.ptc.pl | Telephone: +44 (0)973 695261 | +----------------------------------+---------------------------------------+ | Author of Linux kernel X.25, AX.25, NET/ROM and ROSE. | +--------------------------------------------------------------------------+