# Suricata and dpdk in secondary mode

**URL:** <https://forum.suricata.io/t/suricata-and-dpdk-in-secondary-mode/3903>\
**Category:** Developers\
**Tags:** suricata, dpdk\
**Created:** [September 7, 2023, 10:10am UTC](https://forum.suricata.io/t/suricata-and-dpdk-in-secondary-mode/3903 "2023-09-07T10:10:44Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![zappasodi](https://avatars.discourse-cdn.com/v4/letter/z/ebca7d/32.png) [@zappasodi](https://forum.suricata.io/u/zappasodi)\
**Post date:** [September 20, 2023, 2:43pm UTC](https://forum.suricata.io/t/suricata-and-dpdk-in-secondary-mode/3903/7 "2023-09-20T14:43:20Z")

</div>

Hi Lukas,  
many thanks for your feedback.

> [@lukashino](#):
>
> So you say, you have let’s say one interface from which you want to pass packets to both/multiple applications?

Yes, the first application is OVS with DPDK.  
Have you ever tested OVS\dpdk with Suricata\dpdk?

> [@lukashino](#):
>
> I imagine your topology like this:
> 
> ```auto
> [IF] -> DPDK_APP1
> -> DPDK_Suricata
> 
> ```

is it possible to apply this schema in IPS inline mode?  
I would think to something like this:  
[IF] → OVS → DPDK\_APP1 → `DPDK\_Suricata → …

and I was thinking to attach Suricata to a tap device  
[IF] ↔ [OVS\DPDK] - [TAP] ↔ `Suricata ↔ …

but it is not working. In my system I can use tap and OVS with or without dpdk, that’s usually not a problem.  
Do you know if Suricata supports tun\tap devices?  
From my test it doesn’t seem to work even in a “normal” environment without dpdk.

> [@lukashino](#):
>
> look if a hardware TAP is possible

TAPI hardware is not possible.

> [@lukashino](#):
>
> try the secondary mode branch from my repo that was suggested earlier

I’m testing your branch.

---

_[View the full topic](https://forum.suricata.io/t/suricata-and-dpdk-in-secondary-mode/3903)._
