Skip to content
Snippets Groups Projects
Commit db7c72f0 authored by Pierre Lalet's avatar Pierre Lalet Committed by Guillaume Valadon
Browse files

Add conf.checkIPinIP (#387)

* Add conf.checkIPinIP

This setting, when set to False, will exclude IP layers which encapsulate
another IP layer from the checks to tell if a packet is an answer to
another one.

Fixes #383

* conf.checkIPinIP affects both IP() and IPv6()

Setting conf.checkIPinIP will handle IP()/IP(), IP()/IPv6(),
IPv6()/IP(), IPv6()/IPv6().

Thanks @guedou!

* Clean-up IP.hashret and .answers code

* Add tests for .hashret() and .answers()
parent 7ec0af2c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment