openbsd-misc mailing list

FromSubjectsort iconDate
Uwe Dippel
Re: Real men don't attack straw men

Thanks, Matthew, for some balances in this thread.
I don't see a need to reconcile the two sides. (It would be good if that
was possible, though.)

RMS wrote, why in his personal opinion, he does not recommend the use of
OpenBSD. And some p*** at him. What a shame ! 'Freedom' is not only
one's choice of software, but also one's choice of an own opinion.
It would serve this list and the people on it well, to allow RMS to voice
his own opinion. And, if in personal disagreement, argue. Like some
act...

Dec 10, 4:13 pm 2007
Rob Lytle
Re: boot hangs at "setting tty flags"

A temporary hack:

I changed the following in /etc/rc:

echo 'setting tty flags'
#ttyflags -a

Previously it wasn't commented out. Now who knows what can of worms
this hack will open up.

Rob.

--
"Emancipate yourself from mental slavery, none but ourselves can free
our minds" Bob Marley, Redemption Song

Dec 10, 7:35 pm 2007
Rob Lytle
boot hangs at "setting tty flags"

Hi,

I decided to CVSUP this morning and compiled the kernel. Unlike
yesterday, the boot hung right after the filesystem mounts/checks. I
thought maybe I had better be in sync with Userland, but make build
did nothing to rectify the situation.
I was very careful in making new /dev's, and also merging /etc/ So I
am at a total loss. The computer requires a hard
reboot so I can't generate any output to look at.

Thanks, Rob.

--
"Emancipate yourself from mental slavery, none but ourselves c...

Dec 10, 5:59 pm 2007
Charles Price
Re: Strange line in the routing table after carp failover?

I've been looking into this some more. Are there any issues which
CARP/OpenBGPd when machines in the CARP group do not have an IP address of
their own - ie. they have only a shared CARP address?

I find that in this situation, when the CARP master fails the backup router
correctly becomes master and re-establishes BGP sessions. However, the CARP
shared IP address appears in the routing/arp table bound to the localhost
interface. This creates a really nasty routing loop.

'route -n show -inet' ...

Dec 10, 5:49 pm 2007
Henning Brauer
Re: Strange line in the routing table after carp failover?

yes,that is the result of games carp plays with routes (which it
shouldn not, imo, but anyway). it should finally work as advertised in
-current even with unnumbered carpdevs.

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Dec 10, 6:41 pm 2007
Charles Price
Re: Strange line in the routing table after carp failover?

Hi Henning,

Thanks for the quick response. I will update to -current tomorrow and let you
know how I get on.

All the best,

Charlie

Dec 10, 6:55 pm 2007
badeguruji
complete working ssl config for newbees..... Notes

After doing a lot of head banging, i was able to get it working (so far)

# openssl version
OpenSSL 0.9.7j 04 May 2006
# uname -a
OpenBSD ironhost.fistofiron.com 4.2 GENERIC#375 i386
#

this setting causes lot of errors, hence i have commented it.
#prompt = no # this option is generating lot of errors.

I referred my sites especially: http://www.faqs.org/docs/securing/chap24sec196.html

below is working fine:

#
# cat openssl.cnf
#
# OpenSSL example configurat...

Dec 10, 5:23 pm 2007
Daniel Ouellet
drift in ntpd may not catch up on bad clock and keep slipping.

Hi,

Looking a the code, I am trying to understand something on some servers
that just don't stay sync in the latest kernel (current).

I see some changes were done to the drift, and a few other things.

What is really the logic in the daemon to actually send a sync message
and more importantly to write the /var/db/drift file to then start to
adjust the clock.

I am asking, because looks like some clock drift more then the
correction done to it.

I can see the clock get sync for may be 1 o...

Dec 10, 5:07 pm 2007
Sean Cody
Re: drift in ntpd may not catch up on bad clock and keep sli...

I've seen this happen too but ended up just shutting off ntpd entirely
and croned an rdate in it's place.

In my case the clock goes WAAAAAAY out and even when I fix it it flys
way out on the next NTP interval.
Even if I restart NTPD the damned thing flies way out again a while
later.

I'm sure the clock is totally screwed on this machine but ntpd didn't
help _AT ALL_ just made things worse.
A cron'd rdate is keeping things in check now that I've turned off
ntpd (waiting to replace the ...

Dec 10, 5:31 pm 2007
Henning Brauer
Re: drift in ntpd may not catch up on bad clock and keep sli...

you log snippet actually shows ntpd/adjtime coping fine, the offset is
getting smaller.
you probably want to look into -s to compensate for the gigantic
initial offset.

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Dec 10, 7:27 pm 2007
Otto Moerbeek
Re: drift in ntpd may not catch up on bad clock and keep sli...

Some archs use timecounter code now for the clock. That code has a lot
of benefits, but the range of clock drifts that can be compensated for
is not very big. I have an experimental diff here that might solve

I would really have to look into the code to see if it's feasible to
start adjusting frequency when not synced. Currently I do not think it
will work without some rewriting. I am also worried the complexity of
the code would increase, or some oscillating effect would be

Yes, you can create...

Dec 10, 5:44 pm 2007
Daniel Ouellet
Re: drift in ntpd may not catch up on bad clock and keep sli...

Thanks Otto,

That diff definitely help and fix the problem of clock that drift more
then what's allow to be corrected.

I tested it on two systems, both running current

OpenBSD 4.2-current (GENERIC) #0: Mon Dec 10 17:39:46 EST 2007

And the results are great. Sync fairly fast and stay sync and also more
importantly will actually be able to write the 'ntpd.drift' and then
keep going nicely.

See details in both test cases below from start to full sync and written
of the ntpd.drift file....

Dec 10, 7:43 pm 2007
Daniel Ouellet
Re: drift in ntpd may not catch up on bad clock and keep sli...

Keeping it simple is always best. I did however as a test create a drift
file, not sure it very accurate as number, but close and the box sync
pretty quickly and still stay in sync. So, there is definitely a case
where it might be needed to create one to start with I guess. I do not
know if that file is updated after the fact however, but there is a way

Will do.

Daniel

Dec 10, 5:52 pm 2007
Constantine Kousoulos
Re: font problem with OpenBSD 4.2 [SOLVED]

That did the trick Martynas, thanks a lot!

It seems that OpenBSD 4.2 decided not to include these fonts in the base
system (i can understand why ;).

Many thanks,
Constantine

Dec 10, 2:19 pm 2007
Daniel Ouellet
not to use pool.ntp.org setup in default configuration.

I had some issues with my master ntp server not getting in sync to well
and all other equipment sync to it, get very often deny updates because
of source out of sync. This master sync about 2 thousands other time
devices, witch is not a big load by any mean what so ever.

Then looking at it more, I saw some source getting out of sync, etc.

Then looking at the reference at ntp.org, I came across this:

http://www.pool.ntp.org/vendors.html

Quote "You 'must absolutely not use the default pool.n...

Dec 10, 1:11 pm 2007
Nick Guenther
Re: not to use pool.ntp.org setup in default configuration.

Well what are you going to change it to? OpenBSD is used globally.
Perhaps an extra step in the installer, or something implied from
setting the timezone, but you can't presume where it will be used like
that.

-Nick

Dec 10, 1:29 pm 2007
Christopher Vance
Re: not to use pool.ntp.org setup in default configuration.

Precisely. I have a machine in the US which runs on an Australian
timezone. Automatically setting ntp peers to any subset is going to be
wrong somewhere.

--
Christopher Vance

Dec 10, 6:06 pm 2007
Daniel Ouellet
Re: not to use pool.ntp.org setup in default configuration.

Lets just drop this. There will be argument on each side and the fact is
that if users want to be sensitive to what is asked of ntp.org for using
them, each users can make the changes to what make sense to them.

Again, just for the record, beat me as much as you may like, I can take
it. The only intention was there in my original email, to be sensitive
to what was asked to be done for using the ntp.org pool, as to be a good
Internet citizen if you want. Do, as you see fit.

I recall there w...

Dec 10, 6:38 pm 2007
Daniel Ouellet
Re: not to use pool.ntp.org setup in default configuration.

That is sure 100% true. I was just trying to be sensitive to the request
of the ntp.org itself asking not to do so. There is multiple zone and as
such it would be nice to pick on, just like we pick the timezone when we
install the OS, may be it might be a good idea to also pick the zone for
the ntp at install time no? It might be possible to tie the timezone
selection to what would make more sense for the ntp zone as well I think.

Just like oyu say, it's not possible to know where the system ...

Dec 10, 2:29 pm 2007
Henning Brauer
Re: not to use pool.ntp.org setup in default configuration.

sure, and at the same time, we cann add a question wether you prefer
console text in yellowon black and panics in red and bikesheds in green
and....

we're not going to follow their bullshit. pool.ntp.org is a sensible
default.

--
Henning Brauer, hb@bsws.de, henning@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Dec 10, 5:02 pm 2007
Nick Guenther
Re: not to use pool.ntp.org setup in default configuration.

It's fair to follow "their bullshit" (if you can even call it that) if
they're the ones providing the service you're relying on, isn't it?
What's the worry? That who uses OpenBSD will be trackable through ntp
by what pool they use?

-Nick

Dec 10, 6:05 pm 2007
Daniel Ouellet
Re: not to use pool.ntp.org setup in default configuration.

I only pass what I saw as a request of their service we are using. No
need to beat me over it.

Men, you need to get some rest these days. Looks like you are in a bad
mood with everyone these days.

Does the IPv6 got to you that much?

Relax men...

It wasn't intended as an offense to you or anyone else!

Best regards,

Daniel

Dec 10, 5:20 pm 2007
Chad M Stewart
Re: not to use pool.ntp.org setup in default configuration.

So perhaps the OpenBSD project could apply for a "vendor zone".
Application is linked to on that page as well.

Either way, thank you Daniel for the tip, I'll make the change in my
site42.tgz file set and retro my existing boxes.

-Chad

Dec 10, 4:36 pm 2007
Stuart Henderson
halt -p: Stopped at gettick+0xec: inb $0x40,%al

I've got a ServerWorks-based Fujitsu-Siemens Xeon box. At 'halt -p'
(with or without acpi) the following happens (no panic).

Any suggestions?

# halt -p
/etc/rc.shutdown in progress...
/etc/rc.shutdown complete.
sycing disks... done
Stopped at gettick+0xec: inb $0x40,%al
ddb> tr
gettick(d116d000,4,186a0,3e8,d116d000) at gettick+0xec
i8254_delay(3e8,0,4,fffffebf) at i8254_delay+0x11
ahd_reset(d116d000,0,804010,dab27eb0,d0202251) at ahd_reset+0xae
ahd_shutdown(d116d000,2e9b,dab27e...

Dec 10, 1:06 pm 2007
Stuart Henderson Dec 10, 1:32 pm 2007
Richard Stallman
Real men don't attack straw men

It looks like some people are having a discussion in which they
construct views they would find outrageous, attribute them to me, and
then try to blame me for them.

For such purposes, knowledge of my actual views might be superfluous,
even inconvenient. However, if anyone wants to know what I do think,
I've stated it in various articles in http://www.gnu.org/philosophy/.
In particular, see http://www.gnu.org/philosophy/freedom-or-power.html.

One question particularly relevant for this list is wh...

Dec 10, 11:18 am 2007
Marc Espie
Re: Real men don't attack straw men

You do realize that that specific stance is *completely* hypocritical.

You do not recommend OpenBSD because its ports system states upfront
that there *are* non-free pieces of software that works under it.

But you recommend Linux distros, even though every one out there knows
there are *more* pieces of non-software that work in it.

Even though Linux contains hooks to allow for binary blobs, or is careful
to stay compatible with binary drivers from nvidia and ATI for people to
choose from.
...

Dec 10, 6:21 pm 2007
Martin Schröder
Re: Real men don't attack straw men

Richard, do you still remember the 2004 FSF awards?
http://www.fsf.org/news/fsaward2004.html
"Theo's leadership of OpenBSD, his selfless commitment to Free Software ..."
Why don't you ask Theo, whom you once praised, about OpenBSD?

Best
Martin

Dec 10, 4:26 pm 2007
Jason Beaudoin
Re: Real men don't attack straw men

RMS,

..maybe you should look into the OpenBSD project, methods, and the end
result - not necessarily to promote OpenBSD in some way, because I
don't believe anyone here sees value in that - but to educate
yourself, rather than speak from what someone else has commented on,
or little bits of cursory research. I think it's difficult getting a
sense of what OpenBSD stands for without having used the OS itself, or

the ultimate freedom is that of free choice. As I've seen, the OpenBSD
developers have...

Dec 10, 3:54 pm 2007
Steve Shockley
Re: Real men don't attack straw men

Is the list at:
http://www.gnu.org/links/links.html#FreeGNULinuxDistributions
the list of operating systems that meet your criteria? It appears that
gNewSense includes LAME in binary format, and BLAG "recommends" it at
https://wiki.blagblagblag.org/Lame in much the same way OpenBSD does.
In fact, BLAG suggests other unfree programs, such as unrar
(https://wiki.blagblagblag.org/Unrar), even noting that the software is
non-free.

Since I have time to rant but don't have time and resources to d...

Dec 10, 1:45 pm 2007
Marco Peereboom
Re: Real men don't attack straw men

What you recommend is quite boring what is not boring is your lack of
research into this topic. It's ok to not know what you are talking

OpenBSD is by far the most free OS in the landscape. Everything that
ships with it is free or else it won't be distributed with it. There is
not a single open source OS out there that is more careful than OpenBSD
on licensing, copyrights and frivolous patents. We actually have

Unlinke linux OpenBSD does not contain proprietary firmware blobs in the
distr...

Dec 10, 12:59 pm 2007
Jacob Yocom-Piatt
Re: Real men don't attack straw men

marco, you're forgetting that this is what "freedom" is all about in the
US: i tell you what free is... and what the definition of is is...

claiming products that use binary blobs and GPL-ed code are more free
than BSD or ISC stuff is about the dumbest thing i've heard on this list
lately, and there's plenty of retarded statements that circulate here.
the pot calling the kettle black never fails to put a smile on my face ;)

--

Dec 10, 1:55 pm 2007
Doug Fordham
Re: Real men don't attack straw men

Has nothing to do with what "freedom is all about in the U.S."...how
about keeping this apolitical and on subject; that being RMS's
comments as an individual.

Dec 10, 3:43 pm 2007
Jacob Yocom-Piatt
Re: Real men don't attack straw men

how about keeping this on subject and including my directly relevant
comment in your response claiming that my response is not relevant:

"claiming products that use binary blobs and GPL-ed code are more free
than BSD or ISC stuff is about the dumbest thing i've heard on this list
lately, and there's plenty of retarded statements that circulate here.
the pot calling the kettle black never fails to put a smile on my face ;) "

the initial comment is an obvious tie-in to the second one i made: b...

Dec 10, 4:31 pm 2007
Doug Fordham
Re: Real men don't attack straw men

Actually, I'm not claiming that your response is irrelevant and In
fact, I agree with your points concerning the rms spin doctor
techniques and misleading comments. The only contention was with the
"this is what freedom is all about in the US".

RMS' comments really do not relate to what freedom (whatever
definition one chooses to employ) is all about; in the US or anywhere
else. RMS's philosophy is "citizenship" neutral, and in order to
properly counter his (misguided) concepts, opposing arguments...

Dec 10, 6:50 pm 2007
Matthew Dempsky
Re: Real men don't attack straw men

You're misrepresenting his argument. RMS does not recommend OpenBSD
because it distributes binary firmware without source code and
includes non-free software in the ports system. His position has
nothing to do with BSD/ISC vs. GPL.

That being said, the OpenBSD developers have given their arguments why
they include firmware and non-free ports, and RMS has given his
arguments why he doesn't recommend systems that do. I don't see this
thread leading to reconciliation of the two sides.

Dec 10, 6:20 pm 2007
Nick Guenther
Re: Real men don't attack straw men

Um, OpenBSD is the only common OS that is actively against blobs. See
http://www.openbsd.org/lyrics.html#39

Sir, it was brought up that the linux distributions you do suggest do
often include in their ports systems non-free software. See e.g.
http://marc.info/?l=openbsd-misc&m=119726055819074&w=2
What do you say to that? Was that a lie or a mistake?

Respectfully,
-Nick

Dec 10, 1:12 pm 2007
Steve Shockley
Re: Real men don't attack straw men

He's referring to firmware binaries, not software that runs on the host
machine's processor. Browse around under:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/microcode/

For example, the Atmel radio firmware's license is compatible with the
BSD license, but incompatible with the GPL because it can be
redistributed as object code only.

Dec 10, 1:57 pm 2007
Reyk Floeter
Re: Real men don't attack straw men

yes, but it is so stupid, the firmware is loaded into the device and
not running in OpenBSD itself.

in the past, the microcode was normally stored in non-volatile memory
on the hardware device, let's say a NIC, but now most of the devices
require to load the firmware into RAM. it is cheaper to do it this
way, flash chips are just too expensive for the mass market. mostly
all of the new ethernet and wireless cards require to load an external
firmware image into the _card's_ RAM, it wouldn't be p...

Dec 10, 3:58 pm 2007
Gilles Chehade
Re: Real men don't attack straw men

... and oddly enough it is the most activist of the _GNU_/Linux dudes who
did not care enough about your efforts in ar5k to raise his voice for the
freedom of software and yet feels the urge to teach us all a lesson about
the true meaning of free software.

Gilles

Dec 10, 1:47 pm 2007
sebastian.rother
Uncommon behavior after installing -current

I noticed some crazy behavior lately,

The box wich I use and where I installed current (for some days) "freezes".
Well it doesn't stop at all.....

I can switch the consoles but I can't input anything (like commands).
The SSH stays open....

The behavior is not related to load and it's pretty much "random".
Sometimes the PC works for36hrs and more and sometimes it "freezes" after
40 minutes.

So the SSH stays open. I had "top -s1" open in a Shell and the time just
"stoped" in there. Later the ...

Dec 10, 11:56 am 2007
Christopher Linn Dec 10, 12:26 pm 2007
sebastian.rother
Re: Uncommon behavior after installing -current

Sure :)
Just wanted to know if it's known. Not that I may missed a mail at misc@
or so where it was discussed and a solution presented.

--
dmesg
I recompiled (again) to ensure the kernelimage is ok (but did no CVS up so
the code is identical).
--

OpenBSD 4.2-current (GENERIC.MP) #0: Sun Dec 9 19:52:06 CET 2007
root@raven:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU 2140 @ 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC...

Dec 10, 1:02 pm 2007
Chris Eidem
ACX on Thinkpad A31

Before I submit a bug report, I want to make sure that I'm doing this right
and that it really is the card/laptop/OS combination and not just me.

I'm attempting to start a DWL-650+ on a Thinkpad A31 with the following
command:
ifconfig acx0 -bssid -chan media autoselect -nwid -nwkey up

and the system panics and drops me into ddb. I have the trace, ps and dmseg
ready, but I want to make sure that I've done this correctly. This card works
with other hardware and OS's, but I haven't tried this com...

Dec 10, 11:14 am 2007
Claudio Jeker
Re: ACX on Thinkpad A31

Seems like a cardbus related issue (like interrupt establishment).
Getting a dmesg and panic trace could help to identify the issue.

Dec 10, 12:00 pm 2007
Renaud Allard
Spamd sending packets from 127.0.0.1 to the outside?

Hello,

I am running OpenBSD 4.2-stable
I just noticed that spamd is trying to send ack packets from 127.0.0.1 to the IP
of the sender when it hits the greytrap IP. I don't feel this is wanted
behavior. Has anymone any idea of why it is doing so? It doesn't seem to be due
to the "set skip on lo" as even when I remove it, it spamd continues to do so.

Here is the symptom:
tcpdump -ttt -n -e -i em0 host 127.0.0.1

tcpdump: listening on em0, link-type EN10MB
Dec 10 15:01:43.176753 00:15:17:19:0e:be...

Dec 10, 10:14 am 2007
Peter N. M. Hansteen
Re: Spamd sending packets from 127.0.0.1 to the outside?

ACK packets are part of any two-way TCP/IP communication. Spamd's
mission with respect to blacklisted hosts is to waste spammers' time
by replying slowly. If you primarily want to blackhole rather than
greylist and tarpit, spamd is not the tool you are looking for.

--
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]: 8...

Dec 10, 10:42 am 2007
Renaud Allard
Re: Spamd sending packets from 127.0.0.1 to the outside?

I know that ack packets are one part of the two-way TCP/IP communication.
However sending ack packets with an originating IP of 127.0.0.1 to any non local
(! 127.0.0.0/8) IP shouldn't happen, as they will never get back to (or at least
be accepted by) the sender. So in my mind it is not normal behaviour or it is
some kind of bug.

Dec 10, 11:24 am 2007
Paul de Weerd
Re: Spamd sending packets from 127.0.0.1 to the outside?

On Mon, Dec 10, 2007 at 04:24:03PM +0100, Renaud Allard wrote:
| Peter N. M. Hansteen wrote:
| > Renaud Allard <renaud@llorien.org> writes:
| >
| >> I just noticed that spamd is trying to send ack packets from 127.0.0.1 to the IP
| >> of the sender when it hits the greytrap IP. I don't feel this is wanted
| >> behavior. Has anymone any idea of why it is doing so?
| >
| > ACK packets are part of any two-way TCP/IP communication. Spamd's
| > mission with res...

Dec 10, 11:50 am 2007
Paul de Weerd
Re: Spamd sending packets from 127.0.0.1 to the outside?

Hi Renaud,

On Mon, Dec 10, 2007 at 04:50:36PM +0100, Paul de Weerd wrote:
| Have you actually seen these packets live on the wire ?

I re-read your original mail, and it turns out you have seen these
packets on the wire. Sorry for the too-quick-answer ;P

| I doubt it. In general (the recommended setup), pf redirects incoming
| requests to 127.0.0.1:8025, the port where spamd is listening *on
| localhost*. Replies such as ACK's etc. *MUST* originate from
| 127.0.0.1:8025 in this case. PF will ta...

Dec 10, 12:02 pm 2007
previous daytodaynext day
NoneDecember 10, 2007None