Hi.
I have problem with pf on -current. It's enabled, but it doesn't work.
It's behaving like there was an empty pf.conf.
Thanks for any help.
cc -O2 -pipe -Wall -Wmissing-prototypes -Wno-uninitialized -Wstrict-prototypes
-I/usr/src/sbin/pfctl -c /usr/src/sbin/pfctl/pfctl.c
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_kill_src_nodes':
/usr/src/sbin/pfctl/pfctl.c:520: error: structure has no member named
`psnk_killed'
/usr/src/sbin/pfctl/pfctl.c:526: error: structure has no member named
`psnk_killed'
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_net_kill_states':
/usr/src/sbin/pfctl/pfctl.c:626: error: structure has no member named
`psk_killed'
/usr/src/sbin/pfctl/pfctl.c:632: error: structure has no member named
`psk_killed'
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_label_kill_states':
/usr/src/sbin/pfctl/pfctl.c:658: error: structure has no member named
`psk_label'
/usr/src/sbin/pfctl/pfctl.c:658: error: structure has no member named
`psk_label'
/usr/src/sbin/pfctl/pfctl.c:659: error: structure has no member named
`psk_label'
/usr/src/sbin/pfctl/pfctl.c:666: error: structure has no member named
`psk_killed'
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_id_kill_states':
/usr/src/sbin/pfctl/pfctl.c:683: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:683: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:684: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:684: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:684: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:685: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:686: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:691: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:696: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:696: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:696: error: structure has no member named
`psk_pfcmp'
/usr/src/sbin/pfctl/pfctl.c:701: error: structure has no member named
`psk_killed'
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_print_rule_counters':
/usr/src/sbin/pfctl/pfctl.c:793: error: structure has no member named
`states_cur'
/usr/src/sbin/pfctl/pfctl.c:798: error: structure has no member named
`states_tot'
/usr/src/sbin/pfctl/pfctl.c: In function `pfctl_show_rules':
/usr/src/sbin/pfctl/pfctl.c:910: error: structure has no member named
`states_tot'
*** Error code 1
Stop in /usr/src/sbin/pfctl (line 92 of /usr/share/mk/sys.mk).
OpenBSD 4.3-current (GENERIC) #1: Thu May 8 17:23:17 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1064628224 (1015MB)
avail mem = 1021964288 (974MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a6d (25 entries)
bios0: vendor Hewlett-Packard version "68DDU Ver. F.10" date 01/11/2008
bios0: Hewlett-Packard HP Compaq 6510b (GB866EA#AKD)
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz, 1795.75 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06170a2d06000a2d
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1420 mV): speeds: 2000, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd0000000, size 0x10000000
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 10
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel 82801H HD Audio" rev 0x03 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
pci1 at ppb0 bus 8
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: irq 10
pci2 at ppb1 bus 16
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 10,
MoW2, address 00:1b:77:16:56:9a
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: irq 11
pci3 at ppb2 bus 24
bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787 A2
(0xb002): irq 11, address 00:17:a4:e8:2a:06
brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: irq 10
pci4 at ppb3 bus 40
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 10
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci5 at ppb4 bus 2
cbb0 at pci5 dev 4 function 0 "Ricoh 5C476 CardBus" rev 0xb6: irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-T10N, PC05> ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: irq 10, AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HTS54161, SBDO> SCSI3 0/direct fixed
sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec total
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB RECEIVER" rev
1.10/25.10 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons and Z dir.
wsmouse1 at ums0 mux 0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
syncing disks... done
rebooting...
OpenBSD 4.3-current (GENERIC) #1: Thu May 8 17:23:17 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1064628224 (1015MB)
avail mem = 1021964288 (974MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a6d (25 entries)
bios0: vendor Hewlett-Packard version "68DDU Ver. F.10" date 01/11/2008
bios0: Hewlett-Packard HP Compaq 6510b (GB866EA#AKD)
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz, 1795.81 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06170a2d06000a2d
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2000 MHz (1420 mV): speeds: 2000, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xd0000000, size 0x10000000
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 10
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel 82801H HD Audio" rev 0x03 at pci0 dev 27 function 0 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03
pci1 at ppb0 bus 8
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: irq 10
pci2 at ppb1 bus 16
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 10,
MoW2, address 00:1b:77:16:56:9a
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: irq 11
pci3 at ppb2 bus 24
bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787 A2
(0xb002): irq 11, address 00:17:a4:e8:2a:06
brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: irq 10
pci4 at ppb3 bus 40
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 10
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci5 at ppb4 bus 2
cbb0 at pci5 dev 4 function 0 "Ricoh 5C476 CardBus" rev 0xb6: irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-T10N, PC05> ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: irq 10, AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Hitachi HTS54161, SBDO> SCSI3 0/direct fixed
sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec total
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB RECEIVER" rev
1.10/25.10 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons and Z dir.
wsmouse1 at ums0 mux 0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
pfctl: DIOCGETADDRS: Device busy
pfctl: DIOCGETADDRS: Device busy
pfctl: DIOCGETADDRS: Device busy
FILTER RULES:
No queue in use
INFO:
Status: Enabled for 0 days 00:15:51 Debug: Urgent
State Table Total Rate
current entries 0
searches 307 0.3/s
inserts 0 0.0/s
removals 0 0.0/s
Counters
match 307 0.3/s
bad-offset 0 0.0/s
fragment 0 0.0/s
short 0 0.0/s
normalize 0 0.0/s
memory 0 0.0/s
bad-timestamp 0 0.0/s
congestion 0 0.0/s
ip-option 0 0.0/s
proto-cksum 0 0.0/s
state-mismatch 0 0.0/s
state-insert 0 0.0/s
state-limit 0 0.0/s
src-limit 0 0.0/s
synproxy 0 0.0/s
TIMEOUTS:
tcp.first 120s
tcp.opening 30s
tcp.established 86400s
tcp.closing 900s
tcp.finwait 45s
tcp.closed 90s
tcp.tsdiff 30s
udp.first 60s
udp.single 30s
udp.multiple 60s
icmp.first 20s
icmp.error 10s
other.first 60s
other.single 30s
other.multiple 60s
frag 30s
interval 10s
adaptive.start 6000 states
adaptive.end 12000 states
src.track 0s
LIMITS:
states hard limit 10000
src-nodes hard limit 10000
frags hard limit 5000
tables hard limit 1000
table-entries hard limit 200000
OS FINGERPRINTS:
696 fingerprints loaded