Small change to /faq/pf/carp.html

2007-02-10 Thread Mike Erdely
I was going through the FAQ testing my CARP set up and tried "ifconfig carp1 down". The backup promoted itself to master ONLY for carp1 even though I have net.inet.carp.preempt=1. But, "ifconfig em1 down" DOES cause the backup firewall to promote itself to master for ALL interfaces. The bel

Broadcom Gigabit NIC Interface Translation From Debian/Linux To OpenBSD

2007-02-10 Thread demuel
Anybody, I have two OpenBSD machines connected with 2Mbps thru a leased-lines in different locations, A & B. Both machines colocated at location A and location B has a bge0 NIC card with 100/1000Mbps speed and each of these interfaces shall be connected to a device between the sites. This NIC c

Re: malloc guard page question

2007-02-10 Thread Jean-Daniel Beaubien
I was hoping re-re-re-reading Theo's slide would help me understand, but unfortunately it only raised another question to which I can't find an answer: On slide 27 (http://www.openbsd.org/papers/ven05-deraadt/mgp00027.html) it says: If you try to read/write beyond the end of an object, maybe the

Re: Mailgraph with apache chroot

2007-02-10 Thread doc Hyde
On 2/11/07, Stuart Henderson <[EMAIL PROTECTED]> wrote: > > On 2007/02/11 00:24, doc Hyde wrote: > > I have already donne this, here is my output: > > # ldd /usr/local/bin/rrdtool > > That is only part of what I said; > > > > It works with the following files copied in (obviously adjust for > > > m

Re: Mailgraph with apache chroot

2007-02-10 Thread Stuart Henderson
On 2007/02/11 00:24, doc Hyde wrote: > I have already donne this, here is my output: > # ldd /usr/local/bin/rrdtool That is only part of what I said; > > It works with the following files copied in (obviously adjust for > > machine arch etc). Found by a combination of ldd /usr/local/bin/rrdtool,

Re: Mailgraph with apache chroot

2007-02-10 Thread doc Hyde
On 2/10/07, Stuart Henderson <[EMAIL PROTECTED]> wrote: > > On 2007/02/10 21:43, doc Hyde wrote: > > '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so' for > > module RRDs: Cannot load specified object at > > /usr/libdata/perl5/i386-openbsd/5.8.8/DynaLoader.pm line 230. > > at /cgi

malloc guard page question

2007-02-10 Thread Jean-Daniel Beaubien
Hi everyone, Recently I have been going over a bunch of the documents in openbsd.org/papers in order to write an overview of the security features in OpenBSD for school. I have a small question concerning the malloc G option. Theo basically says this in slide: (http://www.openbsd.org/papers/ven

Re: Mailgraph with apache chroot

2007-02-10 Thread Stuart Henderson
On 2007/02/10 21:43, doc Hyde wrote: > '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so' for > module RRDs: Cannot load specified object at > /usr/libdata/perl5/i386-openbsd/5.8.8/DynaLoader.pm line 230. > at /cgi-bin/mailgraph/mailgraph.cgi line 7 > Line 7 is the RRDs perl modul

Problems with FreeBSD binary compatibility

2007-02-10 Thread Eric
Hi, I've been trying to set up FreeBSD binary compatibility on my OpenBSD box but every time I try and run a program, I get the following error message: /libexec/ld-elf.so.1: /lib/libc.so.5: mmap of entire address space failed: Invalid argument I get this with something as simple as trying to ex

web sites not accessible

2007-02-10 Thread Gustavo Rios
Dear list members, i am trying to build a firewall. Up to now, everything is ok, except for some http sites that cannot be shown. I am really having a hard time trying to figure it out what is happening ! I believe something is wrong between rule 7 to 10 ( i am on network defined by interface si

Re: MCPAN and Ports issues

2007-02-10 Thread Darren Spruell
On 2/10/07, Bray Mailloux <[EMAIL PROTECTED]> wrote: /usr/local/libdata/perl5/site_perl/Net/Daemon.pm (same md5) /usr/local/libdata/perl5/site_perl/Net/Daemon/Log.pm (same md5) /usr/local/libdata/perl5/site_perl/Net/Daemon/Test.pm (same md5) /usr/local/man/man3p/Ne

Mailgraph with apache chroot

2007-02-10 Thread doc Hyde
Hello! I have installed an OpenBSD server with postfix MTA and I am trying to have mailgraph work. I used the "pkg_add" command to add the mailgraph software. The script cgi script is installed in the default chroot apache: /var/www/cgi-bin/mailgraph/mailgraph.cgi I have defined the correct dire

MCPAN and Ports issues

2007-02-10 Thread Bray Mailloux
I've been trying to install the two modules DBD::MySQL and Class::DBI into perl and I've been receiving errors from both MCPAN and Ports which are: -bash-3.1# perl -MCPAN -e 'install DBD::mysql' CPAN: File::HomeDir loaded ok CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Databa

Re: pcn in VMware, 5KB/s

2007-02-10 Thread Martin Reindl
"Brad Brad" <[EMAIL PROTECTED]> wrote: > I'm running OpenBSD 4.0 in VMware workstation 5.5.3 build-34685 linux host. > > Scp's between the guest and host only manage about 5KB/s so I tried going > back to le which worked great. I configured a new kernel with "disable > pcn*" but on next boot I

Re: external usb disk freezing machine (not always)

2007-02-10 Thread frantisek holop
hi there, some more updates.. feels a bit like talking to myself :} i have compiled a custom kernel with options UMASSDEBUG, UHUBDEBUG. there is a log attached to this mail showing as the disk is attached to the first usb (high speed) port (@17:27:36) and then to the second (high speed) port (@1

Re: pcn in VMware, 5KB/s

2007-02-10 Thread Steve Shockley
Brad Brad wrote: Scp's between the guest and host only manage about 5KB/s so I tried going back to le which worked great. I configured a new kernel with "disable pcn*" but on next boot I had no nics at all, so i tried again "disable pci*" also since I think le is isa, but it still didn't work

kernel debug simple question

2007-02-10 Thread frantisek holop
hi there, i am trying to troubleshoot a usb external disk. the disk detaches while mounted and used. how can i umount / before i am going to reboot? syncing cannot work in this case of course, but that leaves only the external disk in a dirty state, not my /, hence the question. is it possible t

Writing Device Drivers Dokumentation

2007-02-10 Thread Markus Ritzer
Hello! I would like to write a framebuffer driver for OpenBSD (for the MS Xbox platform). Where can I find documentation about writing OpenBSD drivers in general or especially for framebuffers? Thanks in advance, Markus Ritzer

Re: Dummy Interface In OpenBGPd

2007-02-10 Thread Stuart Henderson
On 2007/02/07 13:36, Claudio Jeker wrote: > Btw. for ospfd you can use "interface lo1" to reliably redistribute the > loopback address. I have configured a router with yyy.yy.yyy.247/32 on lo1 and yyy.yy.yyy.247/28 on vlan2244. This seems attractive since BGP sessions can be bound to an address wh

Re: OpenBSD on Xeon 64 bit

2007-02-10 Thread Nick Holland
Alvaro wrote: > Hi, > > > I like to know if the OpenBSD for amd64 is working fine with intel Xeon > processors (64 bit). I am reading here ( > http://en.wikipedia.org/wiki/AMD64 ) and here ( > http://en.wikipedia.org/wiki/Xeon#Xeon_.26_Xeon_MP_.2864-bit.29 ) that > these processors are based

Re: searching a good MRTG/SNMP configuration

2007-02-10 Thread Constantine A. Murenin
On 10/02/07, Andreas Bihlmaier <[EMAIL PROTECTED]> wrote: On Sun, Feb 04, 2007 at 04:04:56PM +0100, Henning Brauer wrote: > * Andreas Bihlmaier <[EMAIL PROTECTED]> [2007-02-04 14:04]: > > I guess somebody using OpenBSD already has a nice MRTG configuration > > showing: > > IN/OUT traffic > >

Re: digitemp/usb

2007-02-10 Thread Julien TOUCHE
Jonathan Gray wrote on 10/02/07 13:52: > There is in kernel support for USB one wire devices > post 4.0, perhaps try a snapshot, then you'll be able > to read values out of the sysctl tree. seems great http://www.openbsd.org/cgi-bin/man.cgi?query=uow&sektion=4&format=html > > Failing that you wa

Re: searching a good MRTG/SNMP configuration

2007-02-10 Thread Andreas Bihlmaier
On Sun, Feb 04, 2007 at 04:04:56PM +0100, Henning Brauer wrote: > * Andreas Bihlmaier <[EMAIL PROTECTED]> [2007-02-04 14:04]: > > I guess somebody using OpenBSD already has a nice MRTG configuration > > showing: > > IN/OUT traffic > > [CPU] load > > memory usage > > some stuff about

Re: digitemp/usb

2007-02-10 Thread Jonathan Gray
On Sat, Feb 10, 2007 at 12:49:04PM +0100, Julien TOUCHE wrote: > Hi > > has someone used digitemp with usb adapter on openbsd ? > i currently test digitemp 3.5.0 on 4.0-stable with a ds9490R usb adapter > and it segfault like this > > $ ./digitemp_DS2490 -s /dev/ttyU1 -w > DigiTemp v3.5.0 Copyrig

digitemp/usb

2007-02-10 Thread Julien TOUCHE
Hi has someone used digitemp with usb adapter on openbsd ? i currently test digitemp 3.5.0 on 4.0-stable with a ds9490R usb adapter and it segfault like this $ ./digitemp_DS2490 -s /dev/ttyU1 -w DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane GNU Public License v2.0 - http://www.digitemp.com