Re: dysfunctional carp

2007-08-05 Thread Nico Meijer
Hi Dag,

 So if each system sees only its own carp traffic it makes sense that 
 each would consider themselves master. I assume that the systems can 
 send and receive tcp icmp, and udp traffic.

Yes. I've turned pf off just in case.

 Is it possible that the switch is not carrying multicast traffic?.

This could very well be, so I did try the crossover cable. No luck,
unfortunately. No carp traffic is coming through.

The HP switch these systems were connected to had two carp combos
running perfectly, btw.

Thanks... Nico



Re: spamd - 250 return text

2007-08-05 Thread Lars Hansson
On 8/4/07, Tom Bombadil [EMAIL PROTECTED] wrote:
 We've had a pretty hard time from a client saying how rude this
 default message is. Even though their tech people didn't care, the
 people higher up got really offended... Quite understandably I'd say,
 since these greetings aren't really what we can call friendly... hehe

This is seriously one of the most retarded things I've ever heard. Why
are the upper
 people looking at the SMTP conversation anyway?
The only way this could possible happen is if the sender bounces on it
in which case it's pretty rude to be so completely in violation of
standards and best practices.


Lars Hansson



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Jacek Masiulaniec

On 4 Aug 2007, at 19:31, Andris wrote:

Hi, I'm writing a set of small utilities as scripts, and I got a
segmentation fault working on one of them.

The script is suppoused to align text with spaces. Say you have
this file:

Foo1\tFoo2
Br\tBar2
Baz

Where \t are horizontal tabs. My script would replace the tabs with an
adequate number of spaces to align foo2 and bar2.


Writing replacement for column -t, huh?

Jacek



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Jacek Masiulaniec [EMAIL PROTECTED] wrote:
 On 4 Aug 2007, at 19:31, Andris wrote:
  Hi, I'm writing a set of small utilities as scripts, and I got a
  segmentation fault working on one of them.
 
  The script is suppoused to align text with spaces. Say you have
  this file:
 
  Foo1\tFoo2
  Br\tBar2
  Baz
 
  Where \t are horizontal tabs. My script would replace the tabs with an
  adequate number of spaces to align foo2 and bar2.

 Writing replacement for column -t, huh?

 Jacek

Didn't know about it :P But I'll do it anyway, cause I want it to be a
standard and portable script.

Thanks!



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Clint Pachl

Andris wrote:

On 8/5/07, Jacek Masiulaniec [EMAIL PROTECTED] wrote:
  

On 4 Aug 2007, at 19:31, Andris wrote:


Hi, I'm writing a set of small utilities as scripts, and I got a
segmentation fault working on one of them.

The script is suppoused to align text with spaces. Say you have
this file:

Foo1\tFoo2
Br\tBar2
Baz

Where \t are horizontal tabs. My script would replace the tabs with an
adequate number of spaces to align foo2 and bar2.
  

Writing replacement for column -t, huh?

Jacek



Didn't know about it :P But I'll do it anyway, cause I want it to be a
standard and portable script.
  


I believe column(1), including the -t option, is very standard. It has 
been around for over 20 years and is included in all the BSDs. I believe 
it is also in many of the major Linux distros too.


Don't reinvent the wheel arbitrarily.

See also: sed(1), awk(1), expand(1), colrm(1), paste(1), cut(1), 
printf(1), and shell's set command


That should take care of most of your text processing needs.

-pachl



Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread chefren

OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
  By David Marcus, 2007-08-05 03:41:29
  Section: Technology, Topic:

  I formerly had a great deal of respect, bordering on admiration, for
Theo deRaadt's refusals to compromise his open source principles, even in
the face of stiff opposition. Although he has occasionally gone
over-the-top, recommended some frankly very dubious changes to OpenBSD,
and is regularly arrogant (which is even more annoying because he's so
often right!), he's always remained consistent in his devotion to the
cause of GNU/Free Software.

http://www.kuro5hin.org/story/2007/8/2/15233/84896



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Theo de Raadt
 OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
By David Marcus, 2007-08-05 03:41:29
Section: Technology, Topic:
 
I formerly had a great deal of respect, bordering on admiration, for
 Theo deRaadt's refusals to compromise his open source principles, even in
 the face of stiff opposition. Although he has occasionally gone
 over-the-top, recommended some frankly very dubious changes to OpenBSD,
 and is regularly arrogant (which is even more annoying because he's so
 often right!), he's always remained consistent in his devotion to the
 cause of GNU/Free Software.
 
 http://www.kuro5hin.org/story/2007/8/2/15233/84896

Too bad the author of that article is totally lying.  Neither I or the
project have no donation relationship with AMD.

The only donations the project ever got from AMD were three prototype
AMD64 machines.

Two were given to us before the AMD64 had even shipped to the public,
so that they could benefit from us running on AMD64 cpus.  They were
desktop machines with Athlon HX processors at 1.6GHz.  One is in
Sweden, the other in Calgary.  One nice thing about those machines is
that the BIOS does no self tests, and therefore boots really really
fast.

The third machine was a quad-cpu Opteron machine the size of a fridge,
but that was quite a bit later, and it was surplus to us.  I think
these were called Melody machines, or a name similar to that.

I am sure that we've had more hardware donations from Intel.  I am
also sure we've had WAY MORE donations from VIA/Centaur, even yet.

I'd love to know that there have been more donations from AMD.  If
there had been, perhaps we could spend them on a hackathon in the
future.

It's amazing how people these days can just invent commentary out of
their ass, and have thousands of people read it and change their bias.
It's slander, that's exactly what it is, and I ask that the editors
take that article down and force some sort of apologize for it.



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Tobias Weisserth

Hi there,

What a crappy article. Whoever gives a sh*t about what that guy  
wrote, I don't know.


But that's just me.

For example, notice how he starts the article.  The first paragraph  
is supposed to sound like a compliment but in fact it's an insult.


regards,
Tobias W.

On Aug 5, 2007, at 10:50 PM, chefren wrote:


OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
  By David Marcus, 2007-08-05 03:41:29
  Section: Technology, Topic:

  I formerly had a great deal of respect, bordering on admiration, for
Theo deRaadt's refusals to compromise his open source principles,  
even in

the face of stiff opposition. Although he has occasionally gone
over-the-top, recommended some frankly very dubious changes to  
OpenBSD,

and is regularly arrogant (which is even more annoying because he's so
often right!), he's always remained consistent in his devotion to the
cause of GNU/Free Software.

http://www.kuro5hin.org/story/2007/8/2/15233/84896




Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Peter N. M. Hansteen
chefren [EMAIL PROTECTED] writes:

   I formerly had a great deal of respect, bordering on admiration, for

This looks very much like something which was hosted at blogspot.com
last week. Somebody on #OpenBSD found it, most people found it
ridiculous. For some odd reason I have not been able to dig up the
exact reference, so it's possible it was removed from blogspot.

I'd be surprised if the fact content in this is above 'barely
measurable'.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Otto Moerbeek
On Sat, 4 Aug 2007, Andris wrote:

 Hi, I'm writing a set of small utilities as scripts, and I got a
 segmentation fault working on one of them.

I tried running your script but it did not produce any seg faults.
Do you have example input that causes a seg fault?

-Otto


 The script is suppoused to align text with spaces. Say you have this file:

 Foo1\tFoo2
 Br\tBar2
 Baz

 Where \t are horizontal tabs. My script would replace the tabs with an
 adequate number of spaces to align foo2 and bar2.

 Right now it works with a file named file in the working directory.
 Of course this is only temporal.

 The problem is that I get a segmentation fault when I run it. That
 never happened to me with a shell script. And I can't see where should
 be a problem.

 I'm running OpenBSD 4.1-stable, GENERIC, i386. I don't know if it's
 important, but I didn't create a swap partition (I'm planning to
 change this).

 If someone could light me, I'd be very grateful.

 Here is the script:

 #!/bin/sh

 IFS='
 '

 file=file

 for line in ` ${file}`; do

   fields=`printf '%s' ${line} | sed 's/[^   ]//g' | wc -m`
   fields=$((${fields} + 1))

   if [ ${fields} -eq 1 ]; then
   printf '%s' ${line}
   else
   for field in `jot ${fields}`; do
   max_width=`cut -f ${field} ${file} | awk '{ l = 
 length($0); if
 (l  m) m = l } END { print m }'`
   width=`printf '%s' ${line} | cut -f ${field} | awk 
 '{ print
 length($0) }'`

   printf '%s' `printf '%s' ${line} | cut -f 
 ${field}`

   if [ ${field} -lt ${fields} ]; then
   for i in `jot $((${max_width} - ${width}))`; 
 do
   printf '.'
   done
   fi
   done
   fi

   printf '\n'
 done



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread bofh
On 8/5/07, Tobias Weisserth [EMAIL PROTECTED] wrote:
 Hi there,

 What a crappy article. Whoever gives a sh*t about what that guy
 wrote, I don't know.

Well, there's also the fact that Theo lost part of the $2mil grant
from Darpa because of his outspoken opinions.  If US$2mil wasn't
enough to buy Theo's vote for the war, I have to wonder how much AMD
gave OpenBSD to be able to buy Theo's note to [EMAIL PROTECTED]  Maybe that's
why AMD's stock went down so much :)


-- 
This officer's men seem to follow him merely out of idle curiosity.
-- Sandhurst officer cadet evaluation.



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Jeremy Huiskamp

On 5-Aug-07, at 4:50 PM, chefren wrote:


OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
  By David Marcus, 2007-08-05 03:41:29
  Section: Technology, Topic:

  I formerly had a great deal of respect, bordering on admiration, for
Theo deRaadt's refusals to compromise his open source principles,  
even in

the face of stiff opposition. Although he has occasionally gone
over-the-top, recommended some frankly very dubious changes to  
OpenBSD,

and is regularly arrogant (which is even more annoying because he's so
often right!), he's always remained consistent in his devotion to the
cause of GNU/Free Software.

http://www.kuro5hin.org/story/2007/8/2/15233/84896



Oh yeah, because if there's anything Theo's proven during the  
lifespan of OpenBSD, surely it's that he's available to the highest  
bidder and he's willing to say or not say anything to keep the money  
coming.


That was an amusing Sunday afternoon diversion but, all-in-all, I'd  
rather have my 10 minutes back.




Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Peter N. M. Hansteen
[EMAIL PROTECTED] (Peter N. M. Hansteen) writes:

 This looks very much like something which was hosted at blogspot.com
 last week. Somebody on #OpenBSD found it, most people found it

and found it for me again, just now: http://rolloffle.blogspot.com/.
looks like pretty much the same text.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.datadok.no/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Rusty
Thanks for your comments. I have added your response to the story.


--R


On Sun, 2007-08-05 at 15:06 -0600, Theo de Raadt wrote:
  OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
 By David Marcus, 2007-08-05 03:41:29
 Section: Technology, Topic:
  
 I formerly had a great deal of respect, bordering on admiration, for
  Theo deRaadt's refusals to compromise his open source principles, even in
  the face of stiff opposition. Although he has occasionally gone
  over-the-top, recommended some frankly very dubious changes to OpenBSD,
  and is regularly arrogant (which is even more annoying because he's so
  often right!), he's always remained consistent in his devotion to the
  cause of GNU/Free Software.
  
  http://www.kuro5hin.org/story/2007/8/2/15233/84896
 
 Too bad the author of that article is totally lying.  Neither I or the
 project have no donation relationship with AMD.
 
 The only donations the project ever got from AMD were three prototype
 AMD64 machines.
 
 Two were given to us before the AMD64 had even shipped to the public,
 so that they could benefit from us running on AMD64 cpus.  They were
 desktop machines with Athlon HX processors at 1.6GHz.  One is in
 Sweden, the other in Calgary.  One nice thing about those machines is
 that the BIOS does no self tests, and therefore boots really really
 fast.
 
 The third machine was a quad-cpu Opteron machine the size of a fridge,
 but that was quite a bit later, and it was surplus to us.  I think
 these were called Melody machines, or a name similar to that.
 
 I am sure that we've had more hardware donations from Intel.  I am
 also sure we've had WAY MORE donations from VIA/Centaur, even yet.
 
 I'd love to know that there have been more donations from AMD.  If
 there had been, perhaps we could spend them on a hackathon in the
 future.
 
 It's amazing how people these days can just invent commentary out of
 their ass, and have thousands of people read it and change their bias.
 It's slander, that's exactly what it is, and I ask that the editors
 take that article down and force some sort of apologize for it.



Re: iBGP: losing routes after eBGP flap

2007-08-05 Thread Ronnie Garcia

Claudio Jeker a icrit :

On Fri, Aug 03, 2007 at 07:56:02PM +0200, Toni Mueller wrote:

Hi,

I've got a setup on two i386 family PCs with 4.1-stable which includes
the following:

 Internet 1 - p1 - r1 -- r2 - p2 - Internet 2

r1 and r2 have an iBGP session running, and the Internet connections go
to different ISPs, running eBGP on each (r1-p1, r2-p2). I receive full
routes from both ISPs mentioned, and have announce all in my iBGP
configuration (this is the default, too, but anyway...). Today, I had
to take one line down for testing, thus ending the corresponding eBGP
session (r1-p1). When the line came back up, it was collecting starting
to collect routes from p1 again, as one would expect, but at the same
time dropping routes from r2, leaving some 300 routes from the iBGP
peer (r2) left. On r2, everything looks normal, it receives a full
table from both r1 and p2. So, on r1, I tried to bgpctl nei r2
refresh, but to no avail.

What gives?


This is more or less expected. iBGP session only transmit eBGP pathes that
are valid and best for the router. So on r2 you have all the iBGP routes
from r1 and r2 has no reason to send something back to r1 because his
routes are not better than the ones from r1.


I was observing this behiviour you are describing until yesterday, when 
i re-installed my two border routers to 4.1, then updated to 4.1-stable.


My two borders have now the full tables from each other (iBGP), plus the 
full route from the peer it's attached to (eBGP).


[EMAIL PROTECTED]:~# bgpctl sh sum 



Neighbor ASMsgRcvdMsgSentOutQ  Up/Down 
State/PrefixRcvd

TRANSIT-11  99584   1212 0 20:09:29 222366
IBGP 7  91488  96015 0 20:09:29 223170

[EMAIL PROTECTED]:~# bgpctl sh sum
Neighbor ASMsgRcvdMsgSentOutQ  Up/Down 
State/PrefixRcvd

TRANSIT-24 289859   4204 0 2d22h02m 223141
IBGP 7 192558 301618 0 20:17:45 222315

They both have two route to every network :

*3.0.0.0/8   149.6.80.149   100 94101 4 701 703 80 i
I 3.0.0.0/8   85.31.195.9100 0 1 3356 701 
703 80 i


*4.0.0.0/8   149.6.80.149   100 94001  3356 i
I 4.0.0.0/8   85.31.195.9100 0 1 3356 i

This is not a problem for me, but i had to let you know

Best,

--
Ronnie Garcia r.garcia at ovea dot com



apachectl configtest rc.conf?

2007-08-05 Thread L. V. Lammert
Is there a reason $RCFLAGS is omitted from configtest in apachectl?

Currently:

configtest)
if $HTTPD -t; then
:
else
ERROR=8
fi
;;

Should be: ??

configtest)
if $HTTPD $RCFLAGS -t; then
:
else
ERROR=8
fi
;;



Yaifo on a Server with fBSD preinstalled...

2007-08-05 Thread sebastian . rother
Hi everbody,

I would like to get a OpenBSD installed on a box where a FreeBSD 6.2 is
currently installed.

I thought about using Yaifo like I did many times before.
I just have to face a problem with FreeBSD.:

My HDD is ad4s1 and I would like to use dd to simply overwrite the HDD
with yaifo.fs but I can't. I get a permission denied (as root!) if I try
it.

I tried:

ad0, ad4, ad4s1, ad4s1c.. all the same.

Seriously: Somebody knows how to get RID OF THAT DAMN fBSD and get a
OpenBSD at the Box? Inserting a CD is no choice because the Box is about
14000 miles away.

Seriously: if root can't write a Image to the HDD (as root) the
system is just fucked up and the concepts are braindead But propably
I'm lacking leet fBSD skills here...

So has somebody more fBSD experience to advise me how I can (without
serial consoele nor rescue linux..) I simply apply a Image to the HDD?

A simple dd if=yaifo.fs of=/dev/ad4s1 or so would be great!

I asked about 4 people already. Either we're all too stupid or there's
something we all missed...


Kind regards,
Sebastian



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Clint Pachl [EMAIL PROTECTED] wrote:
 Andris wrote:
  On 8/5/07, Jacek Masiulaniec [EMAIL PROTECTED] wrote:
 
  On 4 Aug 2007, at 19:31, Andris wrote:
 
  Hi, I'm writing a set of small utilities as scripts, and I got a
  segmentation fault working on one of them.
 
  The script is suppoused to align text with spaces. Say you have
  this file:
 
  Foo1\tFoo2
  Br\tBar2
  Baz
 
  Where \t are horizontal tabs. My script would replace the tabs with an
  adequate number of spaces to align foo2 and bar2.
 
  Writing replacement for column -t, huh?
 
  Jacek
 
 
  Didn't know about it :P But I'll do it anyway, cause I want it to be a
  standard and portable script.
 

 I believe column(1), including the -t option, is very standard. It has
 been around for over 20 years and is included in all the BSDs. I believe
 it is also in many of the major Linux distros too.

 Don't reinvent the wheel arbitrarily.

 See also: sed(1), awk(1), expand(1), colrm(1), paste(1), cut(1),
 printf(1), and shell's set command

 That should take care of most of your text processing needs.

 -pachl


Standard as in only based in SUS utilities and their behavior.



Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Otto Moerbeek [EMAIL PROTECTED] wrote:

 On Sat, 4 Aug 2007, Andris wrote:

  Hi, I'm writing a set of small utilities as scripts, and I got a
  segmentation fault working on one of them.

 I tried running your script but it did not produce any seg faults.
 Do you have example input that causes a seg fault?

 -Otto

 
  The script is suppoused to align text with spaces. Say you have this
file:
 
  Foo1\tFoo2
  Br\tBar2
  Baz
 
  Where \t are horizontal tabs. My script would replace the tabs with an
  adequate number of spaces to align foo2 and bar2.
 
  Right now it works with a file named file in the working directory.
  Of course this is only temporal.
 
  The problem is that I get a segmentation fault when I run it. That
  never happened to me with a shell script. And I can't see where should
  be a problem.
 
  I'm running OpenBSD 4.1-stable, GENERIC, i386. I don't know if it's
  important, but I didn't create a swap partition (I'm planning to
  change this).
 
  If someone could light me, I'd be very grateful.
 
  Here is the script:
 
  #!/bin/sh
 
  IFS='
  '
 
  file=file
 
  for line in ` ${file}`; do
 
fields=`printf '%s' ${line} | sed 's/[^   ]//g' | wc -m`
fields=$((${fields} + 1))
 
if [ ${fields} -eq 1 ]; then
printf '%s' ${line}
else
for field in `jot ${fields}`; do
max_width=`cut -f ${field} ${file} | awk '{ l =
length($0); if
  (l  m) m = l } END { print m }'`
width=`printf '%s' ${line} | cut -f ${field} |
awk '{ print
  length($0) }'`
 
printf '%s' `printf '%s' ${line} | cut -f
${field}`
 
if [ ${field} -lt ${fields} ]; then
for i in `jot $((${max_width} -
${width}))`; do
printf '.'
done
fi
done
fi
 
printf '\n'
  done
 
 

Yeap, it segfaults here with:

aTbTc
daaaTe
fs

Upper case T are horizontal tabs. It makes OpenBSD freeze too :S



Re: Yaifo on a Server with fBSD preinstalled...

2007-08-05 Thread Nick Guenther
On 8/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi everbody,

 I would like to get a OpenBSD installed on a box where a FreeBSD 6.2 is
 currently installed.

 I thought about using Yaifo like I did many times before.
 I just have to face a problem with FreeBSD.:

 My HDD is ad4s1 and I would like to use dd to simply overwrite the HDD
 with yaifo.fs but I can't. I get a permission denied (as root!) if I try
 it.

Is this maybe because that disk is currently mounted?



Re: ifconfig problem - Botched upgrade?

2007-08-05 Thread Greg Thomas
On 8/4/07, L. V. Lammert [EMAIL PROTECTED] wrote:
 At 10:40 PM 8/4/2007 +0100, Stuart Henderson wrote:
   # ifconfig
 
 add -A to show all aliases.

 Bingo - I must have missed that somehow!!


Also note this from the hostname.if man page:
net alias 10.0.1.15 255.255.255.255

Not having the /32 subnet mask may be why the alias is showing in
ifconfig output but the primary address isn't.

Greg

-- 
Ticketmaster and Ticketweb suck, but everyone knows that:
http://ticketmastersucks.org

Dethink to survive - Mclusky



Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD

2007-08-05 Thread Jacob Yocom-Piatt

Theo de Raadt wrote:

OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
   By David Marcus, 2007-08-05 03:41:29
   Section: Technology, Topic:




snip slander, nyah


http://www.kuro5hin.org/story/2007/8/2/15233/84896



Too bad the author of that article is totally lying.  Neither I or the
project have no donation relationship with AMD.

The only donations the project ever got from AMD were three prototype
AMD64 machines.

...
It's amazing how people these days can just invent commentary out of
their ass, and have thousands of people read it and change their bias.
It's slander, that's exactly what it is, and I ask that the editors
take that article down and force some sort of apologize for it.

  


it's so amazing that it makes you ask the question: who funds the person 
who authored it? i could name a few guesses based on the who benefits? 
question here but would rather not... ;). speculate amongst yourselves.


i felt the earlier story about linus was overtly dismissive of the 
issues raised. it tastes like shillery.