Optimization #7430
open
dns: parse more than 255 name segments to find end of name
Added by Jason Ish about 1 year ago.
Updated 18 days ago.
Description
Currently if the DNS parser hits the 255 label limit with no pointer reached, and not end of name indicator, parsing will fail, as we don't yet know the end of the data. Per @Philippe Antoine we should just keep on parsing if not loop condition is hit - this will get us to the end of data.
- Blocked by Security #7280: dns: quadratic complexity in logging and invalid json as output added
- Subject changed from dns: keep parsing pass current iteration limit if not pointer has been reached to dns: parse more than 255 name segments to find end of name
- Status changed from New to Assigned
- Assignee changed from OISF Dev to Jason Ish
- Target version changed from 8.0.0-beta1 to 9.0.0-beta1
Hmm
dig 0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.0.1.com
'....com' is not a legal name (ran out of space)
Also available in: Atom
PDF