Re: wsmouse mapping button clicks

2018-05-14 Thread Xavier Guerin
On Mon, 2018-05-14 at 20:09 -0400, Patrick Marchand wrote: > On 05/14, Ulf Brosziewski wrote: > > Hi Patrick, > > > > thanks for the infos. I'm afraid you're out of luck, it seems > > that this device would need vendor-/model-specific extensions > > in our HID-mouse driver. It only announces

Re: Remote kernel debugging with kgdb and vmm

2018-05-14 Thread Xavier Guerin
On Sun, 2018-05-13 at 22:22 +0300, IL Ka wrote: > AFAIK kgdb (remote debug) is not supported: > http://openbsd-archive.7691.n7.nabble.com/on-line-kernel-debugging-tt > 335833.html#a341551 > > You can debug running kernel but functionality is limited. Thanks. Looks like using QEmu gdbserver[1] us

Remote kernel debugging with kgdb and vmm

2018-05-12 Thread Xavier Guerin
Hello, I'd like to dive into the bridge driver and I am trying to setup a kernel debugging environment. I chose to use VMM to do that but I don't seem to find a way to connect my local gdb to the VMM console. I guess I would need another serial device for KGDB, but I have not found how to do

Re: tap+bridge: arp reply not forwarded

2018-05-06 Thread Xavier Guerin
On Sun, 2018-05-06 at 17:51 -0400, Xavier Guerin wrote: > On Sun, 2018-05-06 at 09:34 -0400, Xavier Guerin wrote: > > On Sat, 2018-05-05 at 21:07 -0700, Carlos Cardenas wrote: > > > On Sat, May 05, 2018 at 11:37:07PM -0400, Xavier Guerin wrote: > > > > Hello

Re: tap+bridge: arp reply not forwarded

2018-05-06 Thread Xavier Guerin
On Sun, 2018-05-06 at 09:34 -0400, Xavier Guerin wrote: > On Sat, 2018-05-05 at 21:07 -0700, Carlos Cardenas wrote: > > On Sat, May 05, 2018 at 11:37:07PM -0400, Xavier Guerin wrote: > > > Hello list, > > > > > > Working with a user-space TCP-IP, I tried to se

Re: tap+bridge: arp reply not forwarded

2018-05-06 Thread Xavier Guerin
On Sun, 2018-05-06 at 09:34 -0400, Xavier Guerin wrote: > On Sat, 2018-05-05 at 21:07 -0700, Carlos Cardenas wrote: > > On Sat, May 05, 2018 at 11:37:07PM -0400, Xavier Guerin wrote: > > > Hello list, > > > > > > Working with a user-space TCP-IP, I tried to se

Re: tap+bridge: arp reply not forwarded

2018-05-06 Thread Xavier Guerin
On Sat, 2018-05-05 at 21:07 -0700, Carlos Cardenas wrote: > On Sat, May 05, 2018 at 11:37:07PM -0400, Xavier Guerin wrote: > > Hello list, > > > > Working with a user-space TCP-IP, I tried to setup a local bridge > > between two taps, each tap being driver by a user-

tap+bridge: arp reply not forwarded

2018-05-05 Thread Xavier Guerin
Hello list, Working with a user-space TCP-IP, I tried to setup a local bridge between two taps, each tap being driver by a user-space client and server. user-space <-> TAP0 <-> BRIDGE0 <-> TAP1 <-> user-space I am interestingly stuck at the ARP discovery phase. When the client send its ARP

User-space TCP/IP testing with tap, bridge and PF

2018-05-05 Thread Xavier Guerin
Hello list, I am developing a userspace TCP/IP stack. Most of the time on my servers I use special NICs and API to bypass the kernel. When on the go I'd like to do the same on my OpenBSD dev laptop. I chose to use tap + bridge and some PF-fu to try to make it work, but after several fruitless