Open a port

Open a port

Post by David Arnol » Sun, 30 Sep 2001 04:53:21



I am trying to do some monitoring on a PIX via RH7.1 using xinetd. I have
setup the software on RH and PIX to do this via syslog. My trouble is
setting up xinetd to open the port (514/UDP) to allow this to come in.

Any help?

Thanks,
David Arnold

 
 
 

Open a port

Post by Dean Thompso » Tue, 02 Oct 2001 15:18:32


Hi!,

Quote:> I am trying to do some monitoring on a PIX via RH7.1 using xinetd. I have
> setup the software on RH and PIX to do this via syslog. My trouble is
> setting up xinetd to open the port (514/UDP) to allow this to come in.

If this is a case of just allowing data to come in on port 514 using the UDP
protocol, then you could issue the command:

/sbin/ipchains -I input 1 -p udp -s 0.0.0.0/0 -d <your ip here> 514 -j ACCEPT

However, I suspect syslog is already running on your system.  You will need to
modify the /etc/rc.d/init.d/syslog file and make sure that syslog runs with
the "-r" parameter to allow it to process remote syslog requests coming in.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+