Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
mahesh
Explorer

Traffic from Brazil was blocked using fwaccel dos rules but seeing 443 traffic allowed by Implied ru

Traffic from Brazil was blocked using fwaccel dos rules but seeing 443 traffic allowed by Implied rules. Below is the rule that was added in the gateway.

fwaccel dos rate add -action drop -log regular source cc:BR pkt-rate 0 service any

fwaccel does not block them though the rule blocks Brazil but the idea of the fwaccel rule was to override this implied rule for traffic from Brazil.

Can someone please assist ?

0 Kudos
14 Replies
the_rock
Legend
Legend

Did you try block using updatable object as a country?

Andy

0 Kudos
G_W_Albrecht
Legend Legend
Legend

fwaccel dos is meant for D0S attacks, not Geo IP - you can only blacklist IPs and block DoS attacks using a rate limit...

 

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
mahesh
Explorer

Yes, earlier there was a DDOS attack and customer tried blocking the traffic from Brazil using country code "BR" but it did not work so he added manual rules to block the traffic.

Later, we suspected an issue with IpToCountry mapping and so updated the IpToCountry.csv file and then removed all the manual entries and it almost worked fine. But still observing some 443 traffic from Brazil accepted by Implied rules.

I believe fwaccel rule should block all the traffic coming from Brazil but it is still allowed by Implied rules.

Is there any suggestion ?

Appreciate your help !

0 Kudos
the_rock
Legend
Legend

One thing to check, though dont believe its recommended to modify the implied rules, would be to look at $FWDIR/lim/implied_rules.def file on mgmt server

Andy

0 Kudos
mahesh
Explorer

May I ask what to check exactly in the file ?

the_rock
Legend
Legend

Not sure at this point. I might be able to make logical guess if you send the implied rule log.

Andy

0 Kudos
mahesh
Explorer

Below is the log screenshot of Smart console logs.

 

0 Kudos
the_rock
Legend
Legend

Can you double click on one of those logs for details?

0 Kudos
G_W_Albrecht
Legend Legend
Legend

https://support.checkpoint.com/results/sk/sk105740

 

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
mahesh
Explorer

I am aware of this sk but the idea of the fwaccel rule was to override this implied rule for traffic from Brazil. It should block all the traffic before hitting Implied rules I believe.

0 Kudos
PhoneBoy
Admin
Admin

A rate limit of zero should prevent any data from passing, but I don't believe it will prevent the connection from being established.
You may want to confirm this with TAC.

0 Kudos
CheckPointerXL
Advisor
Advisor

If i remember correctly, with fwaccel dos rules, log about implied rules are shown like accept but traffic is dropped. I will post reference if i found it

 

Anyway, try traffic from brazil if you can and verify by CLI if traffic is accepted for real or if it is dropped

0 Kudos
the_rock
Legend
Legend

Thats true.

0 Kudos
the_rock
Legend
Legend

@mahesh Were you able to sort this out?

Andy

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events