FreeBSD and the Rose Attack / NewDawn

gandalf at digital.net gandalf at digital.net
Fri May 13 09:00:01 PDT 2005


Greetings and Salutations:

From: Mike Silbersack <silby at silby.com>
> But on another laptop with the same processor, 8000 pps could effectively 
> freeze it.  We believe this is because the network card on that machine 
> shares an IRQ with the sound card, making interrupt processing very 
> expensive.

The sound card on my laptop is not enabled.  Causes too many messages when I boot up and overwhelms the dmesg log file when I use the sound driver :
pcm0: <ESS Technology Maestro-2> port 0xf800-0xf8ff irq 5 at device 8.0 on pci0 (4p/1r/0vchannels duplex default)

> So, test out my attached patch with varying settings of maxfragspersecond 
> and see if it makes any difference for you.

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#
#

Thanks,
Ken

------------------------------------------------------------------
Do not meddle in the affairs of wizards for they are subtle and
quick to anger.
Ken Hollis - Gandalf The White - gandalf at digital.net - O- TINLC
WWW Page - http://gandalf.home.digital.net/
Trace E-Mail forgery - http://gandalf.home.digital.net/spamfaq.html
Trolls crossposts  - http://gandalf.home.digital.net/trollfaq.html



More information about the freebsd-net mailing list