Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 20:29:04 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        gandalf@digital.net
Cc:        Suleiman Souhlal <ssouhlal@freebsd.org>
Subject:   Re: FreeBSD and the Rose Attack / NewDawn
Message-ID:  <20050513202832.T86817@mp2.macomnet.net>
In-Reply-To: <20050513201952.S72398@mp2.macomnet.net>
References:  <1675636.1116000000195.JavaMail.root@wamui01.slb.atl.earthlink.net> <20050513201952.S72398@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 May 2005, 20:21+0400, Maxim Konovalov wrote:

> > I attempted to apply the patch, but I think the date on my in_pcb.c is incorrect.  What do I do to correct?:
> > # ls -al /usr/src/sys/netinet/in_pcb.c
> > -rw-r--r--  1 root  wheel  32712 Mar 28 06:29 /usr/src/sys/netinet/in_pcb.c
> > GandalfBSD# patch < ip_maxfragspersecond.patch
> > Hmm...  Looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |diff -u -r /usr/src/sys.old/netinet/in_pcb.c /usr/src/sys/netinet/in_pcb.c
> > |--- /usr/src/sys.old/netinet/in_pcb.c  Sun Apr 17 18:05:05 2005
> > |+++ /usr/src/sys/netinet/in_pcb.c      Thu May 12 21:47:39 2005
> > --------------------------
> > File to patch: ^C#
> > #
>
> Test
>
> cd /usr/src && patch -C -p0 < /path/to/ip_maxfragspersecond.patch
>
> and apply
>
> cd /usr/src && patch -C  < /path/to/ip_maxfragspersecond.patch

Err,

and apply:

cd /usr/src && patch -p0 </path/to/ip_maxfragspersecond.patch

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050513202832.T86817>