View previous topic :: View next topic |
Author |
Message |
thom_raindog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19731497224918134685054.gif)
Joined: 16 May 2008 Posts: 400
|
Posted: Wed Jul 09, 2008 7:38 pm Post subject: [obsolete] iptables question |
|
|
Hi there,
at appdb
http://bugs.winehq.org/show_bug.cgi?id=12302
people are working on a workaround for LotrO killing bandwidth. One approach is to use iptables to drop certain identical packages that are sent too quickly.
Here is the command that is given:
Code: | iptables -A FORWARD -p udp -m multiport --dports 9002,9008 -m length --length 1:100 -m filterdupes --cache-duration 85 -dupes-allowed 2 -j DROP |
Executing that I get:
an error where "something failed strangely.. I can't post that anymore, since I got rid of that by adding a few match codes to my kernel.
What's wrong there?
I have just emerged iptables for this very purpose. Do I need to set it up in a certain way first?
I am COMPLETELY new to the concept of iptables, so I can only copy and paste for now..
Last edited by thom_raindog on Thu Jul 10, 2008 3:10 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
massimo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/601340297511bb264633a9.png)
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Thu Jul 10, 2008 4:49 am Post subject: |
|
|
You have to enable support for packet filtering in the kernel too (netfilter). _________________ Hello 911? How are you? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Akhouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/4730619104577bab5a7815.png)
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 6:03 am Post subject: |
|
|
What error message do you get? It is not clear from your post. _________________ AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thom_raindog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19731497224918134685054.gif)
Joined: 16 May 2008 Posts: 400
|
Posted: Thu Jul 10, 2008 7:28 am Post subject: |
|
|
I edited my first post to try and answer your question,
The whole thing is rather pointless now anyway since one switch used (-m filterdupes) was just a proposed idea and does not exist...
Thanks anyway ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Akhouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/4730619104577bab5a7815.png)
Joined: 23 May 2003 Posts: 476 Location: The Two Niles, Africa
|
Posted: Thu Jul 10, 2008 7:32 am Post subject: |
|
|
Was wondering why I hadn't heard of filterdupes. _________________ AMD 64 3500+, 2Gb RAM DDR400, 2 x 180Gb SATA, 256Mb Nvidia |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|