openbsd-misc mailing list

FromSubjectsort iconDate
Douglas A. Tutty
sanely designed hardware?

After enjoying the Xen thread, and the comments about the horrid mess
that is x86 hardware design, I'm wondering what hardware on which
OpenBSD will run _is_ well designed.

Who makes a hardware architecture that is open (enough) that OpenBSD can
run fully on it, that has good performance. I'm assuming that its not
COTS an so will cost more than x86.

Note that I'm not asking: who makes good hardware on which we can then
run Xen. I'm talking about a solid piece of hardware on which to run
one an...

Oct 24, 7:00 pm 2007
Jon
Problem with disk size

Hello all!

I have an OpenBSD-box with two 250G drives inside (and some SCSI). Trying
to use one of the drives as a whole gave this from disklabel

$ sudo disklabel -p g wd0
[snip]
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 233.8G 0.0G unused 0 0 # Cyl 0
-486343
d: 233.8G 0.0G 4.2BSD 2048 16384 16 # Cyl
0*-486343*

but df -h says:

/dev/wd0d 7.8G 7.4G 4.2M 100%

and I cant crea...

Oct 24, 7:01 pm 2007
metajunkie
new dell install completed, but...

all,

I'm happy to read whatever I need to, in order to get this system
running. I come before this list humbly. Please don't flame my ass
with RTFMs :)

I have a new Dell Optiplex 745 with an Intel Core 2 Duo.

this system completed the install. Now on boot it hangs after:
wskbd1: connecting to wsdisplay0

the only issue I had during install was that the on-board nic would
not grab a dhcp address - but the pci nic did.

how can I troubleshoot this further? I followed the FAQ for the
ins...

Oct 24, 6:44 pm 2007
Can Erkin Acar
Re: About Xen: maybe a reiterative question but ..

When all this crap/risky software is running on separate boxes, you only
have
the network as an attack path to the other crap. This path is well
understood,
and there are established policies, best practices, tools that you can
use to
control and monitor your network.

Now, when you put all this crap onto the same hardware, you remove the
well known
and trusted hardware from underneath the already crappy setups, and
introduce a
(possibly crappy/unknown) software layer that claims to provide is...

Oct 24, 2:42 pm 2007
Matthew Weigel
Re: About Xen: maybe a reiterative question but ..

Contrariwise, there is *some* security benefit to running all the
services virtualized, compared to running all the services on the same
machine but *not* virtualized. In that case, though, you're not getting
any improved resource utilization, and you're going with a very
complicated and unaudited system (with arbitrary code execution bugs
coming to light *this month*) to achieve "improved security."

You can achieve a lot of the promises of virtualized servers (with
fewer moving parts, and more...

Oct 24, 3:29 pm 2007
Jason Dixon
Re: About Xen: maybe a reiterative question but ..

It's a very simple concept.

There is *nothing* in any virtualization software that makes having it
*more secure* than not having it at all.

Period.

---
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

Oct 24, 4:27 pm 2007
Daniel Melameth
pgt/Netgear WG511

I have, what appears to be, v1 of this card, but I get the following from
dmesg--even when booting from the latest snapshot of cd42.iso:

Intersil, ISL3890, -, - (manufacturer 0xb, product 0x3890) "Intersil Prism
GT/Duette" rev 0x01 at cardbus1 dev 0 function 0 not configured

I'm not certain how to update pcidevs and related to accurately reflect this
(I noticed product 0x3890 is already in pcidevs.h), so some advice is
appreciated.

Thanks.

Oct 24, 2:32 pm 2007
Joe S
Question about 4.2 Package availability

I just wanted to confirm the following:

If I've installed OpenBSD 4.2 and I need a specific package (in this
case, net-smpd) which is not available on the CD, I must wait until
4.2 is officially released. Then I can get the packages I need from
the ftp site.

Oct 24, 2:13 pm 2007
Nico Meijer
Re: Question about 4.2 Package availability

Yes.

(Or you build it from ports. Still, 4.2 is very much unreleased at this
moment.)

HTH... Nico

Oct 24, 2:30 pm 2007
N.J. Thomas
multimode fiber card recs for OpenBGPD

I have two servers that I would like to setup to run OpenBGPD for our
border routers.

I need to find a supported PCIe (not PCI-X) fiber card that runs
multi-mode and a supported PCIe (not PCI-X) fiber card that runs
single-mode. (One of our providers is coming to us with mm, the other
with sm.)

A dual port card is preferable, but we will take single port cards if
those are the only ones available.

Any recommendations? The supported cards page on the OpenBSD site only
lists PCI-X cards.

tha...

Oct 24, 1:18 pm 2007
Henning Brauer
Re: multimode fiber card recs for OpenBGPD

i have some pcie-ems, there are pcie-bnxs, and certainly others. fibre
limits your options. i usually terminate wan fibres on a switch and use
copper or plain sx (really just copper these days) to the routers - has
the disadvantage that you don't see link state changes directly, has
the advantage of added flexibility and just connecting two machines for
redundancy reasons (details differ a lot depending on environment).

that said, it shouldn't be too hard to find a pcie-sx card. lx could
ge...

Oct 24, 4:25 pm 2007
Claudio Jeker
Re: multimode fiber card recs for OpenBGPD

http://www.transtec.co.uk/ they have em(4) based cards with sx and lx (lx
only as pci-x for some strange reason). The also offer msk(4) cards with
sx and lx but those are pci-x only.

Oct 24, 5:25 pm 2007
Claes Ström
spamdb expire value gets default value instead of spamd_flag...

Hi,

When testing greylisting with synchronizing we noticed the following
strange behavior:
Machine A (10.100.64.234) is the machine we receive mail through.
Machine B (10.100.64.233) is synced through spamd

Check out the expire value on machine A after the state have gone from
Grey to White!
It has taken the default 36 days ahead instead of our 2 hour (testvalue)
from spamd_flags!!
But Machine B (the passive "brother" which gets synced through
spamd-sync) behaves as it should!?

spamdb (A)...

Oct 24, 10:42 am 2007
Lars Noodén
Wake on LAN, tcpdump weirdness with two ethernet interfaces

I'm noticing some strangeness in conjunction with WOL(*), which seems
not to be working and am not sure where the problem lies(**).

The machine launching the packets has two interfaces, re0 and em0, with
the receiving machine connected to re0. The machine does not wake up
either using port 9 or port 40000.

A bit of strangeness in the diagnostics is that tcpdump appears not to
register and packets from or to re0. It does not catch any packets on
re0, even from nmap -P0 -e re0 -T5 a.b.c.d

tc...

Oct 24, 11:41 am 2007
Frank Denis
System time 100% on Vmware Fusion

Hello,

On Vmware Fusion (tested with Fusion 1.1 on a Core2duo imac), OpenBSD
(-current) is very slow on anything that is not just a pure computation task.

While compiling something, or while running MySQL, PgSQL, Apache or
Sendmail, "top" always shows that the CPU spends 99% or 100% of its time in
the system state.

This is of course with the vic(4) and mpi(4) drivers. But this is always
the case anyway, even without any disk or network I/O.

Does anyone know what might be wrong?
...

Oct 24, 9:20 am 2007
Heinrich Rebehn
ifstated(8) missing if state changes?

Hi list,

it seems that ifstated(8) sometimes does not see all events and thus
fails to change state.

My setup consists of 2 boxes with 5 carp interfaces. CARP works fine, on
box "frw1" all are MASTER and on box "frw2" all are in BACKUP state.
When i bring down all carp interfaces on frw1, all get MASTER on frw2.
However, ifstated(8) on frw2 does not change state.

root@frw2 [~] # cat /etc/ifstated.conf

init-state auto
carp_up = "carp0.link.up && carp1.link.up && carp2.link....

Oct 24, 9:02 am 2007
Pau Amaro-Seoane
current and fluxbox

Hi,

I made a fresh install of current some five days ago and when I tried
to install fluxbox I get:

--------------------
# pkg_add fluxbox
Can't install imlib2-1.4.0: lib not found png.6.0
Dependencies for imlib2-1.4.0 resolve to: png-1.2.18, bzip2-1.0.4,
libid3tag-0.15.1bp0, jpeg-6bp3, libungif-4.1.4p1, tiff-3.8.2p0
Full dependency tree is
png-1.2.18,bzip2-1.0.4,libid3tag-0.15.1bp0,jpeg-6bp3,libungif-4.1.4p1,tiff-3.8.2p0
png.6.0: partial match in /usr/local/lib: major=5, minor=2 (bad major)
...

Oct 24, 7:31 am 2007
Stuart Henderson
Re: current and fluxbox

At the moment, you need to build your own from ports or wait a
while. There have been some changed libraries recently and it will

Yes - as well as actually building the packages, they must be
transferred to the ftp servers, which can be up to 4gb or so for
some arch, and this takes some time.

Oct 24, 7:46 am 2007
Pau Amaro-Seoane
Re: current and fluxbox

thanks for the answer!

Pau

Oct 24, 8:00 am 2007
Christian Weisgerber Oct 24, 7:23 am 2007
Linus Swälas
Re: LDAP users

First of all post to the right list. ;) This would fit better in
the misc-list.

Now, for your question; what you're looking for is in the
/etc/login.conf file. There is a man-page for it, login.conf(5)

In /etc/login.conf you have a line that says:
auth-defaults:auth=passwd,skey:

You'd want to change that line to something like:
auth-defaults:auth=ldap

OpenBSD doesn't include an LDAP module though so you'd have to write
your own, details for how to do so is in the login.conf(5) man page.
...

Oct 24, 7:29 am 2007
Dorian Büttner
Re: LDAP users

login_ldap no longer in ports?

Oct 24, 3:45 pm 2007
Marc Balmer
Re: LDAP users

unfortunately this is not enough. the user ids and groupd ids must also
be present on the machine. this means that you have to add the accounts

Oct 24, 7:20 am 2007
Christian Weisgerber
Re: : Network Time Synchronization using timed or ntpd or a ...

If you send -current ntpd SIGINFO, it will syslog its status.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Oct 24, 5:43 am 2007
Raimo Niskanen
Re: : : Network Time Synchronization using timed or ntpd or ...

Swell!

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Oct 24, 6:17 am 2007
Insan Praja SW
HW selection for openBSD based web/Multimedia server and NAS

Guys,
I'm currently in-charge in assembling a generic multimedia server (like
youtube) but in much more smaller scale. Before we invest on something big
on server platform like ibm, sun, hp or dell, we're thinking of using
intel or tyan serverboard.
In this testing environment, we will simulate web/multimedia server and
Network Attached Storage.
I'm really looking forward for an advice on motherboard or H/W selection,
and maybe some expert who has experience with similar setup/environment ...

Oct 24, 4:34 am 2007
Henning Brauer
Re: About Xen: maybe a reiterative question but ..

seems?
to whom?
to people who never wrote a line of code and don't understand how
things work?

--
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

Oct 24, 4:18 am 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

Virtualization provides near absolute security - DOM0 is not visible to
the user at all, only passing network traffic and handling kernel calls.
The security comes about in that each DOMU is totally isolated from the
the others, while the core DOM0 is isolated from any attacks.

There is also a big benefit when maintaing VM images - restoring a VM in
the case of corruption/attach/whatever is as simple as reloading a copy of
that image and connecting to system data on the local SAN.

Irrespective of...

Oct 24, 9:31 am 2007
Dave Anderson
Re: About Xen: maybe a reiterative question but ..

In theory, you're correct.

In practice there are (at least) four questions which all must be
answered in the affirmative for this to be true:

1) Does the hardware architecture provide all of the hooks needed to
implement virtualization?
2) Does the specific hardware correctly implement that architecture?
3) Does the virtualization software architecture properly implement
virtualization?
4) Does the specific software correctly implement that architecture?

Answering any of those questio...

Oct 24, 11:45 am 2007
Henning Brauer
Re: About Xen: maybe a reiterative question but ..

dream on.
that is what marketing wants to tell you.
in fact the isolation is incredibly poor.

--
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

Oct 24, 11:12 am 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

Sorry, the kernel hacking world is pretty far removed from 'enterprise
reality' <not that it's a bad thing - I often wish it were that simple>!!
In reality, there are tons of SMEs out there using MS Crap and other risky
software! The few security risks you cite for XEN are negligable by comparison.

Anything we can do to increase security, *including* setting up VMs (of any
flavor) is an improvement [that also increased hardware utilization].

Lee

Oct 24, 1:48 pm 2007
Theo de Raadt
Re: About Xen: maybe a reiterative question but ..

This last sentence is such a lie.

The fact is that you, and most of the other fanboys, only care about
the [that also increased hardware utilization]. The yammering about
security is just one thing -- job security. You've got to be able to
sell increased harwdare utilization in a way that does not hang you up
at the end of the day.

If people were saying:

"Yes, it increased hardware utilization, and the nasty
security impact might be low"

it would be fine.

But instead we have many...

Oct 24, 2:03 pm 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

That depends on your viewpoint. There certainly may be some issues at the
OS level (which have been mentioned previously), however the majority of VM
applications benefit from security *isolation*, which has nothing to do
with security issues of the underlying OS, and that was the viewpoint I was
communicating.

For example, say you have three departments within a company: Marketing,
Development, Production. Allowing each department to maintain their own
server instance allows each departmen...

Oct 24, 2:41 pm 2007
Darren Spruell
Re: About Xen: maybe a reiterative question but ..

This is called a "tangent." It has nothing to do with the reliable
security aspects of segmentation via virtualization.

The point you may try making here is that by segmenting your servers
into individual instances for each department, rather than having all
departments on a shared server, an attack against one department's
server doesn't affect the other. _In theory_, that's true. _In
reality_, this is only a surface assumption as without strong
segmentation at the network level to separate a co...

Oct 24, 3:27 pm 2007
Henning Brauer
Re: About Xen: maybe a reiterative question but ..

err, that is a very bad comparision. I am not aware of any "layer2
attacks" (you probably mean vlan hopping things) that work against any
half reasonable configured switch from the last 10 years.
heck, these days even everybody except cisco has sane defaults.
(well, I dunno about those cheap switches, admittedly)

this comparision is wrong on another basis: vlans are dead simple, just
a tiny and simple header before the ethernet segment. virtualization is

without bad config errors (that are ...

Oct 24, 4:16 pm 2007
Jason Dixon
Re: About Xen: maybe a reiterative question but ..

On Oct 24, 2007, at 4:16 PM, Henning Brauer <lists-openbsd@bsws.de>

Why does this continue to pop up in misc@ every year?

---
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net

Oct 24, 4:37 pm 2007
bofh
Re: About Xen: maybe a reiterative question but ..

I'm curious about this. Do you have any pointers I can go look up? Thanx!

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

Oct 24, 4:48 pm 2007
Theo de Raadt
Re: About Xen: maybe a reiterative question but ..

> The security benefits are at the application level, *NOT* at the OS level.

What hogwash.

The security benefits are at the "ability to buy a steak for dinner"
level.

You've already made the decision to decrease security by
de-compartmentalizing onto one physical box, so you are just thrilled
with the ability to decrease security more by de-compartmentalizing
the software further.

Oct 24, 3:46 pm 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

Quite the opposite!! A VM provides a safe, sane, decently
compartmentalized way to run a specific application domain. It's obvious
we have different viewpoints, but both are equally valid - your's from the
OS, mine from the application.

Lee

================================================
Leland V. Lammert lvl@omnitec.net
Chief Scientist Omnitec Corporation
Network/Internet Consultants www.omnitec.net
================================================

Oct 24, 4:31 pm 2007
Kevin Stam
Re: About Xen: maybe a reiterative question but ..

You have failed to satisfactorily explain why running a specific application
in a VM is more secure then running it in a standard OS. It's nonsense that
you think it's more secure that way. It saves a lot of money, yes -- you
don't necessarily want a separate box just to run an application - but
that's not the debate here. The debate is about security, and I'm amazed
that you think a virtual environment is somehow more secure then a dedicated
non-virtual environment.

Oct 24, 5:04 pm 2007
Theo de Raadt
Re: About Xen: maybe a reiterative question but ..

It's that extra 4MB of poo code, that is what makes it more secure.

It's slippery and sticky at the same time, so that the application
attackers slip and slide and fall into the page boundaries.

If the actual hardware let us do more isolation than we do today, we
would actually do it in our operating system.

The problem is the hardware DOES NOT actually give us more isolation
abilities, therefore the VM does not actually do anything what the say
they do.

While x86 hardware has the same pag...

Oct 24, 5:41 pm 2007
Jack J. Woehr
Re: About Xen: maybe a reiterative question but ..

I concur with this assessment and the discussion of actual x86 PC
implementation vs. 390 architecture which led up to it.

--
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527

Oct 24, 6:52 pm 2007
Daniel Ouellet
Re: About Xen: maybe a reiterative question but ..

I vote to add it to theo.c.

Thanks

Daniel

Index: src/usr.bin/mg/theo.c
===================================================================
RCS file: /cvs/src/usr.bin/mg/theo.c,v
retrieving revision 1.101
diff -u -p -r1.101 theo.c
--- src/usr.bin/mg/theo.c 28 Aug 2007 17:57:16 -0000 1.101
+++ src/usr.bin/mg/theo.c 24 Oct 2007 21:19:08 -0000
@@ -147,6 +147,7 @@ static const char *talk[] = {
"cache aliasing is a problem that would have stopped in 1992 if
someone h...

Oct 24, 5:19 pm 2007
Paul de Weerd
Re: About Xen: maybe a reiterative question but ..

On Wed, Oct 24, 2007 at 01:41:38PM -0500, L. V. Lammert wrote:
| For example, say you have three departments within a company: Marketing,
| Development, Production. Allowing each department to maintain their own
| server instance allows each department to have their own users, home
| directory configuration, samba (possibly) network config & authorization,
| separate file/print sharing domain, etc.
|
| That is simple not doable with a single OS, yet with a reasonable priced of
| h/w all ca...

Oct 24, 3:22 pm 2007
Matthew Weigel
Re: About Xen: maybe a reiterative question but ..

"Why"? Because that's what happens *anyway*.
--
Matthew Weigel
hacker
unique@idempot.net

Oct 24, 6:35 pm 2007
Theo de Raadt
Re: About Xen: maybe a reiterative question but ..

The ends justify the means, even if the means don't actually perform as

This has NOTHING to do with security. You are just saving pennies.

You did zero actual security assessment, so you are just talking out

You're so full of it. There is no security/isolation. You are making
it up out of thin air to justify the pennies you saved.

It's a total lie.

Oct 24, 2:57 pm 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

Huh? What does circular logic have to do with a simple statement? Running
different application domains on separate VMs provides isolation BETWEEN
those application domains. That's security by anyone's definition.

The fact is that the OS level security is *separate*, and could be an
issue has nothing to do with the point I'm making.

What if the client OS were Windoze? The security of that OS is crap, and
we all know it. Any sane sysadmin will have a good firewall in front of
that machine, whether...

Oct 24, 4:48 pm 2007
Theo de Raadt
Re: About Xen: maybe a reiterative question but ..

You must be more qualified with regards to the actual code than I am

The phrase "application domain security" is a cover-up statement that
means "I have already decided to run the multiple things on one box
because I am cheap, and I need to invent reasons why I can continue
doing so".

Oct 24, 5:31 pm 2007
L. V. Lammert
Re: About Xen: maybe a reiterative question but ..

I thought it was obvious, .. but I know you have beter things on your mind.

Believe what? OBSD is secure? I thought you were proud of the project?
Sheesh! If our leader doesn't believe OBSD is secure, we ALL better be
running for cover. Linux, anyone?

If you're saying that OBSD will never be modified to run AS a XEN
hypervisor, that's probably a true statement. No need to corrupt a decent

Sure they do. If I'm running Windoze as a guest OS, there are hundreds or
thousands of possible vul...

Oct 24, 5:59 pm 2007
Jeremy Huiskamp
Re: About Xen: maybe a reiterative question but ..

So you judge the security of the operating system by how many
(possibly brash) risks its developers are willing to take with it?
That's counter-intuitive. If I'm looking for security, I'd rather
get my software from a developer who isn't satisfied because (s)he is
more likely to work harder to improve it and be much more careful
while doing it. If confidence is all that matters, then heck, lets
get rid of all the privilege separation and other risk-minimizing
techniques because you...

Oct 24, 7:52 pm 2007
previous daytodaynext day
NoneOctober 24, 2007None