No HD DMA? (Was: Harddisk slow)

2007-01-29 Thread Heinrich Rebehn
Szentivanyi Matyas wrote: Hi Heinrich! I think it's almost the best speed you can achieve from the device. I've got the same type of Soekris with a SAMSUNG HM080HC HDD (which is the slave). This HDD supports perpendicular recording (http://en.wikipedia.org/wiki/Perpendicular_recording). Highe

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Travers Buda
* Lars Hansson <[EMAIL PROTECTED]> [2007-01-30 10:49:59]: > Travers Buda wrote: > > They're basically the same thing. > > No they're not. One run on the vendors hardware, the other run on your > OS. Two entirely different things. > Sorry, I was being nebulous. They're the same thing in the reg

Re: run "diskless" server with USB memory stick only?

2007-01-29 Thread Nick Holland
Christoph Peus wrote: > Hi, > > assumed that I have installed OpenBSD to an USB memory stick and the box > is booting from this "drive" successfully and I've taken these > precautions to avoid frequent writes to the write cycle limited memory > stick: > - there's no swap space configured > - al

building php5-gd-{hardened, no_x11} from source

2007-01-29 Thread scorch
hi misc@, the php5-gd-*-hardened-no_x11 package is the only php package missing to complete implementing http://zenphoto.org/ pic blog tool for me. however i can't seem to persuade the build system to build _only_ that package for me - I can only generate the whole php5-extensions in one sin

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Nick Holland
Travers Buda wrote: > * Matthew R. Dempsky <[EMAIL PROTECTED]> [2007-01-29 15:16:15]: > >> On Mon, Jan 29, 2007 at 01:30:01PM -0600, Travers Buda wrote: >>> Well I think both are equally dangerous (binary firmware and >>> binary drivers.) They're basically the same thing. Not at all, see below...

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Lars Hansson
Travers Buda wrote: > They're basically the same thing. No they're not. One run on the vendors hardware, the other run on your OS. Two entirely different things. --- Lars Hansson

Re: packages question

2007-01-29 Thread Will Maier
On Mon, Jan 29, 2007 at 02:56:44PM -0800, Daniel E. Hassler wrote: > Is it reasonable to assume all of the dependencies for a package > should also be available as either packages or via ports? Yes. Some ports have licenses which prohibit redistribution as packages, though, so N(ports) > N(package

Re: packages question

2007-01-29 Thread Darren Spruell
On 1/29/07, Daniel E. Hassler <[EMAIL PROTECTED]> wrote: Hi, Is it reasonable to assume all of the dependencies for a package should also be available as either packages or via ports? In my experience, yes. In most cases a package, although there exist some ports that can't be packaged for red

packages question

2007-01-29 Thread Daniel E. Hassler
Hi, Is it reasonable to assume all of the dependencies for a package should also be available as either packages or via ports? I'm trying to install p5-Mail-Box-2.018. - "p5-Mail-Box-2.018:Can't find p5-Convert-BinHex-1.119" I can't find p5-Convert-BinHex-1.119 in either packages or ports. p5

Re: altq hfsc issue

2007-01-29 Thread Lawrence Horvath
i believe if you do not specify the realtime in the qd queue it assumes 100% this creating a math issue, try giving qd a realtime limit On 1/22/07, Piotr Lukawski <[EMAIL PROTECTED]> wrote: Dear misc@openbsd.org, I wanted to share bandwidth 512Kb between 4 users with guaranted bandwidth 20Kb

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Jason McIntyre
On Mon, Jan 29, 2007 at 11:19:11PM +0100, Igor Sobrado wrote: > > I can send the patches to Brian Kernighan, asking him to apply > these changes to the awk(1) source code. Do you agree? If you > prefer sending the patches yourself, let me know. > the changes will be sent upstream next time we

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
On Mon, Jan 29, 2007, Jason McIntyre wrote: > ah, ok. it is not 4 options (-s, -a, -f, and -e), but one (-safe, as in > "not in danger"). that's why it is described as a "...first (and not > very reliable) approximation to a ``safe'' version of awk." > > you are confusing that with the -f option, w

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Matthew R. Dempsky
On Mon, Jan 29, 2007 at 03:52:03PM -0600, Travers Buda wrote: > Well there is that proof-of-concept that debuted at BlackHat where > those researchers compromised the OS of a macintosh. I was under the > impression that they compromised it via the firmware, but it is > equally possible it was achi

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Travers Buda
* Matthew R. Dempsky <[EMAIL PROTECTED]> [2007-01-29 15:16:15]: > On Mon, Jan 29, 2007 at 01:30:01PM -0600, Travers Buda wrote: > > Well I think both are equally dangerous (binary firmware and binary > > drivers.) They're basically the same thing. > > My understanding has always been that a bad b

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
In a private email, Philip Guenther has observed that awk does not completely folow the POSIX option guidelines. [-safe] is not [-s,-a,-f,-e] but a single option! The right patch is then: --- main.c.orig Mon Jan 29 15:01:20 2007 +++ main.c Mon Jan 29 15:52:47 2007 @@ -64,7 +64,7 @@

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Jason McIntyre
On Mon, Jan 29, 2007 at 10:00:51PM +0100, Igor Sobrado wrote: > > Changes introduced by this patch: > > - adds three spaces after the tab character to improve readability > of the usage message. i prefer just to use a single tab to start a new line. otherwise we end up with lots of usage()

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Jason McIntyre
On Mon, Jan 29, 2007 at 10:16:55PM +0100, Igor Sobrado wrote: > > I think that the "-f" option requires an argument. The argument > is not optional, though. It seems that the case block that manages > this option requires an argument. If the argument to "-f" is > optional it can be written as "

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Matthew R. Dempsky
On Mon, Jan 29, 2007 at 01:30:01PM -0600, Travers Buda wrote: > Well I think both are equally dangerous (binary firmware and binary > drivers.) They're basically the same thing. My understanding has always been that a bad binary driver can corrupt main memory, but a bad binary firmware is limited

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
Hi Jason. Sorry for sending the patches before answering to your email. As I am not subscribed to this mailing list I have not read your answer before working on the patches. I think that the "-f" option requires an argument. The argument is not optional, though. It seems that the case block th

Re: auto adding of hosts to table

2007-01-29 Thread Tobias Weingartner
In article <[EMAIL PROTECTED]>, Aaron Martinez wrote: > > For instance, i don't run telnetd anywhere and so if a connection to > port 23 is made, i would like to add the connecting machine's IP to a > 'bad_guys' table on the fly so subsequent connects will be dropped. For > the life of me

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
Hi Jason. Thank you very much for managing these small bugs so fast. The first patch is for main.c: --- main.c Mon Jan 29 15:01:20 2007 +++ main.c Mon Jan 29 15:04:28 2007 @@ -63,8 +63,8 @@ setlocale(LC_NUMERIC, "C"); /* for parsing cmdline & prog */ cmdname = __progna

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Travers Buda
* Trond Danielsen <[EMAIL PROTECTED]> [2007-01-29 18:30:05]: > 2007/1/29, Vim Visual <[EMAIL PROTECTED]>: > > > >Which cards in that list are comparable in quality to the intel 2200BG > >but do not require blobs? > > > > The ipw2200 is not the only one that requires a binary firmware to be > load

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Jason McIntyre
On Mon, Jan 29, 2007 at 09:11:26PM +0100, Igor Sobrado wrote: > Looking carefully at the switch () {...} structure in main.c > it seems that the option "-f" requires an argument: iff the argument > to "-f" is optional I would write: > > awk [-sae] [-V] [-d[n]] [-F fs] [-v var=value] [prog | -f [

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
Jason, you are very fast! I will download the new main.c as soon as I arrive at home and remove the case for the "-m" option. I will remove the "f" option in "[-safe]" as it seems that the argument to it is not optional. I will submit the patch, based on the updated code, later. Two changes:

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
Looking carefully at the switch () {...} structure in main.c it seems that the option "-f" requires an argument: iff the argument to "-f" is optional I would write: awk [-sae] [-V] [-d[n]] [-F fs] [-v var=value] [prog | -f [progfile]] file ... But it does not look as an optional argument,

Re: on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Jason McIntyre
On Mon, Jan 29, 2007 at 07:37:04PM +0100, Igor Sobrado wrote: > > As a second change, I would suggest changing the usage message > in the binary to fit on a standard 80 columns display. In short, > I propose: > > - synchronizing the usage message returned by awk(1) and the > synopsis in th

Newsletter BorghiToscani.com n°5 - 2007

2007-01-29 Thread newsletter
NEWSLETTER N0 5 DAL 29 GENNAIO AL 4 FEBBRAIO 2007 LE NEWS DELLA SETTIMANA 29/01/2007 Terme On Ice MONTECATINI TERME (Folklore) 30/01/2007 Mostra sul massacro di Nanjing MONTECATINI TERME (Mostre) 30/01/2007 Mac,n MONSUMMANO TERME (Mostre) 31/01/2007 Vintage Selection FIRENZE (Mostre)

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Henning Brauer
* Marian Hettwer <[EMAIL PROTECTED]> [2007-01-29 18:46]: > Pierre-Yves Ritschard schrieb: > >On Mon, 29 Jan 2007 17:20:50 +0100 > >Marian Hettwer <[EMAIL PROTECTED]> wrote: > > > >>Which would mean, I send a SYN to my load balancer, which forwards > >>the SYN to one of my webservers, and the webser

Re: Harddisk slow

2007-01-29 Thread Chris Zakelj
Heinrich Rebehn wrote: > on my Soekris 4801-60 i have a FUJITSU MHV2120AT running as slave. The > > 104857600 bytes transferred in 11.980 secs (8752083 bytes/sec) 8MB/sec isn't particularly bad for a notebook drive, and I get very similar numbers on my own 4801-60 w/ Samsung MP0402H drive: wd0 at

Re: Idea for additionnal funding

2007-01-29 Thread Bob Beck
* Jack J. Woehr <[EMAIL PROTECTED]> [2007-01-29 11:49]: > > On Jan 29, 2007, at 9:00 AM, Bob Beck wrote: > > > a 501(c) has to spend most of it's money in the > >united states. This is not helpful to us. > > > > A Canadian solution is in the works. > > Hmm, that must be a "501(a)" :-)

Re: Idea for additionnal funding

2007-01-29 Thread Jack J. Woehr
On Jan 29, 2007, at 9:00 AM, Bob Beck wrote: > a 501(c) has to spend most of it's money in the > united states. This is not helpful to us. > > A Canadian solution is in the works. Hmm, that must be a "501(a)" :-) -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL

Re: destination-port-based routing for multiple links

2007-01-29 Thread Soner Tari
Thanks a lot for all the replies, public and private (especially Berk for detailed explanations). It turns out that my nat rule was not complete/correct (just as all of the replies had implied this possibility). So, for the record, the rules I'm using right now are as follows, and work perfectly:

on the awk(1)/nawk(1) usage synopsis

2007-01-29 Thread Igor Sobrado
Hello. Just a though... I was writing a simple awk(1) script and looked at the options supported by this utility in the hope to make the code cleaner. It seems that there is a big difference between the synopsis in the manual page: awk [-safe] [-V] [-d[n]] [-F fs] [-v var=value] [prog | -f pr

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Marius ROMAN
You can read here : http://vendorwatch.org/index.php?title=Blob "Blobs are vendor-compiled binary drivers without any source code. Hardware makers like them because they obscure the details of how to make their hardware work. They hide bugs and workarounds for bugs. Newer versions of blobs can we

Re: build question

2007-01-29 Thread Woodchuck
On Mon, 29 Jan 2007, John . wrote: > Hello list > > When XF4 is brought to -stable, does the machine have to be rebooted > for the changes to take effect? It doesn't say so explicitly in the > FAQ. > > cheers It should suffice to stop X and restart it. That includes xdm. Dave -- "I believe

Any OpenBSD developers interested in Thinkpad port replicators?

2007-01-29 Thread Daniel Barowy
Hello, I have a number of port replicators I (finally) got permission to send off to OpenBSD devs. I thought I saw someone asking for one on the hardware wanted page, but now that I look again, I don't see it. Any takers? Here's what I have: * Thinkpad X4 UltraBase Dock (new) * Thinkpa

Harddisk slow

2007-01-29 Thread Heinrich Rebehn
Hi list, on my Soekris 4801-60 i have a FUJITSU MHV2120AT running as slave. The performance is poor: [EMAIL PROTECTED] [/data] # time dd if=100Mb.dat of=/dev/null 204800+0 records in 204800+0 records out 104857600 bytes transferred in 11.980 secs (8752083 bytes/sec) real0m12.042s user0m

Re: Compile Issue in libssl/crypto.

2007-01-29 Thread Damien Miller
On Mon, 29 Jan 2007, Sean Kennedy wrote: > Understood, -- Just being pedantic, before I move to -rstable, I usually do a > build with -rOPENBSD_X_x first when I do a Vanilla system. > Answer of "Use -rstable." is your answer. > libssl/crypto has issues with -rOPENBSD_4_0. To be clear, your prob

Re: FUDv6 (Re: Is Theo still hiking ????)

2007-01-29 Thread Claudio Jeker
On Mon, Jan 29, 2007 at 04:07:17PM +, Jeroen Massar wrote: > Claudio Jeker wrote: > > On Sun, Jan 28, 2007 at 03:17:14PM +, Jeroen Massar wrote: > >> Brian Candler wrote: > >>> On Sun, Jan 28, 2007 at 12:36:38AM -0800, Joe wrote: > whats sad is how many people will never let go of NAT

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Trond Danielsen
2007/1/29, Vim Visual <[EMAIL PROTECTED]>: Which cards in that list are comparable in quality to the intel 2200BG but do not require blobs? The ipw2200 is not the only one that requires a binary firmware to be loaded into network card to be funtional. Others may disagree, but I think there is

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
In message <[EMAIL PROTECTED]>, Tom Cosgrove writes: > > What is happening here is that when you enter > > ibase=16 > l(0.1) > > you get "0.0" passed to the l() function, which gives -infinity. (I > would call that the expected result under the circumstances.) > > If you enter > >

Re: FUDv6 (Re: Is Theo still hiking ????)

2007-01-29 Thread chefren
On 01/29/07 17:07, Jeroen Massar wrote: Juniper doesn't provide 6to4, ah as they can't do that in hardware. I presume they believe it's too expensive or believe too few customers want to pay for it or or or. In general everything that can be programmed in softwware can be done "in hardware"

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
Please, drop my last example about how bc works on Solaris... bc was on base 16, not on base 10, when run that test... it seems this is a bad and very long day! :-) $ bc -l l(0.0625000) -2.77258872223978123766 Now all is clear, Igor.

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Pierre-Yves Ritschard schrieb: On Mon, 29 Jan 2007 17:20:50 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: Which would mean, I send a SYN to my load balancer, which forwards the SYN to one of my webservers, and the webserver would send a SYN-ACK back to me. But my machine, obviously can't do a

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Pierre-Yves Ritschard
On Mon, 29 Jan 2007 17:34:51 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: > > > Pierre-Yves Ritschard schrieb: > > On Mon, 29 Jan 2007 17:20:50 +0100 > > Marian Hettwer <[EMAIL PROTECTED]> wrote: > > > >> Which would mean, I send a SYN to my load balancer, which forwards > >> the SYN to one

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Hi, Pierre-Yves Ritschard schrieb: On Mon, 29 Jan 2007 16:21:13 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: However, one thing is bothering me. Obviously, my apache access logs on those load balanced machines can only show the IP address of my load balancer, not the real remote ip of the

Error when Updating gtk+2 [ gtk+2-2.6.10p1 -> gtk+2-2.8.20 ]

2007-01-29 Thread Beto
When I was building the gtk+2-2.8.20 from ports tree, i got the error: : undefined reference to `gtk_icon_view_set_reorderable' collect2: ld returned 1 exit status gmake[5]: *** [gtk-demo] Error 1 gmake[5]: Leaving directory `/usr/ports/x11/gtk+2/w-gtk+2-2.8.20/gtk+-2.8.20 /demos/gtk-demo' gmake[4

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Bob Beck
* Marian Hettwer <[EMAIL PROTECTED]> [2007-01-29 09:49]: > Hi OpenBSD'lers, > > I'm about to use OpenBSD's pf(4) for load balancing some webservers. So > far, everything is looking just perfect. > Compared to pound, pf(4) is incredibly fast with few CPU and memory usage. > So I'd say: Thats great

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Pierre-Yves Ritschard schrieb: On Mon, 29 Jan 2007 17:34:51 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: You could also do an ugly hack which would consist of attaching a second network on your servers and load balancers (provided they are in the same (v)?lan) like 172.16.1.0/24 and use tha

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Hej Berk, Berk D. Demir schrieb: Marian Hettwer wrote: However, one thing is bothering me. Obviously, my apache access logs on those load balanced machines can only show the IP address of my load balancer, not the real remote ip of the request. This is, to my knowledge, due to the fact that

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Stuart Henderson
On 2007/01/29 16:21, Marian Hettwer wrote: > Is there any possible way to get the real ip addresses in my apache > access log? Readers who didn't see the earlier posts about setting this up, they're here: http://marc.theaimsgroup.com/?l=openbsd-misc&m=116905272009036&w=2 - it's not the standard s

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Pierre-Yves Ritschard
On Mon, 29 Jan 2007 17:20:50 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: > > Which would mean, I send a SYN to my load balancer, which forwards > the SYN to one of my webservers, and the webserver would send a > SYN-ACK back to me. But my machine, obviously can't do anything with > a SYN-ACK

build question

2007-01-29 Thread John .
Hello list When XF4 is brought to -stable, does the machine have to be rebooted for the changes to take effect? It doesn't say so explicitly in the FAQ. cheers -- John

New routing ideas for OpenBSD ;) (Was: Is Theo still hiking ????)

2007-01-29 Thread Jeroen Massar
[changed subject to something more related ;) ] Brian Candler wrote: > On Sun, Jan 28, 2007 at 03:17:14PM +, Jeroen Massar wrote: >>> And if you need to change ISP, and >>> therefore get a new address allocation, many people would rather just put in >>> some NAT at the border than take the pai

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Tom Cosgrove
>>> Igor Sobrado 29-Jan-07 14:36 >>> > > But I want to note that the difference between Solaris' bc and > the bc flavours available on NetBSD (GNU bc) and OpenBSD (its own bc > implementation) for numbers near zero is probably a bug. > > In fact, Solaris' bc returns comparable numbers for l(0.1) a

FUDv6 (Re: Is Theo still hiking ????)

2007-01-29 Thread Jeroen Massar
Claudio Jeker wrote: > On Sun, Jan 28, 2007 at 03:17:14PM +, Jeroen Massar wrote: >> Brian Candler wrote: >>> On Sun, Jan 28, 2007 at 12:36:38AM -0800, Joe wrote: whats sad is how many people will never let go of NAT after they migrate to ipv6. >>> It's not sad; for many people it wou

Re: Idea for additionnal funding

2007-01-29 Thread Bob Beck
And the other thing people forget who try to "helpfully" set us up a 501(c) in the US is that most of our expenses are *NOT* in the united states. and a 501(c) has to spend most of it's money in the united states. This is not helpful to us. A Canadian solution is in the works.

Re: Compile Issue in libssl/crypto.

2007-01-29 Thread Sean Kennedy
Understood, -- Just being pedantic, before I move to -rstable, I usually do a build with -rOPENBSD_X_x first when I do a Vanilla system. Answer of "Use -rstable." is your answer. libssl/crypto has issues with -rOPENBSD_4_0. Cross Posting to misc@ to satisfy request. Still posting to tech@ so I

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Berk D. Demir
Marian Hettwer wrote: However, one thing is bothering me. Obviously, my apache access logs on those load balanced machines can only show the IP address of my load balancer, not the real remote ip of the request. This is, to my knowledge, due to the fact that pf(4) is working on the TCP layer

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Gregory Edigarov
Marian Hettwer wrote: Hi OpenBSD'lers, I'm about to use OpenBSD's pf(4) for load balancing some webservers. So far, everything is looking just perfect. Compared to pound, pf(4) is incredibly fast with few CPU and memory usage. So I'd say: Thats great :) However, one thing is bothering me. Ob

Re: ACPI tests on a Jetway J7F2 board

2007-01-29 Thread Marco Peereboom
Or missing interrupts... On Mon, Jan 29, 2007 at 04:29:52PM +0100, Dimitry Andric wrote: > Mark Zimmerman wrote: > > You will notice the sucky DMA of the Jetway board in all of them. > ... > > wd0a: aborted command, interface CRC error reading fsbn 671456 of 671456-0 > > (wd0 bn 5571281; cn 5527

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Pierre-Yves Ritschard
On Mon, 29 Jan 2007 16:21:13 +0100 Marian Hettwer <[EMAIL PROTECTED]> wrote: > However, one thing is bothering me. > Obviously, my apache access logs on those load balanced machines can > only show the IP address of my load balancer, not the real remote ip > of the request. Why are you rewriting

Re: http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Gregory Edigarov schrieb: Marian Hettwer wrote: Okay... anybody with any usable suggestions? There's the X-Forwarded-to Information in a http header, which can be set via some software load balancers. However, those are operating on the application layer, which pf isn't... too bad. Uhmm...

Re: ACPI tests on a Jetway J7F2 board

2007-01-29 Thread Dimitry Andric
Mark Zimmerman wrote: > You will notice the sucky DMA of the Jetway board in all of them. ... > wd0a: aborted command, interface CRC error reading fsbn 671456 of 671456-0 > (wd0 bn 5571281; cn 5527 tn 1 sn 2), retrying > wd0: transfer error, downgrading to Ultra-DMA mode 4 > wd0(pciide1:0:0): usi

Ifstated samples to control two dsl lines

2007-01-29 Thread carlopmart
Hi all, Somebody can send me some samples of ifstated.conf using two dsl lines? I have two redundant OpenBSD 4.0 firewalls on I need to implement ifstated but with only man pages isn't very clear how can I configure this to redirect all traffic to one line if another goes down and anothe

Res: Unix domain socket message size

2007-01-29 Thread Daniel Cid
>If I add this to your main() I can send larger messages: > > int len; > socklen_t optlen = sizeof(len); > > ... >len = 4096; > if (setsockopt(c_socket, SOL_SOCKET, SO_SNDBUF, &len, optlen) == -1) > err(1, "setsockopt"); >if (getsockopt(c_socket, SOL_SOCKET, SO_SNDBUF, &len, &optl

Re: ACPI tests on a Jetway J7F2 board

2007-01-29 Thread Dimitry Andric
Mark Zimmerman wrote: > I almost didn't submit this because there were no outright failures, but > then I noticed that with acpi enabled, the hw.setperf sysctl is missing. > Without acpi, it is present and works properly. This is because the "traditional" EST mechanism is currently disabled when A

http load balancing with pf (apache access log)

2007-01-29 Thread Marian Hettwer
Hi OpenBSD'lers, I'm about to use OpenBSD's pf(4) for load balancing some webservers. So far, everything is looking just perfect. Compared to pound, pf(4) is incredibly fast with few CPU and memory usage. So I'd say: Thats great :) However, one thing is bothering me. Obviously, my apache acces

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
In message <[EMAIL PROTECTED]>, Otto Moerbeek writes: > > On Mon, 29 Jan 2007, Igor Sobrado wrote: > > > (I suppose that setting obase=10 after setting the input base to 16d > > means that the output base is set to 0x10...) > > indeed. > > In the last example Solaris does no seem to truncate 0.

macppc SMP fundraising

2007-01-29 Thread tbert
Good morning misc@ In some private emails with gwk@, he has said that he'd like to work on getting SMP on the macppc platform working, but lacks a good, fast machine with which to do the work. That's where we come in. I'm looking around, and we can get a useful machine to him on the cheap. If yo

Re: PF keep state does'nt like Mandriva2007

2007-01-29 Thread Marco Peereboom
Nobody likes Mandriva. On Sun, Jan 28, 2007 at 07:56:04PM -0800, Reza Muhammad wrote: > Dear Lists. > > I have one bridge PF machine for packet queue and > prio, > and few new install Mandriva2007 (linux kernel) that > couldn not browse the web (the other protocol work OK) > if the rules keep st

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Igor Sobrado wrote: > Hi again. > > Of course, Karel Kulhavy is the one to provide feedback on this patch. > But I have tried it too (after upgrading src/usr.bin/bc) and seems to > be working fine for this case (NetBSD and Solaris are running their own > flavours of bc): > >

Re: destination-port-based routing for multiple links

2007-01-29 Thread J.C. Roberts
On Sunday 28 January 2007 18:26, Soner Tari wrote: > On Sun, 2007-01-28 at 16:39 -0800, J.C. Roberts wrote: > > On Sunday 28 January 2007 03:03, Soner Tari wrote: > > > I'm running Postfix on OpenBSD and have multiple external links > > > on the same box. I want outgoing smtp connections to be rout

Ifstated question

2007-01-29 Thread Olivier Horn
Hi, I want to use the ifstated daemon. I have Googled around and read the man page (not very clear) but not understood how to use the ifstated.conf file. All I want to do is monitoring the output of 'netstat -nr' and if the output changes, and to kill the isakmpd daemon and restart it. Does

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Michael Schmidt wrote: > I want to be hoonest, I am not involved in bc problems, but reading these > mails, just as an idea: > > Why not creating a new bc, or in other words changing the bc of today and > correcting that math stuff. Name the new, corrected bc something like b

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
Hi again. Of course, Karel Kulhavy is the one to provide feedback on this patch. But I have tried it too (after upgrading src/usr.bin/bc) and seems to be working fine for this case (NetBSD and Solaris are running their own flavours of bc): For OpenBSD: $ bc -l ibase=4 obase=10 scale=100 l(1.031)

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Michael Schmidt
Igor Sobrado wrote: I have tested these base 11 to base 10 translations on other bc versions and all show the same behaviour. I agree, this behaviour is historically consistent. But this handling of non-decimal fractions is wrong from the point of view of mathematics. In other words: - 0.1 p

Re: Aironet MPI-350 Wireless

2007-01-29 Thread Vim Visual
Hi Johan and all, fortunately the seller made the mistake in the web page where I found the laptop and he wrote that it's a centrino and in the wikipedia you can read: "To qualify for a Centrino label, vendors must use all three Intel qualified parts for laptop, otherwise using only the processo

Newsletter BorghiToscani.com n°5 - 2007

2007-01-29 Thread newsletter
NEWSLETTER N0 5 DAL 29 GENNAIO AL 4 FEBBRAIO 2007 LE NEWS DELLA SETTIMANA 29/01/2007 Terme On Ice MONTECATINI TERME (Folklore) 30/01/2007 Mostra sul massacro di Nanjing MONTECATINI TERME (Mostre) 30/01/2007 Mac,n MONSUMMANO TERME (Mostre) 31/01/2007 Vintage Selection FIRENZE (Mostre)

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
In message <[EMAIL PROTECTED]>, Otto Moerbeek writes: > > bc hase some more unexpected things for the casual user: > > scale=4 > 1/3 produces 0. > 2/3 produces 0. Not so unexpected -- a mathematician would work out 0. and 0.6667 respectively, but your excellent example is what we wou

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
Here's a complete diff. Not that it is relative the whitespace cleanup diff I comitted a few hours ago. So make sure your tree is up-to-date before patching. -Otto Index: bc.library === RCS file: /cvs/src/usr.bin/bc/bc.librar

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Igor Sobrado wrote: > [copied and pasted, I am currently not subscribed to [EMAIL PROTECTED] > > On Mon, 29 Jan 2007, Otto Moerbeek wrote: > > Note that some of your tests still > > produce strange results, but that is due to weird handling of > > non-decimal fractions wrt sc

run "diskless" server with USB memory stick only?

2007-01-29 Thread Christoph Peus
Hi, assumed that I have installed OpenBSD to an USB memory stick and the box is booting from this "drive" successfully and I've taken these precautions to avoid frequent writes to the write cycle limited memory stick: - there's no swap space configured - all logging is redirected to an extern

ftp-proxy and packetfilter + vlans

2007-01-29 Thread Rik Bobbaers
hey all, first of all: i'm not subscribed to the mailinglist, so please send replies to me personally too. thanks! :) what's this mail about? i'll explain how the network is setup. internet (0.0.0.0/0) | openbsdcluster -- windows management (192.168.2.0/24) | management network (192.168

Re: Slow write performance on Compaq Smart Array 64xx (ciss0)

2007-01-29 Thread Johan M:son Lindman
On Sunday 28 January 2007 22:21, you wrote: > On Sun, Jan 28, 2007 at 11:28:27AM -0800, Joe wrote: > > Some more tests: > > > > # dd if=/dev/zero of=./testfile count=100 > > 100+0 records in > > 100+0 records out > > 51200 bytes transferred in 16.354 secs (31306797 bytes/sec) > >

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Igor Sobrado
[copied and pasted, I am currently not subscribed to [EMAIL PROTECTED] On Mon, 29 Jan 2007, Otto Moerbeek wrote: > Note that some of your tests still > produce strange results, but that is due to weird handling of > non-decimal fractions wrt scale: > > For example, with ibase=11 > 0.1 produces 0.0

Re: PF keep state does'nt like Mandriva2007

2007-01-29 Thread Stuart Henderson
> > > and few new install Mandriva2007 (linux kernel) that > > > couldn not browse the web (the other protocol work OK) > > > if the rules keep state in PF machine is activated. > > > > use 'flags S/SA keep state' > > > thanks for nice replay.. but it still doesnt work. > I believe that problem

Re: OpenBSD 3.9 (i386) and mount_udf - big problem

2007-01-29 Thread Pedro Martelletto
Andreas, On Mon, Jan 29, 2007 at 09:45:14AM +, Andreas Kahari wrote: > I had the same problem ("FSD does not lie within the partition!" when > trying to mount a UDF DVD disc). I applied the patch below from Pedro > to a current i386 system, but that resulted in a locked system > (everything w

Re: Is Theo still hiking ????

2007-01-29 Thread Brian Candler
On Sun, Jan 28, 2007 at 03:17:14PM +, Jeroen Massar wrote: > > And if you need to change ISP, and > > therefore get a new address allocation, many people would rather just put in > > some NAT at the border than take the pain of network renumbering (which IPv6 > > doesn't make any easier than IP

Re: PF keep state does'nt like Mandriva2007

2007-01-29 Thread Reza Muhammad
--- Stuart Henderson <[EMAIL PROTECTED]> wrote: > On 2007/01/28 19:56, Reza Muhammad wrote: > > and few new install Mandriva2007 (linux kernel) > that > > couldn not browse the web (the other protocol work > OK) > > if the rules keep state in PF machine is > activated. > > use 'flags S/SA keep s

Re: Is Theo still hiking ????

2007-01-29 Thread Claudio Jeker
On Mon, Jan 29, 2007 at 09:19:50AM +0100, Tonnerre LOMBARD wrote: > Salut, > > On Sun, Jan 28, 2007 at 12:26:11PM +0100, Almir Karic wrote: > > they said the SAME thing about ipv4 :/ > > The big problems of IPv4 aren't address space problems but performance > problems. There are two big issue

Re: OpenBSD 3.9 (i386) and mount_udf - big problem

2007-01-29 Thread Andreas Kahari
Replying to a somewhat old message... I had the same problem ("FSD does not lie within the partition!" when trying to mount a UDF DVD disc). I applied the patch below from Pedro to a current i386 system, but that resulted in a locked system (everything waiting in 'inode') when trying to mount th

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Otto Moerbeek wrote: > On Mon, 29 Jan 2007, Otto Moerbeek wrote: > > > On Mon, 29 Jan 2007, Karel Kulhavy wrote: > > > > > I just found three bugs in the OpenBSD 4.0 "bc" program. > > > > > > All three bugs seem to related to the use of a non-decimal input base > > in comb

Re: Slow write performance on Compaq Smart Array 64xx (ciss0)

2007-01-29 Thread mickey
On Sun, Jan 28, 2007 at 05:32:41PM +0100, Henning Brauer wrote: > * Vijay Sankar <[EMAIL PROTECTED]> [2007-01-28 16:07]: > > bioctl -h ciss0 gives me > > > > bioctl: Can't locate ciss0 device via /dev/bio > > ciss doesn't support bio yet. rtfm bio(4) support is only possible for one volume righ

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Otto Moerbeek wrote: > On Mon, 29 Jan 2007, Karel Kulhavy wrote: > > > I just found three bugs in the OpenBSD 4.0 "bc" program. > > > All three bugs seem to related to the use of a non-decimal input base > in combination with using the -l lib. > > This is because the stor

Re: 3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Otto Moerbeek
On Mon, 29 Jan 2007, Karel Kulhavy wrote: > I just found three bugs in the OpenBSD 4.0 "bc" program. All three bugs seem to related to the use of a non-decimal input base in combination with using the -l lib. This is because the stored routines interpret the number according to the base at exe

Re: PF keep state does'nt like Mandriva2007

2007-01-29 Thread Stuart Henderson
On 2007/01/28 19:56, Reza Muhammad wrote: > and few new install Mandriva2007 (linux kernel) that > couldn not browse the web (the other protocol work OK) > if the rules keep state in PF machine is activated. use 'flags S/SA keep state'

Re: Is Theo still hiking ????

2007-01-29 Thread Tonnerre LOMBARD
Salut, On Sun, Jan 28, 2007 at 12:26:11PM +0100, Almir Karic wrote: > they said the SAME thing about ipv4 :/ The big problems of IPv4 aren't address space problems but performance problems. There are two big issues: 1. deaggregation. A lot of small nets clog up the pipe which don't have t

3 bugs in OBSD 4.0 "bc"

2007-01-29 Thread Karel Kulhavy
I just found three bugs in the OpenBSD 4.0 "bc" program. 0) some "evil" numbers make bc hang: [EMAIL PROTECTED]:~$ bc -l ibase=4 obase=10 scale=100 l(1.031) .023311001002311221102233202 (immediate reply) l(1.03) [ - HANG at least for 11 minutes - ] PID USERNAME PRI NICE SIZE RES STATEWAIT

Re: Unix domain socket message size

2007-01-29 Thread Otto Moerbeek
On Sun, 28 Jan 2007, Daniel Cid wrote: > I have been trying to increase the maximum allowed size for a message > when > using unix domain sockets without any success... > > Whenever I send anything > larger than 2048, it fails with EMSGSIZE. I looked > at multiple sysctls and no > one seems to be

  1   2   >