Handle multiple flows with the same client port in deterministic NAT 18/6118/4
authorJuraj Sloboda <jsloboda@cisco.com>
Wed, 5 Apr 2017 13:59:21 +0000 (15:59 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 12 Apr 2017 17:17:18 +0000 (17:17 +0000)
commit30d857cd07785461f993ec4a935d99af75673f4a
tree11495b013158a4a44dbfee58c1f5ce71f46b658d
parent6fb41fa52b559d2f6dda02d8739bcd54fbeb6c4f
Handle multiple flows with the same client port in deterministic NAT

Handle situation when client tries to connect to multiple hosts/ports
from the same client port. Extend matching to include remote host/port
when searching for existing session and create session for each flow
even when originating from the same client port.

Change-Id: I4f54ded930e59e7196843c6bc1d2d2386c57cd3c
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/plugins/snat/in2out.c
src/plugins/snat/snat_det.h