Menu

#26 Replace TOS field value on FWMARK

open
nobody
5
2013-02-08
2009-11-08
Anonymous
No

Hello!

I believe the function would be very useful, allowing to read out iptables FWMARK from the intercepted packet and to replace with it value of field TOS in the sent statistics. It will essentially expand possibilities of classification of the traffic at processing of the received statistics and use of the values received from this field as a condition for classification. It is possible to add such function?

Andrey

Discussion

  • Giedrius Liubavičius

    Hi, edit ipt_NETFLOW.c on about 1136 line:
    change from
    tuple.tos = iph->tos;
    to this:
    tuple.tos = skb->mark;

     
  • ABC

    ABC - 2010-08-01

    Thanks linuxgiedrius.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.