FreeBSD and the Rose Attack / NewDawn
Maxim Konovalov
maxim at macomnet.ru
Fri May 13 09:29:08 PDT 2005
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
More information about the freebsd-net
mailing list