Hi
I wanted to achieve these iptables rule using the firewalls provided in freebsd, can anyone tell me how can i do that?
Actually i want to combime these two rules to drop x% of the SYN+ACK packets
Thanks
I wanted to achieve these iptables rule using the firewalls provided in freebsd, can anyone tell me how can i do that?
Actually i want to combime these two rules to drop x% of the SYN+ACK packets
Thanks
Code:
iptables -D INPUT -m statistic --mode random --probability 0.03 -j DROP
iptables -A INPUT -p tcp --tcp-flags SYN,ACK SYN,ACK -j DROP