Re: Byte order for conntrack fields over netlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2025-02-20 07:03, Vimal Agrawal wrote:

>Hi netfilter team,
>
>Why are all conntrack related fields converted from host to network
>byte order by kernel before sending it to userspace over netlink and
>again from network to host by
>conntrack tools ( even though most fields are not related to network)?
>I am referring to packet exchange during commands e.g. conntrack -L
>etc.
>
>Is there any good reason for these conversions?

To be consistent with the rest of networking (IP addresses are also
passed MSB-first), which goes back to RFC 1700 and
https://www.rfc-editor.org/ien/ien137.txt .




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux