Packet Trapping on port.

From: <Sundar_RAJAN_at_socgen-crosby.com>
Date: Mon, 04 May 1998 16:50:38 +0800

Hi Admins,
     I want to trap packet coming from a particular IP address. Can I
define a variable in the syslog.conf which can generate a
log file storing information on the data / packet being transmitted.

For Example :-

user1.debug /usr/users/user1/trap.log


As below :-

#
# _at_(#)$RCSfile: syslog.conf,v $ $Revision: 4.1.4.2 $ (DEC) $Date:
1992/03/18 14:58:45 $
#
#
# syslogd config file
#
# facilities: kern user mail daemon auth syslog lpr binary
# priorities: emerg alert crit err warning notice info debug
kern.debug /var/adm/syslog.dated/kern.log
user.debug /var/adm/syslog.dated/user.log
mail.debug /var/adm/syslog.dated/mail.log
daemon.debug /var/adm/syslog.dated/daemon.log
auth.debug /var/adm/syslog.dated/auth.log
syslog.debug /var/adm/syslog.dated/syslog.log
lpr.debug /var/adm/syslog.dated/lpr.log
user1.debug /usr/users/user1/trap.log

msgbuf.err /var/adm/crash/msgbuf.savecore

kern.debug /var/adm/messages
kern.debug /dev/console
*.emerg *

Thanks in Advance.

Sunder

P.S : Please ignore the signature below.




            ********************************************************************

The information contained in these documents may be confidential and is intended
for the exclusive use of the addressee designated above. If you are not the
addressee, any disclosure, reproduction, or other dissemination or use of this
communication is strictly prohibited. If you have received this transmission in
error please contact us immediately by telephone so that we can arrange for its
return.

            ********************************************************************
Received on Mon May 04 1998 - 10:53:35 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT