Re: BFD: route get and route monitor

2017-01-18 Thread Claudio Jeker
On Thu, Jan 19, 2017 at 06:26:25AM +0100, Peter Hessler wrote: > On 2016 Dec 17 (Sat) at 14:05:40 +0100 (+0100), Peter Hessler wrote: > :On 2016 Sep 30 (Fri) at 10:16:19 +0200 (+0200), Peter Hessler wrote: > ::This diff makes route get and route monitor work. sockaddr_bfd is so we > ::can play

Re: BFD: route get and route monitor

2017-01-18 Thread Peter Hessler
On 2016 Dec 17 (Sat) at 14:05:40 +0100 (+0100), Peter Hessler wrote: :On 2016 Sep 30 (Fri) at 10:16:19 +0200 (+0200), Peter Hessler wrote: ::This diff makes route get and route monitor work. sockaddr_bfd is so we ::can play like the other RTAX_* indexes in rti_info of route messages. :: In

Re: NET_LOCK() pr_sysctl

2017-01-18 Thread Martin Pieuchot
On 16/01/17(Mon) 23:53, Alexander Bluhm wrote: > On Mon, Jan 16, 2017 at 08:34:43PM +0100, Alexander Bluhm wrote: > > If I implement the same trick for newp, I can avoid the "netlock > > locking against myself" with sysctl on memory mapped files over > > NFS. Of course other copyin/copyout paths

netinet/ipsec* vs splsoftnet()

2017-01-18 Thread Martin Pieuchot
We can remove these splsoftnet()/splx() dances because: - pr_ctlinput* are now always called at IPL_SOFTNET - ipsec_adjust_mtu() is only called in ip_output() so at the correct IPL. ok? Index: netinet/ipsec_input.c === RCS file:

pfsync(4) vs splsoftnet()

2017-01-18 Thread Martin Pieuchot
pfsync_update_net_tdb() is only called by pfsync_input() which already runs at IPL_SOFTNET. So trade the spl dance for an assert, ok? Index: net/if_pfsync.c === RCS file: /cvs/src/sys/net/if_pfsync.c,v retrieving revision 1.239 diff

Re: [patch] fake pv drivers installation on xen

2017-01-18 Thread Dinar Talypov
I use Xenserver 7.0 with xencenter management console. without it doesn't allow shutdown or reboot. Anyway I'll try with hostctl. Thanks. 2017-01-18 21:53 GMT+03:00 Mike Belopuhov : > On Wed, Jan 18, 2017 at 21:23 +0300, Dinar Talypov wrote: > > +void > >

Re: [patch] fake pv drivers installation on xen

2017-01-18 Thread Mike Belopuhov
On Wed, Jan 18, 2017 at 21:23 +0300, Dinar Talypov wrote: > +void > +xen_inform_host(struct xen_softc *sc) > +{ > + char *os_name; > + > + /* Fake PV drivers version */ > + xs_setnum(sc, "attr/PVAddons", "MajorVersion", 6); > + xs_setnum(sc, "attr/PVAddons", "MinorVersion",

Re: [patch] fake pv drivers installation on xen

2017-01-18 Thread Mike Belopuhov
On Wed, Jan 18, 2017 at 21:23 +0300, Dinar Talypov wrote: > > Hi, > Privet, Dinar! > The patch below fakes pv drivers installation. > Version numbers are taken from FreeBSD sysutils/xe-guest-utilities. > With this xen allows reboot or shutdown OpenBSD guest. > Which Xen version or what

[patch] fake pv drivers installation on xen

2017-01-18 Thread Dinar Talypov
Hi, The patch below fakes pv drivers installation. Version numbers are taken from FreeBSD sysutils/xe-guest-utilities. With this xen allows reboot or shutdown OpenBSD guest. Index: sys/dev/pv/xen.c === RCS file:

IPv6 Atomic Fragments Considered Harmful

2017-01-18 Thread Alexander Bluhm
Hi, There is a new RFC 8021 "IPv6 Atomic Fragments Considered Harmful". Someone has even created CVE-2016-10142 because of it. I don't think that the constructed attacks are a big issue and I think that similar attacks are still possible. We prevent atomic fragments for MTU < 1280 now. But

Enable building wsfontload on Loongson

2017-01-18 Thread Frederic Cambus
Hi tech@, Here is a diff to enable building wsfontload on Loongson. Builds and works correctly, allowing loading and using custom fonts. Comments? OK? Index: distrib/sets/lists/base/md.loongson === RCS file:

Re: 11n support for athn(4)

2017-01-18 Thread Stefan Sperling
On Wed, Jan 18, 2017 at 09:19:28AM +0100, Uwe Werler wrote: > On 16. Jan 17:46:48, Uwe Werler wrote: > > > > Unfortunately the throughput is very low, only ~7 MBit. With mode 11g I get > > ~16 MBit. > > > > > > zarathustra:~# tcpbench apu01 > > elapsed_ms bytes mbps bwidth

Re: 11n support for athn(4)

2017-01-18 Thread Uwe Werler
On 16. Jan 17:46:48, Uwe Werler wrote: > > Unfortunately the throughput is very low, only ~7 MBit. With mode 11g I get > ~16 MBit. > > > zarathustra:~# tcpbench apu01 > elapsed_ms bytes mbps bwidth > 1004 7482725.962 100.00% > Conn: 1 Mbps: