compiling smtpd

2010-09-29 Thread André
Hi there, after playing around with the great smtpd(8) i experienced the virtual problem, mentioned here: http://marc.info/?l=openbsd-miscw=2r=1s=smtpd+makemap+q=b , i tried a fresh checkout on smtpd: # cd /usr # cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -P src/usr.sbin/smtpd

Just upgraded firewall from 4.2-current

2010-09-29 Thread Ray
Thanks to nick@ and ajacoutot@, I just upgraded a firewall from 4.2-current to 4.8-current. Didn't have access to the console, did it all remotely by untarring, rebooting, praying, and running sysmerge. Couldn't have done it without the FAQ and sysmerge. You guys rock! -Ray-

Re: Kernel Panic immediately after boot with CARP

2010-09-29 Thread Henning Brauer
* Steve W st...@witucke.net [2010-09-26 18:46]: login: panic: pool_do_get(mcl2k): free list modified: page 0xd68bc000;; item addr 0xd68bc800; offset 0x0=0x2d304436 sigh. use-after-free (most likely, at least) somewhere. unlikely to be carp itself. might be re (wild guess). -- Henning Brauer,

Re: netatalk causes panic

2010-09-29 Thread Henning Brauer
* Bryan Irvine sparcta...@gmail.com [2010-09-26 01:21]: I'm running a custom kernel (because it's required). The only change I made was uncommenting the following line. option NETATALK# AppleTalk my condolences. I can't wait to delete that shit. -- Henning Brauer,

Re: Just upgraded firewall from 4.2-current

2010-09-29 Thread Henning Brauer
* Ray r...@cyth.net [2010-09-29 09:49]: I just upgraded a firewall from 4.2-current to 4.8-current. you got it all wrong. you are supposed to whine about the oh so hard jump over the pf syntax changes. it is so hard. i read it in ze inderwebtz, zo it muzt be true -- Henning Brauer,

snmpd reports the wrong IfIndex/IP association

2010-09-29 Thread Koenig, Thomas
Hi, I try to query the interfaces on my OpenBSD firewall. But I get a wrong IfIndex/IP association: IF-MIB::ifDescr.1 = STRING: lo0 IF-MIB::ifDescr.2 = STRING: em0 IF-MIB::ifDescr.3 = STRING: em1 IF-MIB::ifDescr.4 = STRING: em2 IF-MIB::ifDescr.5 = STRING: em3 IF-MIB::ifDescr.6 = STRING: enc0

Re: snmpd reports the wrong IfIndex/IP association

2010-09-29 Thread Koenig, Thomas
sorry, I push the send button accidently. NET-SNMP version: 5.4.2.1 Web: http://www.net-snmp.org/ Email: net-snmp-cod...@lists.sourceforge.net I didnt make changes during snmpd is running, I also reboot the server. maybe someone have a idea? regard, Tom Hi, I

pf.conf manual missing

2010-09-29 Thread Mitja
Hello, Is there any special reason that web manuals lack pf.conf man pages for 4.7? 4.6 and current looks ok. Mitja

OpenBSD on DELL R310

2010-09-29 Thread Björn Sandell
Hi, Is anyone running OpenBSD on a DELL R310? With a H200 raid controller? Any issues? Thanks, -- Bjvrn Sandell bi...@chalmers.se

How to use /dev/srandom

2010-09-29 Thread Simon Perreault
Hello, I'm trying to use /dev/srandom, but I can't get even a single byte out of it. To reproduce: $ hexdump -n 1 /dev/srandom It just hangs there, sleeping. If I use /dev/urandom instead, it returns immediately, as expected: $ hexdump -n 1 /dev/urandom 000 0069 001 I tried on

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
it is hanging because: 23208 hexdump CALL read(0,0x81ffc000,0x1) It is trying to read too much. A whole buffer, into stdio. So it empties the pool it can have, and then has to wait for more. eventually it does get data, and print 1 char. I am susprised that hexdump doesn't decide to

Re: How to use /dev/srandom

2010-09-29 Thread Simon Perreault
On 2010-09-29 10:36, Theo de Raadt wrote: it is hanging because: 23208 hexdump CALL read(0,0x81ffc000,0x1) It is trying to read too much. A whole buffer, into stdio. So it empties the pool it can have, and then has to wait for more. eventually it does get data, and print 1 char.

Re: How to use /dev/srandom

2010-09-29 Thread Joachim Schipper
On Wed, Sep 29, 2010 at 09:57:53AM -0400, Simon Perreault wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. $ hexdump -n 1 /dev/srandom It just hangs there, sleeping. If I use /dev/urandom instead, it returns immediately, as expected: $ hexdump -n 1

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
it is hanging because: 23208 hexdump CALL read(0,0x81ffc000,0x1) It is trying to read too much. A whole buffer, into stdio. So it empties the pool it can have, and then has to wait for more. eventually it does get data, and print 1 char. Thanks! I was using the much

Re: OpenBSD on DELL R310

2010-09-29 Thread Janne Johansson
I have booted on a R310 and it went fine, I did not do any raid-related things, just checked that ethernet and disks were found and so on. Den 29 september 2010 15:31 skrev Bjvrn Sandell bi...@chalmers.se: Hi, Is anyone running OpenBSD on a DELL R310? With a H200 raid controller? Any issues?

Re: How to use /dev/srandom

2010-09-29 Thread Simon Perreault
On 2010-09-29 10:49, Theo de Raadt wrote: Perhaps a posix weenie can look into making hexdump use setvbuf and adjusting the read requirements for fread() when the length (-n argument) is specified as being short of the blocksize. How about this weenie? Index: display.c

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 9:57 AM, Simon Perreault simon.perrea...@viagenie.ca wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. Independent of other problems, I don't think you should be using srandom. We should just take that interface away, people see it and

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
On Wed, Sep 29, 2010 at 9:57 AM, Simon Perreault simon.perrea...@viagenie.ca wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. Independent of other problems, I don't think you should be using srandom. We should just take that interface away, people see

Re: How to use /dev/srandom

2010-09-29 Thread Joachim Schipper
On Wed, Sep 29, 2010 at 09:39:06AM -0600, Theo de Raadt wrote: On Wed, Sep 29, 2010 at 9:57 AM, Simon Perreault simon.perrea...@viagenie.ca wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. Independent of other problems, I don't think you should be

Very long delay between username/password entry

2010-09-29 Thread Matthew Sullenberger
I've recently setup a few new OpenBSD 4.7 servers inside vmware virtual machines, and have noticed a weird behavior on some of them. When logging on through SSH, the login as entry comes up immediately, but after I put in a username and hit enter there is a very long delay before it will ask for

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
On Wed, Sep 29, 2010 at 09:39:06AM -0600, Theo de Raadt wrote: On Wed, Sep 29, 2010 at 9:57 AM, Simon Perreault simon.perrea...@viagenie.ca wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. Independent of other problems, I don't think you

Re: Very long delay between username/password entry

2010-09-29 Thread Matthew Sullenberger
Received several helpful responses, was a DNS issue (the boxes were configured with DNS servers prior to being shipped to another location, DNS was no longer valid which was causing the delay). Thanks for the help!

Re: How to use /dev/srandom

2010-09-29 Thread Kevin Chadwick
On Wed, 29 Sep 2010 10:02:16 -0600 Theo de Raadt dera...@cvs.openbsd.org wrote: And isn't srandom sometimes (very rarely!) appropriate? E.g. for generating encryption keys? hell no! srandom is definately worse than the arc4random generator. oh, but linux people told you it was the

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 12:49 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: And isn't srandom sometimes (very rarely!) appropriate? E.g. for generating encryption keys? If arandom is somehow not appropriate for generating keys, it should be fixed. I'd be interested to hear more. I notice

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 11:39 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: Independent of other problems, I don't think you should be using srandom. We should just take that interface away, people see it and then they want to use it, but it doesn't work the way they want. Taking it away

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
On Wed, Sep 29, 2010 at 11:39 AM, Theo de Raadt dera...@cvs.openbsd.org w= rote: Independent of other problems, I don't think you should be using srandom. =A0We should just take that interface away, people see it and then they want to use it, but it doesn't work the way they want.

Re: How to use /dev/srandom

2010-09-29 Thread Theo de Raadt
On Wed, Sep 29, 2010 at 12:49 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: And isn't srandom sometimes (very rarely!) appropriate? E.g. for generating encryption keys? If arandom is somehow not appropriate for generating keys, it should be fixed. I'd be interested to hear more.

High Resolution Timer

2010-09-29 Thread Luis Useche
Hi Guys, I need to read a performance monitoring counter (RDPMC) every 100 microseconds or so. I found a way to do this on linux using the normal getitimer library. However, the resolution of this timer in OBSD is 10 milliseconds. Do you know a way to have a higher resolution of the timer in

Re: Just upgraded firewall from 4.2-current

2010-09-29 Thread bofh
On Wed, Sep 29, 2010 at 6:31 AM, Henning Brauer lists-open...@bsws.dewrote: * Ray r...@cyth.net [2010-09-29 09:49]: I just upgraded a firewall from 4.2-current to 4.8-current. you got it all wrong. you are supposed to whine about the oh so hard jump over the pf syntax changes. it is so

Error establishing ppp connection with UMTS modem mini-pci card

2010-09-29 Thread Claer
Hello list, I have a minipci umts modem that is reconized fine by OpenBSD (4.7-stable) but I'm unable to find the good pppd configuration to establish the configuration to my ISP. The modem is reconized as follows : umsm0 at uhub1 port 2 configuration 1 interface 0 HP HP hs2300 HSDPA Broadband

2000 Products Onto Google Shopping for $29.95

2010-09-29 Thread Marketing 2010
[IMAGE] Get a Web store with 2,000 products + Publishing to Google Shopping for $29.95 per month Get a professional online store with great features and no transaction fees. Plus, you get a well designed back office management module to build your store and run your business. Get a search