Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Herschel_Liang
Collaborator

Discuss with "fw6 sam_policy add"

微信截图_20220726213200.png

微信截图_20220726213259.png

[Expert@R80.30_GW1:0]# fw6 sam_policy add -a d -l r -t 3600 -n aaa quota service any source cidr:2::2/128 concurrent-conns 1000 fl ush true
add quota: validation failed: Bad source 'cidr:2::2/128' (-5)
[Expert@R80.30_GW1:0]# fw6 sam_policy add -a d -l r -t 3600 -n aaa quota service any source cidr:2::2/12 concurrent-conns 1000 flush true add quota: validation failed: Bad source 'cidr:2::2/12' (-5)
[Expert@R80.30_GW1:0]# fw6 sam_policy add -a d -l r -t 3600 -n aaa quota service any source cidr:"2::2/12" concurrent-conns 1000 flush true
add quota: validation failed: Bad source 'cidr:2::2/12' (-5)
[Expert@R80.30_GW1:0]# fw6 sam_policy add -a d -l r -t 3600 -n aaa quota service any source "cidr:2::2/12" concurrent-conns 1000 flush true
add quota: validation failed: Bad source 'cidr:2::2/12' (-5)
[Expert@R80.30_GW1:0]#

 

I want to block the IPv6 malicious source addresses via the SAM rule and have tried many many times, but it seems that suffer from a syntax issue. Who can tell me what is wrong with it? THX!

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

0 Kudos
Herschel_Liang
Collaborator

I have read it, but test fail. I would like to a detail example now.

0 Kudos
PhoneBoy
Admin
Admin

What precise fwaccel6 dos commands did you try and what were their precise results?

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events