Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GRE decapsulation #1442

Open
IvanNardi opened this issue Feb 9, 2022 · 4 comments
Open

Add support for GRE decapsulation #1442

IvanNardi opened this issue Feb 9, 2022 · 4 comments
Labels
enhancement good first issue Issues suited for new contributors.

Comments

@IvanNardi
Copy link
Collaborator

IvanNardi commented Feb 9, 2022

It would be nice to have GRE de-tunneling capability in ndpiReader (like GTP or CAPWAP).
Pcap example: gre_sip.zip

@IvanNardi IvanNardi added enhancement good first issue Issues suited for new contributors. labels Feb 9, 2022
@leonn
Copy link
Contributor

leonn commented May 23, 2022

Well de-tunneling capability is not hard to implement, but it brings more discussions like:

  • as GRE tunnels can have many layers, what to do with that info? just get it de-tunneled and discard the inner layers info? thins may lead to less visibility of what is actually happening
  • well GRE types vary and those have their own implementations to be covered (LCC-SLL/WCCP/ERSPAN etc) to provide a full de-tunneling capability

I think this need to be clarified before we can move forward

@torres-miguel
Copy link

Hi, I would like to contribute to this issue. However, I can see that further clarification was needed. Has it been solved somehow by now?

@IvanNardi
Copy link
Collaborator Author

Hi, I would like to contribute to this issue. However, I can see that further clarification was needed. Has it been solved somehow by now?

Let's start simple: try detunneling (i.e strip outer ip header and pass to nDPI the inner one) the trace attached above and gre.zip and gre_erspan.zip. We can add complexity later if/when required/necessary (expecially since this code is in the example and not in the library itself)

mmaatuq added a commit to mmaatuq/nDPI that referenced this issue Mar 28, 2023
@IvanNardi
Copy link
Collaborator Author

Added GRE v0 and v1 on f1193d5
TODO: ERSPAN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Issues suited for new contributors.
Projects
None yet
Development

No branches or pull requests

3 participants