On Wed, Jun 01, 2016 at 12:01:45AM +0200, William Lallemand wrote:
> Hello,
>
> Here a set of patches implementing http/tcp set-{dst,src}[-port].
>
> The feature can be useful to connect to a IP/port which is defined in a map.
Merged, thank you William.
I'm seeing that set-src/set-dst force the port to zero by default and
that it is what we used to have already in 1.6. I think it would have
been better to preserve the original value, in order to let src and
src-port be preformed in any order, but I guess we decided on forcing
to zero in 1.6 just because there was no action to set the port :-/
Maybe that's something we can change in 1.7 if nobody objects, as it
would make it more obvious what a configuration does (though the doc
is pretty clear about it).
Willy