I want to use iptables on UML.
The topology is that:
1-----2--------3
I set limition at 2 and send ping from 1 to 3.
I tried this command at 2:
iptables -A FORWARD -p icmp  -m limit --limit 1/m -j ACCEPT
to add the limition to the icmp packet.
But I find it I can still send ping packet as much as I want from 1 to 3, so 
the limit did not work.
Do you have any idea about it?
I used :iptables -L to check
follow is the output, which shows that the configuration is successful.
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request 
limit: avg 1/min burst 5
ACCEPT     icmp --  anywhere             anywhere            limit: avg 1/min 
burst 5
 
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
 
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Could you give me some advice if you have any experimence on it.
Thanks greatly
Yours,
Yiran



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to