openbsd-misc mailing list

FromSubjectsort iconDate
Ross Cameron
Issue compiling a program on OpenBSD

I'm quite well aware of that,... I've been building embedded UNIX-like
systems for 10years now.

The main reason I want to use the OpenBSD kernel is I'm interested in
using OpenBGP/OpenOSPF and really don't fancy porting both to
GNU/Linux and also brokering a truce between Theo and Linus, so that I
can do this port without license conflicts.
(Mmmmmmmmm wonder what the chances are that I could get that right in
the first place???)

It appears that the error I was experiencing earlier is due to G...

Mar 27, 11:22 am 2008
Jon
Separate traffic go over certain interfaces gateways?

With multiple gateways specified, how can one go about executing
programs while explicitly specifying only a certain subnet be used by
said program?

Example:
two DSL lines, have all bit torrent traffic go through the first
interface to the first DSL line and all other traffic to the other.

Mar 27, 12:30 pm 2008
Daniel Anderson
Re: Separate traffic go over certain interfaces gateways?

Here is an excerpt from a pf.conf I have doing exactly what you're asking. Use
this as a base. You will need to add more and adjust some to your setup,
bittorrent_tcp_ports is obviously not defined here. And some of the options
for the rules may not really be needed, but they remained after I set it up
and have not tried to remove them yet. Just remember that for incoming
traffic you do allow on a given interface, you need a "
reply-to ($dsl_X_if $dsl_X_gw) " after the interface name to let the...

Mar 27, 4:54 pm 2008
Sebastian Reitenbach
problem with ipsec

Hi,

in /etc/ipsec.conf I have the following configured:

ike active esp from 192.168.14.12/24 to 172.22.34.0/16 \
local $our_gw peer $remote1_gw \
main auth hmac-sha2-256 enc 3des group grp2 \
quick auth hmac-sha2-256 enc aes group modp1024 \
psk "AKey"

ike active esp from { 192.168.10.0/23 } to { 111.173.28.0/20,
10.128.22.0/23 } \
local $our_gw peer $remote2_gw \
main auth hmac-md5 enc 3des group grp2 \
quick auth hmac-md5 enc aes grou...

Mar 27, 1:43 pm 2008
Ross Cameron
Re: Issue compiling a program on OpenBSD

Basically I want to strip the system down as much as possible,
practically nothing would be good.
My GNU/Linux appliances ran on a 4MB system image.

On Thu, Mar 27, 2008 at 4:16 PM, Stephano Zanzin

Mar 27, 10:30 am 2008
Girish Venkatachalam
Re: Issue compiling a program on OpenBSD

Please don't insult OpenBSD by comparing with linux. ;)

Have you ever seen the source code of OpenBSD kernel?

Have you considered how the kernel build system is organized?

Have you seen the linux kernel source?

What do you mean by "practically nothing would be good"?

And oh by the way OpenBSD is not a kernel, it is an operating system and
many people still dunno the difference between the two.

You have the choice of putting "practically nothing" by choosing only
those distributions you...

Mar 27, 6:20 pm 2008
bofh
Re: Issue compiling a program on OpenBSD

Linux fanbois are annoying. So are OpenBSD fanbois.

On Thu, Mar 27, 2008 at 6:20 PM, Girish Venkatachalam <

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity." --
Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted." -- Gene ...

Mar 27, 7:44 pm 2008
Ross Cameron
Issue compiling a program on OpenBSD

Hi there all,...

I used to maintain a small semi-embedded GNU/Linux system at my
previous employer and I really enjoyed that.
But now I'd like to try my had at building a dedicated OSPF/BGP
route/firewall appliance based on OpenBSD.

I have a particular liking for the pkgutils package manager written by
Per Linden and would like to build my own OpenBSD using this package
manager (yeah I'm bored).
'Cept I'm having an issue compiling it,...

I've installed OpenBSD 4.2-release with no updates as y...

Mar 27, 9:16 am 2008
Jacob Yocom-Piatt
rackmount servers: seeking "green" compromise

have a number of rackmount machines of various sorts in service at the
moment and, based on the relatively low load on them, am interested in
finding equipment that is more optimal from the environmental /
consumption point of view.

machines that are currently in use are a smattering of dell, hp, sun and
via c3 / c7 rigs. it is hard not to notice the substantial noise, power
draw and heat that comes from the dell and hp rackmount systems and i
would like to see if better rackmount server choi...

Mar 27, 9:04 am 2008
Steve Shockley
Re: rackmount servers: seeking "green" compromise

The first two are almost mutually exclusive with the third. 1U/2U
servers have to move enough air to cool the expected maximum
disk/CPU/RAM combination running at 100% 24/7. That means lots of small
fans, and small fans are noisy.

If you require 1U and performance isn't a primary requirement, an old HP
DL320 G1 may work. They're substantially quieter than a DL360 (or
modern 1U boxes) and have a single P3 socket 370. Newer DL1xx servers
may be quiet as well, but I don't see many of tho...

Mar 27, 12:22 pm 2008
Nico Meijer
Re: rackmount servers: seeking "green" compromise

A shop in Belgium offers this machine:
http://www.ahead-it.be/shop/index.asp?LANG=GB&cat=servers&NR=SCS213

Perhaps it may inspire you.

Bye... Nico

Mar 27, 10:20 am 2008
K.R. (Randy) Lewis
Sudden file system oversize / out of space (corruption) . RA...

I was happily building a butt-load of 'ports', on my new 4.3 MP system
and then BAM! No space.

Here's where it went in the woods:
---
.
. building, and building, and building...
.
.
Link to /usr/ports/packages/i386/cdrom/python-expat-2.4.4p6.tgz
===> Verifying specs: ssl panel m crypto c util z readline pthread
ncurses stdc++
===> found ssl.11.0 panel.3.0 m.2.3 crypto.13.0 c.43.0 util.11.0 z.4.1
readline.3.0 pthread.9.0 ncurses.10.0 stdc++.44.0
===> Installing python-2.4.4p6...

Mar 27, 8:06 am 2008
Otto Moerbeek
Re: Sudden file system oversize / out of space (corruption) ...

Too be more precise, since some include files changed, you MUST use
the proper rebuiling steps:

1. clean your kernel build dir.
2. run config
3. make depend && make
4. reboot
5. clean /usr/obj
6. make obj and make build

Or use s snap to save you the trouble.

-Otto

Mar 27, 9:14 am 2008
Otto Moerbeek
Re: Sudden file system oversize / out of space (corruption) ...

Looks like your userland is out of sync.

Mar 27, 9:06 am 2008
Markus Hennecke
Wrong console speed in amd64 kernel

Hello misc,

I am just in the process of moving one of my servers from i386 to amd64.
My webhoster provides me with a serial console over a ssh connection
with the speed set to 57600 baud. The following boot.conf works for the
bootloader:

set tty com0
stty com0 57600

But after the -current kernel is loaded and the main func is executed
the serial speed is reset to 9600 baud, which gives me output like this:

`````````````````````
com0: 57600 baud
boot>
booting hd0a:/bsd: 4415664+107...

Mar 27, 6:42 am 2008
Peter_APIIT
File System Corrupted Due to didn't Umount cause by power fa...

Hello all expect openbsd user, i have encountered this incident before where
previously i can solve it easily but not this time.

My openbsd is running for 24 X 7 but my mother going off the power and i
didn't know about that for few times. After that, file is not properly
unmount.

OpeBSD asked me to check fschk_ffs manually but i cannot read man pages
anymore but before i can. It just stop scrolling at 13%.

Enter shell path name or return to sh : I press enter
Terminal type ? i enter tty...

Mar 27, 6:31 am 2008
Vinicius Vianna
Re: File System Corrupted Due to didn't Umount cause by powe...

Hi,

I didn't get this right..

Have you got to the shell prompt after the crash?
If so, did you tried to run "fsck /dev/rwd0a"? Try it, it may show some
problems, or in the boot after the crash the system will show you what
partition have been compromised.
Just run the fsck /dev/rwd0X for all partitions, if there's many errors
and you wanna to take some risks, try "fsck -y /dev/rwd0a" or any other
dev, this will answer yes on all question on fsck, but be careful.

Send more information so ...

Mar 27, 7:33 am 2008
Nick Holland
Re: File System Corrupted Due to didn't Umount cause by powe...

what did you do to change that? It should prompt you with a

you can't type random things there, at least the wrong random things.
Assuming it is an i386 or amd64 with a monitor attached, it would

(no error message, but we can pretty well guess what it would be)

AGAIN, typing random stuff isn't how you solve computer problems.
The command is "fsck" or "fsck_ffs" (either will work), and that
command was told to you in the error message (which was probably
scrolled off the screen due to your ...

Mar 27, 7:22 am 2008
Raimo Niskanen
Re: File System Corrupted Due to didn't Umount cause by powe...

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Mar 27, 6:44 am 2008
Uwe Dippel
RAMdisk, not for boot, how?

I don't know if this makes a lot of sense or any, but I was thinking that
flash memory doesn't like too many writes. So I was thinking of creating
one or two RAMdisks, for all those temporary reads and writes that I need,
and only store the final result on the flash.
The whole system will run from flash, true, but the directory with plenty
of writes and processing should run in RAM. So I'd like to create a drive
in RAM and then mount this drive as for the busy directory.

Does this make sense? If ye...

Mar 27, 6:09 am 2008
Girish Venkatachalam
Re: RAMdisk, not for boot, how?

You need memory file systems for that.

It is very easy under OpenBSD.

man mount_mfs

You have examples in Andreas Bihlmaier's liveCD writeup here.

http://openbsd-wiki.org/index.php?title=LiveCD

You typically have to create a tar zip of the mount file system and
untar it in the RAM disk and you are set.

It is a good idea to mount /tmp and /var on RAM disks.

-Girish

Mar 27, 6:36 am 2008
Die Gestalt
Re: RAMdisk, not for boot, how?

Speaking of RAMdisks, have you checked out Gigabyte i-RAM? Might be
the right stuff for your need.

On Thu, Mar 27, 2008 at 11:36 AM, Girish Venkatachalam

Mar 27, 9:14 am 2008
Stuart Henderson
Re: pfstatd crash?

symon is reasonably popular. I don't think OpenBSD's snmpd supports
a PF MIB yet, but now we have it, that's an obvious place to add this,
much more useful than custom work in net-snmp.

Mar 27, 5:13 am 2008
RD Thrush
amd64 -current kernel hang

I have experienced kernel hangs w/ -current snapshots on Athlon 64 X2
and Sempron boxes. Both GENERIC and GENERIC.MP snapshots exhibit the
hang. Once hung, the boxes don't respond to pings; however, keyboard
LEDs toggle as expected and I can enter ddb from the keyboard.
kernel/5777 [1] has the full problem report including dmesgs and ddb
logs. The hang is reproducible by building the eclipse-sdk port.

This problem has developed fairly recently (within the past month or
so).

A similar box (w/ ...

Mar 27, 4:24 am 2008
Theo de Raadt
Re: BSD Documentation License?

You can't do that. You added nothing of value, so you don't deserve
copyright, since your conversions do not count as being substantial.

Conversions of files remain under their existing rights, which means,
they are free, since the copyright expired. Adding a copyright to
them is a lie.

Mar 27, 3:57 am 2008
Ted Walther
Re: BSD Documentation License?

There were no files. I made up my own music file format. I took some
hundred year old sheet music, and based on how I interpet it, I composed
my particular music files. From my music files, I automatically
generate PDF sheet music, midi, ogg, and mp3. The PDF sheet music is
not identical to the original sheet music.

The music itself is out of copyright. But in the legal field, there are
cases that have established that copyright on public domain material can
apply to things like page numbers.
...

Mar 27, 4:26 am 2008
Darrin Chandler
Re: BSD Documentation License?

Then as I understand it your interpretation is correct: the original
works are in the public domain, and your performance and derived works

If you truly wish to relinquish ALL rights then public domain is exactly
that. This is obviously the most free.

If additionally you wish to retain attribution only then
/usr/src/share/misc/license.template is a great choice. This is probably
the most free except for public domain.

If it bothers you if Microsoft uses your performance in a Vista ad then
yo...

Mar 27, 10:27 am 2008
Stefan Krah
Re: BSD Documentation License?

Printed sheet music of public domain content is indeed copyrightable.
The copyright does not apply to the content, but to the presentation.
This makes sense, because (at least with classical music) a lot of
effort goes into transcribing, researching the original manuscripts,
adding performance hints and typesetting [1].

I think that the above is also valid if you transcribe from old
sheet music instead of the original manuscripts, so I'd say that
you could copyright the PDF.

Since the midi, og...

Mar 27, 7:16 am 2008
Ted Walther
Re: BSD Documentation License?

I have been generating midi, ogg, pdf, and mp3 files of some old,
out-of-copyright music. I have been releasing them and the source that
generates them under the Creative Commons license.

Do you recommend the 3 term BSD license for this particular use instead?
Or would the 2 term one be better?

Amen brother. Tell it like it is.

Ted

--
There's a party in your skull. And you're invited!

Name: Ted Walther
Phone: 604-435-5787
Email: ted@enumera.com
Skype: tederific
...

Mar 27, 12:51 am 2008
Janne Johansson
Re: BSD Documentation License?

The BSD license is about using copyright, for which I believe you have
no claim in the media files you mention.

Mar 27, 2:48 am 2008
Fairs2Go Fuar DanıÅ...
Fuar Danışmanınızdan Size Özel Teklifler

Fuar Dan}~man}n}zdan Size Vzel Teklifler

Bu iletiyi d|zg|n gvremiyorsan}z t1klay1n1z
<http://www.fairs2go.com/emails/13032008.htm>

<http://www.fairs2go.com>

<http://fairs2go.com/newsite/?p=42>

<http://www.fairs2go.com>

<http://fairs2go.com/newsite/?p=42>

<http://fairs2go.com/newsite/?p=42>

<http://fairs2go.com/newsite/?p=42>

<http://fairs2go.com/newsite/?p=21>

<http://fairs2go.com/newsite/?p=21>

<http://fairs2g...

Mar 26, 11:01 pm 2008
raven
OpenBSD && !GSoC

Hi, like subject, i would to know why OpenBSD do not partecipate to
Google Summer of Code. Exist a reasonable reason?

I already search on FAQ but no answer about this :)

[raven]

Mar 26, 9:15 pm 2008
Kenneth R Westerback
Re: OpenBSD && !GSoC

The OpenBSD Foundation applied, but it was a last minute thing when
someone proposed a project they wanted to do. And we did not get
accepted. Perhaps next year.

.... Ken

Mar 27, 6:39 am 2008
Chris Kuethe Mar 26, 9:31 pm 2008
Damien Miller
Re: OpenBSD && !GSoC

I wanted to get some candidate projects proposed for OpenSSH but I wasn't
organised in time.

-d

Mar 26, 9:25 pm 2008
Calomel
Re: ssh queue rules

I believe your "low" queue is for ssh interactive traffic only. The "high"
queue is for bulk traffic like scp or sftp transfers.

If you watch your queues in pftop (page 8) you should see ssh traffic like
typed commands in the "low" queue and the rest goes to the "high" queue.

Hope this helps

PF Config "how to" (pf.conf)
http://calomel.org/pf_config.html

--
Calomel @ http://calomel.org/
Open Source Research and Reference

Mar 26, 8:58 pm 2008
Lord Sporkton
Re: ssh queue rules

I was watching my queus via pfctl -vvs queues
Per the man page

" when a second one is specified it will instead be used for packets
which have a TOS of lowdelay and for TCP ACKs with no data payload"

so i believe bulk would go to low as its the first queue listed, and
interactive would go to high as its the second queue listed.

--
-Lawrence
-Student ID 1028219

Mar 26, 9:03 pm 2008
clifford bailey
Re: pfstatd crash?

Thanks Daniel, I'll give that a go!

I'm surprised no-one has come across this before, is pfstatd not widely
used? I'm looking at using custom snmp traps to gather this information
instead, but that also looks like a non-standard method. What do most
people use for pf performance monitoring?

Cliff.

Mar 27, 4:43 am 2008
K K
Re: Internship (Summer,Chicago,Paid)

We have two summer internships, one of which is specifically available
even if you do not have the specific Data Security skills called for,
just a willingness to learn and the ability to commute to downtown Chicago.

Kevin

(P.S. Details below.)
--
M3W5R($1A=&$@4V5C=7)I='D@=&5A;2!H87,@='=O('!O<VET:6]N<R!L:7-T
M960@;VX@8V%R965R8G5I;&1E<BYC;VTL"2`@"G-E87)C:"!F;W(@3W!E;D)3
M1"`O($-H:6-A9V\N("!9;W4@;6%Y(&%P<&QY(&]N('1H92!W96)S:71E+"!O
M<B`@("`)("`*9F]R('!R:6]...

Mar 27, 6:39 pm 2008
Jules Desforges
Re: Problems with (em) on Nexcom NSA 1180

I now know the reason for the intel network cards failing to initalise
on OpenBSD.

OpenBSD doesn't have a driver for the bridge chipset (PLX) therefore
cannot utilise the LAN ports on board. I have checked the PLX website
and their doesn't appear to be any support for OpenBSD.

Mar 27, 5:43 am 2008
previous daytodaynext day
NoneMarch 27, 2008None