Firewalls
Back to list
Name:
Email:
*Note: Email address will appear as "user domain ext" to prevent harvesting.
Subject:
Message:
Re: iptables limit speed of SAMBA
Jul 03 2008 06:18AM
Jamie Riden (jamie riden gmail com)
2008/7/2 yuan shijiang <yshijiang (at) gmail (dot) com [email concealed]>:
> iptables -A OUTPUT -p tcp -o eth0- -s 192.168.1.0/24 --sport 445 -m
> hashlimit --hashlimit 20/sec --hashlimit-mode dstip --hashlimit-name
> samba -j ACCEPT
> iptables -A OUTPUT -p tcp -o eth0- -s 192.168.1.0/24 --sport 445 -j REJECT
If you REJECT...
[ more ]
Privacy Statement
Copyright 2010, SecurityFocus
> iptables -A OUTPUT -p tcp -o eth0- -s 192.168.1.0/24 --sport 445 -m
> hashlimit --hashlimit 20/sec --hashlimit-mode dstip --hashlimit-name
> samba -j ACCEPT
> iptables -A OUTPUT -p tcp -o eth0- -s 192.168.1.0/24 --sport 445 -j REJECT
If you REJECT...
[ more ]