Solaris emulation with system configuration card

2006-01-05 Thread Daniel Ouellet
I have a generic question on Solaris emulation under OpenBSD. I have no clue how good it actually is? I would be interested to know, but my biggest question is really about the "system configuration card". I have many system that have to run Solaris exclusively to run applications design for i

BCM5704 dual port NIC not seen by 3.8 on Thunder K8SRE m/b.

2006-01-05 Thread Kent Ho
Hi, I'm unable to install 3.8 on my remote box. It can pxeboot fine but once 3.8 is booted up(bsd.rd) it cannot detect the BCM5704 dual port NICs. Install via network is the only way for me at the moment. It has the following in the boot messages: "Nvidia nForce4 DDR" rev 0xa3 at pci0 dev 0

Monitoring RAIDFrame

2006-01-05 Thread Tim Sharpe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a box here running 3.8 which I have just set up raidframe to mirror the two 80gb drives (which works fine). However, the only way that I get notified of a component failure is if I run raidctl -s raid0. Is there an option that I have missed or

Re: spamd and spews1

2006-01-05 Thread J Moore
spews has chronic issues... it's been a hit-or-miss proposition from the beginning. On Tue, Jan 03, 2006 at 01:38:33PM -0700, the unit calling itself Bob Beck wrote: > Spews seems to be having some issues. www.spews.org refuses > connections from here. > > The spews list will be upd

Re: biosboot broken?

2006-01-05 Thread Uwe Dippel
On Wed, 04 Jan 2006 18:36:33 +0100, M. Schatzl wrote: > the first time leaving the boot flag on #0: > ^^^ > > The NTFS and Compaq(FAT16) partitions showed up as i and j in the > disklabel-editor. > > I had to calculate the new offsets for my partitions mys

Trying to get rtw card to work: "reset failed"

2006-01-05 Thread Peter Drauden
I am trying to install OpenBSD 3.8 on my laptop (a HP n3410). The rtw(4) man page says my wireless card (a Netgear MA521) is supported. I booted from the install floppy and the card is not detected. I booted from an install CD I made and this is printed while booting (full dmesg below): rtw0 at c

MPLS-VPN Support in OpenBSD

2006-01-05 Thread unixgeek
Hi, I was wondering if there were any plans to add MPLS/VPN support into OpenBSD? NetBSD had some folks working on the Amaye project (http://www.ayame.org/) but that seems to have been dormant for a long time... Thanks, Glenn

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Julien Bonastre
Here's yet another mirror: http://wbackman.the-spectrum.org or http://openbsd-vmware.the-spectrum.org whichever you like best, all goes to same place.. Enjoy ;-) - Original Message - From: "Benjamin Collins" <[EMAIL PROTECTED]> To: Sent: Friday, January 06, 2006 8:18 AM Subject:

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Han Boetes
Theo de Raadt wrote: > On some other systems, yes. On OpenBSD -- today -- it cannot return -1. > > However, that is absolutely no excuse to go writing unportable code. > > You must check for either ret > buflen or ret == -1 being a failure > condition. Wrong! Will you ever learn to code something

Re: Buy OpenBSD CD set in UK. Which benefits OpenBSD most?

2006-01-05 Thread Fred Crowson
Craig McCormick wrote: Hi. Not sure if this is the right place for this post and I can't find anything to answer the question on the site. I think it time I bought a CD set and was wondering which method benefits the project most, financially? I'm in the UK, by the way. kd85.com would entail p

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Moritz Grimm
Theo de Raadt wrote: I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, "%.-Z\n", 9); printf("%d", len); but that just prints `2'. Does snprintf ever return -1? The "new" snprintf() returns -1 on ``output or encoding error'', as was

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Benjamin Collins
On Thu, Jan 05, 2006 at 01:41:50PM -0500, Will H. Backman wrote: > I've just crossed the 10,000 downloads of the OpenBSD VMWare image since > I posted it a few weeks ago. > Unfortunately, it is a little too popular for the people providing my > bandwidth. Is anyone else willing to host the file?

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread veins
Otto Moerbeek wrote: On Thu, 5 Jan 2006, veins wrote: I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, "%.-Z\n", 9); printf("%d", len); but that just prints `2'. Does snprintf ever return -1? -Ray- you might want to ta

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Todd C. Miller
In message <[EMAIL PROTECTED]> so spake Ray Lai (ray): > I'm having trouble making snprintf return -1. I've tried stuff like: > > len = snprintf(str, 0, "%.-Z\n", 9); > printf("%d", len); > > but that just prints `2'. Does snprintf ever return -1? Not on OpenBSD. It can o

Re: Buy OpenBSD CD set in UK. Which benefits OpenBSD most?

2006-01-05 Thread Craig McCormick
Thanks for the replies people. Sorry, I should have made another point. I would happily donate, if I were lucky/good enough to make a living from the use and/or support of OpenBSD. At present however, I am merely an enthusiast, trying to get it in place on 4 or 5 of my own machines. So, without sou

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Otto Moerbeek
On Thu, 5 Jan 2006, veins wrote: > > I'm having trouble making snprintf return -1. I've tried stuff like: > > > > len = snprintf(str, 0, "%.-Z\n", 9); > > printf("%d", len); > > > > but that just prints `2'. Does snprintf ever return -1? > > > > -Ray- > > > you might want to take a

Re: Buy OpenBSD CD set in UK. Which benefits OpenBSD most?

2006-01-05 Thread David Higgs
On 1/5/06, Craig McCormick <[EMAIL PROTECTED]> wrote: > Tight as a duck's arse, I know, but it's the thought that counts and the > main point in buying is to support the project, not unrelated third > parties. http://www.openbsd.org/donations.html I certainly have no clue about profit margins, bu

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Daniel Ouellet
Will H. Backman wrote: I've just crossed the 10,000 downloads of the OpenBSD VMWare image since I posted it a few weeks ago. Unfortunately, it is a little too popular for the people providing my bandwidth. Is anyone else willing to host the file? I'll just point my page to you. You would be lo

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread veins
I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, "%.-Z\n", 9); printf("%d", len); but that just prints `2'. Does snprintf ever return -1? -Ray- you might want to take a look at how vfprintf() is implemented in /usr/src/lib/libc

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Will H. Backman
Jasper Lievisse Adriaanse wrote: On Thu, 5 Jan 2006 13:41:50 -0500 "Will H. Backman" <[EMAIL PROTECTED]> wrote: I've just crossed the 10,000 downloads of the OpenBSD VMWare image since I posted it a few weeks ago. Unfortunately, it is a little too popular for the people providing my bandwidth.

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Theo de Raadt
> According to printf(3): > > snprintf() and vsnprintf() will write at most size-1 of the characters > printed into the output string (the size'th character then gets the ter- > minating `\0'); if the return value is greater than or equal to the size > argument, the string

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Jasper Lievisse Adriaanse
On Thu, 5 Jan 2006 14:06:40 -0700 Bob Beck <[EMAIL PROTECTED]> wrote: > * Graham Toal <[EMAIL PROTECTED]> [2006-01-05 12:14]: > > If it's that popular it's worth setting up a torrent! > > > > G > > Eeek. > > I walked into this thread initially thinking this was a picture or > logo or s

Re: some question

2006-01-05 Thread Maxim Bourmistrov
act - actually used. tot - totaly allocated. I think man page states this too. mean: apps(for ex. daemons) allocate X amount (tot) but use Y amount (act). Correct me if I'm wrong. On Thursday 05 January 2006 21:49, Sizov Alexander wrote: > Hi! > > What different between act/tot in top stat: >

Buy OpenBSD CD set in UK. Which benefits OpenBSD most?

2006-01-05 Thread Craig McCormick
Hi. Not sure if this is the right place for this post and I can't find anything to answer the question on the site. I think it time I bought a CD set and was wondering which method benefits the project most, financially? I'm in the UK, by the way. kd85.com would entail paying for Belgium -> UK s

How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread Ray Lai
According to printf(3): snprintf() and vsnprintf() will write at most size-1 of the characters printed into the output string (the size'th character then gets the ter- minating `\0'); if the return value is greater than or equal to the size argument, the string was

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Bob Beck
* Graham Toal <[EMAIL PROTECTED]> [2006-01-05 12:14]: > If it's that popular it's worth setting up a torrent! > > G Eeek. I walked into this thread initially thinking this was a picture or logo or something... now shuddering violently at the thought of running an OS image downloa

Re: problem fsckin' a usb disk on boot

2006-01-05 Thread b h
--- b h <[EMAIL PROTECTED]> wrote: > > --- b h <[EMAIL PROTECTED]> wrote: > > --- Tom Cosgrove > > <[EMAIL PROTECTED]> > > wrote: > > > > > >>> b h 31-Dec-05 04:05 >>> > > > : > > > > then, when I press RETURN and attempt to > > > > > > > > # fsck_ffs /dev/rsd0a > > > > ** /dev/rsd0a > > > > ca

some question

2006-01-05 Thread Sizov Alexander
Hi! What different between act/tot in top stat: Memory: Real: 20M/457M act/tot Free: 1551M Swap: 0K/4095M used/tot? And what does it mean? Thanks for the answer to a silly question. -- Sizov mailto:[EMAIL PROTECTED]

Re: problem fsckin' a usb disk on boot

2006-01-05 Thread b h
--- b h <[EMAIL PROTECTED]> wrote: > --- Tom Cosgrove > <[EMAIL PROTECTED]> > wrote: > > > >>> b h 31-Dec-05 04:05 >>> > > : > > > then, when I press RETURN and attempt to > > > > > > # fsck_ffs /dev/rsd0a > > > ** /dev/rsd0a > > > cannot alloc 36537985 bytes for typemap > > > # > > > > > > while

Re: Number of PTYs

2006-01-05 Thread Hugo Villeneuve
On Thu, Jan 05, 2006 at 05:41:41PM +0200, Kim Onnel wrote: > -bash-3.00# ls /dev/ptyp > ptyp0 ptyp6 ptypC ptypI ptypO ptypU ptypa ptypg ptypm ptyps ptypy > ptyp1 ptyp7 ptypD ptypJ ptypP ptypV ptypb ptyph ptypn ptypt ptypz > ptyp2 ptyp8 ptypE ptypK ptypQ ptypW ptypc ptypi

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Jasper Lievisse Adriaanse
On Thu, 5 Jan 2006 13:41:50 -0500 "Will H. Backman" <[EMAIL PROTECTED]> wrote: > I've just crossed the 10,000 downloads of the OpenBSD VMWare image since > I posted it a few weeks ago. > Unfortunately, it is a little too popular for the people providing my > bandwidth. Is anyone else willing to h

Re: Number of PTYs

2006-01-05 Thread Lukasz Sztachanski
On Thu, Jan 05, 2006 at 05:41:41PM +0200, Kim Onnel wrote: > -bash-3.00# ls /dev/ptyp > ptyp0 ptyp6 ptypC ptypI ptypO ptypU ptypa ptypg ptypm ptyps ptypy > ptyp1 ptyp7 ptypD ptypJ ptypP ptypV ptypb ptyph ptypn ptypt ptypz > ptyp2 ptyp8 ptypE ptypK ptypQ ptypW ptypc ptypi

Re: popa3d

2006-01-05 Thread Juan J.
El jue, 05-01-2006 a las 12:17 -0700, Jason Balan escribis: > Question I have the following in my syslog file and created the popa3d.log > file restarted syslog then rebooted > > !popa3d > *.* /var/log/popa3d.log > > I still am getting popa3d me

popa3d

2006-01-05 Thread Jason Balan
Question I have the following in my syslog file and created the popa3d.log file restarted syslog then rebooted !popa3d *.* /var/log/popa3d.log I still am getting popa3d messages on the console..any suggestions Thanks Jason

Re: OpenBSD VMWare image too popular

2006-01-05 Thread Graham Toal
If it's that popular it's worth setting up a torrent! G

OpenBSD VMWare image too popular

2006-01-05 Thread Will H. Backman
I've just crossed the 10,000 downloads of the OpenBSD VMWare image since I posted it a few weeks ago. Unfortunately, it is a little too popular for the people providing my bandwidth. Is anyone else willing to host the file? I'll just point my page to you. You would be looking at about a terabyte

Restrict connection in a dynamic way in openvpn with pf

2006-01-05 Thread Wild Karl-Heinz
Hello all. I've asked a month ago if it's possible to tag an incoming connection and keep the tag also after redirect to an other device with pf. The answer was no. I thought about a way to restrict an openvpn connection based on the ip the connection was initiated. Now I found a way I would lik

Re: reverse dns checks in sendmail

2006-01-05 Thread Stuart Henderson
On 2006/01/05 08:37, stupidmail4me wrote: > How do you enable this feature in sendmailin OpenBSD? You already asked *and* got an answer. http://marc.theaimsgroup.com/?l=openbsd-misc&w=2&r=1&s=sendmail+reverse+dns&q=b

Re: reverse dns checks in sendmail

2006-01-05 Thread Claus Assmann
You asked this question last year already (2005-12-30) and I answered it. Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Such a feature doesn't come with sendmail 8, however, it is available from others: http://www.cs.niu.edu/~rickert/cf/ require_rdns is the one you are look

reverse dns checks in sendmail

2006-01-05 Thread stupidmail4me
How do you enable this feature in sendmailin OpenBSD? I've looked but can't seem to find it. We're getting a lot of spam from infected machines. Some of these machines don't have reverse DNS entries. An easy way to stop some spam would be to check to see if the relay has a reverse DNS entry. Is thi

Re: MegaRaid i4

2006-01-05 Thread Pailloncy Jean-Gerard
Where's your dmesg? OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,

Re: MegaRaid i4

2006-01-05 Thread Marco Peereboom
On Thu, Jan 05, 2006 at 04:20:32PM +0100, Pailloncy Jean-Gerard wrote: > Hi, > > I have a MegaRaid i4 card on an OpenBSD 3.8 box. > The speed of the card is very slow. > max: read < 15 M/s, write < 5 M/s > average: read 8 M/s, write 2.5 M/s It is a very very old card (1995ish) and on top of that

Re: MegaRaid i4

2006-01-05 Thread J.C. Roberts
On Thu, 5 Jan 2006 16:20:32 +0100, Pailloncy Jean-Gerard <[EMAIL PROTECTED]> wrote: >Hi, > >I have a MegaRaid i4 card on an OpenBSD 3.8 box. >The speed of the card is very slow. >max: read < 15 M/s, write < 5 M/s >average: read 8 M/s, write 2.5 M/s > >I have an other identical drive on the interna

Unable to boot 3.8 after install - take 2

2006-01-05 Thread Gordon Ross
Last year I posted a message to the list about being unable to book a box into 3.8 after installing it, even though OpenBSD 3.4-3.7 had worked fine (http://archives.neohapsis.com/archives/openbsd/2005-11/1442.html) The last suggestion was to attach a serial console and do a verbose boot. I never g

Re: Deletion of indirectly -installed packages (dependencies)

2006-01-05 Thread Marc Espie
On Thu, Jan 05, 2006 at 09:10:08AM -0600, Daniel A. Ramaley wrote: > On Wednesday 04 January 2006 18:43, you wrote: > >I know it isn't simple, one must first have a way to say: "hey, I'm a > >package who was added by a user, I wasn't added just to serve a > >package you deleted!!", and then check i

Re: Number of PTYs

2006-01-05 Thread Kim Onnel
-bash-3.00# ls /dev/ptyp ptyp0 ptyp6 ptypC ptypI ptypO ptypU ptypa ptypg ptypm ptyps ptypy ptyp1 ptyp7 ptypD ptypJ ptypP ptypV ptypb ptyph ptypn ptypt ptypz ptyp2 ptyp8 ptypE ptypK ptypQ ptypW ptypc ptypi ptypo ptypu ptyp3 ptyp9 ptypF ptypL ptypR ptypX ptypd ptyp

Re: Number of PTYs

2006-01-05 Thread Steven Day
Look up the man page on pty(4)it will tell you how and what is needed to increase the number of pseudo terminals on the system, specifically kern.tty.maxptys if you need more than 992 that it says is set. On 1/5/06, Kim Onnel <[EMAIL PROT

MegaRaid i4

2006-01-05 Thread Pailloncy Jean-Gerard
Hi, I have a MegaRaid i4 card on an OpenBSD 3.8 box. The speed of the card is very slow. max: read < 15 M/s, write < 5 M/s average: read 8 M/s, write 2.5 M/s I have an other identical drive on the internal IDE bus, and it is at least three times faster. Any idea ? The card is on "Mass Stora

Re: Deletion of indirectly -installed packages (dependencies)

2006-01-05 Thread Daniel A. Ramaley
On Wednesday 04 January 2006 18:43, you wrote: >I know it isn't simple, one must first have a way to say: "hey, I'm a >package who was added by a user, I wasn't added just to serve a >package you deleted!!", and then check if the dependency is used by >any package. Also, it should always ask if we

Number of PTYs

2006-01-05 Thread Kim Onnel
Hello, I have an OpenBSD 3.6 running as a jump-through host, people ssh in and telnet out users are systraced and they all use an expect script. I get this message when the users exceed the number of ptys (a-z. A-Z,0-9) The system has no more ptys. Ask your system administrator to create more.

Re: Redundant links with BGP and VPN

2006-01-05 Thread Toni Mueller
Hello, On Wed, 23.11.2005 at 14:32:21 +, tony sarendal <[EMAIL PROTECTED]> wrote: > 1. You create the gif tunnels (firewall-firewall) > 2. you encrypt the gif tunnels (firewall-firewall traffic, or leave > this for last) > 3. You integrate it with your current routing setup and just treat the

Re: How did they get here?

2006-01-05 Thread Dylan Smith
On Wednesday 04 January 2006 18:25, you wrote: > It's just a bit frustrating. Am I right in thinking if the wget > output is in /var/www/logs/error_log then it comes from a site that > has no defined ErrorLog. This is a limited number of sites, but I've > found no log entries from the transfer l

Re: Determining version of OpenBSD source

2006-01-05 Thread Jasper Lievisse Adriaanse
On Thu, 5 Jan 2006 15:39:38 +0530 Siju George <[EMAIL PROTECTED]> wrote: > Hi, > > Could some one please tell me if the source in > > http://fxr.watson.org/fxr/source//arch/amd64/amd64/cpu.c?v=OPENBSD#L334 > > belongs to 3.8 stable or current or older versions? If you read the RCS tag, you would'v

Re: Determining version of OpenBSD source

2006-01-05 Thread Tom Cosgrove
>>> Siju George 5-Jan-06 10:09 >>> > > Hi, > > Could some one please tell me if the source in > > http://fxr.watson.org/fxr/source//arch/amd64/amd64/cpu.c?v=OPENBSD#L334 > > belongs to 3.8 stable or current or older versions? > > Thankyou so much > > Kind Regards > > Siju Why don't you work it out

Re: CGD

2006-01-05 Thread knitti
I think I made a good application for the final round of the "Moron Of The Year 2006" contest. My comprehension of the matter is obviously not as good as it appeared, as some of the last mails and also some private point out. I am sorry for that. All I really proved was that salting would be a good

Determining version of OpenBSD source

2006-01-05 Thread Siju George
Hi, Could some one please tell me if the source in http://fxr.watson.org/fxr/source//arch/amd64/amd64/cpu.c?v=OPENBSD#L334 belongs to 3.8 stable or current or older versions? Thankyou so much Kind Regards Siju

Re: How did they get here?

2006-01-05 Thread Craig Skinner
On Wed, Jan 04, 2006 at 09:08:35PM +, Gaby vanhegan wrote: > On 4 Feb 2006, at 20:38, veins wrote: > > >>> I would think php, but this doesn't explain it unless you turned the > >>> chroot off. > >> > >> Due to historical reasons, we're not running apache chrooted. > >> This is why they're

Re: Stripping vlan tag - libpcap and tcpdump - arpwatch on trunk

2006-01-05 Thread Camiel Dobbelaar
On Thu, 5 Jan 2006, Raphael wrote: > * My first try was to run one instance of arpwatch per configured > virtual vlan interface. This worked fine for up to 10 sessions, but not > more (maybe the amount of concurrent libpcap sessions is limited?). > Q: Is this a configurable parameter? >From man bp

Re: How did they get here?

2006-01-05 Thread Craig Skinner
On Thu, Jan 05, 2006 at 09:34:08AM +, Dylan Smith wrote: > Secondly, if the box is mainly a web server, use 'pf' to egress filter. If > the machine should not be making outgoing connections to the Internet, block > all outgoing traffic. Amen. Default deny both in and out works wonders

Re: How did they get here?

2006-01-05 Thread Craig Skinner
On Wed, Jan 04, 2006 at 11:18:25PM +0100, Joachim Schipper wrote: > On Wed, Jan 04, 2006 at 05:20:18PM +, Craig Skinner wrote: > > On Wed, Jan 04, 2006 at 05:28:38PM +0100, Joachim Schipper wrote: > > > There was a phpBB2 in one of the paths used. If you have phpBB enabled > > > somewhere, that

Re: How did they get here?

2006-01-05 Thread Dylan Smith
> The messages in the log file indicate that they used some command > injection in a script to call wget and download the files into /tmp. > I'm fairly sure it was via a bad script, and I'm trying to locate > which script was used, so far with no success. Common PHP scripts in wide use (Nukes, php

Stripping vlan tag - libpcap and tcpdump - arpwatch on trunk

2006-01-05 Thread Raphael
Dear all we're running a network with more than a dozen vlans and use an OpenBSD (3.6) box connected to a Cisco switch's trunk port (802.1q). I configured virtual vlan interfaces in OpenBSD to have monitoring and management access. So far it worked fine. The plan was, to use the arpwatch port to