114 lines
2.4 KiB
HTML
114 lines
2.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Connmark retriever action in tc</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Connmark retriever action in tc</H1>
|
|
Section: Linux (8)<BR>Updated: 11 Jan 2016<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
connmark - netfilter connmark retriever action
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
<BR>
|
|
|
|
<B>tc</B> ... <B>action connmark </B>[<B> zone</B>
|
|
|
|
<I>u16_zone_index</I> ] [ <I>CONTROL</I> ] [
|
|
|
|
<B>index</B><I> u32_index </I>
|
|
|
|
]
|
|
<P>
|
|
<BR>
|
|
|
|
<I>CONTROL</I> := { <I>reclassify</I> | <I>pipe</I> | <I>drop</I> | <I>continue</I> | <I>ok</I> }
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The connmark action is used to restore the connection's mark value into the
|
|
packet's fwmark.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>zone</B><I> u16_zone_index</I>
|
|
|
|
<DD>
|
|
Specify the conntrack zone when doing conntrack lookups for packets.
|
|
<I>u16_zone_index</I>
|
|
|
|
is a 16bit unsigned decimal value.
|
|
<DT id="2"><I>CONTROL</I>
|
|
|
|
<DD>
|
|
How to continue after executing this action.
|
|
<DL COMPACT><DT id="3"><DD>
|
|
<DL COMPACT>
|
|
<DT id="4"><B>reclassify</B>
|
|
|
|
<DD>
|
|
Restarts classification by jumping back to the first filter attached to this
|
|
action's parent.
|
|
<DT id="5"><B>pipe</B>
|
|
|
|
<DD>
|
|
Continue with the next action, this is the default.
|
|
<DT id="6"><B>drop</B>
|
|
|
|
<DD>
|
|
|
|
<B>shot</B>
|
|
|
|
Packet will be dropped without running further actions.
|
|
<DT id="7"><B>continue</B>
|
|
|
|
<DD>
|
|
Continue classification with next filter in line.
|
|
<DT id="8"><B>pass</B>
|
|
|
|
<DD>
|
|
Return to calling qdisc for packet processing. This ends the classification
|
|
process.
|
|
</DL>
|
|
</DL>
|
|
|
|
<DT id="9"><B>index</B><I> u32_index </I>
|
|
|
|
<DD>
|
|
Specify an index for this action in order to being able to identify it in later
|
|
commands.
|
|
<I>u32_index</I>
|
|
|
|
is a 32bit unsigned decimal value.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+tc">tc</A></B>(8)
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="14"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|