Try passing -p to fw log. This works in R61.
--
Neils Christoffersen
http://www.linkedin.com/in/neilschristoffersen
http://judogeek.wordpress.com
Ing. Jose Valdivia wrote:
Hi all,
I'm trying to run a fw log into a script to have some automated
reports, I can avoid the name IP address resolution using -c.
So at this point I can run:
fw log -n -c accept| grep eth8 | grep -v ICMP | awk '{print $9, $10,
$13, $14, $15, $16}'
This give me the information need it every thay but it gives me lines
like this:
src: 10.250.135.75; dst: 10.252.133.234; service: snmp-read;
The problem came just in the service name, there is a way to avoid the
snmp-read and it gives me the tcp port number ?
Thanks in advance.
Jose Valdivia
CCSA, CCSE
Scanned by Check Point Total Security Gateway.
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================
Scanned by Check Point Total Security Gateway.
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================