10-05-2017 02:39 AM - edited 02-21-2020 06:26 AM
Hello All,
I have configured service policy rules on my ASA 5545 :
policy-map CONNS
class AttackingTraffic
inspect http HTTPDOS
set connection conn-max 200000 embryonic-conn-max 10000 per-client-max 300 per-client-embryonic-max 20
set connection timeout idle 1:00:00 dcd 0:15:00 5
user-statistics accounting
class ips_class
user-statistics accounting
ips inline fail-open
===
After applying these rules i don't see any reduction in the total number of connections on ASA...those keep on increasing...also when i add http in Service for inspection then the http service used on the Server is not working and when i remove http the service starts working again.
Kindly let me know where i am wrong.
Thanks
10-05-2017 03:45 AM - edited 10-05-2017 03:47 AM
Hello,
How does did you mark the traffic ? Can you show the wrole configuration?
- If I helped you somehow, please, rate it as useful.-
10-05-2017 03:54 AM
Hello,
u mean whole configuration of the ASA or just the below one?
CiscoASA# sh run policy-map
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map type inspect http http_inspect
parameters
protocol-violation action drop-connection log
class asdm_high_security_methods
drop-connection
match request header non-ascii
drop-connection
policy-map type inspect http HTTPDOS
parameters
match request uri regex AttackString
drop-connection
match request args regex AttackString
drop-connection
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
inspect http http_inspect
class global-class
set connection advanced-options tcp-state-bypass
policy-map CONNS
class AttackingTraffic
inspect http HTTPDOS
set connection conn-max 200000 embryonic-conn-max 10000 per-client-max 300 per-client-embryonic-max 20
set connection timeout idle 0:05:00 dcd 0:15:00 5
user-statistics accounting
class ips_class
user-statistics accounting
ips inline fail-open
!
10-05-2017 04:02 AM
Where are you marking your traffic? Do you have an ACL for that ?
Take a look here:
-If I helped you somehow, please, rate it as useful.-
10-05-2017 04:06 AM
yes i have....pls chk the below lines of config:
access-list HTTPTRAFFIC extended permit tcp any host 192.168.3.16 eq https
access-list HTTPTRAFFIC extended permit tcp any host 192.168.3.17 eq https
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide