Re: bgpd crashes when fed by rpki-client (aspa_add_set: bad order of adds)

2023-05-11 Thread Bastien Durel
Le jeudi 11 mai 2023 à 16:44 +0200, Wouter Prins a écrit : > I posted this to tech@ last week. > As a workaround use -A in the rpki-client root crontab entry > Hi, Thanks! I searched in misc@ but not tech@ :/ -- Bastien

bgpd crashes when fed by rpki-client (aspa_add_set: bad order of adds)

2023-05-11 Thread Bastien Durel
Hello, I have an openbgpd running with only iBGP, and I run rpki-client on this machine (the bgpd runs for LG, rpki-client generates for other routers too). Since the 8th of may, it crashes on reload, after rpki-client ran Only emptying the rpki-client config file makes it start again, until

Re: Can't figure out what's taking up space on /

2021-08-05 Thread Bastien Durel
Le mercredi 04 août 2021 à 14:20 -0700, Greg Thomas a écrit : > At some point my rsync script ran while /backup wasn't mounted or > something.  The culprit was there. Hello. I've done that more than once, especially on NFS-mounted backups. Since then, I put the mount points directories

Re: pf ipv6 source-routing 6.9

2021-05-10 Thread Bastien Durel
Le lundi 10 mai 2021 à 22:51 +1000, David Gwynne a écrit : > > > > On 10 May 2021, at 8:05 pm, Bastien Durel > > wrote: > > > > Le samedi 08 mai 2021 à 12:07 +0200, Bastien Durel a écrit : > > > Le 08/05/2021 à 11:56, Stuart Henderson a écrit : > &g

Re: pf ipv6 source-routing 6.9

2021-05-10 Thread Bastien Durel
Le samedi 08 mai 2021 à 12:07 +0200, Bastien Durel a écrit : > Le 08/05/2021 à 11:56, Stuart Henderson a écrit : > > > > Does it work if you use the syntax suggested in the upgrade > > > > notes > > > > for the example with "pass in on pppoe1 reply-t

Re: pf ipv6 source-routing 6.9

2021-05-08 Thread Bastien Durel
hcp6c pppoe0 none of these worked If pf cannot handle LL anymore, I guess I'll have to downgrade to 6.8 :( -- Bastien Durel

Re: pf ipv6 source-routing 6.9

2021-05-08 Thread Bastien Durel
Le 08/05/2021 à 10:58, Stuart Henderson a écrit : On 2021-05-08, Bastien Durel wrote: Le 07/05/2021 à 22:50, Stuart Henderson a écrit : On 2021-05-07, Bastien Durel wrote: Hello, I have multiple ISPs plugged on my OpenBSD box, each one providing its IPv6 address space. I used to route

Re: pf ipv6 source-routing 6.9

2021-05-08 Thread Bastien Durel
Le 07/05/2021 à 22:50, Stuart Henderson a écrit : On 2021-05-07, Bastien Durel wrote: Hello, I have multiple ISPs plugged on my OpenBSD box, each one providing its IPv6 address space. I used to route outgoing streams with : net2_if = pppoe0 ovh_v6_router = "(" $net2_if fe80::230

pf ipv6 source-routing 6.9

2021-05-07 Thread Bastien Durel
Hello, I have multiple ISPs plugged on my OpenBSD box, each one providing its IPv6 address space. I used to route outgoing streams with : net2_if = pppoe0 ovh_v6_router = "(" $net2_if fe80::230:88ff:fe04:63c9 ")" ovh_v6_prefix = "2001:41d0:fe4b:ec00::0/56" table const { $ovh_v6_prefix,

Re: auto-boot

2021-02-02 Thread Bastien Durel
Le mercredi 27 janvier 2021 à 08:20 -0700, Diana Eichert a écrit : > On Tue, Jan 26, 2021 at 5:30 AM Stuart Longland > wrote: > > > > On 25/1/21 11:40 pm, Bastien Durel wrote: > > > Hello, > > > > > > Short-circuit pins 3-5 using my DB9 cabl

Re: ospf on wg(4)

2021-01-30 Thread Bastien Durel
Le 30/01/2021 à 09:22, Kapetanakis Giannis a écrit : On 29/01/2021 23:32, Bastien Durel wrote: Le 29/01/2021 à 17:44, Olivier Cherrier a écrit : Hi, I'm trying to setup OSPF on a working Wireguard VPN using 6.8 amd64 machines. This is what I get: # ospfd -dvvv id = "172.26.1.1&quo

Re: ospf on wg(4)

2021-01-29 Thread Bastien Durel
Le 29/01/2021 à 17:44, Olivier Cherrier a écrit : Hi, I'm trying to setup OSPF on a working Wireguard VPN using 6.8 amd64 machines. This is what I get: # ospfd -dvvv id = "172.26.1.1" startup kr_init: priority filter enabled orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface

Re: auto-boot

2021-01-25 Thread Bastien Durel
Le vendredi 22 janvier 2021 à 23:49 +1000, Stuart Longland a écrit : > On 21/1/21 7:48 am, Diana Eichert wrote: > > This is not as hard as you think.  Get a couple (it is good to have > > extras and they are pretty cheap) RJ45-DB9 adapter, the pins > > will not be inserted in DB9 connector,

Re: auto-boot

2021-01-20 Thread Bastien Durel
Le mardi 19 janvier 2021 à 14:52 -0700, Diana Eichert a écrit : > Hello > > Having spent way to many years working on serial devices it looks to > me like either Rcv pin has noise on it because it is floating.  If I > remember correctly you can try a resistor between rcv and ground. > > diana

Re: auto-boot

2021-01-18 Thread Bastien Durel
Le samedi 16 janvier 2021 à 12:49 +0100, Marcus MERIGHI a écrit : > bast...@durel.org (Bastien Durel), 2021.01.14 (Thu) 18:07 (CET): > > Le jeudi 14 janvier 2021 à 16:59 +0100, Marcus MERIGHI a écrit : > > > bast...@durel.org (Bastien Durel), 2021.01.14 (Thu) 16:05 (CET): &

Re: auto-boot

2021-01-14 Thread Bastien Durel
Le jeudi 14 janvier 2021 à 16:59 +0100, Marcus MERIGHI a écrit : > bast...@durel.org (Bastien Durel), 2021.01.14 (Thu) 16:05 (CET): > > Le jeudi 14 janvier 2021 à 15:47 +0100, Marcus MERIGHI a écrit : > > > bast...@durel.org (Bastien Durel), 2021.01.14 (Thu) 10:20 (CET): >

Re: auto-boot

2021-01-14 Thread Bastien Durel
Le jeudi 14 janvier 2021 à 15:47 +0100, Marcus MERIGHI a écrit : > Hello, > > bast...@durel.org (Bastien Durel), 2021.01.14 (Thu) 10:20 (CET): > > I have a router connected via a serial port to another machine > > (which > > is usually powered off), wich fa

auto-boot

2021-01-14 Thread Bastien Durel
Hello, I have a router connected via a serial port to another machine (which is usually powered off), wich fails to boot until I connect and validate the boot> prompt I configured my boot.conf as it follows : # cat /etc/boot.conf set timeout 10

Re: misc panics

2020-12-31 Thread Bastien Durel
Le lundi 28 décembre 2020 à 12:34 +0200, Gregory Edigarov a écrit : > On 12/28/20 12:18 PM, rgc wrote: > > On Mon, Dec 28, 2020 at 10:39:56AM +0100, Otto Moerbeek wrote: > > > On Mon, Dec 28, 2020 at 10:25:08AM +0100, Bastien Durel wrote: > > > > > > >

Re: misc panics

2020-12-28 Thread Bastien Durel
Le lundi 28 décembre 2020 à 09:17 +, Stuart Henderson a écrit : > > So hardware failure confirmed :/ Do you think I can change the RAM > > or > > it's more likely a CPU/Chipset failure ? > > > > Thanks, > > > > If you have multiple sticks of RAM, try removing some. I have only one --

Re: misc panics

2020-12-28 Thread Bastien Durel
Le lundi 28 décembre 2020 à 09:23 +1000, Stuart Longland a écrit : > On 28/12/20 3:56 am, Bastien Durel wrote: > > After that I got a (maybe) endless loop of panics inducing panics > > (I did > > not got the output, it was cycling fast), and after that the /bsd > &g

misc panics

2020-12-27 Thread Bastien Durel
3,33) at pmap_enter+0xb9 uvm_pagermapin(8000339c4af8,1,2) at uvm_pagermapin+0xa8 uvn_io(fd81413fccf8,8000339c4af8,1,2,0) at uvn_io+0xbf uvn_get(fd81413fccf8,67a,8000339c4d40,8000339c4cf4,0,2) at uvn_get+0x156 uvm_fault(fd814c81d228,3091bd000,0,2) at uvm_fault+0xcb4 pageflttrap(8000339c4e70,3091bd000,1) at pageflttrap+0xfe usertrap(8000339c4e70) at usertrap+0x16e recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x205ed3430, count: 244 End of stack trace. dump to dev 4,1 not possible rpaenboioct: inkge.rn.e. After that I gave up and installed a spare router. How can I figure out the cause of all these problems ? Thanks, -- Bastien Durel

Re: bird make network unusable on 6.8-current

2020-10-20 Thread Bastien Durel
Le mardi 20 octobre 2020 à 12:41 +, Stuart Henderson a écrit : > On 2020-10-20, Bastien Durel wrote: > > Le lundi 19 octobre 2020 à 17:17 +0100, Tom Smyth a écrit : > > > Hi Bastien, > > Hello > > > > > can you do a > > > route show -n |g

Re: bird make network unusable on 6.8-current

2020-10-20 Thread Bastien Durel
Le lundi 19 octobre 2020 à 17:17 +0100, Tom Smyth a écrit : > Hi Bastien, Hello > can you do a > route show -n |grep 10\.42 Boot time: default10.42.42.1 UGS55 - 8 em0 10.42.2/24 10.42.42.21UGS00 - 8 em0

Re: bird make network unusable on 6.8-current

2020-10-19 Thread Bastien Durel
Le vendredi 03 avril 2020 à 17:41 +0200, Bastien Durel a écrit : > Hello, > > As bird makes 6.6 panic, I tested it on 6.6-current. The kernel does > not panic, but after bird runs, networking deos not work anymore. > > Bird seems to work correctly, it inserts routes in the ke

bird make network unusable on 6.6-current

2020-04-03 Thread Bastien Durel
Hello, As bird makes 6.6 panic, I tested it on 6.6-current. The kernel does not panic, but after bird runs, networking deos not work anymore. Bird seems to work correctly, it inserts routes in the kernel as intended : (before bird) Routing tables Internet: DestinationGateway

bird crashes kernel

2020-04-01 Thread Bastien Durel
Hello, I tried to replace ospfd & ospf6d by bird, as they don't seem to handle wireguard tunnels well, but soon after bird starts (or stops), I get a panic (copied from console): fremen# /etc/rc.d/bird stop birduvm_fault(0xfd813f96b000,

Re: IPv6 problems

2019-08-23 Thread Bastien Durel
Le jeudi 22 août 2019 à 20:11 +0200, list a écrit : > Hi, > > I might be missing something right here > > I have the output of "route show" attached, because I cannot paste it > in > here in a formatted form. > > > This is super annoying. > > Just wanna get the damn thing running. >

Re: IPv6 problems

2019-08-19 Thread Bastien Durel
Le dimanche 18 août 2019 à 11:50 +0200, list a écrit : > When I take a closer look and run tcpdump while pinging I see the > following output: > (With route to fe80::1%vio added and the normal hostname.vio0) > > 11:40:36.446539 fe80:: > ff02::1:ff00:1: icmp6: neighbor sol: > who has fe80::1 > >

Re: rtadvd bug ?

2018-06-19 Thread Bastien Durel
Le 17/06/2018 à 22:57, Sebastian Benoit a écrit : you have to do check if (rtm->rtm_flags & RTF_CONNECTED) The priority of a connected route depends on the interface priority, see ifconfig(8) on the priority option and wifi and carp interfaces have a different default prio than other

Re: rtadvd bug ?

2018-06-11 Thread Bastien Durel
Le samedi 09 juin 2018 à 19:23 +0200, Denis Fondras a écrit : > On Thu, Jun 07, 2018 at 04:02:34PM +0200, Bastien Durel wrote: > > shouldn't it check the rtm_priority to be RTP_LOCAL or > > RTP_CONNECTED ?? > > it make no sense to start advertising prefix on an interface if t

Re: rtadvd bug ?

2018-06-07 Thread Bastien Durel
Le mercredi 06 juin 2018 à 17:11 +0200, Bastien Durel a écrit : > Le mercredi 06 juin 2018 à 13:55 +0200, Bastien Durel a écrit : > > Hello, > > > > I run rtadvd on a router, which also run ospfd (on 6.3). > > [...] > > if an ospf neighbour start advertising a

Re: rtadvd bug ?

2018-06-06 Thread Bastien Durel
Le mercredi 06 juin 2018 à 13:55 +0200, Bastien Durel a écrit : > Hello, > > I run rtadvd on a router, which also run ospfd (on 6.3). > > rtadvd runs with static config (noifprefix): > fremen# cat /etc/rtadvd.conf > em0:\ > :rdnss="2a01:e35:8aea:ac42::10&quo

rtadvd bug ?

2018-06-06 Thread Bastien Durel
Hello, I run rtadvd on a router, which also run ospfd (on 6.3). rtadvd runs with static config (noifprefix): fremen# cat /etc/rtadvd.conf em0:\ :rdnss="2a01:e35:8aea:ac42::10":\ :dnssl="geekwu.org":\ :addr0="2001:41d0:fe4b:ec21::":\

rtadvd bug ?

2018-06-06 Thread Bastien Durel
Hello, I run rtadvd on a router, which also run ospfd (on 6.3). rtadvd runs with static config (noifprefix): fremen# cat /etc/rtadvd.conf em0:\ :rdnss="2a01:e35:8aea:ac42::10":\ :dnssl="geekwu.org":\ :addr0="2001:41d0:fe4b:ec21::":\

Re: 答复: Openbsd6.1 as firewall can access the internet but the LAN behind it cannot

2017-06-22 Thread Bastien Durel
Le jeudi 22 juin 2017 à 06:21 +, lu jian a écrit : > # The line i put here > pass out on fxp0 inet from 192.168.0.0/24 to any nat-to 10.198.1.150 Your egress interface is pppoe0, not fxp0 in my pf.conf, I have : match out on pppoe0 inet from $lan nat-to (pppoe0:0) -- Bastien

6.1 dhcpd

2017-04-18 Thread Bastien Durel
Hello, Since I upgraded to 6.1, my printer does not get its IP from dhcpd anymore. Printer is a xerox phaser 6022. dhcpd gets dhcp requests and reponds to it (I've show packets with tcpdump, and here are the logs) Apr 16 10:26:52 fremen.geekwu.org dhcpd[77052]: DHCPOFFER on 10.42.0.49 to

Re: OpenBSD 6.0 panic

2016-09-07 Thread Bastien Durel
Le vendredi 02 septembre 2016 à 18:25 +0200, Bastien Durel a écrit : > Hello. > > I upgraded my router to 6.0 yesterday, and now I got a panic each > time > I reboot it. > > Here is a console log : > > # > reboot

Re: OpenBSD 6.0 panic

2016-09-03 Thread Bastien Durel
Le 02/09/2016 à 23:28, Ryan Freeman a écrit : On Fri, Sep 02, 2016 at 06:25:15PM +0200, Bastien Durel wrote: Hello. I upgraded my router to 6.0 yesterday, and now I got a panic each time I reboot it. Hi, Did you happen to forget to do your pkg_add -u to upgrade packages? I suspect it might

OpenBSD 6.0 panic

2016-09-02 Thread Bastien Durel
Hello. I upgraded my router to 6.0 yesterday, and now I got a panic each time I reboot it. Here is a console log : # reboot stopping package daemons: munin_node svscanpanic: kernel diagnostic assertion "ifp != NULL" failed: file

Re: rtadvd advertised non-local prefix

2016-06-02 Thread Bastien Durel
Le vendredi 13 mai 2016 à 17:32 +0200, Bastien Durel a écrit : > Hello, > > I have an OpenBSD router with a few interfaces, connected to a few > other routers, sharing routes with ospf(6)d. > > There's also some hosts connected to its interfaces. > Hello, As proposed by 

rtadvd advertised non-local prefix

2016-05-13 Thread Bastien Durel
Hello, I have an OpenBSD router with a few interfaces, connected to a few other routers, sharing routes with ospf(6)d. There's also some hosts connected to its interfaces. rtadvd.conf is really simple: # cat /etc/rtadvd.conf em0:\ :rdnss="2001:6f8:3c8:42::10":\

Re: OpenBSD ospf6d and ECMP

2015-09-01 Thread Bastien Durel
Le mardi 01 septembre 2015 à 09:16 +, Aviolat Romain a écrit : > more info: > > I'm running OpenBSD 5.4 yet, I checked the changelogs between > -current and 5.4 and haven't seen improvements regarding ECMP and > IPv6. > > Maybe someone can point me in the right direction regarding my >

Re: ospfd lost tunnel interface

2015-07-09 Thread Bastien Durel
Le jeudi 09 juillet 2015 à 07:57 +, Stuart Henderson a écrit : On 2015-07-08, Bastien Durel bast...@durel.org wrote: Le 08/07/2015 22:08, Claudio Jeker a écrit : Feature... with maybe a bug. Jul 8 09:04:07 ospfd[27052]: interface tun0:10.120.0.1 gone So openvpn is reconfiguring

ospfd lost tunnel interface

2015-07-08 Thread Bastien Durel
run ospfd in verbose mode to collect more info ? Thanks, -- Bastien Durel

Re: ospfd lost tunnel interface

2015-07-08 Thread Bastien Durel
Le 08/07/2015 22:08, Claudio Jeker a écrit : Feature... with maybe a bug. Jul 8 09:04:07 ospfd[27052]: interface tun0:10.120.0.1 gone So openvpn is reconfiguring the interface and ospfd does not like this all that much because of the way interface addresses are handled. A simple ospfctl

Re: Install 5.7 : fdisk crash

2015-05-28 Thread Bastien Durel
Le jeudi 28 mai 2015 à 18:40 +0200, Otto Moerbeek a écrit : On Thu, May 28, 2015 at 05:33:01PM +0200, Bastien Durel wrote: [snip] Which speed should com0 use? (or 'done') [57600] Setup a user? (enter a lower-case loginname, or 'no') [no] What timezone are you in? ('?' for list) [Europe

Install 5.7 : fdisk crash

2015-05-28 Thread Bastien Durel
Hello. I'm trying to install openbsd 5.7 on a soekris board. I've booted on pxeboot file from 5.7/amd64, with bsd.rd from 5.7/amd64 ; but install(8) stops on fdisk step, returning back to the start of process I've tried i386 and got the same results The session folows : Intel(R) Boot Agent GE

icmp6 get dropped on gif tunnel

2015-03-27 Thread Bastien Durel
it ping my router endpoint. nor does can I ping it from outside. If I tcpdump gif0, I can see icmpv6 in and out. Does you have any clue ? Thanks, -- Bastien Durel

Re: OpenBSD as virtual guest, host machine acting as router for the guest(s) subnet(s)

2015-02-04 Thread Bastien Durel
16000 /sbin/ip route add 10.42.1.${VM}/32 via 10.42.1.$TAP dev $1 in guest, /etc/hostname.vio0: inet 10.42.1.62 255.255.255.252 !ifconfig vio0 mtu 16000 /etc/mygate: 10.42.1.61 Regards, -- Bastien Durel bast...@durel.org

5.6 Icmp6 checksum / pf

2014-11-09 Thread Bastien Durel
:19c::2 2001:41d0:8:91a::1: icmp6: echo reply (id:6c10 seq:2) [bad icmp6 cksum 0! - 8a71] (len 64, hlim 64) It works correctly with this pf rule disabled: pass in on gif0 reply-to ( gif0 2001:6f8:202:19c::1 ) keep state What's the correct way to handle correct return-path ? Regards, -- Bastien

Re: IPv6 problem

2014-08-03 Thread Bastien Durel
Le vendredi 01 août 2014 à 16:31 +0200, Bastien Durel a écrit : Hello, I face a strange problem with my IPv6 connection. (one of them, actually) I got an OpenBSD router I use to connect to 2 ISPs and various internal networks. One of my link cannot use IPv6 from some time (as it's my

Re: IPv6 problem

2014-08-03 Thread Bastien Durel
Le vendredi 01 août 2014 à 16:31 +0200, Bastien Durel a écrit : Hello, I face a strange problem with my IPv6 connection. (one of them, actually) I got an OpenBSD router I use to connect to 2 ISPs and various internal networks. One of my link cannot use IPv6 from some time (as it's my

IPv6 problem

2014-08-01 Thread Bastien Durel
fremen /bsd: vscsi0 at root Jul 30 11:23:04 fremen /bsd: scsibus0 at vscsi0: 256 targets Jul 30 11:23:04 fremen /bsd: softraid0 at root Jul 30 11:23:04 fremen /bsd: scsibus1 at softraid0: 256 targets Jul 30 11:23:04 fremen /bsd: root on rd0a swap on rd0b dump on rd0b Thanks, -- Bastien Durel

syslogd hangs on boot

2013-03-01 Thread Bastien Durel
Hello, I use an OpenBSD box for my uplink router. I recently added a second uplink, but if the two nics are configured to use dhcp, the boot process hangs on syslogd start. Booting with one of the two external nic cable unplugged let the process going to the end. Have you any tips to

Re: KVM switch - keyboard

2013-02-10 Thread Bastien Durel
Quoting Kent Fritz fritz.k...@gmail.com: Just a data point...one of the boxes I've tried (can't remember which of Foxconn nt535, nt-i1250, nt-i2847) had a similar/same problem. About 30%-50% of the time when I switched to it, no kernel messages on the screen, no keyboard. I found that plugging

KVM switch - keyboard

2013-02-09 Thread Bastien Durel
Hello, I use a KVM switch to control various computers, including my OpenBSD 5.2 router. If I boot with console attached to the OpenBSD computer, it works well, I'm able to control it, login, etc. But when I switch to another computer, then back to OpenBSD, I get display but no keyboard. The KVM

Re: KVM switch - keyboard

2013-02-09 Thread Bastien Durel
Quoting Francois Pussault fpussa...@contactoffice.fr: Hi, many hardware cannot manage USB keyboards without it present at boot. because bios or equiv doesn't enable the port so the OS (whatever it is) cannot use it. [...] a solution could be to have an usb-test device connected to garantee