| To: | Martin Josefsson <gandalf@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: IMQ / new Dummy device post. |
| From: | Andy Furniss <andy.furniss@xxxxxxxxxxxxx> |
| Date: | Sun, 18 Apr 2004 22:58:33 +0100 |
| Cc: | jamal <hadi@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <1082323432.13261.397.camel@xxxxxxxxxxxxxx> |
| References: | <407E5905.9070108@xxxxxxxxxxxxx> <1082031313.1039.13.camel@xxxxxxxxxxxxxxxx> <407EE3E5.8060200@xxxxxxxxxxxxx> <1082087553.1035.287.camel@xxxxxxxxxxxxxxxx> <4080356F.4020609@xxxxxxxxxxxxx> <1082145341.1026.125.camel@xxxxxxxxxxxxxxxx> <40810957.6030209@xxxxxxxxxxxxx> <1082203795.1043.18.camel@xxxxxxxxxxxxxxxx> <4081A824.5020107@xxxxxxxxxxxxx> <1082298480.1041.94.camel@xxxxxxxxxxxxxxxx> <4082AE45.7030101@xxxxxxxxxxxxx> <1082321582.1039.319.camel@xxxxxxxxxxxxxxxx> <1082323432.13261.397.camel@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 |
Martin Josefsson wrote: On Sun, 2004-04-18 at 22:53, jamal wrote:On Sun, 2004-04-18 at 12:35, Andy Furniss wrote:Connmark is a netfilter patch which is required by the type of P2P limiting/marking projects on sf.net that could mark bittorrent traffic.just from the sounds of it, appears it may be able to mark a group of related flows with the same fwmark.connmark is like nfmark but it marks the connection-entry in ip_conntrack instead. And then you can "restore" that mark to the nfmark of the packet at any time you want with filter rules.will be OK with connbytes sometime. I don't really know how to use it, but if it is possible to mark egress connections in output and have connmark match their incoming packets that would be a solution. I haven't got a clue if connmark can do this, though, just speculating.Does anyone else know, and why it's not compatable with connbytes?some of the netfilter people should be able to help.with connmark you mark the connection, and then you can "restore" that mark to packets in either direction in the mangle table of iptables. connmark isn't incompatible with connbytes. It's just that both patches modify the same part of the code, a struct, and the patch program can't handle that. You'll have to fix some rejects by hand, that's it. Thanks for that - though I hope not to have to use it now, just to confirm - does it work in all of the 5 mangle tables or more specifically could I mark every connection from local processes in output and restore the marks in prerouting? Andy. |
| Previous by Date: | Re: IMQ / new Dummy device post., Andy Furniss |
|---|---|
| Next by Date: | Re: IMQ / new Dummy device post., Andy Furniss |
| Previous by Thread: | Re: IMQ / new Dummy device post., Martin Josefsson |
| Next by Thread: | Re: IMQ / new Dummy device post., Martin Josefsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |