Re: [ILUG] Checking for IP protocols

From: Paul Jakma (paul at domain clubi.ie)
Date: Sun 02 Sep 2001 - 10:48:29 IST


On Fri, 31 Aug 2001, Martin Feeney wrote:

> Anyone know of any tool along the lines of netstat, lsof or fuser that'll
> let you check for the existance of progs listening on IP protocols other
> than tcp/udp? I'm talking about protocols such as GRE(47), ESP(50) and
> AH(51).

uhmm... netstat?

if the protocol is supported the kernel, (eg via a socket() domain)
then netstat should support it too and display it.

if the kernel doesn't support it, then the app must be using a raw
socket, and tools that query the kernel will only ever find out it's
a 'raw' socket.

only way then to find out is to snoop on the traffic itself ->
tcpdump.

so the answer is "netstat"

-- 
Paul Jakma	paul at domain clubi.ie	paul at domain jakma.org	Key ID: 64A2FF6A
Fortune:
HELP!!!! I'm being held prisoner in /usr/games/lib!


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:56 GMT