Skip to content

pmacctd: add option 'gre_decap' for IPv4/GRE decapsulation of captured packets#228

Open
francoijs wants to merge 1 commit into
pmacct:masterfrom
francoijs:add-option-gre-decap
Open

pmacctd: add option 'gre_decap' for IPv4/GRE decapsulation of captured packets#228
francoijs wants to merge 1 commit into
pmacct:masterfrom
francoijs:add-option-gre-decap

Conversation

@francoijs
Copy link
Copy Markdown

@francoijs francoijs commented Sep 21, 2018

Hi there,
I propose this option that enables accounting of packets inside a GRE tunnel:

If set, makes the daemon decapsulate GRE-tunneled traffic.
Packets that are not encapsulated in an IPv4/GRE tunnel are processed as usual.

Copy link
Copy Markdown
Member

@paololucente paololucente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @francoijs , thanks very much for this, adding GRE inspection is a very nice feature to add. I was wondering whether you would be up to re-write the hook-ups to the rest of the code by using the existing tunnel facility already used for GTP (you can browse code for gtp_tunnel_func and gtp_tunnel_configurator). Let me know your thoughts.

@francoijs
Copy link
Copy Markdown
Author

Hi, thanks for the quick feedback!
No problem, I will have a look at the GTP code ASAP

@paololucente
Copy link
Copy Markdown
Member

@francoijs , thank you Sir. Paolo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants