Re: Possibly dangerous interpretation of address/prefix pair in -s option

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

 





Am 08.06.22 um 12:38 schrieb Chris Hall:
For input such as "-s 10.0.0.2/24", the 10.0.0.2 simply isn't a valid network address for a /24 network.

I agree: the parser should detect invalid input and reject it.  I can see no good reason for being sloppy here

there is nothing to parse or interprete
/24 clearly says only the first 3 octets are the relevant
again: it's a calculation



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux