| To: | lartc@mailman.ds9a.nl |
|---|---|
| Subject: | Re: [LARTC] know if packets are marked |
| From: | Torsten Luettgert <t.luettgert@pressestimmen.de> |
| Date: | Wed, 24 Jan 2007 15:51:57 +0100 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| In-reply-to: | <f05666f00701240229y54ff137r8b77f56fd329c4db@mail.gmail.com> |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| References: | <f05666f00701240229y54ff137r8b77f56fd329c4db@mail.gmail.com> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
On Mi, 2007-01-24 at 07:29 -0300, Roberto Pereyra wrote: > /usr/local/sbin/iptables -A PREROUTING -t mangle -m physdev > --physdev-in eth1 -p tcp --dport 80 -j MARK --set-mark 2 > > How I can know if this packets are marked ? On the same machine (your bridge), you can match the mark later with iptables ... -m mark --mark value[/mask] ... and there is a classifier for tc, too, I think. The mark doesn't stay on the packets once they leave your bridge, though, so you can't match them on other boxes. Regards, Torsten _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [LARTC] Are There better EQL devices, Joe Gavin |
|---|---|
| Next by Date: | [LARTC] ip alias + dsl modem, GodSharp |
| Previous by Thread: | [LARTC] know if packets are marked, Roberto Pereyra |
| Next by Thread: | Re: [LARTC] know if packets are marked, Andreas Unterkircher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |