Re: Nixspam List Mirroring Broken

2021-10-11 Thread Jan Johansson
Bryce Chidester  wrote:
> I've noticed the OpenBSD.org mirror of the Nixspam list (
> https://www.openbsd.org/spamd/nixspam.gz) seems to have broken,
> apparently sometime earlier this month. The retrieved file
> contains a header from the mirror process indicating when it
> last run, but there is no "actual data" (a list of IP
> addresses) According to Firehol's IP list feed/mirror (
> http://iplists.firehol.org/?ipset=nixspam), that feed should
> have around 17k entries.
> 
> I'm just hoping to let the responsible party/parties know.

Hello!

It would seem that the Heise project is changing their website and
forcing use of the nixspam.net domain, their data file is now on
www.nixspam.net/download/nixspam-ip.dump.gz if you whish to parse
it for yourself until it gets fixed.

I opted for taking my first steps with Python and is now checking
the greylisted addresses agains dnsrbl and adding them to the
greytrap if they are listed.

Regards,
Jan J



Re: OpenBSD .eu mirror has a ``bad package''

2011-02-13 Thread Jan Johansson
Loganaden Velvindron logana...@devio.us wrote:
 While trying to install pidin for -current,
 I get this error:
 
 pidgin-2.7.9p0:dbus-1.4.1p1v0: ok
 Error from 
 ftp://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/dbus-glib-0.92v0.tgz
 ftp: connect: No route to host
 ftp: Can't connect or login to host `ftp.eu.openbsd.org'
 Can't find CONTENTS from 
 ftp://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/dbus-glib-0.92v0.tgz
 ^C--- dbus-glib-0.92v0 ---
 Can't install dbus-glib-0.92v0: bad package
 
 Perhaps some synchronization issues ?

Hello!

The logs show no issues with the sync and your error message
looks more like a network problem to me.

I therefor checked both IPv4 and IPv6 and see no issue.

Can you please provide some more information?

Jan J



Re: OpenOSPF6d does not send LSAs for passive interfaces

2011-01-11 Thread Jan Johansson
Hello!

Just a FYI.

I have now upgraded our five IPv6 routers with the first patch
Patrick sent out. We are seeing some problems with the fib and
kernel routing getting out of sync when rebooting the core
routers. This is fixed by doing down and up on the gif tunnel
interface. We see this as good enough for our v6 network.

I will be happy to test any patches.

Jan J



Re: OpenOSPF6d does not send LSAs for passive interfaces

2011-01-05 Thread Jan Johansson
Patrick Coleman blin...@gmail.com wrote:
 Ok, the following should fix this. It's a little more involved; here's
 what's new:
 
 http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch

So I found a bug here.

Your mk2 patch (didn't try the mk1) does not advertise gif
tunnels this works with the unpatched binary.

Config:
router-id AAA.BBB.154.120

# Temporary until area routers are doing OSPF.
redistribute static

area 0.0.0.0 {
interface bge0

# %%INTERFACES%%
interface gif10
interface gif12
interface gif14
}

Interface:
gif10: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
priority: 0
groups: gif
physical address inet AAA.BBB.154.120 -- AAA.BBB.154.93
inet6 2001:dead:5:ffa::1 -  prefixlen 64
inet6 fe80::206:5bff:feef:8128%gif10 -  prefixlen 64 scopeid 0x5



Re: OpenOSPF6d does not send LSAs for passive interfaces

2011-01-04 Thread Jan Johansson
Patrick Coleman blin...@gmail.com wrote:
 Ok, the following should fix this. It's a little more involved; here's
 what's new:
 - Avoid sending LSAs if the link state is down (to avoid
 double-advertising CARP interfaces). OSPFd does this a little more
 elegantly using metrics[1], but I wasn't able to get that to work,
 perhaps I'm not understanding the protocol. Suggestions appreciated.
 - Don't send LSAs if the interface is down (ifconfig carp1 down),
 because that's silly
 - Make the OSPF engine update the RDE about interface changes even
 when the interface state does not change, so the RDE is informed when
 a passive interface's link state changes (so we can then make a
 decision using that data)
 - Resend intra-area LSAs in the RDE when interface flags change, not
 just interface state (avoids a race condition where LSAs get sent
 before the OSPF engine updates the RDE with new linkstate data)


Initial testing looks good.

With your first patch:
Cisco# show ipv6 route 2001:dead:5:7357::13
IPv6 Routing Table - 23 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
   U - Per-user Static route
   I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
   O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
   ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:DEAD:5:7357::/64 [110/10]
 via FE80::214:22FF:FE73:466B, GigabitEthernet2/1
 via FE80::214:22FF:FE73:44A3, GigabitEthernet2/1

Now:
Cisco# show ipv6 route 2001:dead:5:7357::13
IPv6 Routing Table - 23 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
   U - Per-user Static route
   I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
   O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
   ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:DEAD:5:7357::/64 [110/10]
 via FE80::214:22FF:FE73:466B, GigabitEthernet2/1

And then lets shift the CARP:
Cisco# show ipv6 route 2001:dead:5:7357::13
IPv6 Routing Table - 23 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
   U - Per-user Static route
   I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
   O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
   ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
O   2001:DEAD:5:7357::/64 [110/10]
 via FE80::214:22FF:FE73:44A3, GigabitEthernet2/1

I will do some more testing.



Re: OpenOSPF6d does not send LSAs for passive interfaces

2011-01-03 Thread Jan Johansson
Patrick Coleman blin...@gmail.com wrote:
 I've found that if an interface is declared passive (or is a
 CARP interface) in ospf6d.conf, ospf6d will not send LSAs for
 that interface, and any associated prefixes will not be
 advertised. This is contrary to the behaviour in ospfd and what
 I would expect.

Hello!

This partially fixes my problem as described in 

http://marc.info/?l=openbsd-miscm=128931276307517w=2

If an CARP interface is in BACKUP state the route is still
advertised which leads to assymetric routing.

Jan J



Re: Try this patch.. HP Laptop Panic

2010-06-19 Thread Jan Johansson
jor...@peereboom.us wrote:
 This patch is for an issue seen with ACPI on a HP Laptop but wanted to get
 some additional testing done.  Some debugging prints in for now.

Had some problem with the last hunk but applied it manually cvs
diff is at the bottom for verification.

For more info on the machine see PR 6379 or send me a note.

OpenBSD 4.7-current (GENERIC.MP) #0: Sat Jun 19 11:33:25 CEST 2010
j...@tuvok.wenf.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu0: 
FPU,V86,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,SSSE3,CX16,xTPR,PDCM
real mem  = 1047818240 (999MB)
avail mem = 1005146112 (958MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/04/08, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.4 @ 0xf3253 (27 entries)
bios0: vendor Hewlett-Packard version 68MCU Ver. F.17 date 11/04/2008
bios0: Hewlett-Packard HP Compaq 6910p
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA ASF! SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices C0B0(S5) C108(S3) C10F(S3) C110(S3) C111(S3) C119(S3) 
C11A(S3) C11B(S3) C131(S5) C2A7(S5) C132(S5) C2A8(S5) C134(S5) C2A8(S5) 
C137(S0) C23D(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu1: 
FPU,V86,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,SSSE3,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
copy objref: 5b12 \\_OSI
MULTI: \\_SB_.C3C3.C3CD.C3CE
acpiprt0 at acpi0: bus 2 (C0B0)
acpiprt1 at acpi0: bus 8 (C11D)
acpiprt2 at acpi0: bus 16 (C131)
acpiprt3 at acpi0: bus 40 (C134)
acpiprt4 at acpi0: bus 0 (C003)
acpiec0 at acpi0
acpicpu0 at acpi0MULTI: \\_PR_.CPU0._OSC.UID0
MULTI: \\_PR_.CPU0._OSC.UID0
: C3, C2, C1, PSS
acpicpu1 at acpi0MULTI: \\_PR_.CPU1._OSC.UID1
MULTI: \\_PR_.CPU1._OSC.UID1
: C3, C2, C1, PSS
acpipwrres0 at acpi0: C272
acpipwrres1 at acpi0: C27A
acpipwrres2 at acpi0: C281
acpipwrres3 at acpi0: C29D
acpipwrres4 at acpi0: C1C5
acpipwrres5 at acpi0: C3B9
acpipwrres6 at acpi0: C3BA
acpipwrres7 at acpi0: C3BB
acpipwrres8 at acpi0: C3BC
acpipwrres9 at acpi0: C3BD
acpitz0 at acpi0: critical temperature 105 degC
acpitz1 at acpi0: critical temperature 105 degC
acpitz2 at acpi0: critical temperature 110 degC
acpitz3 at acpi0: critical temperature 256 degC
acpitz4 at acpi0: critical temperature 105 degC
acpibat0 at acpi0: C23B model Primary serial 36496 2024/12/16 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: C23A not present
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: C2BB
acpibtn1 at acpi0: C153
acpivideo0 at acpi0: C098
copy objref: 5b12 \\_SB_.C003.C098.C1AC
acpivout0 at acpivideo0: C1AD
acpivout1 at acpivideo0: C1B2
acpivout2 at acpivideo0: C1B3
acpivout3 at acpivideo0: C1B4
bios0: ROM list: 0xc/0xee00!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
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)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x2a04 (class communications subclass 
miscellaneous, rev 0x0c) at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM965 PT IDER rev 0x0c: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 (irq 11) for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
Intel GM965 KT rev 0x0c at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: apic 1 int 22 
(irq 11), address 00:1b:38:95:e7:c6
uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 
10)
uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 (irq 
10)
ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 18 (irq 
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 1 int 
17 (irq 10)
azalia0: codecs: Analog Devices AD1981HD
audio0 at azalia0
ppb0 at pci0 dev 28 function 

Re: Try this patch.. HP Laptop Panic

2010-06-19 Thread Jan Johansson
Marco Peereboom sl...@peereboom.us wrote:
 Did it work?

acpitz made it shutdown, tried again and this time it worked.



Re: Try this patch.. HP Laptop Panic

2010-06-19 Thread Jan Johansson
Marco Peereboom sl...@peereboom.us wrote:
 Did it work?

Soo if we try this again with the brain connected.

The acpitz problems come and go. First time it shutdown now it
worked.

There also seems to be a problem with this laptop that the acpiec
somehow kills the keyboard when booting also this is random.

Diff between when acpitz shutdown and when booted ok.

--- dmesg.1276950578Sat Jun 19 17:11:37 2010
+++ dmesg.1276959847Sat Jun 19 17:12:04 2010
@@ -31,10 +31,10 @@
 acpiec0 at acpi0
 acpicpu0 at acpi0MULTI: \\_PR_.CPU0._OSC.UID0
 MULTI: \\_PR_.CPU0._OSC.UID0
-: C3, C2, C1, PSS
+: C2, C1, PSS
 acpicpu1 at acpi0MULTI: \\_PR_.CPU1._OSC.UID1
 MULTI: \\_PR_.CPU1._OSC.UID1
-: C3, C2, C1, PSS
+: C2, C1, PSS
 acpipwrres0 at acpi0: C272
 acpipwrres1 at acpi0: C27A
 acpipwrres2 at acpi0: C281
@@ -50,9 +50,9 @@
 acpitz2 at acpi0: critical temperature 110 degC
 acpitz3 at acpi0: critical temperature 256 degC
 acpitz4 at acpi0: critical temperature 105 degC
-acpibat0 at acpi0: C23B model Primary serial 36496 2024/12/16 type LIon oem 
Hewlett-Packard
+acpibat0 at acpi0: C23B model Primary serial 16526 2007/10/25 type LIon oem 
Hewlett-Packard
 acpibat1 at acpi0: C23A not present
-acpiac0 at acpi0: AC unit offline
+acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: C2BB
 acpibtn1 at acpi0: C153
 acpivideo0 at acpi0: C098

Full dmesg of last boot:

OpenBSD 4.7-current (GENERIC.MP) #0: Sat Jun 19 11:33:25 CEST 2010
j...@tuvok.wenf.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu0: 
FPU,V86,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,SSSE3,CX16,xTPR,PDCM
real mem  = 1047818240 (999MB)
avail mem = 1005146112 (958MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/04/08, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.4 @ 0xf3253 (27 entries)
bios0: vendor Hewlett-Packard version 68MCU Ver. F.17 date 11/04/2008
bios0: Hewlett-Packard HP Compaq 6910p
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA ASF! SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices C0B0(S5) C108(S3) C10F(S3) C110(S3) C111(S3) C119(S3) 
C11A(S3) C11B(S3) C131(S5) C2A7(S5) C132(S5) C2A8(S5) C134(S5) C2A8(S5) 
C137(S0) C23D(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (GenuineIntel 686-class) 2 
GHz
cpu1: 
FPU,V86,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,SSSE3,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
copy objref: 5b12 \\_OSI
MULTI: \\_SB_.C3C3.C3CD.C3CE
acpiprt0 at acpi0: bus 2 (C0B0)
acpiprt1 at acpi0: bus 8 (C11D)
acpiprt2 at acpi0: bus 16 (C131)
acpiprt3 at acpi0: bus 40 (C134)
acpiprt4 at acpi0: bus 0 (C003)
acpiec0 at acpi0
acpicpu0 at acpi0MULTI: \\_PR_.CPU0._OSC.UID0
MULTI: \\_PR_.CPU0._OSC.UID0
: C2, C1, PSS
acpicpu1 at acpi0MULTI: \\_PR_.CPU1._OSC.UID1
MULTI: \\_PR_.CPU1._OSC.UID1
: C2, C1, PSS
acpipwrres0 at acpi0: C272
acpipwrres1 at acpi0: C27A
acpipwrres2 at acpi0: C281
acpipwrres3 at acpi0: C29D
acpipwrres4 at acpi0: C1C5
acpipwrres5 at acpi0: C3B9
acpipwrres6 at acpi0: C3BA
acpipwrres7 at acpi0: C3BB
acpipwrres8 at acpi0: C3BC
acpipwrres9 at acpi0: C3BD
acpitz0 at acpi0: critical temperature 105 degC
acpitz1 at acpi0: critical temperature 105 degC
acpitz2 at acpi0: critical temperature 110 degC
acpitz3 at acpi0: critical temperature 256 degC
acpitz4 at acpi0: critical temperature 105 degC
acpibat0 at acpi0: C23B model Primary serial 16526 2007/10/25 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: C23A not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C2BB
acpibtn1 at acpi0: C153
acpivideo0 at acpi0: C098
copy objref: 5b12 \\_SB_.C003.C098.C1AC
acpivout0 at acpivideo0: C1AD
acpivout1 at acpivideo0: C1B2
acpivout2 at acpivideo0: C1B3
acpivout3 at acpivideo0: C1B4
bios0: ROM list: 0xc/0xee00!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
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)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured
vendor Intel, unknown product 0x2a04 (class communications subclass 
miscellaneous, rev 0x0c) at pci0 dev 3 function 0 not configured
pciide0