- CheckMates
- :
- Products
- :
- General Topics
- :
- Re: cli logs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cli logs
Hi all,
I need syntax of the command , which provide complete details of traffic flow including details of tcp state, inbound and outbound,rule name, service , conn module details on checkpoint firewall live logs for tcpdump or Fw monitor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is probably more than a single command. Also, logs are usually sent to the management and handled there.
Can you elaborate on your usecase?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
there is a traffic between particular source and destination on specific port, we need to check inbound and outbound traffic flow of packet with details of tcp details, connect status ,rule for accepting or rejecting etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So for rule accepting, you can use below examples:
For traffic itself, try something like below and -F flag can be used as many times as you like.
fw monitor -F "1.1.1.1,0,2.2.2.2,4434,0" -F "2.2.2.2,0,1.1.1.1,4434,0"
In that example, 1.1.1.1 is src, 2.2.2.2 is dst and logic is like this:
src ip, src port, dst ip, dst port, protocol
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pretty sure you can only provide up to five -F flags. Also, I'm not aware of any way to do partial matches (e.g, to match a source network), only an exact value or a whole-field wildcard, so it's easy to burn through those five when troubleshooting all but the most trivial flows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob, thats good to know. I thought it was as many -F flags as you needed.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Val said, definitely more than a single command.
Andy
