verifying set-mark
Quoted 9 lines
Now, I don't seem to have a man page for tc-filters, I can't find it on the internet, nor can I find it in the source (I looked in iproute2-2.6.19-061214), so I'm afraid nobody's got it which makes this a dead end.
There surely must be examples around that show how to work with tc and iptables' mark. Perhaps this will get you going:
http://www.szabilinux.hu/bandwidth/index.html
Thanks for that link. I realized that I was marking on POSTROUTING rather than FORWARD. The correction solved the problem of throttling, however, I'd still like to know how to use tcpdump to verify the mark is being set.
Thanks,
Casey
Quoted 6 lines
Grts,
Rob
Quoted 3 lines · Casey Scott
Thanks for that link. I realized that I was marking on POSTROUTING rather than FORWARD. The correction solved the problem of throttling, however, I'd still like to know how to use tcpdump to verify the mark is being set.
You cannot. The mark is a kernel internal thingy. Tcpdump sees the packets "on the wire", the mask is long gone by that time.
HTH,
M4
Quoted 8 lines
Quoted 6 lines
Thanks for that link. I realized that I was marking on POSTROUTING rather than FORWARD. The correction solved the problem of throttling, however, I'd still like to know how to use tcpdump to
verify the mark is being set.
Quoted 5 lines
You cannot. The mark is a kernel internal thingy. Tcpdump sees the packets "on the wire", the mask is long gone by that time.
HTH,
M4
That explains a lot! Thanks.
Casey