connmark and conntrack_ftp
Hello,
I'm working with Netfilter to build a system making QoS according to the mark of a connection. It works well with filters on the port and the ip, but I'd like to build something more efficient based on conntrack-* (ftp, irc, etc.). The problem is that I don't think it is possible right now. For example I have a ftp connection that have mark 2, and I'd like related connections to get mark 2 too.
Am I wrong when I say it is impossible ? Would it be possible to add it ?
Thank you in advance,
Signature · 1 line
Elie
Quoted 10 lines · Elie Roux
Hello,
I'm working with Netfilter to build a system making QoS according to the mark of a connection. It works well with filters on the port and the ip, but I'd like to build something more efficient based on conntrack-* (ftp, irc, etc.). The problem is that I don't think it is possible right now. For example I have a ftp connection that have mark 2, and I'd like related connections to get mark 2 too.
Am I wrong when I say it is impossible ? Would it be possible to add it ?
Not sure which example you're referring to. RELATED connection inheirit the mark from the master.