Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: iptables limit speed of SAMBA |
|---|---|
| Date: | Thu, 3 Jul 2008 07:18:25 +0100 |
2008/7/2 yuan shijiang <yshijiang@gmail.com>:
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 a packet isn't that going to close the connection? Last time I needed to do linux traffic shaping I used the tc stuff described here: http://lartc.org/howto/ The HOWTO is pretty scary, but there's an example script here: http://lartc.org/howto/lartc.cookbook.ultimate-tc.html cheers, Jamie -- Jamie Riden / jamesr@europe.com / jamie@honeynet.org.uk UK Honeynet Project: http://www.ukhoneynet.org/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | iptables limit speed of SAMBA, yuan shijiang |
|---|---|
| Previous by Thread: | iptables limit speed of SAMBA, yuan shijiang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |