Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 23:42:19 +0100
From:      Robert Krasicki <robert@toudi.cisovanet.pl>
To:        ipfw@freebsd.org
Subject:   Dummynet problem
Message-ID:  <20031130224219.GA96501@toudi.cisovanet.pl>

next in thread | raw e-mail | index | archive | help
Hello,

My machine stopped responding while working
on pipes.

Here's the info I got.

# /var/log/messages
Nov 30 21:30:58 devel stunnel[670]: pop3s connected from 80.56.52.238:1859
Nov 30 21:31:23 devel stunnel[670]: Connection closed: 8013 bytes sent to SSL, 126 bytes sent to socket
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 1
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 3
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 5
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 7
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 9
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 11
Nov 30 21:35:16 devel kernel: dummynet: ++ ref to pipe 11 from fs 15
Nov 30 21:35:45 devel stunnel[670]: pop3s connected from 80.56.52.238:1892
Nov 30 21:35:52 devel stunnel[670]: Connection closed: 2247 bytes sent to SSL, 62 bytes sent to socket
Nov 30 22:17:12 devel syslogd: kernel boot file is /boot/kernel/kernel
Nov 30 22:17:12 devel kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Nov 30 22:17:12 devel kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Nov 30 22:17:12 devel kernel: The Regents of the University of California. All rights reserved.
....
 
Because of I had no direct access to the machine I had to call and ask for
rebooting it (As I can see, reset button was used)

The error occured when I was flushing pipes. 
I'm sure that there were 2 rules set, both allowing access. 
( I just wanted to make sure, that some traffic is 
controlled by ipfw).  

Before, few rules used queues & pipes, but all of them have been
deleted successfuly (so I assume that I could safely flush the pipes ?)

Maybe ony of you had the same problem or maybe I missed with ipfw configuration?

Thanks!

Regards,
Robert

More detailed information:

System information:
FreeBSD devel.foo.com 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Wed Oct 22 22:32:11 CEST 2003

Kernel (firewall) options:
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=200
options         IPDIVERT
options         DUMMYNET
options         HZ=1000
options         IPFIREWALL_DEFAULT_TO_ACCEPT

sysctls:
net.link.ether.bridge_ipfw: 1
net.link.ether.bridge_ipfw_drop: 0
net.link.ether.bridge_ipfw_collisions: 0
net.link.ether.ipfw: 0
net.inet.ip.fw.one_pass: 1
(machine is acting as a bridge)

Machine was not overloaded at that moment.

Dmesg:
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE-p10 #1: Wed Oct 22 22:32:11 CEST 2003
    robert@devel.foo.com:/usr/obj/usr/src/sys/TUNED
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04d9000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04d9278.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2400099508 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.10-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 1073725440 (1023 MB)
avail memory = 1037737984 (989 MB)
Pentium Pro MTRR support enabled
altq: major number is 96
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P4G8X   > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f2320
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> mem 0xe8000000-0xebffffff at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xa800-0xa81f at device 2.0 on pci2
pcib2: slot 2 INTA is routed to irq 10
ed0: address 00:c0:26:ef:3a:d4, type NE2000 (16 bit)
pci2: <serial bus, FireWire> at device 3.0 (no driver attached)
pci2: <mass storage, RAID> at device 4.0 (no driver attached)
bge0: <Broadcom BCM5702X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xdc800000-0xdc80ffff at device 5.0 on pci2
pcib2: slot 5 INTA is routed to irq 9
bge0: Ethernet address: 00:0c:6e:0f:7a:6b
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <multimedia, audio> at device 31.5 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xd0000-0xd3fff,0xc0000-0xccfff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
DUMMYNET initialized (011031)
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 200 
packets/entry by default
BBRIDGE 020214 loaded
IPsec: Initialized Security Association Processing.
ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100
ad1: 114473MB <ST3120022A> [232581/16/63] at ata0-slave UDMA100
ast0: TAPE <Seagate STT3401A> at ata1-slave PIO3
Mounting root from ufs:/dev/ad0s1a
WARNING: /usr was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /share was not properly dismounted



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