Re: "Byteorder mismatch" for "iifname {ppp*}"? (nft noob question)

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

 



Trent W. Buck <trentbuck@xxxxxxxxx> wrote:
>     # nft 'flush ruleset;table a;chain a b;a b iifname vmap {"ppp*": drop}'
>     Error: Byteorder mismatch: expected big endian, got host endian
>     flush ruleset;table a;chain a b;a b iifname vmap {"ppp*": drop}
>                                         ^^^^^^^
> 
>     # nft 'flush ruleset;table a;chain a b;a b iifname {eth0, ppp0}'
>     [no error]
> 
>     # nft 'flush ruleset;table a;chain a b;a b iifname {eth0, ppp*}'
>     Error: Byteorder mismatch: expected big endian, got host endian
>     flush ruleset;table a;chain a b;a b iifname {eth0, ppp*}
>                                         ^^^^^^^
> Is the actual problem "you can't glob in set/vmap" ?

Yes.  This would need a new 'pattern search' map type.



[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