Improve st(4) handling of sense data

2010-09-06 Thread Kenneth R Westerback
More specifically, make handling of resid consistant and at least superficially correct. Triggered by the hack I had to commit to fix a problem with a large un-tar from my ahci DAT drive. A cookie for those who can show any semantic change I made outside of the calculation and usage of resid's. A

Re: axe(4) patch for some AX88772 phy

2010-09-06 Thread Jonathan Gray
On Sun, Aug 29, 2010 at 05:19:33AM +0200, Laurent Ghigonis wrote: > Hello :) > > After posting about a problem i had with my Linksys USB300M axe(4) adapter > (AX88772 based, phy not working correctly, cannot send anything) > http://marc.info/?l=openbsd-misc&m=128050785229742&w=2 > and reading

bge(4) support for BCM5719.

2010-09-06 Thread Brad
The following diff adds support to bge(4) for the Broadcom BCM5719 ASIC core and chipset and a fix for the BCM57791/BCM57795 FastE controllers. No functional change for existing supported controllers but test anyway. Index: if_bge.c

Fix for tcpdump subnet filtering

2010-09-06 Thread Kenneth R Westerback
canacar@ came up with this just before release, so it didn't go in at that time. So here it is again. Fixes filtering based on subnets, and it works for me (tm). i.e. tcpdump -pflog0 -n -vv net 192.197.205.0/24 will now show packets for 192.197.205.0/24, when before it did not. ok? Ken In

Re: AES-GCM Part 4: ipsecctl

2010-09-06 Thread Mike Belopuhov
On Thu, Sep 02, 2010 at 11:53 +0200, Mike Belopuhov wrote: > On Mon, Aug 30, 2010 at 22:27 +0200, Mike Belopuhov wrote: > > ipsecctl part. > > > > Fixed manual key for gcm and cbc (apparently somebody forgot it). > Note that gcm spec says you should not use manual keys. > - dropped support for

Re: AES-GCM Part 3: isakmpd

2010-09-06 Thread Mike Belopuhov
On Sun, Sep 05, 2010 at 19:28 +0200, Mike Belopuhov wrote: > On Sun, Sep 05, 2010 at 16:49 +, Christian Weisgerber wrote: > > Mike Belopuhov wrote: > > > > > note that it defaults to AESGCM-256 (i did it this way because > > > linux picks largest key). > > > > I don't understand that rationa

Re: amd64 MP: stop sending superfluous IPIs

2010-09-06 Thread Kenneth R Westerback
On Mon, Sep 06, 2010 at 01:09:39AM -0500, Philip Guenther wrote: > The amd64 pmap keeps track of which cpu(s) a given pmap is in use on, so > that when the pmap's page tables are modified it can send IPIs to the > neccessary processors to have them invalidate those pages in their caches. > Unfo

sender expansions for opensmtpd(try 2)

2010-09-06 Thread Gregory Edigarov
Hi everybody, The following diff adds sender expansions to OpenSMTPD. %U for sender localpart %D for sender domainpart --- lka.c.orig Sun Jun 20 12:56:26 2010 +++ lka.c Sun Sep 5 16:41:37 2010 @@ -55,11 +55,11 @@ struct lkasession *lka_session_init(struct smtpd *, struct message *); vo

Re: sync /etc to recent ECDSA changes

2010-09-06 Thread Mattieu Baptiste
On Mon, Sep 6, 2010 at 10:58 AM, Henning Brauer wrote: > * Mattieu Baptiste [2010-09-06 09:43]: >> This sync /etc with recent ECDSA changes. > > it has been decided to let ecdsa settle a bit before doing this. > > -- > Henning Brauer, h...@bsws.de, henn...@openbsd.org > BS Web Services, http://bs

Re: sync /etc to recent ECDSA changes

2010-09-06 Thread Henning Brauer
* Mattieu Baptiste [2010-09-06 09:43]: > This sync /etc with recent ECDSA changes. it has been decided to let ecdsa settle a bit before doing this. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedic

sender expansions for opensmtpd

2010-09-06 Thread Gregory Edigarov
Hi everybody, The following diff adds sender expansions to OpenSMTPD. %U for sender localpart %D for sender domainpart --- lka.c.orig Sun Jun 20 12:56:26 2010 +++ lka.c Sun Sep 5 16:41:37 2010 @@ -55,11 +55,11 @@ struct lkasession *lka_session_init(struct smtpd *, struct message *); vo

Re: cut swap over to bufq

2010-09-06 Thread Thordur I Bjornsson
On Sun, Sep 05, 2010 at 07:03:24PM -0600, Bob Beck wrote: > > > > > > Basically by saying you will prevent swap is that you will make a > > situation > > > where you ask for a page of memory and don't get it because you are > > > suspending. > > > > Nothing the kernel needs to touch is swappable.

sync /etc to recent ECDSA changes

2010-09-06 Thread Mattieu Baptiste
Hi all, This sync /etc with recent ECDSA changes. Index: etc/rc === RCS file: /cvs/src/etc/rc,v retrieving revision 1.340 diff -u -r1.340 rc --- etc/rc 27 Jul 2010 08:37:33 - 1.340 +++ etc/rc 6 Sep 2010 07:30:21 -