1837314 Members
2676 Online
110116 Solutions
New Discussion

Run inetd in debug mode

 
HPP
Regular Advisor

Run inetd in debug mode

Hi,
I am not able to recall how to start the debug mode for inetd.
It should be something like
#kill -USR1

Can anbody explain the process in detail.
Hope i am asking the right question!!!!!

Thanks
Be Teachable
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Run inetd in debug mode

Hi:

I think you are thinking of the connection logging mode in which 'inetd' can run. See the man (1M) pages for 'inetd'.

You can toggle logging on and off with:

/usr/sbin/inetd -l

Regards!

...JRF...
Craig Rants
Honored Contributor

Re: Run inetd in debug mode

I have never heard of debug mode for inetd, which doesn't mean it doesn't exist. I didn't find anything about it in the man page either.

The process James is talking about can be configured at boot as well.

/etc/rc.config.d/netdaemons
Look for this line and make sure the "-l" is there
INETD_ARGS="-l"

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
HPP
Regular Advisor

Re: Run inetd in debug mode

Hi,
Thanks!!!
What i am looking for is to capture all the incomming connections, like to track port scans, tcp connections or any suspecious network activity on server.

Thanks
Be Teachable
Craig Rants
Honored Contributor

Re: Run inetd in debug mode

You need some software like that can do some Intrustion detection and packet filtering. I would recommend ISS Real Secure or Axent ITA for the IDS part, as far as IP Filtering, hp can't do that part yet. All your going to see with inetd logging is connections based on the services listed in inetd.conf.

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut