On Tue, Sep 23, 2014 at 06:34:50PM -0500, [email protected] wrote:
> >Synopsis:    bgpd(8) dies when accepting phessler's spam feed
> >Category:    user
> >Environment:
>       System      : OpenBSD 5.5
>       Details     : OpenBSD 5.5 (GENERIC) #0: Fri Apr 25 13:07:59 CEST 2014
>                        
> [email protected]:/binpatchng/work-binpatch55-amd64/src/sys/arch/amd64/compile/GENERIC

Today bgpd also failed on my 5.5 i386 box.

>From /var/log/damon:
Oct  2 14:08:07 typhoon bgpd[7906]: neighbor 64.142.121.62: state change 
Connect -> Active, reason: Connection open failed
Oct  2 14:10:07 typhoon bgpd[7906]: neighbor 64.142.121.62: state change 
Connect -> OpenSent, reason: Connection opened
Oct  2 14:10:07 typhoon bgpd[7906]: neighbor 64.142.121.62: graceful restart of 
IPv4 unicast, not restarted, flushing
Oct  2 14:10:07 typhoon bgpd[7906]: neighbor 64.142.121.62: state change 
OpenSent -> OpenConfirm, reason: OPEN message received
Oct  2 14:10:07 typhoon bgpd[7906]: neighbor 64.142.121.62: state change 
OpenConfirm -> Established, reason: KEEPALIVE message received
Oct  2 14:10:07 typhoon bgpd[11293]: fatal in RDE: peer_up: bad state Oct  2 
14:10:07 typhoon bgpd[3779]: Lost child: route decision engine exited
Oct  2 14:10:07 typhoon bgpd[7906]: fatal in SE: session_dispatch_imsg: pipe 
closed
Oct  2 14:10:07 typhoon bgpd[3779]: Terminating


The config:
spamdAS="65066"

AS 65371
fib-update no    # Mandatory, to not update the local routing table

group "spamd-bgp" {
        remote-as $spamdAS
        multihop 64
        announce none   # Do not send Route Server any information

        # rs.bgp-spamd.net
        neighbor 64.142.121.62
}

# 'match' is required, to remove entries when routes are withdrawn
match from group spamd-bgp community $spamdAS:42  set pftable "bgp-spamd-bypass"


I was capturing the bgp traffic. The pcap file can be downloaded here:
https://relo.ch/bgp.pcap.gz


OpenBSD 5.5 (GENERIC) #0: Fri Apr 25 15:04:32 CEST 2014
    
[email protected]:/binpatchng/work-binpatch55-i386/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3700+ ("AuthenticAMD" 686-class, 1024KB L2 
cache) 2.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,LAHF
real mem  = 2145873920 (2046MB)
avail mem = 2098520064 (2001MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/12/06, BIOS32 rev. 0 @ 0xfb020, SMBIOS 
rev. 2.3 @ 0xf0000 (36 entries)
bios0: vendor Phoenix Technologies, LTD version "V3.6" date 10/12/2006
bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-7094
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SRAT APIC
acpi0: wakeup devices PCI0(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USB4(S1) 
USB5(S1) USB6(S1) USB7(S1) LAN0(S5) AC97(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 3, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xa800 0xcc000/0x1000 0xcd000/0x4c00!
cpu0: Cool'n'Quiet K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x00
agp at pchb0 not configured
pchb1 at pci0 dev 0 function 1 "VIA K8HTB Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA K8HTB Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA K8HTB Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA K8HTB Host" rev 0x00
pchb5 at pci0 dev 0 function 7 "VIA K8HTB Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Fury" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 9 function 0 "Realtek 8139" rev 0x10: apic 2 int 17, address 
00:e0:4c:c2:69:7c
rlphy0 at rl0 phy 0: RTL internal PHY
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using apic 2 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD321KJ>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide0 channel 1 drive 0: <SAMSUNG HD321KJ>
wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
pciide1: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: apic 2 int 21
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: apic 2 int 21
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00: SMI
iic0 at viapm0
iic0: addr 0x2f 00=02 01=0f 02=00 03=01 04=07 05=00 06=18 07=00 08=00 14=14 
15=62 16=02 17=05 words 00=02ff 01=0fff 02=00ff 03=01ff 04=07ff 05=00ff 06=18ff 
07=00ff
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC3200CL3.0
pchb6 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb7 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb8 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627THF rev 0x83
lm1 at wbsio0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
sd0 at scsibus1 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd0: 301140MB, 512 bytes/sector, 616734822 sectors
root on wd0a (2d9dcffe56f336a5.a) swap on wd0b dump on wd0b

Reply via email to