DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] l2fwd-crypto sample application
@ 2018-01-21 16:36 Avi Cohen (A)
  2018-01-22  9:19 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Cohen (A) @ 2018-01-21 16:36 UTC (permalink / raw)
  To: users

Hi
Is it possible to run this application for the following use-case:

[similar to ipsec-secgw application]

2 hosts  A and B connected back to back via port 2 

In A:
-  Clear-text  packet received on port 1
- Packet is encrypted and sent  to port 2

In B:
- the encrypted packet is received on port 2 in server B
- packet is decrypted and sent to port 1 

Best Regards
Avi
 

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

* Re: [dpdk-users] l2fwd-crypto sample application
  2018-01-21 16:36 [dpdk-users] l2fwd-crypto sample application Avi Cohen (A)
@ 2018-01-22  9:19 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2018-01-22  9:19 UTC (permalink / raw)
  To: Avi Cohen (A), users

Hi Avi,

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Avi Cohen (A)
> Sent: Sunday, January 21, 2018 4:36 PM
> To: users@dpdk.org
> Subject: [dpdk-users] l2fwd-crypto sample application
> 
> Hi
> Is it possible to run this application for the following use-case:
> 
> [similar to ipsec-secgw application]
> 
> 2 hosts  A and B connected back to back via port 2
> 
> In A:
> -  Clear-text  packet received on port 1
> - Packet is encrypted and sent  to port 2
> 
> In B:
> - the encrypted packet is received on port 2 in server B
> - packet is decrypted and sent to port 1

Yes, the idea would be running L2fwd-crypto on both hosts and both ports.
The command line on host A would be (example: AES-CBC only encryption) :

./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_algo aes-cbc --cipher_op ENCRYPT /
--cipher_iv_random_size 16 --cipher_key_random_size 16

Whereas, on host B:

./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_algo aes-cbc --cipher_op DECRYPT /
--cipher_iv_random_size 16 --cipher_key_random_size 16

Pablo

> 
> Best Regards
> Avi
> 

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

end of thread, other threads:[~2018-01-22  9:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21 16:36 [dpdk-users] l2fwd-crypto sample application Avi Cohen (A)
2018-01-22  9:19 ` De Lara Guarch, Pablo

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).