CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We've already had our first sign-ups!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 6/9, 7/14, 8/25, 10/6, 11/3, 12/8.
3. We have new forums in Portuguese and German (see below).
4. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
5. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Content Security/Security Servers/CVP/UFP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-09-08
pookicat pookicat is offline
Junior Member
 
Join Date: 2006-09-07
Posts: 5
pookicat has an average reputation (10+)
Default fw monitor -e doesn't work

Hi,

I'm running secureplatform ngx r61.

I'd like to capture the traffic with fw monitor for only specified source or destination address.

according to the fw monitor document at checkpoint, this syntax should work :
fw monitor -e 'accept src=1.2.3.4 or dst=1.2.3.4'

but the monitor exits with the following code :
monitorfilter :
"/opt/CPsuite-R61/fw1/tmp/monitorfilter.pf", line3 : ERROR: syntax error
Compilation failed.
monitor : filter compilation failed /opt/CPsuite-R61/fw1/tmp/monitorfilter

has anyone ever tried (and managed) to run fw monitor on secure platform ?

thanks
Reply With Quote
  #2 (permalink)  
Old 2006-09-08
kva.kva kva.kva is offline
Senior Member
 
Join Date: 2006-01-26
Location: Moscow, Russia
Posts: 706
kva.kva has an average reputation (10+)
Default Re: fw monitor -e doesn't work

You forget ";".

fw monitor -e "accept src=1.2.3.4 or dst=1.2.3.4;"
Reply With Quote
  #3 (permalink)  
Old 2006-09-11
pookicat pookicat is offline
Junior Member
 
Join Date: 2006-09-07
Posts: 5
pookicat has an average reputation (10+)
Default Re: fw monitor -e doesn't work

so easy.

thanks a lot.

next time I'll RCTFM (read Carefully etc.)
Reply With Quote
  #4 (permalink)  
Old 2008-04-03
mckenng mckenng is offline
Junior Member
 
Join Date: 2006-05-26
Posts: 7
mckenng has an average reputation (10+)
Default Re: fw monitor -e doesn't work

Running SPLAT R55 If I do the same I stiull get an Illegal command

fw monitor -e "accept src=1.2.3.4 or dst=3.4.2.1;"
Illegal command

any ideas is the syntax different in R55?
Reply With Quote
  #5 (permalink)  
Old 2008-04-03
melipla melipla is offline
Senior Member
 
Join Date: 2006-01-25
Posts: 655
melipla has an average reputation (10+)
Default Re: fw monitor -e doesn't work

Try it like this:

fw monitor -e "accept ((src=1.2.3.4) or (dst=3.4.2.1));"
__________________
Its all in the documentation.
Reply With Quote
  #6 (permalink)  
Old 4 Weeks Ago
chillyjim chillyjim is offline
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,463
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: fw monitor -e doesn't work

Also make sure you are in expert mode or it won't work either and generates a syntax error.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 02:32.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0