You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the p0f tool, the olen field is defined as: "length of IPv4 options or IPv6 extension headers. Usually zero for normal IPv4 traffic; always zero for IPv6 due to the limitations of libpcap."
The pnet library in Rust provides functionality to parse IPv4 and IPv6 packets, but it's unclear how IPv4 options (variable-length header) or IPv6 extension headers are handled and if the olen calculation can be implemented effectively.
Objective
Evaluate if the pnet library can provide:
The IPv4 options length (olen) based on the IHL field.
The total length of IPv6 extension headers.
Identify any limitations or gaps in the pnet implementation when compared to the behavior described in p0f.
The text was updated successfully, but these errors were encountered:
In the p0f tool, the olen field is defined as:
"length of IPv4 options or IPv6 extension headers. Usually zero for normal IPv4 traffic; always zero for IPv6 due to the limitations of libpcap."
The pnet library in Rust provides functionality to parse IPv4 and IPv6 packets, but it's unclear how IPv4 options (variable-length header) or IPv6 extension headers are handled and if the olen calculation can be implemented effectively.
Objective
The text was updated successfully, but these errors were encountered: