Re: [TCPIP V5.4] Session Disconnects (and DISCONNECT)

From: Peter 'EPLAN' LANGSTOEGER (peter_at_langstoeger.at)
Date: 02/21/04


Date: Sat, 21 Feb 2004 00:00:05 +0000 (UTC)

In article <v5dZb.67309$Wa.21061@news-server.bigpond.net.au>, "Matt Muggeridge" <Matt.Muggeridge@hp.com> writes:
>Oh, I should have also mentioned this command, in case it meets your
>immediate needs:
>
> $ ifconfig ie0 10.10.10.10 abort
>
>This will abort all connections to the 10.10.10.10 address on interface ie0.

It does indeed meet my immediate needs (if it works of course).
But the enhancements to DISCONNECT are still on my wish list (greater
flexibility) and if they are there, then this abort becomes obsolete.

btw Where is this documented ? I didn't find it so far.
If not, is it supported already (and only documentation missing) ?
Did it already exist in TCPIP V5.3 (ECO ?) ?

Now to my first tries:

--------------------------------------------------------------------------------
$ ucx ifconfig we0 alias 1.2.3.4
$ ucx ifconfig -a
LO0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
     inet 127.0.0.1 netmask ff000000 ipmtu 4096

TN0: flags=80<NOARP>

TN1: flags=80<NOARP>

WE0: flags=8000c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
     inet 1.2.3.4 netmask ff000000 broadcast 1.255.255.255 ipmtu 1500
     inet 192.168.50.81 netmask ffffff00 broadcast 192.168.50.255 ipmtu 1500

$ ucx ifconfig we0 1.2.3.4 abort
1.2.3.4: aborting 53 tcp connection(s)
--------------------------------------------------------------------------------
53 connections ? There wasn't even one existing yet.
OTOH no connection was disconnected and so it is only a cosmetical problem.
--------------------------------------------------------------------------------
$ ucx ifconfig -a
LO0: flags=100c89<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
     inet 127.0.0.1 netmask ff000000 ipmtu 4096

TN0: flags=80<NOARP>

TN1: flags=80<NOARP>

WE0: flags=8000c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
    *inet 1.2.3.4 netmask ff000000 broadcast 1.255.255.255 ipmtu 1500
     inet 192.168.50.81 netmask ffffff00 broadcast 192.168.50.255 ipmtu 1500

$ ucx ifconfig we0 -alias 1.2.3.4
--------------------------------------------------------------------------------
What does the asterisk indicate. A pending ABORT ?

And now with a connection (to itself via this address) again:
--------------------------------------------------------------------------------
$ ucx ifconfig we0 1.2.3.4 abort
Unexpected error in status, deleting TCB (QIO).
Possibly in TIME_WAIT state of 120 seconds for BG device: 0.
Unable to abort connections for address 1.2.3.4:
--------------------------------------------------------------------------------
OTOH after the 120 seconds passed, this message came and the session aborted.

Means, there is room for improvement but so far seems usable. Thanks for this.

-- 
Peter "EPLAN" LANGSTOEGER
Network and OpenVMS system specialist
E-mail  peter@langstoeger.at
A-1030 VIENNA  AUSTRIA              I'm not a pessimist, I'm a realist