Re: NetBSD packet filter

Emmanuel Nyarko <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>

> On 26 Dec 2024, at 2:07 PM, Paul Goyette <[email protected]> wrote:
> 
> On Wed, 25 Dec 2024, Emmanuel Nyarko wrote:
> 
>> I tested it and it works. Seem to check a data limit when copying into the kernel. So I’ll make that change
>> 
>>> On 25 Dec 2024, at 12:53 PM, Sunil Nimmagadda <[email protected]> wrote:
>>> 
>>> Emmanuel Nyarko <[email protected]> wrote:
>>>> Sunil,
>>>> Has this(your solution to counter E2BIG) been integrated into the main tree?
>>> 
>>> It's not merged yet. NPF_IOCTL_DATA_LIMIT is still unchanged.
> 
> Could this be made as a sysctl variable?
> 
> Could it be changed at run-time?
I think that will be good. Introducing user control over the limit sounds good to me.
> 
> 
> +---------------------+--------------------------+----------------------+
> | Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
> | (Retired)           | 1B11 1849 721C 56C8 F63A | [email protected]    |
> | Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | [email protected]  |
> | & Network Engineer  |                          | [email protected] |
> +---------------------+--------------------------+----------------------+


Emmanuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.