Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
On Sat, Apr 19, 2008 at 5:43 PM, Jonathan Schleifer <[EMAIL PROTECTED]> wrote: > "Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > > > > the question is, which one is more useful when writing new servers? > > kqueue or poll? > > poll is more portable, while kqueue should be more performant (at >

Installation problem

2008-04-19 Thread hogo hogo
Hello, I experience troubles during instalation onto a new pc. At the beginning of the installation on the stage of hardware initialization the core prints few strings "Unknown Device", then 2 "Unconfigured Device" and then once again "Unknown Device". These strings appear during USB devices initia

Re: Crash with acpi enabled

2008-04-19 Thread Unix Fan
Steve Shockley wrote: > No problem. Presumably acpidump will work on a kernel with acpi disabled? Yes, The command opens /dev/mem and dump the raw ACPI tables... -Nix Fan.

Re: timeouts on http connects outbound

2008-04-19 Thread Moe Sizlak
To followup on this question I have updated my sysctl settings, changed pf.conf and added the scrub out line recommended. Also my dist is 4.3 openbsd flashdist. (not 4.2) Result of all changes proposed: No change. Pages like http://marc.info etc still time out. updated settings are:

Re: Is there a "badblocks"-equivalent for OpenBSD?

2008-04-19 Thread ropers
On 19/04/2008, ropers <[EMAIL PROTECTED]> wrote: > On 18/04/2008, Calomel <[EMAIL PROTECTED]> wrote: > > Ropers, > > > > You can find the badblocks utility prepackaged in "e2fsprogs". > > > THANK YOU! :) I had wondered why I couldn't find badblocks among > OpenBSD's packages. This explains it.

Re: pf and hosts.deny

2008-04-19 Thread Lars Noodén
Ok. I'm slow enough writing that others have started to answer also... Vikas N Kumar wrote: > ... I have set maximum number > of tries to just 2, I would like to be able to note down the IP address > (after say 10 unsuccessful login attempts) from where the attacks are coming > in and then dynamic

Looking for someone with a Sierra Wireless 3G USM modem 875U

2008-04-19 Thread Felix Kronlage
hi, I am looking for someone who has a 875U modem from Sierra Wireless. This is a external usb-attached HSDPA / UMTS modem[1]. If anyone has this, please contact me off list. thanks, felix [1] http://www.sierrawireless.com/product/ac875U.aspx> -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0

Re: pf and hosts.deny

2008-04-19 Thread Henri Salo
On Sat, 19 Apr 2008 10:02:50 -0400 "Vikas N Kumar" <[EMAIL PROTECTED]> wrote: > Hi > > I have OpenBSD 4.2 on a Pentium II laptop running fine, with its ssh > port 22 open to the web. However, there are a lot of attacks on that > port from various IP addresses across the globe. Even though I have

Re: Crash with acpi enabled

2008-04-19 Thread Steve Shockley
Stuart Henderson wrote: If you (and anyone else) want to follow http://spacehopper.org/acpi.txt I'll collect acpidump from broken systems and put them in one place for any developers who want to look (cvs:~sthen/acpi). No problem. Presumably acpidump will work on a kernel with acpi disabled?

Re: pf and hosts.deny

2008-04-19 Thread Curt Micol
On Sat, Apr 19, 2008 at 10:02 AM, Vikas N Kumar <[EMAIL PROTECTED]> wrote: > Can pf do this ? I read the manual but could not find such a feature. I think this is what you want: http://home.nuug.no/~peter/pf/en/bruteforce.html -- # Curt Micol

pf and hosts.deny

2008-04-19 Thread Vikas N Kumar
Hi I have OpenBSD 4.2 on a Pentium II laptop running fine, with its ssh port 22 open to the web. However, there are a lot of attacks on that port from various IP addresses across the globe. Even though I have set maximum number of tries to just 2, I would like to be able to note down the IP addres

Re: CARP LAN outgoing IP address

2008-04-19 Thread Gábri Máté
Ezzel a datummal: Saturday 19 April 2008 10.39.29 Claer ezt mrta: > On Fri, Apr 18 2008 at 32:21, G?bri M?t? wrote: > > Ezzel a datummal: Friday 18 April 2008 21.29.18 ezt mrta: > > > On Fri, Apr 18, 2008 at 11:48 AM, Gabri Mati <[EMAIL PROTECTED]> wrote: > > > > This is normal, but is there a way

Re: Beep-media-player and esd

2008-04-19 Thread Nicolas Letellier
Landry Breuil a icrit : > On Sat, Apr 19, 2008 at 01:19:50PM +0200, Nicolas Letellier wrote: >> Hello ports@ >> >> I upgraded to 4.3-current (from 4.3-stable) and I installed audio/beep-media-player and I see it requires esound be launched. Why? >> So, I must launch esd before (and esd play a sou

Re: wpa now in current?!

2008-04-19 Thread bofh
oops, meant to send to misc On Sat, Apr 19, 2008 at 8:50 AM, bofh <[EMAIL PROTECTED]> wrote: > OK, I need some help please. I've already bought 2 pci wireless cards > that had their chipsets changed between my checking the i386 page and having > the darn things in my hand. > > Can anyone point m

Re: Crash with acpi enabled

2008-04-19 Thread Stuart Henderson
On 2008-04-18, Steve Shockley <[EMAIL PROTECTED]> wrote: > I'm setting up an HP d530 desktop with 4.3-release. With acpi enabled, > it crashes during boot (after install), with it disabled it seems to > work okay. Below is the dmesg/trace/ps when it crashes, below that is a > successful boot wit

Re: hoststated/relayd and Linux's tcp_tw_recycle option

2008-04-19 Thread Stuart Henderson
On 2008-04-18, Denis Doroshenko <[EMAIL PROTECTED]> wrote: > google quickly gives a url > > http://kbase.redhat.com/faq/FAQ_80_6180.shtm > > where it is said "It is likely an artifact of having > tcp_tw_recycle and tcp_tw_reuse enabled in the > sysctl settings." "Work is underway at the moment to

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Jonathan Schleifer
"Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > the question is, which one is more useful when writing new servers? > kqueue or poll? poll is more portable, while kqueue should be more performant (at least, that's why it was invented). If your app only needs to run on OpenBSD, NetBSD and FreeBS

Re: timeouts on http connects outbound

2008-04-19 Thread Stuart Henderson
On 2008-04-19, Moe Sizlak <[EMAIL PROTECTED]> wrote: > Recently I moved from freebsd 6 to openbsd 4.2 but have had some problems. > > I get a lot of timeouts on web pages with a high number of hops and I think > it may be something to do with either pf and/or sysctl. > > Any help in diagnosing the

Re: Is there a "badblocks"-equivalent for OpenBSD?

2008-04-19 Thread Stuart Henderson
On 2008-04-19, ropers <[EMAIL PROTECTED]> wrote: > Looking at the package contents ( > http://www.openbsd.org/4.2_packages/i386/e2fsprogs-1.27p5.tgz-contents.html > ), I've also figured out how to search for stuff like this in the > future: > > http://www.google.ie/search?q=badblocks+inurl%3Aopenbs

Re: CARP LAN outgoing IP address

2008-04-19 Thread Claer
On Fri, Apr 18 2008 at 32:21, G?bri M?t? wrote: > Ezzel a datummal: Friday 18 April 2008 21.29.18 ezt mrta: > > On Fri, Apr 18, 2008 at 11:48 AM, Gabri Mati <[EMAIL PROTECTED]> wrote: > > > This is normal, but is there a way to make the outgoing package to have > > > the internal CARP device's add

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Edwin Eyan Moragas
Hi Eric, On Sat, Apr 19, 2008 at 4:17 PM, Eric Faurot <[EMAIL PROTECTED]> wrote: > > the question is, which one is more useful when writing new servers? > > kqueue or poll? > > The more useful is event(3). i've been looking also at libevent and libev, both of which are excellent libraries. how

Re: poll(2) vs kqueue(2) performance

2008-04-19 Thread Eric Faurot
On Sat, 19 Apr 2008 13:27:34 +0800 "Edwin Eyan Moragas" <[EMAIL PROTECTED]> wrote: > Hi all, > > been reading the select(2) man pages and it mentions poll(2) > being more efficient in most cases. this makes it obvious to > discard the use of select(2) in writing new servers. > > i've come across