From: Murugavel T. <tmu...@gm...> - 2005-01-31 09:49:46
|
Hi My question is "Is it necessary to mark packet for snort-inline to process.?" iptables -t mangle -A FORWARD -p tcp -s <xxxxxx> --syn -m state --state NEW -j MARK --set-mark 1 regards murugavel On Mon, 31 Jan 2005 09:22:06 +0000, Victor Julien <vi...@nk...> wrote: > Murugavel Thiruvengadam wrote: > > Hi, > > > > We have to implement snort-inline without ip_conntrack module. > > > > Is it possible? > > > > iptables -t mangle -A FORWARD -p tcp -s <xxxxxx> --syn -m state > > --state NEW -j MARK --set-mark 1 > > iptables -t mangle -A FORWARD -p tcp -s <xxxxxxxxxx> -m state --state > > ESTABLISHED -j MARK --set-mark 2 > > iptables -A FORWARD -s <xxxxxxx> -j QUEUE > > > > > > In the above rule ipt_state using ip_conntrack module. > > > > Is there any other way to modify the rule without ip_conntack? > > > > > > Regards > > Murugavel > > > > > > > > > > > > > Hi Murugavel, > > You can just use: > > iptables -A FORWARD -j QUEUE > > This way you send all forwarded traffic to snort_inline, and you won't > need ip_conntrack. > > Hope this helps, > > Regards, > Victor > -- Regards Muruga>>----le> "Success comes to the person who does today" |