DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to generate IPSec-based traffic in pktgen ?
@ 2017-05-02  7:24 ankit bhardwaj
  2017-05-02 20:26 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: ankit bhardwaj @ 2017-05-02  7:24 UTC (permalink / raw)
  To: users

Hi,

I want to test IPSec-based application in DPDK and pktgen is the right
choice for the packet generation. I could figure out how to generate GRE
packets, however, there is no proper documentation for generating
IPSec-based packets.

Is it possible to generate IPSec-based(ESP/AH) traffic in pktgen, if yes,
could you please tell me how to do that?

Thanks,
Ankit Bhardwaj

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

* Re: [dpdk-users] How to generate IPSec-based traffic in pktgen ?
  2017-05-02  7:24 [dpdk-users] How to generate IPSec-based traffic in pktgen ? ankit bhardwaj
@ 2017-05-02 20:26 ` Wiles, Keith
  2017-05-04  7:44   ` Andriy Berestovskyy
  0 siblings, 1 reply; 3+ messages in thread
From: Wiles, Keith @ 2017-05-02 20:26 UTC (permalink / raw)
  To: ankit bhardwaj; +Cc: users


> On May 2, 2017, at 3:24 AM, ankit bhardwaj <ankitbhrdwj27@gmail.com> wrote:
> 
> Hi,
> 
> I want to test IPSec-based application in DPDK and pktgen is the right
> choice for the packet generation. I could figure out how to generate GRE
> packets, however, there is no proper documentation for generating
> IPSec-based packets.
> 
> Is it possible to generate IPSec-based(ESP/AH) traffic in pktgen, if yes,
> could you please tell me how to do that?

At this time Pktgen does not support IPSec packets. The only way to use Pktgen and test a IPSec unit is to have PKtgen generate clear text packets and use two IPSec systems to receive clear text convert to IPSec Packets to another machine the convert IPSec to clear text back to Pktgen. I hope that is clear.

> 
> Thanks,
> Ankit Bhardwaj

Regards,
Keith

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

* Re: [dpdk-users] How to generate IPSec-based traffic in pktgen ?
  2017-05-02 20:26 ` Wiles, Keith
@ 2017-05-04  7:44   ` Andriy Berestovskyy
  0 siblings, 0 replies; 3+ messages in thread
From: Andriy Berestovskyy @ 2017-05-04  7:44 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: ankit bhardwaj, users

Hey,
We used pktgen to generate IPsec traffic using PCAP files. First
configure kernel to encrypt packets with a mode of your choice and
capture the packet with tcpdump. Then just pass the packet to pktgen
with -s option.

Sure it depends on your application, but it might suit the purpose...

Andriy


On Tue, May 2, 2017 at 10:26 PM, Wiles, Keith <keith.wiles@intel.com> wrote:
>
>> On May 2, 2017, at 3:24 AM, ankit bhardwaj <ankitbhrdwj27@gmail.com> wrote:
>>
>> Hi,
>>
>> I want to test IPSec-based application in DPDK and pktgen is the right
>> choice for the packet generation. I could figure out how to generate GRE
>> packets, however, there is no proper documentation for generating
>> IPSec-based packets.
>>
>> Is it possible to generate IPSec-based(ESP/AH) traffic in pktgen, if yes,
>> could you please tell me how to do that?
>
> At this time Pktgen does not support IPSec packets. The only way to use Pktgen and test a IPSec unit is to have PKtgen generate clear text packets and use two IPSec systems to receive clear text convert to IPSec Packets to another machine the convert IPSec to clear text back to Pktgen. I hope that is clear.
>
>>
>> Thanks,
>> Ankit Bhardwaj
>
> Regards,
> Keith
>



-- 
Andriy Berestovskyy

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

end of thread, other threads:[~2017-05-04  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02  7:24 [dpdk-users] How to generate IPSec-based traffic in pktgen ? ankit bhardwaj
2017-05-02 20:26 ` Wiles, Keith
2017-05-04  7:44   ` Andriy Berestovskyy

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