Re: Non-Understood Message

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

 



Nicole <nicole@xxxxxxxxxxxxxx> wrote:
> MYTARGET.0 target: invalid size 65540 (kernel) != (user) 4

[..]

> struct xt_mytarget_tginfo {
>     __u8    value;
> 
>     __u8    mode;
> 
>     bool    final;
> 
>     bool    set_value;
> 
>     __u8    by_port[USHRT_MAX];
> };

Its too large.  The kernel <-> userspace abi encodes size
in 'u16' datatype, thus the target size sent by userspace overflows.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux