Skip to content
Snippets Groups Projects
Commit eea5aa90 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Don't ignore packets with bad question/header.

If at least DNS header comes, treat it as a DNS packet; else ignore.
If query doesn't carry a question, reply with FORMERR.
If query carries more questions, reply with FORMERR.
If packet parsing fails, reply with FORMERR.
If there is a TC/RA/AA flag in query, accept it as soft error.
parent 75607a95
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