Re: Raw Payload Expressions - out of bounds write?
Pablo Neira Ayuso <[email protected]>
| Newsgroups | gmane.comp.security.firewalls.netfilter.general |
|---|---|
| Message-ID | <Z6kq8I6WG96GkNsI@calendula> |
On Sun, Feb 09, 2025 at 03:12:48AM +0000, Sunny73Cr wrote:
> Hi,
>
> Still confusing, my bad. Here's what I'm looking for.
>
> Input:
> @ih,56,6 set 0
^
this is in bits.
> Expected output:
> [ payload load 1 byte @ inner header + 6 bytes => reg 1 ]
> [ bitwise reg 1 = ( reg 1 & 0xc0 ) ]
> [ payload write reg 1 => 1 byte @ inner header + 6 bytes ... ]
and you use 6 bytes in this bytecode.
This makes no sense at all.