Xdp tunnel 7674 v9#2969
Conversation
3305c7e to
f2b8d55
Compare
f2b8d55 to
38ee398
Compare
|
I generally like the idea and the PR. Two things that I would suggest:
Then, for the final state, I would expect that at least the help command would give more info on what it is and what it requires (sudo + interface). |
|
Especially with I have received some during my short observation of the |
You can use your own dummy interface other than lo ;-) |
@jasonish should I add
I think this is outside of the scope of SV and should be done by the caller... |
You have to opt-in to live mode right? So can't run.py just do the check and error out if not root? |
This has me wondering if integrating replay tests into the namespace based testing makes sense. A name space with a virtual network card could automatically be created as one of the environments, and the replay managed by the existing life cycle there. Just a thought for now, as I'm still iterating on that work quite rapidly and want to keep focus on live firewall testing at the moment. |
Tricky argument. The same can be applied to "The script should not link up the interface and leave it like that" heh. Well, I think the use of |
Ticket: 7674
Ticket: 7674
Allows to check for ebpf compiled filter
Ticket: 7674
38ee398 to
1d95932
Compare
But I think "root" may not be needed for all live tests, I think it is needed by the current test only for the ebpf part |
Thanks for this, looks like my case was already overruled by Jason. So, I will try to create a new virtual device with a random name, so the user does not need to specify any live interface |
|
Next version in #3045 |
Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/7674
#2777 continuation :