<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 28, 2016 at 3:31 PM, Daniel Golle <span dir="ltr"><<a href="mailto:daniel@makrotopia.org" target="_blank">daniel@makrotopia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jo!<br>
<br>
On Thu, Apr 28, 2016 at 03:03:49PM +0200, Jo-Philipp Wich wrote:<br>
> my stomach feeling tells me that this is okay but can you elaborate on<br>
> the change?<br>
<br>
Currently all marking always happends in the PREROUTING chain. This<br>
doesn't catch locally generated traffic and thus also doesn't allow<br>
using match extensions like cgroup, owner or socket which are useful<br>
e.g. to re-route traffic from a specific local process (eg. dnsmasq).<br>
Similar to the rules in other tables, I'd assume that rules without any<br>
source should affect locally generated traffic and thus MARK rules<br>
should end up in the mangle table's OUTPUT chain in that case.<br></blockquote><div>Indeed an extension which is very much appreciated as we have similar use cases where we mark local traffic for routing decisions, etc ...</div><div><br></div><div>HansĀ </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Cheers<br>
<br>
<br>
Daniel<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</blockquote></div><br></div></div>