| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
| I have noticed on our R70 FW1 we are no longer seeing the NAT during troubleshooting with fw monitor. I can see the NAT in Tracker and I can see it on the remote host, but I just do not see it during traffic analysis any longer, ie. all I see is the private IP addresses, as per: [fw_0] eth6:i[109]: 10.2.4.25 -> 196.1.1.1 (TCP) len=109 id=16270 TCP: 80 -> 50946 ...PA. seq=91b22ed5 ack=d2da1e71 [fw_0] eth6:I[109]: 10.2.4.25 -> 196.1.1.1 (TCP) len=109 id=17845 TCP: 80 -> 50946 ...PA. seq=91b22ed5 ack=d2da1e71 [fw_0] eth5:o[109]: 10.2.4.25 -> 196.1.1.1 (TCP) len=109 id=17845 TCP: 80 -> 50946 ...PA. seq=91b22ed5 ack=d2da1e71 [fw_0] eth5:O[109]: 10.2.4.25 -> 196.1.1.1 (TCP) len=109 id=17845 TCP: 80 -> 50946 ...PA. seq=91b22ed5 ack=d2da1e71 Whilst on an older machine, VSX R65 in this case, we get the following which is clear and easy to interpret as it includes the proper NAT taking place: eth6:i[40]: 10.15.1.2 -> 196.1.1.1 (TCP) len=40 id=56948 TCP: 80 -> 50940 ..R.A. seq=00000000 ack=a3cb30f1 eth6:I[40]: 10.15.1.2 -> 196.1.1.1 (TCP) len=40 id=56948 TCP: 80 -> 50940 ..R.A. seq=00000000 ack=a3cb30f1 wrp384:o[40]: 10.15.1.2 -> 196.1.1.1 (TCP) len=40 id=56948 TCP: 80 -> 50940 ..R.A. seq=00000000 ack=a3cb30f1 wrp384:O[40]: 196.28.84.130 -> 196.1.1.1 (TCP) len=40 id=56948 TCP: 80 -> 50940 ..R.A. seq=00000000 ack=a3cb30f1 This occurs both with manual and automatic NATs. I see that there is now a "[fw_0]" appended to the output, so I am assuming that there was an update of the tool. Does anyone know of a way to force it to show NATs, I hope there is some sort of option flag perhaps, as this really impacts on troubleshooting. ~~Pneuma Last edited by Pneuma; 2010-07-22 at 01:26. Reason: All CR removed on original |
| |||
| When you run a second SSH session to your gateway running fw monitor and issue the command fw ctl chain This will show the processes in the chain and where fw monitor is inserted, with the -pO 999 you can make sure the last outboud is at the end of the chain. __________________ Regards, Maarten. P1 R65.4 IPSO SPLAT IOS Last edited by msjouw; 2010-07-22 at 02:35. |
| |||
| Thanks Maarten, I have checked on the fw ctl's outbound chain, and NAT is sequence 3, the fwmonitor is seq 16, tcpt outbound is seq 15, so fw monitor *should* be picking up the chain after the NAT. I did use the "-pO 999" flag, and it definitely stuck fwmonitor at the end, but it appears to be completely ineffective: [fw_0] eth6:i3 (vpn decrypt)[40]: 10.1.1.1 -> 196.1.1.1 (TCP) len=40 id=8170 TCP: 1835 -> 5040 ....A. seq=91b4b392 ack=d2dbc151 [fw_0] eth6:I18 (fw SCV inbound)[40]: 10.1.1.1 -> 196.1.1.1 (TCP) len=40 id=19442 TCP: 1835 -> 5040 ....A. seq=91b4b392 ack=d2dbc151 [fw_0] eth5:o2 (vpn nat outbound)[40]: 10.1.1.1 -> 196.1.1.1 (TCP) len=40 id=19442 TCP: 1835 -> 5040 ....A. seq=91b4b392 ack=d2dbc151 [fw_0] eth5:O19 (Chain End)[40]: 10.1.1.1 -> 196.1.1.1 (TCP) len=40 id=19442 TCP: 1835 -> 5040 ....A. seq=91b4b392 ack=d2dbc151 This is very strange, it really is a pity that checkpoint didn't include any of this in the release notes for R70, as it seems the fundemental workings of fw monitor have been changed some how. The output of "fw monitor -?" is the same on R65 and this R70, so either there is no new flag, or the developers forgot to change the output of the help flag. I should mention I am using Check Point VPN-1(TM) & FireWall-1(R) R70 - Build 143, I will schedule to upgrade to the new R71 HFA 1 in the next few weeks, not sure if this issue exists in R71.10. ~~Pneuma Last edited by Pneuma; 2010-07-22 at 04:27. |
| |||
| Pneuma, We're not running 7x jet and I can say we have seen his behaviour in some of the R65 gateways as well... You can set the different steps iIoO all with a -px value flag so these are valid: -pi 1 -pI 999 -po 1 -pO 999 Also the processname (the short in brackets name) can be used to position fw monitor, use a + / - to set the before / behind the indicated process: -pI -vpn_pol Hope this helps a bit in further testing. __________________ Regards, Maarten. P1 R65.4 IPSO SPLAT IOS |
| |||
| Why not just use the "-p all" command? Quote:
For what it's worth, I see my R70.30+hotfixes gateway is showing NAT within my fw monitor: Quote:
__________________ Its all in the documentation. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |