Great Circle Associates Firewalls
(October 1992)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: TCP server query
From: mjr @ decuac . DEC . COM (Marcus J. "Will do TCP/IP for clues" Ranum)
Date: Thu, 22 Oct 92 15:17:04 -0400
To: firewalls @ GreatCircle . COM

        You do a netstat -A to get the address of the socket PCB, then
Use ofiles to map it back. IE:

nsl 7 #netstat -A
Active Internet connections
PCB      Proto Recv-Q Send-Q  Local Address      Foreign Address    (state)
c5984400 tcp        0      0  nsl.smtp           inet-gw-1.3414     ESTABLISHED
c5967c00 tcp        0    187  nsl.login          hussar.dco.d.1021  ESTABLISHED
c586a700 tcp        0      0  nsl.3609           gatekeeper.d.6000  ESTABLISHED

nsl 10 #ofiles -n c586a700
file 8030c320 of socket c597de00 of INPCB c5979a00 of PCB c586a700
USER        PID  TYPE    FD  CMD
ed        24559  sock     3  xbiff

nsl 11 #

mjr.


Indexed By Date Previous: TCP server query
From: "David I. Dalva" <dave @ TIS . COM>
Next: RE: TCP server query
From: bede @ linus . mitre . org
Indexed By Thread Previous: RE: TCP server query
From: bede @ linus . mitre . org
Next: Re: TCP server query
From: Eliot Lear <lear @ yeager . corp . sgi . com>

Google
 
Search Internet Search www.greatcircle.com