On 2018/09/19 00:16, Stuart Henderson wrote: > On 2018/09/18 19:12, Aaron A. Glenn wrote: > > > > Experiencing an odd issue with only IPv6 sessions, on snapshots from Sept. > > 9th > > or later. I have 46 other instances running snapshots from Aug 30th to Sept. > > 3rd with IPv6 sessions working as expected. > > > > Please let me know what, if any, additional information can be provided. > > bgpd development has been pretty active recently and there are maybe as > many as 30 commits in the window depending on when the actual checkouts > were done for the snapshots. Seems you can reproduce it pretty easily? > If you're able to do date-based checkouts and build/run to narrow down > the range when it was introduced, that would be helpful, > > $ cd /usr/src
/usr/src/usr.sbin, even. > $ TZ=UTC cvs up -D "2018/09/04 00:00:00" up -PdA bgpd bgpctl > $ for i in bgpd bgpctl; (cd $i && make obj && make && doas make install); done Oh, do this instead to get debug symbols - $ for i in bgpd bgpctl; (cd $i && make obj && make clean && make DEBUG=-g && doas make install DEBUG=-g); done And # sysctl kern.nosuidcoredump=3 # mkdir -p /var/crash/bgpd (you might also need /var/empty/var/crash/bgpd, I'm not 100% sure) Maybe you will get a coredump that gives a useful backtrace ("gdb /usr/sbin/bgpd /var/crash/bgpd/$PID.core"). > > Purely based on numbers of commits between them, I'd suggest trying these > dates > working forwards: > > 2018/09/04 00:00:00 > 2018/09/05 00:00:00 > 2018/09/06 00:00:00 > 2018/09/07 12:00:00 > 2018/09/08 10:30:00 > 2018/09/09 15:00:00 > 2018/09/10 00:00:00 > > Nothing jumps out as being particularly more likely than others from > reading so far (though I have been looking at a lot of commit logs and > cvs diffs in bgpd over the last few days and it is starting to get a bit > blurry by now ;) > > If it starts off OK and then you hit a non-working one, look at commit log > timestamps (I normally use cvsps from packages; I recommend forcing TZ > when you're doing this type of thing to avoid confusion, try "TZ=UTC > cvsps -d 2018/09/01") and work backwards (date-based checkout to e.g. > a minute before each commit) until you find one when it starts working > again. > > Note, I've chosen the above dates to avoid the short range where commas > are banned in prefix-sets, but if you end up having to narrow down to between > 2018/09/08 10:30:00 and 2018/09/09 15:00:00 you will need to remove them in > your config. > > (If you're more familiar with git you could use that instead with > github/openbsd/src, but it's something of a pain with this sort of bisection > because you have to update the whole of /usr/src each time rather than > a handful of files.) >