Sunday, 21 July 2013
Fortinet Upgrade Procedures
The upgrade processes have usually been a issue with Check Point. However, it is unbelievably easy for security vendor Fortinet (even in the cluster env.)
- .out file is downloaded from the support site.
- it is uploaded through GUI.
then, all process goes on automatically; firstly the active member is upgraded with losing 4 - 6 ping packets, and then 2-3 ping lost while upgrading the second member.
I suppose the reason is truly the architecture difference behind these boxes.
Monday, 13 May 2013
Friday, 22 February 2013
Network Troubleshooting - Cisco Packet Flow
To be or not to be.
Incoming or Outgoing Packets, sometimes understanding these two subjects are very vital in troubleshooting process.
Incoming or Outgoing Packets, sometimes understanding these two subjects are very vital in troubleshooting process.
ip access-list extended gre-debug-out
permit gre any any log // optional
permit ip any any log
ip access-list extended gre-debug-in
permit gre any any log // optional
permit ip any any log
interface GigabitEthernet0/1
ip access-group gre-debug-in in
ip access-group gre-debug-out out
Here it is;
show ip access-list gre-debug-in
show ip access-list gre-debug-out out
Here it is;
show ip access-list gre-debug-in
show ip access-list gre-debug-out out
believe me you will like the result..
:)
Identity Awareness - User & Machine Identification
Even though you see users and/or machines as acquired in Smart Dashboard, pdp monitor is the place where AD query comes in. If you do not see users/machines in pdp monitor, It means that Check Point did not actually acquire the users/machines.
pdp monitor all |more
pdp monitor all |grep machine/username
pdp monitor all |more
pdp monitor all |grep machine/username
Friday, 15 February 2013
IPS Update: ips scheduled update ended with errors
To manually update the IPS database;
1- Close all GUI applications,
2- Open a GUIDBEdit to the SMC (Application:GuiDBedit.exe)
3- Search (Search->Find) for: autoupdate_and_install_status_obj
Once found you will see a field named status under that object.
4- Change the value of status 0
5- Save changes,close GUIDBEDIT
6- Open Dashboard and verify if the issue resolved.
Note : There is a fix for this issue, Request it from Support.
5- Save changes,close GUIDBEDIT
6- Open Dashboard and verify if the issue resolved.
Note : There is a fix for this issue, Request it from Support.
Wednesday, 13 February 2013
ClusterXL - Do not Consume Public IPs for ClusterXL
Configuring Cluster Addresses on Different Subnets
Only one routable IP address is required in a ClusterXL cluster, for the virtual cluster interface that faces the Internet. All cluster member physical IP addresses can be non-routable.Configuring different subnets for the cluster IP addresses and the member addresses is useful in order to:
- Enable a multi-machine cluster to replace a single-machine gateway in a pre-configured network, without the need to allocate new addresses to the cluster members.
- Allow organizations to use only one routable address for the ClusterXL Gateway Cluster. This saves routable addresses.
ClusterXL virtual IPs and your members physical (or VLAN) interfaces do not need to be on the same subnet. So you can simply use whichever addresses you like for each of the cluster interfaces (apart from internal/management and external/VPN-routable interfaces obviously). And of course this applies to physical untagged interfaces unlike our case too.
I settled for using tiny Class B private space /30 subnets for each VLAN, enough for just our 2 cluster members like this. The topology would then look like this.
I settled for using tiny Class B private space /30 subnets for each VLAN, enough for just our 2 cluster members like this. The topology would then look like this.
Beware of the spoofing and routing
Now here’s just 2 catches with this configuration. First off, anti-spoofing will apply to the members local interface network and not the ClusterXL virtual one, so you can’t use the comfortable “Network defined by the interface IP and Net Mask” setting unless you want all your traffic dropped/detected as spoofed. Instead just define a specific subnet object representing the ClusterXL interface subnet.
The second thing which shortly caused some headache for me was that SPLAT/Gaia wouldn’t know where it needs to route the public subnet. Now that the physical interfaces to those subnets had different IPs, the OS naturally lacked the proper routing information and would forward traffic through the default route.
To solve this, I added static interface-based routes for each public subnet like this. To my confusion however, they didn’t help and seemed to have no effect. Checking the firewall nodes routing table via SSH confirmed that there was no corresponding entry present.
To solve this, I added static interface-based routes for each public subnet like this. To my confusion however, they didn’t help and seemed to have no effect. Checking the firewall nodes routing table via SSH confirmed that there was no corresponding entry present.
Instead I had to issue the following in expert mode on the nodes to activate my routes:
# route add -net 47.88.145.40/29 eth8.356
The routing table would now look like this:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.31.255.16 0.0.0.0 255.255.255.252 U 0 0 0 eth8.356
47.88.145.40 0.0.0.0 255.255.255.248 U 0 0 0 eth8.356
# route add -net 47.88.145.40/29 eth8.356
The routing table would now look like this:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.31.255.16 0.0.0.0 255.255.255.252 U 0 0 0 eth8.356
47.88.145.40 0.0.0.0 255.255.255.248 U 0 0 0 eth8.356
On the new Gaia CLI it looks like this:
> show route
Codes: C – Connected, S – Static, R – RIP, B – BGP,
O – OSPF IntraArea (IA – InterArea, E – External, N – NSSA)
A – Aggregate, K – Kernel Remnant, H – Hidden, P – Suppressed
C 47.88.145.40/29 is directly connected, eth8.356
C 172.31.255.16/30 is directly connected, eth8.356
The route command in expert mode alone doesn’t survive a reboot, you still need to set all routes in the Gaia/SPLAT CLI/Webinterface on all members. I confirmed that the routes are being applied properly after a reboot. Also, static routes using Gateway IPs do not need a reboot either, so this seems like a bug specific to using interface-based routes.
> show route
Codes: C – Connected, S – Static, R – RIP, B – BGP,
O – OSPF IntraArea (IA – InterArea, E – External, N – NSSA)
A – Aggregate, K – Kernel Remnant, H – Hidden, P – Suppressed
C 47.88.145.40/29 is directly connected, eth8.356
C 172.31.255.16/30 is directly connected, eth8.356
The route command in expert mode alone doesn’t survive a reboot, you still need to set all routes in the Gaia/SPLAT CLI/Webinterface on all members. I confirmed that the routes are being applied properly after a reboot. Also, static routes using Gateway IPs do not need a reboot either, so this seems like a bug specific to using interface-based routes.
Monday, 11 February 2013
Smart Event & Reporter (CPU Peaks)
# evstop
# rm –r * $RTDIR/distrib/*
# evstart
SmartEvent konsolu içersinden policy install yapalım.
If not resolved,
# fw debug cpsemd on TDERROR_ALL_ALL=5
# fw debug cpsead on TDERROR_ALL_ALL=5
to end debug;
# fw debug cpsemd off TDERROR_ALL_ALL=0
# fw debug cpsead off TDERROR_ALL_ALL=0
Then check these files $RTDIR/log/cpsemd.elg* and $RTDIR/log/cpsead.elg*
Subscribe to:
Posts (Atom)
