Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Brad Smith
On Mon, Jul 09, 2012 at 02:18:48AM +0300, Lazaros Koromilas wrote: > On Sun, Jul 08, 2012 at 01:31:43PM -0400, Kenneth R Westerback wrote: > > On Sun, Jul 08, 2012 at 07:17:21PM +0200, Stefan Sperling wrote: > > > On Sun, Jul 08, 2012 at 08:00:28PM +0300, Lazaros Koromilas wrote: > > > > On Sun, Ju

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Lazaros Koromilas
On Sun, Jul 08, 2012 at 01:31:43PM -0400, Kenneth R Westerback wrote: > On Sun, Jul 08, 2012 at 07:17:21PM +0200, Stefan Sperling wrote: > > On Sun, Jul 08, 2012 at 08:00:28PM +0300, Lazaros Koromilas wrote: > > > On Sun, Jul 08, 2012 at 10:59:09AM +0200, Stefan Sperling wrote: > > > > The linux dr

PCI IDs for Ivy Bridge board

2012-07-08 Thread Seth Wright
The patch below adds PCI IDs for the five (previously) "unknown" devices on my Panther Point / Z77-chipset motherboard. dmesg follows diff. Seth Index: pcidevs === RCS file: /cvsroot/OpenBSD/src/sys/dev/pci/pcidevs,v retrieving rev

bgpd speedup fix

2012-07-08 Thread Claudio Jeker
Found today while wondering why the EOR records take multiple minutes to be processed by bgpd on a full view. Found the problem in a commit that is 7.5 years old which should not monopolise the SE by a single session. Since not all data is processed done by a single read we end up depending on addi

Re: ipv6 /sbin/route prefixlen annoyance

2012-07-08 Thread Florian Obser
On Sun, Jul 08, 2012 at 08:13:08PM +0200, Sebastian Benoit wrote: > Consider > > route add -inet6 -prefixlen 64 2a00:cafe::: -prefixlen 56 ::1 > > This currently works (sets the route with /56), as does > > route add -inet6 -prefixlen 56 2a00:cafe::: ::1 > > (sets the route with /6

ipv6 /sbin/route prefixlen annoyance

2012-07-08 Thread Sebastian Benoit
Consider route add -inet6 -prefixlen 64 2a00:cafe::: -prefixlen 56 ::1 This currently works (sets the route with /56), as does route add -inet6 -prefixlen 56 2a00:cafe::: ::1 (sets the route with /64). patch: * dissallow use of argument -prefixlen twice * when -prefixlen is giv

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Kenneth R Westerback
On Sun, Jul 08, 2012 at 07:17:21PM +0200, Stefan Sperling wrote: > On Sun, Jul 08, 2012 at 08:00:28PM +0300, Lazaros Koromilas wrote: > > On Sun, Jul 08, 2012 at 10:59:09AM +0200, Stefan Sperling wrote: > > > The linux driver ("iwlegacy") doesn't run this command in async mode. > > > Is there a rea

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Stefan Sperling
On Sun, Jul 08, 2012 at 08:00:28PM +0300, Lazaros Koromilas wrote: > On Sun, Jul 08, 2012 at 10:59:09AM +0200, Stefan Sperling wrote: > > The linux driver ("iwlegacy") doesn't run this command in async mode. > > Is there a reason why you're passing 1 for the last param, i.e. not > > waiting for a c

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Lazaros Koromilas
On Sun, Jul 08, 2012 at 10:59:09AM +0200, Stefan Sperling wrote: > On Sun, Jul 08, 2012 at 01:45:45AM +0300, Lazaros Koromilas wrote: > > Hello all, > > > > I'm resending a diff that enables network cards running with > > the wpi driver to enter promiscuous mode. I have changed > > WPI_CMD_ASSOCI

Re: ipsecctl: disable some algorithms for manual SAs

2012-07-08 Thread Christian Weisgerber
New attempt. This performs the check at parse time in validate_sa(). (Yes, I'm aware that the regression tests will also require some tweaking.) Index: ipsecctl.h === RCS file: /cvs/src/sbin/ipsecctl/ipsecctl.h,v retrieving revision

Re: rtadvd(8) patch 2/2 : finalize server-side RFC 6106 support

2012-07-08 Thread Peter Hessler
This has been committed, many thanks for the diffs and sorry for the delay. On 2012 Feb 23 (Thu) at 21:18:30 -0800 (-0800), Stephane A. Sezer wrote: :On Fri, 27 Jan 2012 15:20:29 +0100 :"Stephane A. Sezer" wrote: : :> Hello again tech@, :> :> Here's also the updated version of a patch I wrote a

Re: rtadvd(8) patch 1/2 : `noifprefix` support

2012-07-08 Thread Peter Hessler
This has been committed, many thanks for the diffs and sorry for the delay. On 2012 Feb 23 (Thu) at 21:04:32 -0800 (-0800), Stephane A. Sezer wrote: :On Fri, 27 Jan 2012 15:13:59 +0100 :"Stephane A. Sezer" wrote: : :> Hello tech@, :> :> I discussed a little with brad@ of some features of the rt

Re: Xsearch(3) nit

2012-07-08 Thread Philip Guenther
On Sun, Feb 12, 2012 at 11:05 AM, Joachim Schipper wrote: > bsearch(3), tsearch(3) contains some superfluous spaces. committed. Thanks! (sorry about the delay) Philip Guenther

Re: pfctl: make -P work with -ss

2012-07-08 Thread Lawrence Teo
On Thu, May 31, 2012 at 12:07:18AM -0400, Lawrence Teo wrote: > pfctl's -P flag (introduced in OpenBSD 5.1) makes pfctl print ports > using their names in /etc/services. It was originally intended to be > used with -sr. > > The diff extends it to make it work with -ss. > > Example: > > # pfctl

Re: Build cpu topology on amd64.

2012-07-08 Thread Gregor Best
On Sun, Jul 08, 2012 at 11:47:42AM +0200, Christiano F. Haesbaert wrote: > [...] > Do we want this ? > [...] I definitely want it, at least for my EEVDF experiments (maybe that patch is the kick in the butt I needed to finally get that into some sensible shape). So yeah, even if it won't get into

Build cpu topology on amd64.

2012-07-08 Thread Christiano F. Haesbaert
Heya, I have this rotting in my tree, since actually using it effectively is way harder than it seems, anyhow, this correctly builds the topology in amd64, we know 3 things about each cpu now: - thread id (smt id) - core id - package id This is not complete but is enough IMHO, it lacks x2apic d

Re: set { tos ..., prio ... }

2012-07-08 Thread Ryan McBride
I agree with this. Others to consider: - 'tag': we could then replace the nasty 'tagged' keyword with 'tag' and do proper 'tag != FOO' syntax. - synproxy and modulate state - could go into 'scrub' also? On Sat, Jul 07, 2012 at 07:24:23PM +0200, Henning Brauer wrote: > so, we have some utter

ipsecctl: disable some algorithms for manual SAs

2012-07-08 Thread Christian Weisgerber
Here's a tentative diff to disable AES-CTR/-GCM/-GMAC for manual security associations, in accordance with RFC 3686/4106/4543 that explicitly forbid the use of these algorithms with static keys. Should this be better handled in the grammar? For ipsec.conf.5, it also includes a tweak to the key le

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Mark Kettenis
> Date: Sun, 8 Jul 2012 01:45:45 +0300 > From: Lazaros Koromilas > > Hello all, > > I'm resending a diff that enables network cards running with > the wpi driver to enter promiscuous mode. I have changed > WPI_CMD_ASSOCIATE to WPI_CMD_ASSOCIATED to better designate its > purpose: alter options

Re: [patch] wpi(4): add promiscuous mode

2012-07-08 Thread Stefan Sperling
On Sun, Jul 08, 2012 at 01:45:45AM +0300, Lazaros Koromilas wrote: > Hello all, > > I'm resending a diff that enables network cards running with > the wpi driver to enter promiscuous mode. I have changed > WPI_CMD_ASSOCIATE to WPI_CMD_ASSOCIATED to better designate its You forgot to update a ref

rt2560 tx/prio queue fixes

2012-07-08 Thread Stefan Sperling
The rt2560 part of the ral driver uses a prio queue for management frames and a tx queue for data frames. Both queues currently use a shared flag to tell the network stack that they are full (IFF_OACTIVE). It seems that IFF_OACTIVE can get cleared by the interrupt handler for one queue while the o