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 just added two more speakers!
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 > Services
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-02-04
tohhwee72 tohhwee72 is offline
Junior Member
 
Join Date: 2007-04-10
Posts: 10
tohhwee72 has an average reputation (10+)
Default what is the prot range for service any

In Checkpoint NGX, what is the port range for service any? Is it only include well know ports from 0-1024 or even high? Where can l find the port range for service any in Checkpoint Smart Centre?

Thanks a lot
Reply With Quote
  #2 (permalink)  
Old 2008-02-05
melipla melipla is offline
Senior Member
 
Join Date: 2006-01-25
Posts: 670
melipla has an average reputation (10+)
Default Re: what is the prot range for service any

Any, AFAIK, means any port / any protocol.

There are some strange exceptions, like X11 for which there's an option to include in any or not. There's other problems such as vpn routing which even though it may match the any rule, it may still drop due to the packet not being encrypted.

HTH
__________________
Its all in the documentation.
Reply With Quote
  #3 (permalink)  
Old 2008-02-05
rokudan rokudan is offline
Member
 
Join Date: 2008-01-10
Location: Orlando, FL
Posts: 75
rokudan has an average reputation (10+)
Send a message via AIM to rokudan
Default Re: what is the prot range for service any

All ports... 1-65535... And any protocol, tcp/udp plus about 50 or so other protocols...
Reply With Quote
  #4 (permalink)  
Old 2008-02-05
Tommo Tommo is offline
Junior Member
 
Join Date: 2007-02-23
Posts: 21
Tommo has an average reputation (10+)
Default Re: what is the prot range for service any

It's not that simple as I understand - The service "Any" simply means services against which the "Match for Any" field is ticked within the advanced properties for a service.

If you go into your protocol list, expand a type (e.g TCP or UDP services for example) double click on a protocol (e.g. HTTP), click on Advanced, if "Match for Any" is ticked, will be allowed through by your service of "Any".

Hope this helps.
Reply With Quote
  #5 (permalink)  
Old 2008-02-05
dsb.nepo dsb.nepo is offline
Senior Member
 
Join Date: 2006-04-30
Location: Europe, Germany
Posts: 112
dsb.nepo has an average reputation (10+)
Default Re: what is the prot range for service any

If you use a splat or *nix version you can get a list with the following command.

Code:
printf "localhost\n-t services -pf\n-q\n" | queryDB_util | awk '/Object Name/ {host=$3} /include_in_any/ {print host, ":"$2}' | tee Any_Service.log
This line is from the great book
Essential Checkpoint Firewall 1
ISBN 0-321-18061-5
Author: Dameon D. Welch-Abernathy
Reply With Quote
  #6 (permalink)  
Old 2008-02-05
rokudan rokudan is offline
Member
 
Join Date: 2008-01-10
Location: Orlando, FL
Posts: 75
rokudan has an average reputation (10+)
Send a message via AIM to rokudan
Default Re: what is the prot range for service any

Quote:
Originally Posted by Tommo View Post
It's not that simple as I understand - The service "Any" simply means services against which the "Match for Any" field is ticked within the advanced properties for a service.

If you go into your protocol list, expand a type (e.g TCP or UDP services for example) double click on a protocol (e.g. HTTP), click on Advanced, if "Match for Any" is ticked, will be allowed through by your service of "Any".

Hope this helps.
That only applies if you have multiple objects on the same port configured. If you setup say a tcp object call test1 and give it port 123 and then create test2 with the same port 123, the one that has Match for any, is where it will get its properties from when used in an any rule. If there is not specific service setup for the port, then match for any does not apply. If there is already a single object with that setup, it just pulls that objects properties.

So in short, any does mean all ports 1-65535, just when/if something is ticked as Match for any, it will use that object for properties like timeout, sync, type.
Reply With Quote
  #7 (permalink)  
Old 2008-02-06
gavvys gavvys is offline
Senior Member
 
Join Date: 2007-04-10
Location: India
Posts: 127
gavvys has an average reputation (10+)
Send a message via Yahoo to gavvys
Default Re: what is the prot range for service any

Hi,
Good Question
I agree with Tommo.
Whoever is not agree please click on help option after going to advanced option in service.

You will find the answer over there.

Regards
Ranjit
Reply With Quote
  #8 (permalink)  
Old 2008-02-06
chillyjim chillyjim is online now
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,509
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: what is the prot range for service any

The "Match on any" is for defined services that are in conflict.

e.g. ssh and ssh_v2; an "any" rule matches "ssh"

If "any" was not "all ports and protocols" the "any any any drop" rule wouldn't work.

I've posted this before, but I can't find it right now.
The following is from Check Point Development

Quote:
“Any” service means every port (known, defined, unknown, or undefined) when used in the rulebase. Otherwise, “any, any, any, any, drop” rule would be completely worthless.

However, there are various reasons why a packet may get dropped despite having a single any,any,any,any,accept rule in the rulebase. These reasons vary from version to version and hotfix to hotfix primarily because these versions can include new deep-level application inspect (service dropped by SmartDefense protocol enforcement such as SIP drop when encapsulated in http).
Some common reasons for drop packets despite “any-accept” rule:
- Protocol enforcement (i.e. port 80 really is http traffic)
- IP Options flags exist on the IP header and is dropped before rulebase (i.e. PIM multicast traffic in version 4.1)
- (Rare) Limitation in Firewall, Acceleration, QOS, or Clustering implementation that see the traffic as invalid (usually quickly fixed in a later HFA or SHF)
- TCP out of state (asymmetric routing problems or long delays that allow tcp start timeout to expire before syn-ack)
- UDP or undefined service out of state caused by bi-directional data traffic
- Complex code required for NAT and other functions but proper inspect is not being called by “any” rule (mentioned by Adam)
o this can happen when more than one service of a specific port # is defined with “match for any” checked
o or, if “match for any” checkbox was removed from an important service definition and other duplicate service objects exist with less complex inspect code calls
o or, if a new service was defined and selected as “match for any” which negates the inspect code of other pre-defined services. An example of this would be manually creating a tcp service for port 135 and configuring it for “match for any”. This would potentially prevent the portmap service from properly matching the dce-rpc code uuid’s defined in the dce-rpc pre-defined services.

In short, because the list of reasons is dynamic from one version to the next and can be very specific to unpredictable customer mis-configurations, it is not practical to try to compile a complete list and keep it up-to-date.

I hope that the above information helps you respond effectively short of providing a simple list.
Reply With Quote
  #9 (permalink)  
Old 2008-02-06
chillyjim chillyjim is online now
Senior Member
 
Join Date: 2005-08-29
Location: Upstate NY
Posts: 1,509
chillyjim has an average reputation (10+)
Send a message via AIM to chillyjim Send a message via Skype™ to chillyjim
Default Re: what is the prot range for service any

Quote:
Originally Posted by melipla View Post
There are some strange exceptions, like X11 for which there's an option to include in any or not.
X11 runs "backwards" to normal services (your desktop is the server not the the client), which is why it dropped on an any rule.
Reply With Quote
  #10 (permalink)  
Old 2008-02-06
rokudan rokudan is offline
Member
 
Join Date: 2008-01-10
Location: Orlando, FL
Posts: 75
rokudan has an average reputation (10+)
Send a message via AIM to rokudan
Default Re: what is the prot range for service any

I agree with chillyjim... ;)
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 10:59.


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