Re: [PATCH nft] Add tproxy support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Máté Eckl <ecklm94@xxxxxxxxx> wrote:
> For example:
> 	table ip x {
> 		chain y {
> 			type filter hook prerouting priority -150; policy accept;
> # Now I print this:
> 			ip protocol tcp tproxy ip to 1.1.1.1
> # but I'd like this:
> 			ip protocol tcp tproxy to 1.1.1.1
> 		}
> 	}
> 
> Is there a way to do this?

Yes, you can add a 'uint8_t family' to the tproxy expr
and fill it in netlink_delinarize:

expr_tproxy->tproxy.family = ctx->table->handle.family;
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux