Operating System - HP-UX
1833934 Members
1807 Online
110063 Solutions
New Discussion

Log files for tcp connections to HP-UX 10.2 Box

 
SOLVED
Go to solution
Rob Pointer
Occasional Contributor

Log files for tcp connections to HP-UX 10.2 Box

We have a number of other HP boxes set up to connect via certain sockets to our main HP machine. I am trying to find on the main machine if these connections are logged. Th enearest I could get was the syslog, which only seemed to log general tcp sessions, not the automatic ones. Any suggestions??
Live long......and have many laughs
1 REPLY 1
Solution

Re: Log files for tcp connections to HP-UX 10.2 Box

There's nowhere thats going to log ALL TCP socket connections to a system *unless* you turn on network tracing (see the man pages for nettl and nettladm), and then the chances are you'll get far more data than you actually wanted.

If however the connections you want to log are all managed by inetd, then you can restart inetd with logging enabled using 'inetd -l'.

To make this change permanent, alter the file /etc/rc.config.d/netdaemons and replace:

export INETD_ARGS=

with

export INETD_ARGS="-l"

HTH

Duncan

I am an HPE Employee
Accept or Kudo