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

Re: Scrub and fragments



Thank you very much.
Dan.
--- Daniel Hartmeier <daniel@benzedrine.cx> wrote:
> On Tue, Nov 19, 2002 at 02:16:50AM -0800, Dan
> Moinescu wrote:
> 
> > I don't think of it as giving in to one point of
> view
> > or another. All I really care about is for the box
> to
> > work, regardless of whether the other machines in
> the
> > network are Linux, Windows or anything else for
> that
> > matter. So, could you please do me a favor and
> tell me
> > what file that DF check is performed in? That
> would
> > save me from going through the kernel sources to
> find
> > it.
> 
> /usr/src/sys/net/pf_norm.c
> 
> --- pf_norm.c.orig	Tue Nov 19 12:26:29 2002
> +++ pf_norm.c	Tue Nov 19 12:26:52 2002
> @@ -835,12 +835,6 @@
>  	if (!fragoff && !mff)
>  		goto no_fragment;
>  
> -	/* This can not happen */
> -	if (h->ip_off & IP_DF) {
> -		DPFPRINTF(("IP_DF\n"));
> -		goto bad;
> -	}
> -
>  	ip_len = h->ip_len - hlen;
>  	ip_off = h->ip_off << 3;
>  
> Daniel
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com