Great Circle Associates Firewalls
(June 1997)
 

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

Subject: Re: Monitor unused ports
From: Miguel Armas <kuko @ cic . teleco . ulpgc . es>
Date: Tue, 24 Jun 1997 02:00:00 +0100
To: firewalls @ greatcircle . com
Cc: gmv-gw-lists-firewalls @ hardy . gmv . es
In-reply-to: jsanchez's message of 23 Jun 1997 13:33:22 +0200. <x07mflpn99 . fsf @ pcjjsf . gmv . es>

El 23 Jun 1997 13:33:22 +0200  Julio Sanchez <jsanchez @
 esegi .
 es>  dijo:
> Dan .
 Johansson @
 commentor .
 se (Dan Johansson) writes:
> 
> > 
> > Hi,
> > 
> > Does anyone know a good (and hopfully simple) way
> > to monitor unused ports on a Bastion-host.
> > 
> > i.e I wold like to know if someone is trying to
> > connect to a port on the Bastionhost that has
> > no daemon listening.
> > 
> > I'm runing FWTK 2.0 on Linux 2.0.29.
> 
> 
> Sorry for answering so late, I am a little bit backlogged on some
> lists, but I thought you might find this useful:

In the last kernels of the 2.1.x series there is a feature called netlink 
device that gives you an interface where the kernel sends the first 128 bytes 
of every packet blocked by the firewall.IP: firewall packet netlink device

Here is the help for that option:
------------------ 8< ----------------------------
CONFIG_IP_FIREWALL_NETLINK                                                     

  If you say Y here and when packets hit your Linux firewall and are           

  blocked, the first 128 bytes of each such packet are passed on to            

  optional user space monitoring software that can then look for               

  attacks and take actions such as paging the administrator of the             

  site. To use this, you need to create a character special file under         

  /dev with major number 36 and minor number 3 using mknod ("man               

  mknod"), and you need (to write) a program that reads from that              

  device and takes appropriate action.                                         

--------------------------------------------------

You just have to write a program to decode such packets (tcpdump?)

CU!
------------------------------------------------------------------------
Miguel Armas del Rio		     kuko @
 cic .
 teleco .
 ulpgc .
 es
ETSI de Telecomunicaciones           http://calvo.teleco.ulpgc.es/
Universidad de Las Palmas            PGP public key available (11/1/97):
Spain                       	     finger kuko @
 calvo .
 teleco .
 ulpgc .
 es
------------------------------------------------------------------------




References:
Indexed By Date Previous: Re: SecureRemote and SSL ?
From: drexx @ pspi . com . ph (Drexx Laggui)
Next: Re: "Underground"
From: proff @ suburbia . net
Indexed By Thread Previous: Re: Monitor unused ports
From: ArkanoiD <ark @ paranoid . convey . ru>
Next: gauntlet firewalls (opnav)
From: MANVILLET @ N4 . OPNAV . NAVY . MIL (MANVILLE_TIM)

Google
 
Search Internet Search www.greatcircle.com