DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] IPSEC-SECGW sample application
@ 2018-01-07 15:41 Avi Cohen (A)
  2018-01-08  8:47 ` Gowda, Sandesh
  0 siblings, 1 reply; 10+ messages in thread
From: Avi Cohen (A) @ 2018-01-07 15:41 UTC (permalink / raw)
  To: users


Hello
I'm using the DPDK17.11 and running the sample app. Ipsec_secgw.
I have 2 ports port 0 is protected and port 1 is unprotected 
Traffic is received in the unprotected and should be sent to the protected  port  for encryption
But the traffic processing for the traffic received in the unprotected port is going through the **process_pkts_inbound ** .
I expect that the traffic should be directed to the  **process_pkts_outbound**  [where ESP headers are added etc.]
Can someone help ?


This is the config file:

#SP rules
sp ipv4 in esp protect 5 src 1.1.1.2/32 dst 1.1.2.10/32 
#SA rules
sa in 5 cipher_algo aes-128-cbc cipher_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \
auth_algo sha1-hmac auth_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \
mode ipv4-tunnel src 172.16.1.5 dst 172.16.2.5 \
type inline-protocol-offload port_id 0
#Routing rules
rt ipv4 dst 172.16.2.5/32 port 0
rt ipv4 dst 1.1.2.0/24 port 0
rt ipv4 dst 1.1.1.0/24 port 0


and this is the command line to run the applic:

./ipsec-secgw -l 1 -n 2 -- -p 0x3 -P -u 0x2 --config="(0,0,1),(1,0,1)" -f ../ep1.cfg


Best Regards
Avi

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-15 13:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-07 15:41 [dpdk-users] IPSEC-SECGW sample application Avi Cohen (A)
2018-01-08  8:47 ` Gowda, Sandesh
2018-01-08 11:47   ` Avi Cohen (A)
2018-01-08 16:34   ` Avi Cohen (A)
2018-01-08 17:23     ` Gowda, Sandesh
2018-01-09  9:38       ` Avi Cohen (A)
2018-01-09 10:00         ` De Lara Guarch, Pablo
2018-01-09 15:15           ` Avi Cohen (A)
2018-01-14 13:53           ` Avi Cohen (A)
2018-01-15 13:54           ` Avi Cohen (A)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).