Re: NOINET6 by default

2014-05-16 Thread Claudio Jeker
On Fri, May 16, 2014 at 12:43:52AM -0500, Todd T. Fries wrote: Penned by Henning Brauer on 20140516 0:26.37, we have: | * Claudio Jeker cje...@diehard.n-r-g.com [2014-05-15 09:33]: | On Wed, May 14, 2014 at 11:29:20PM +0200, Henning Brauer wrote: | so as discussed recently having the inet6

Re: better free checking

2014-05-16 Thread Otto Moerbeek
On Wed, May 14, 2014 at 03:28:02PM -0400, Ted Unangst wrote: As I learned the hard way not long ago, free() doesn't detect all errors because of the delay mechanism. We can make two improvements. 1. Perform the sanity checking from free_bytes before we insert something into the delay array.

Re: fun with smtpd, (two bugs)

2014-05-16 Thread Creamy
On Thu, May 15, 2014 at 09:53:39PM +0059, Jason McIntyre wrote: On Thu, May 15, 2014 at 10:40:27PM +0200, Frank Brodbeck wrote: Hi Jason, On Wed, May 14, 2014 at 11:16:59PM +0059, Jason McIntyre wrote: it's still missing some . also i think we can wholly simplify the

Re: run(4) firmware update; please test

2014-05-16 Thread Dinar Talypov
Hi, I have tested with D-Link DWA-140 rev B2G: run0 at uhub0 port 1 Ralink 11n Adapter rev 1.10/1.01 addr 2 run0: MAC/BBP RT3071 (rev 0x021C), RF RT3022 (MIMO 2T2R), address 14:d6:4d:49:73:4e with this diff nothing works. It doesn't find any access point. 2014-05-15 19:32 GMT+04:00 Fred

umsm support for Alcatel OneTouch L100V

2014-05-16 Thread Łukasz Ratajski
Attached is a diff for umsm+man page which enables support for the Alcatel OneTouch L100V USB 2G/3G/LTE modem, known in Germany as Telekom SpeedStick LTE II. The storage part has to be ejected first. Connectivity tested with userland ppp on amd64. Patch is against 5.5-STABLE. umass1 at uhub0

Re: run(4) firmware update; please test

2014-05-16 Thread Stefan Sperling
On Fri, May 16, 2014 at 02:44:10PM +0400, Dinar Talypov wrote: Hi, I have tested with D-Link DWA-140 rev B2G: run0 at uhub0 port 1 Ralink 11n Adapter rev 1.10/1.01 addr 2 run0: MAC/BBP RT3071 (rev 0x021C), RF RT3022 (MIMO 2T2R), address 14:d6:4d:49:73:4e with this diff nothing works.

Re: umsm support for Alcatel OneTouch L100V

2014-05-16 Thread David Coppa
On Fri, May 16, 2014 at 1:02 PM, Łukasz Ratajski lukasz.rataj...@t-online.de wrote: Attached is a diff for umsm+man page which enables support for the Alcatel OneTouch L100V USB 2G/3G/LTE modem, known in Germany as Telekom SpeedStick LTE II. The storage part has to be ejected first.

Re: run(4) firmware update; please test

2014-05-16 Thread Raphael Graf
On Thu, May 15, 2014 11:35 am, Stefan Sperling wrote: This firmware update to version 0.33 is a prequisite for newer run(4) devices which are not yet supported. Can active users of run(4) devices please test this update to make sure no regressions are introduced for already working devices?

Re: run(4) firmware update; please test

2014-05-16 Thread Gerhard Roth
On Fri, 16 May 2014 13:07:24 +0200 Stefan Sperling s...@openbsd.org wrote: On Fri, May 16, 2014 at 02:44:10PM +0400, Dinar Talypov wrote: Hi, I have tested with D-Link DWA-140 rev B2G: run0 at uhub0 port 1 Ralink 11n Adapter rev 1.10/1.01 addr 2 run0: MAC/BBP RT3071 (rev 0x021C),

Re: NOINET6 by default

2014-05-16 Thread Henning Brauer
* Claudio Jeker cje...@diehard.n-r-g.com [2014-05-16 08:06]: On Fri, May 16, 2014 at 12:43:52AM -0500, Todd T. Fries wrote: When I travel between networks.. at home with rtsol capable networks .. and at e.g. a library that does not have native IPv6 .. I find it invaluable to 'zzz' then upon

Re: umsm support for Alcatel OneTouch L100V

2014-05-16 Thread David Coppa
On Fri, May 16, 2014 at 3:31 PM, Łukasz Ratajski lukasz.rataj...@t-online.de wrote: Am 16.05.2014 13:10, schrieb David Coppa: On Fri, May 16, 2014 at 1:02 PM, Łukasz Ratajski lukasz.rataj...@t-online.de wrote: Attached is a diff for umsm+man page which enables support for the Alcatel OneTouch

Re: run(4) firmware update; please test

2014-05-16 Thread Alexey Suslikov
Stefan Sperling stsp at openbsd.org writes: Are you able to try your run(4) device with FreeBSD-current (10 isn't new enough)? They claim to support your device and use the updated firmware. Please take a look at my (unfinished) attempt to bring MediaTek/Ralink RT5370/RT5372 support to

Re: [PATCH 1/2] use correct size_t formatter, include string.h for memcmp

2014-05-16 Thread Joel Sing
Thanks for the diff - I've committed a more comprehensive diff that makes it clean with WARNINGS=Yes. On Mon, 12 May 2014, bust...@gmail.com wrote: From: Brent Cook bust...@gmail.com --- base64/base64test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] include openssl/evp.h for OPENSSL_add_all_algorithms_noconf()

2014-05-16 Thread Joel Sing
On Mon, 12 May 2014, bust...@gmail.com wrote: From: Brent Cook bust...@gmail.com --- rc4/rc4test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rc4/rc4test.c b/rc4/rc4test.c index a0b08a6..c4d34b1 100644 --- a/rc4/rc4test.c +++ b/rc4/rc4test.c @@ -60,6 +60,7 @@ #include

Re: umsm support for Alcatel OneTouch L100V

2014-05-16 Thread Creamy
On Fri, May 16, 2014 at 03:31:41PM +0200, ??ukasz Ratajski wrote: Am 16.05.2014 13:10, schrieb David Coppa: On Fri, May 16, 2014 at 1:02 PM, ??ukasz Ratajski lukasz.rataj...@t-online.de wrote: Attached is a diff for umsm+man page which enables support for the Alcatel OneTouch L100V USB

mountd: handle unresolvable hosts in a netgroup

2014-05-16 Thread Todd C. Miller
Currently, if you have a host netgroup with an unresolvable hostname, the file system will not be exported to any of the netgroup members. This is because we don't zero out grp before reusing it when a host is unresolvable. - todd Index: sbin/mountd/mountd.c

Re: mountd: handle unresolvable hosts in a netgroup

2014-05-16 Thread Kenneth Westerback
On 16 May 2014 12:54, Todd C. Miller todd.mil...@courtesan.com wrote: Currently, if you have a host netgroup with an unresolvable hostname, the file system will not be exported to any of the netgroup members. This is because we don't zero out grp before reusing it when a host is unresolvable.

Re: better free checking

2014-05-16 Thread Otto Moerbeek
On Wed, May 14, 2014 at 03:28:02PM -0400, Ted Unangst wrote: As I learned the hard way not long ago, free() doesn't detect all errors because of the delay mechanism. We can make two improvements. 1. Perform the sanity checking from free_bytes before we insert something into the delay array.

make kernel build with EHCI_DEBUG

2014-05-16 Thread Jean-Philippe Ouellet
There are a bunch of nearby printfs which start with : ... without a devname. I'm not sure which one is preferred, so here's both ways. Index: ehci_cardbus.c === RCS file: /cvs/src/sys/dev/cardbus/ehci_cardbus.c,v retrieving

Re: make kernel build with EHCI_DEBUG

2014-05-16 Thread Stefan Sperling
On Fri, May 16, 2014 at 02:16:10PM -0400, Jean-Philippe Ouellet wrote: There are a bunch of nearby printfs which start with : ... without a devname. I'm not sure which one is preferred, so here's both ways. Index: ehci_cardbus.c

ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Hi, I was configuring one new interface in one of my new machines, and I disabled ipv6 with -inet6 as I always do. But I handcrafted the hostname.if file and forgot to put a NONE in the broadcast address. This caused the ifconfig to segfault when called from the /etc/netstart script. For

Re: ifconfig segmentation fault

2014-05-16 Thread Kenneth Westerback
On 16 May 2014 15:00, Giancarlo Razzolini grazzol...@gmail.com wrote: Hi, I was configuring one new interface in one of my new machines, and I disabled ipv6 with -inet6 as I always do. But I handcrafted the hostname.if file and forgot to put a NONE in the broadcast address. This caused

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 16:45, Kenneth Westerback escreveu: On 16 May 2014 15:00, Giancarlo Razzolini grazzol...@gmail.com wrote: Hi, I was configuring one new interface in one of my new machines, and I disabled ipv6 with -inet6 as I always do. But I handcrafted the hostname.if file and forgot to

Re: ifconfig segmentation fault

2014-05-16 Thread Stuart Henderson
On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the CVS commits right now to see if it was fixed. But, funny thing, I've managed to get another segmentation fault, this time from command line.

Re: ifconfig segmentation fault

2014-05-16 Thread Luis Coronado
On my OBSD 5.5 box I cannot reproduce: /etc/hostname.bge0 inet 192.168.2.170 255.255.255.0 -inet6 # sh /etc/netstart bge0 ifconfig: -inet6: bad value OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar 5 09:37:46 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem =

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the CVS commits right now to see if it was fixed. But, funny thing, I've managed to get another

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the CVS commits right now to see if it was fixed. But, funny thing, I've managed to get another

Re: ifconfig segmentation fault

2014-05-16 Thread Luis Coronado
# sha256 /sbin/ifconfig SHA256 (/sbin/ifconfig) = e1b9688f2ebf5a278408c49ac13e35479a96b883ff9891ada141470d55a1b158 and mine does not crash. -luis On Fri, May 16, 2014 at 2:29 PM, Giancarlo Razzolini grazzol...@gmail.comwrote: Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16

PC-122 keyboard

2014-05-16 Thread Creamy
Hi Miod, (cc'ing tech@ to see if anybody else has one of these keyboards) Is this the correct way to go about adding a sub-keymap to place the VT switch commands on dedicated keys? For local use, I just hacked up the standard keymap :-))). Likewise the necessary changes to wskbd.c to process

Re: ifconfig segmentation fault

2014-05-16 Thread Creamy
On Fri, May 16, 2014 at 05:29:10PM -0300, Giancarlo Razzolini wrote: Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the CVS commits right now to

Re: ifconfig segmentation fault

2014-05-16 Thread Stuart Henderson
On 2014/05/16 17:26, Giancarlo Razzolini wrote: Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the CVS commits right now to see if it was

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 18:15, Stuart Henderson escreveu: On 2014/05/16 17:26, Giancarlo Razzolini wrote: Em 16-05-2014 17:18, Stuart Henderson escreveu: On 2014/05/16 17:12, Giancarlo Razzolini wrote: As I mentioned, I'm running 5.5 stable. So this might got fixed in current, I'm taking a look at the

Re: ifconfig segmentation fault

2014-05-16 Thread Héctor Luis Gimbatti
/etc/hostname.if Inet 1.2.3.4 255.255.255.0 NONE -inet6 # ksh /etc/netstart # ifconfig ## NO PROBLEM /etc/hostname.if Inet 1.2.3.4 255.255.255.0 -inet6 # ksh /etc/netstart ifconfig: -inet6: bad value ## NO SEGMENTATION FAULT So, IMHO, if there is any problem at all, of course it should be

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 18:19, Héctor Luis Gimbatti escreveu: /etc/hostname.if Inet 1.2.3.4 255.255.255.0 NONE -inet6 # ksh /etc/netstart # ifconfig ## NO PROBLEM /etc/hostname.if Inet 1.2.3.4 255.255.255.0 -inet6 # ksh /etc/netstart ifconfig: -inet6: bad value ## NO SEGMENTATION FAULT So,

Re: ifconfig segmentation fault

2014-05-16 Thread sven falempin
On Fri, May 16, 2014 at 10:15 PM, Giancarlo Razzolini grazzol...@gmail.comwrote: Em 16-05-2014 18:19, Héctor Luis Gimbatti escreveu: /etc/hostname.if Inet 1.2.3.4 255.255.255.0 NONE -inet6 # ksh /etc/netstart # ifconfig ## NO PROBLEM /etc/hostname.if Inet 1.2.3.4 255.255.255.0

Re: ifconfig segmentation fault

2014-05-16 Thread Giancarlo Razzolini
Em 16-05-2014 23:48, sven falempin escreveu: On Fri, May 16, 2014 at 10:15 PM, Giancarlo Razzolini grazzol...@gmail.com mailto:grazzol...@gmail.com wrote: Em 16-05-2014 18:19, Héctor Luis Gimbatti escreveu: /etc/hostname.if Inet 1.2.3.4 255.255.255.0 NONE -inet6