openbsd-misc mailing list

FromSubjectsort iconDate
Tobias Weingartner
Re: possible bug in CDROM recognition?

Having a slave on an IDE channel without a master is undefined behaviour.
IE: your machine was configured wrong. The fact that it worked with some
software was a fluke.

-Toby.
--
[100~Plax]sb16i0A2172656B63616820636420726568746F6E61207473754A[dZ1!=b]salax

Jan 2, 6:09 pm 2008
Alexey Vatchenko
Re: possible bug in CDROM recognition?

dmesg will shed some light on this.

--
Alexey Vatchenko
http://www.bsdua.org
E-mail: avv@mail.zp.ua
JID: alex.vatchenko@gmail.com

Jan 2, 5:53 pm 2008
Russell Gadd
possible bug in CDROM recognition?

I am a complete novice regarding OpenBSD. However...

I was going to ask for assistance as my new install of OBSD wouldn't
recognise the cdrom. However after much investigation I fixed it by changing
the "physical" position of the device from IDE slave on the secondary IDE
interface to master (in dmesg speak, from channel 1 drive 1 to channel 1
drive 0), as I noticed that it was configured as slave but there was no
master on this interface.

Windows98 and Debian Linux had no problem recognising the...

Jan 2, 5:36 pm 2008
Nicolas Letellier
Updated ports/packages in -stable/-release

Hello misc@,

I have a question :

If I want the last packages/ports, I use a -current system, with
-current ports tree. Last updates of softwares are in -current. On the
other hand, they're developpement versions,

If I want a *very* stable system (in production for example), I use
-release or -stable system. On the other hand, packages and ports are
not updated even it's necessary (for example, the last mozilla-firefox
is in 2.0.0.6 in ports tree -release and 2.0.0.10 in -current port tree...

Jan 2, 5:50 pm 2008
Ingo Schwarze
Re: Updated ports/packages in -stable/-release

Hi Nicolas,

please also read the FAQ on www.openbsd.org.

No, mostly wrong.
The ports in the -current ports tree are usually ports of stable
upstream releases. That's actually an established policy.

There are some exceptions where upstream development versions
get built by the ports tree, for example given any of the following
conditions:

- lack of any stable upstream distribution
- stable upstream distribution hopelessly outdated
and upstream development distribution reasonably s...

Jan 2, 7:54 pm 2008
Nick Holland
Re: Updated ports/packages in -stable/-release

That may be what you do, but you are generally wrong if that is your goal.

The goal is that the BEST version of OpenBSD is -current.
This goal is usually met.

The people who usually experience trouble with -current often can't
run -release/-stable at all, so no big loss. IF there is a bug in
-current and you don't find it, it may very well exist in the next
-release. The sooner bugs are found, the happier everyone is.

*The name -stable refers to the API and functionality, not to the
robu...

Jan 2, 7:51 pm 2008
Martin Schröder
Re: Updated ports/packages in -stable/-release

Search the archives.

Basically you are not paying the team enough.

Best
Martin

Jan 2, 7:26 pm 2008
Alexey Vatchenko
CDMA modem control utility

Hi!

Recently i started project ``CDMA modem control utility''. Currently it
partially supports two C-motech modems (CCU-550, CCU-650U). These two modems
are popular here at Ukraine (people.net.ua).

The program can do the following:
- Change/set/enable/disable PIN code.
- Send/receive SMS
- Manage phonebook
- Set modem modes

The code is BSD licensed, so you can use and reuse it :)
For all who wants it: http://www.bsdua.org/cdma.html

Thanks!

--
Alexey Vatchenko
http://www.bsdua.org
E...

Jan 2, 5:05 pm 2008
Nick Golder
Using PF to QoS on tun interface

I inherited a system that is attempting (poorly) to QoS traffic going
across a tun interface (which is being used by OpenVPN). Examples,
books, and ML suggest to tag on the internal interface ingress traffic
and QoS on the external interface egress traffic.

Since the traffic that I want to QoS doesn't really have an egress
interface to QoS on, I am trying to figure out a way to properly QoS
the traffic.

Here is a quick map on the traffic:

rl0 <--> tun0 <--> OpenVPN <--> rl1 ...

Jan 2, 2:17 pm 2008
johan beisser
Re: Using PF to QoS on tun interface

Treat the tun interface as a "normal" one. I recently had the same
issue, and simply adapted TCP ACK priority to the interface, and found
that worked fine. I'm currently testing a smaller MTU to help with
fragmentation.

Could you explain this again?

I've been doing foolish interface setup for a while now. My own
"privacy VPN" I have running to a co-located box looks a bit like this:

[internet] <--> [external interface] <--> [tun0] <--> [openvpn] <-->
[ex...

Jan 2, 3:30 pm 2008
viq
Cluebat and other hints required - how to figure out what ha...

I have a serial console set up on that box, and can make it drop to
ddb... But what next? I am still/again trying to figure out what's
happening when rtorrent is run, and the otherwise stable box does stop
responding after a while... But I need some help on how to get more
useful info out of the box.

Thanks in advance for any pointers.
--
viq

Jan 2, 8:16 am 2008
Markus Hennecke Jan 2, 8:06 am 2008
Seth Brundle
Able to access data on HD on platforms with different endian...

Hello list & happy new year,

due to some problems with a x86 machine I got here I have the problem of
accessing data on one of its hard discs. The machine runned OpenBSD 4.2, and
its first (system) HD died. I have a 500GByte SATA drive connected to it on
a dedicated controller, which contains a lot of my data.

As I need to access it ASAP, I thought of connecting it to my G4 Power Mac,
after I built in the Promise SATA HBA that was used in the PC (this device
will be operatable under OpenBSD a...

Jan 2, 7:34 am 2008
Marco Peereboom
Re: Able to access data on HD on platforms with different en...

Don't mix endianess on filesystems. It won't work.

Jan 2, 10:56 am 2008
Seth Brundle Jan 2, 11:31 am 2008
Chris
[OT] sendmail on dynamic IP

I got a test box at home I'm trying to setup sendmail in. I bought a
domain and host a website on that box. I get dynamic IP from my ISP
which gets updated via DynDNS for the website. I added the MX for my
domain with Google and it's been working fine (I can send receive
mail). But I want to setup sendmail & friends (clamav, mimedefang,
spamd etc.) to get familiar with them.

I understand that having a dynamic IP and not having a reverse DNS
working to mail.domain.com would put me in the block ...

Jan 2, 6:22 am 2008
Stuart Henderson
Re: [OT] sendmail on dynamic IP

$ host -t txt gmail.com
gmail.com descriptive text "v=spf1 redirect=_spf.google.com"
$ host -t txt _spf.google.com
_spf.google.com descriptive text "v=spf1 ip4:216.239.32.0/19 ip4:64.233.160.0/19 ip4:66.249.80.0/20 ip4:72.14.192.0/18 ip4:209.85.128.0/17 ip4:66.102.0.0/20 ip4:74.125.0.0/16 ?all"

if you're sending from your gmail.com address through it, you'll
probably have better luck using Google. otherwise, your ISP (it
can be fiddly setting up SMTP auth).

Jan 2, 6:35 am 2008
Chris
gnash: can't load library

I upgraded from 4.1 to 4.2 with X and upgraded gnash. Now when I go to
certain sites using Firefox I get the following in STDOUT -

/usr/local/bin/gnash: can't load library 'libavcodec.so.8.0'
/usr/local/bin/gnash: can't load library '/usr/local/lib/libcurl.so.5.0'
Child process exited with status 1024

Starting process: /usr/local/bin/gnash -v -x 8427142 -j 100 -k 100 -u
https://google.com/im/sound.swf -U https://google.com/?shva=1 -P
id=flash_object -P
pluginspage=http://www.macromedia.com/go/ge...

Jan 2, 4:24 am 2008
Markus Lude
Re: gnash: can't load library

Did you upgrade your other packages as well or only gnash? How did you

Update all the packages if not done yet.

Regards,
Markus

Jan 2, 8:27 am 2008
Unix Fan
Re: fvwm in base and repository with security issues?

Fluxbox is MIT licenced, it's dependencies are Imlib2, which is BSD licenced.. everything else is included in Xorg and is (AFAIK..) under a similar licence.

-Nix Fan. (Fvwm, IMHO is ugly..)

Jan 2, 2:46 am 2008
Douglas A. Tutty
Re: fvwm in base and repository with security issues?

I also forgot that Enlightenment seems to be under a suitable licence,
although probably too big to put in base.

Doug.

Jan 2, 10:19 am 2008
Marco Peereboom
Re: fvwm in base and repository with security issues?

Can we please stop this discussion?

Nothing is going to change in base X. All the other things you guys are
so called "proposing" are in packages/ports. Use them; that's why they
are there for.

Base is fine, leave it alone.

Jan 2, 1:59 pm 2008
Marc Balmer
Re: fvwm in base and repository with security issues?

* Douglas A. Tutty wrote:

enlightnment is development code that does not run stable. It is not

- Marc Balmer

Jan 2, 2:13 pm 2008
Marco Peereboom
Re: fvwm in base and repository with security issues?

Fluxbox is fugly, fvwm is awesome.

this discussion is very useful!

Jan 2, 10:47 am 2008
Marco S Hyman
Re: fvwm in base and repository with security issues?

Marco Peereboom writes:
> > -Nix Fan. (Fvwm, IMHO is ugly..)
>
> Fluxbox is fugly, fvwm is awesome.
>
> this discussion is very useful!

cwm (with the changes I've made :-) is looking nicer and nicer! I hope
to see these changes in the tree, soon.

// marc

Jan 2, 4:30 pm 2008
STeve Andre'
A clue about php5, please?

So I have spent some large portion of today puzzling over getting
php5 to work. This is on a i386-current system with packages
compiled from the ports tree as of 12/29.

Php5 installs just fine, and in fact running the test.php code in
a index.php file works if I go to server/account/index.php . I did
what the package said to do with regard linking the php5.conf
file. I also uncommented the AddType directive in httpd.conf and
restarted apache.

However I can't use imbedded php like

...

Jan 2, 1:20 am 2008
Antti Harri Jan 2, 1:28 am 2008
Richard Toohey
Re: A clue about php5, please?

Longer explanation ...

This one has stung me a number of times - seems short tags are no
longer the
default in PHP 5 (something about playing better with XML.)

http://en.wikipedia.org/wiki/PHP

You can get short tags to work if you change your php.ini ...

See short_open_tag entry right near the top of this page:

http://nz.php.net/manual/en/ini.core.php

... but you are *really* better off getting in the habit of using
long tags - it is the way the (PHP) world is going.

Unfortun...

Jan 2, 3:42 am 2008
the chefmaster
Link exchange with your site http://www.kittypee.com

Dear Webmaster,

My name is the chefmaster, and I run the web site www.LinuxCooking.com:

http://linuxcooking.com/

I recently found your site http://www.kittypee.com and am very interested
in exchanging links. I've gone ahead and posted a link to your site, on
this page:

http://linuxcooking.com/resources/links_uncategorized.html

As you know, reciprocal linking benefits both of us by raising our search
rankings and generating more traffic to both of our sites. Please post a
link to my site a...

Jan 1, 9:21 pm 2008
Michael Bibby
Problem while chroot python and modules in apache

Hi, all.

I use OpenBSD 4.2 -release and the default chrooted apache.

I copied all files python needed, and it works. but the modules
py-ldap doesn't work.

----
# tail -f /var/www/logs/error_log
Traceback (most recent call last):
File "/cgi-bin/msm/domain_list", line 5, in ?
import ldapoperation
File "/cgi-bin/msm/ldapoperation.py", line 4, in ?
import ldap
File "/usr/local/lib/python2.4/site-packages/ldap/__init__.py", line
23, in ?
from _ldap import *
ImportError: Can...

Jan 1, 10:59 pm 2008
Joerg Zinke
Re: Problem while chroot python and modules in apache

On Wed, 02 Jan 2008 10:59:27 +0800

did you copied openldap libs/files too?
afaik, py-ldap module is linked against them.

regards,

joerg

Jan 2, 7:09 pm 2008
Brian
k9copy

Anyone in the process of porting over k9copy from the freebsd ports tree?

Thanks,

Brian

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Jan 1, 9:43 pm 2008
Jacob Meuser
Re: k9copy

hmm, requires libhal and vamps. vamps only requantizes the mpeg
stream. tcrequant from the transcode package can requantize mpeg
streams. IIRC, vamps is based on the same code as tcrequant.

plus, requantizing isn't that great. rip the program streams and
then reencode with ffmpeg. I fit _Star Wars_ and _Blazing Saddles_
on one 4.7GB DVD by doing this, and they looked better than a
requantized _Star Wars_ that was too big to fit another title on
that DVD. you'll have to create a menu for dvd...

Jan 1, 11:33 pm 2008
Paul Greidanus
Re: [Fwd: Open-Hardware]
[Empty message]
Jan 2, 12:03 am 2008
marina
Re: [Fwd: Open-Hardware]

Most of us on this list are happy to see software and hardware that
is open source.

Might i most respectfully suggest that this is not the best venue to
promote this. We agree on a lot of points.

Dr Stallman i now see the dogged determination that has made you effective,
however i have to note that this is not the best venue to make this fight. I am
sure there are more companies out there you could help push to free their hardware
or software.

--- Marina Brown
Return-Path: <owner-misc+...

Jan 1, 10:37 pm 2008
Hannah Schroeter
Re: delete deleted data

Hi!

Thermite should do the work too. Hot enough to bring the material out of
the ferromagnetic temperature range, i.e. to lose its magnetization.

And nice special fx. *g*

Grinding leaves small pieces of still magnetized material where a
*very* determined (yeah, unlikely unless the data is worth *very*
much) attacker could try playing jigsaw puzzle.

Of course you could try combining a grinding and a demagnetizing
technique (for the latter I'm still partial with applying heat that
brings th...

Jan 1, 11:17 pm 2008
Siju George
Re: Real men don't attack straw men

MINOR CONFUSION?

With all the spin you are doing with your own words it is quite clear that

1) You don't know the facts

OR

2) You are a compulsive liar

OR

3) You have an agenda.

You are going through all these verbal gymnastics just because your
mail to misc@ was appropriately addressed by the people there.

While you still continue to confuse the masses who do not know the
details but just get excited when they hear FSF and GNU and RMS
the people at misc stated the facts with pr...

Jan 2, 4:05 am 2008
Richard Stallman
Re: Real men don't attack straw men

Richard, you are too stupid to go and learn FACTS before you open
your big fat lying mouth.

I am sure the readers can judge for themselves whether I am stupid.
They will certainly see I am not perfect. I had learned the facts
about OpenSolaris, but that was months before. By the time I did
that interview my memory was incorrect.

In addition, I thought that OpenSolaris was just a kernel, but it
looks like the question had in mind a whole system. This
miscommunication has the effect of ...

Jan 2, 5:54 am 2008
Theo de Raadt
Re: Real men don't attack straw men

Twice you called free things non-free, and once you called a non-free
things free.

Your memory was incorrect? I bet you make such a mistake again in a
few weeks.

Huh? OpenSolaris is just a kernel, and this helps you how? The
kernel is not free -- it never was. It has a couple of handful of
required drivers which are not included. It is not free, in any
sense. Yet you failed to do any research about this before you went

Someone like you is not allowed to spread mistruths like this in ...

Jan 2, 2:02 pm 2008
Douglas A. Tutty
Re: fvwm in base and repository with security issues?

To satisfy my own curiosity, looking at
www.en.wikipedia.org/wiki/Category:Free_X_window_managers which provides
links to 45 window managers for which there are wiki pages, I looked at
the licence for each and found that only xmonad, wmii, fluxbox, and
blackbox are licenced under BSD or MIT license.

Since I didn't look at the software itself, I don't know if any require
GPL libraries.

Just thought I'd FYI. I'm not making an argument either/any way.

Doug.

Jan 2, 12:29 am 2008
Lars Noodén
Re: router/firewall PF

There's also this one:
Firewalling IPv6 with OpenBSD's pf (packet filter)
https://solarflux.org/pf/pf+IPv6.php

IPv6 will be required in a number of governments starting this year.

-Lars

Jan 2, 11:16 am 2008
Vijay Sankar
Re: openldap with dbv4 crash

I hate to waste developer and port maintainer time, so apologize in advance
for this long message. Anyways, if there is anything useful I can do to help,
please let me know.

I am puzzled about why I don't seem to have any problems with OpenLDAP
2.3.33p2 on

kern.version=OpenBSD 4.2-current (GENERIC.MP) #0: Thu Dec 27 13:53:57 CST 2007
root@web1.sankars.local:/usr/src/sys/arch/i386/compile/GENERIC.MP

with

db-4.6.21 Berkeley DB package, revision 4
openldap-server-2.3.33...

Jan 2, 1:13 pm 2008
Daniel
Re: openldap with dbv4 crash

On Wed, 2 Jan 2008 11:13:26 -0600
Okay then:

./configure \
--prefix=/usr/local --sysconfdir=/etc --localstatedir=/var \
--enable-shared --disable-static \
--enable-rewrite --without-cyrus-sasl --disable-ipv6 \
--enable-ldap --with-tls=openssl

Basically no backends were compiled in except bdb,hdb,monitor,relay and
ldap.
But really, I don't think these configure options are relevant,
Can you try executing ldd(1) on slapd. Is it linked against the 4.6 db
libraries?

Daniel

Jan 2, 2:39 pm 2008
Liviu Daia
Re: openldap with dbv4 crash

[...]

(1) Historically, upgrading existing OpenLDAP databases to new formats
has always been a PITA;

(2) The 2.4 branch is still unstable; historically, previous branches
haven't become (somewhat) usable until about minor version 20; and
guess what: the new branch is not exactly less complex than the
older ones;

(3) Historically, none of the new brances have been backward compatible;
many applications don't support 2.6 yet.

Regards,

Liviu Daia

--
Dr. Livi...

Jan 2, 5:28 am 2008
Daniel A. Ramaley
Re: diff of the official FAQ

Exactly. About once a year i go back and reread the entire FAQ. Each
time i learn something new and refresh my memory on things i knew but

I think knowing how to find information is more useful than having
everything memorized without ever needing to look it up. Between work
and family and friends i'm expected to varying degrees to support
OpenBSD, Linux, Solaris, Mac OS X, and even Windows <shudder>. I can't
remember how to do everything on all those systems. But i can remember
how ...

Jan 2, 11:57 am 2008
Richard Toohey
Re: Help with Seagate STT3401A tape drive

[cut]

Can anyone help? I've had an offlist reply that makes it seem that
my tape commands are OK.

I'll take the tape drive out of this box and try it on another
machine / another OS, but was
hoping someone would recognise this tape drive (supplied by Dell with
the machine) or
give me some pointers as to what the underlying problem might be (is
it atapiscsi?)

Thanks.

Jan 2, 3:47 am 2008
Nenhum_de_Nos
Re: Perpetually Current

I have quite the same problem. my OBSD routers are usually old PII
boxes and doing this kind of upgrade on them is not trivial. other, I
have some remote routers I cant do this, so They run FBSD. I'd rather
use OBSD on my routers, but this thing of not been able to make 4.1
become 4.2 without a cdrom (as is recommended) makes me use OBSD only
in the closest routers. i'm not here to make comparissons from OSes,
or to make trouble. I just felt that would be good to say that if
anytime in OBSD this up...

Jan 2, 12:42 pm 2008
Ingo Schwarze
Re: Perpetually Current

Hi Matheus,

Saying "this kind of upgrade", you refer to the official upgrade
process, i presume?

The official upgrade process is completely trivial on any imaginable
kind of i386 Pentium II box, believe me. A Pentium II may seem old
to you, but for running a standard router, it is more than enough,
including the handling of the official upgrade process, of course.
The dmesg of my own three-leg (internal/dmz/Internet) statefully
filtering and NATing main router (saturating a 100 Mbit/s uplink,...

Jan 2, 3:57 pm 2008
Douglas A. Tutty
Re: Perpetually Current

There has to be a way without CD. Can't you put the 4.2 rd kernel on
the root filesystem and boot that then run the installer, pulling the
install sets via ftp? I suppose for remote units you need some sort of
remote shell (e.g. serial terminal via modem).

Doug.

Jan 2, 1:40 pm 2008
Darrin Chandler
Re: Perpetually Current

Or yaifo, which is essentially bsd.rd + sshd. Handy as hell if some form
of console is not available, especially if you need to do something like
reslice your disk.

--
Darrin Chandler | Phoenix BSD User Group | MetaBUG
dwchandler@stilyagin.com | http://phxbug.org/ | http://metabug.org/
http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation

Jan 2, 2:14 pm 2008
previous daytodaynext day
NoneJanuary 2, 2008None