Re: Questions about clock_gettime and friends

2012-03-05 Thread Woodchuck
On Tue, Mar 06, 2012 at 07:47:06AM +0100, Otto Moerbeek wrote: > On Tue, Mar 06, 2012 at 01:01:57AM -0500, Woodchuck wrote: > > BTW, your format strings are not right, both in size of operand and > signedness. Here: Oops. > > > printf("Resolution: %lu %lu

Questions about clock_gettime and friends

2012-03-05 Thread Woodchuck
I. The system call clock_getres(2) and clock_gettime(2) show strange results. Consider this small program and its output on OpenBSD 5.0, amd64: #include #include main() { struct timespec tp; int i; clock_getres(CLOCK_REALTIME, &tp); printf("Resolut

Re: 4.6 patch support

2010-03-22 Thread Woodchuck
On Mon, Mar 22, 2010 at 7:36 AM, Andreas Gerdd wrote: > Hi, > > I've an OpenBSD 4.6-Stable system. I wanted to ask how long will > OBSD4.6 has patch/update support? > If there is a support time limit like lets say up to 12/24 months, > does it mean after that time, it will not get any update, not

Re: Problems with Build World

2010-03-02 Thread Woodchuck
On Tue, Mar 2, 2010 at 10:27 PM, Ron McDowell wrote: > the $ver $VER and $ROOT are my own. For $DESTDIR, see > http://openbsd.org/faq/faq5.html#Bld section 5.3.5: > > Make sure all the appropriate directories are created. > > # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs > > As a newbie

Re: Problems with Build World

2010-03-02 Thread Woodchuck
> #!/bin/sh -x > > ver="46stable" > VER="OPENBSD_4_6" > root="/Stash/Sources" > DESTDIR=/ Is this necessary or desirable? I ask because it is my impression that on NetBSD, DESTDIR="/" and DESTDIR unset is used to discriminate between a "full installation", including /etc and what we're trying to

Re: Problems with Build World

2010-03-02 Thread Woodchuck
On Tue, Mar 2, 2010 at 4:30 PM, Hugo Villeneuve wrote: > On Tue, Mar 02, 2010 at 08:40:47PM +0100, Marc Espie wrote: >> On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote: >> > [...] >> >> #! /bin/sh >> set -e > >> cd /usr/obj && rm -rf * >> cd /usr/xobj && rm -rf * > > Stupid question: Is that

Re: more OT than you think Re: OT, .. but has anyone seen a crontab editor

2010-02-19 Thread Woodchuck
On Fri, Feb 19, 2010 at 12:36 PM, Diana Eichert wrote: snip thread > You are missing the point of "privilege" then. Privilege gives you access > to tools and right to shoot yourself in the foot. It is obvious to me that > someone was elevated to a privileged level without having the > necess

Re: MFM disk geometry

2010-02-02 Thread Woodchuck
"Results 1 - 10 of about 25,100 for Seagate ST225", possibly the most common 20MB 1/2 height MFM drive. Google is my friend. It could be your friend, too. I seem to recall that LBA and fake geometry and related stunts could be done on the controller. At least I recall a "Promise" IDE controller

Re: vi in /bin

2009-12-17 Thread Woodchuck
On Fri, Dec 18, 2009 at 1:09 AM, Chris Bennett wrote: >>> Is there a common emergency that comes up where /usr is not available? Curdled RAID? etc,,, > Did ed come out before or after those clickety-clack paper printing > terminals? All text editors came after teletypes. (Teletypes go back to

Rwhod broadcasts not reaching "localhost" -- bge problem?

2009-12-03 Thread Woodchuck
I'm having a perplexing problem with rwhod and ruptime. On two hosts (4.6-patched), rwhod is not apparently contacting localhost properly; ruptime omits mention of the localhost. On a third host (4.6-patched), function is normal. A fourth host, (4.2-patched) is also working). On the two non-wor

Re: cron job causes fwrite: broken pipe error, runs fine on command line

2009-11-09 Thread Woodchuck
On Mon, Nov 9, 2009 at 3:03 PM, John Mendenhall wrote: >> The mystery to me is why the error message does not appear >> when the pipe is run on a tty. (I can duplicate your error easily). >> >> To me this looks like normal operation. You seem to be getting >> the output you want, right? > > Yup

Re: cron job causes fwrite: broken pipe error, runs fine on command line

2009-11-09 Thread Woodchuck
On Mon, Nov 9, 2009 at 2:37 PM, Peter N. M. Hansteen wrote: > John Mendenhall writes: > >> oldest spamdb grey entry date timestamp: >> sort: fwrite: Broken pipe > > Just to eliminate the obvious - how much disk space is available for > temporary files? Could you be on the low side? You won't ge

Re: cron job causes fwrite: broken pipe error, runs fine on command line

2009-11-09 Thread Woodchuck
On Mon, Nov 9, 2009 at 2:19 PM, John Mendenhall wrote: > I have several openbsd 4.4 boxes, all of which are running > spamd. I have a cron job which runs a script, which has the > following commands in it: > Well, sort is obviously calling fwrite to write on stdout, which head reads. When head

Re: Useless '#' prompt in upgrade46.html?

2009-10-30 Thread Woodchuck
On Fri, Oct 30, 2009 at 4:57 PM, Nicolas Legrand wrote: > Hey, > > On Fri, Oct 30, 2009 at 03:09:30PM -0400, Brynet wrote: >> [...] >> It is quite traditional to use '#' or '$' to indicate whether a >> command is to be executed as root or as normal user, it is Bourne/Korn >> shell lingo. > > Sur,

Re: books on embedded programming?

2009-09-24 Thread Woodchuck
On Fri, Sep 25, 2009 at 12:17 AM, Fred Snurd wrote: > I've been looking at what books Amazon has on embedded programming, and the number is quite large. I would most certainly appreciate anyone's opinion on books on this subject. Since I'm pretty proficient in C programming and to a lesser degre

Re: shutting down

2009-09-12 Thread Woodchuck
On Sat, Sep 12, 2009 at 11:12 AM, Toni Mueller wrote: > Hi, > > On Fri, 11.09.2009 at 22:28:43 +0200, Maurice Janssen wrote: >> Will the master shutdown normally, or will it stall while trying to >> umount the NFS share? The slaves will shutdown first, so when the >> master goes down, the NFS ser

Re: Sort doesn't sort

2009-08-20 Thread Woodchuck
On Thu, Aug 20, 2009 at 4:44 AM, Otto Moerbeek wrote: > You do not say which version of OpenBSD you are running. I tried your > example on current (amd64 and i386) and 4.5 (amd64) and did get the > proper results. > >-Otto 4.2 I've been too cowardly to upgrade. I'd have thought that "so

Sort doesn't sort

2009-08-20 Thread Woodchuck
Sorry for cowering behind a pseudonymous email address, but I have the same given names as certain famous people in professions related to mine and wish to avoid confusion. Moreover such fame and identity as I have is tied to the delightful creature, the woodchuck, after which I am pseudonamed

Re: Unix billennium in calendar(1)

2009-07-09 Thread Woodchuck
On Thu, Jul 9, 2009 at 3:11 AM, patrick keshishian wrote: > On Thu, Jul 9, 2009 at 12:02 AM, Woodchuck wrote: >> On Thu, Jul 9, 2009 at 2:33 AM, Mikolaj Kucharski >> wrote: >>> Calendar told me that Unix billennium was today, but Wikipedia and >>> date(1

Re: Unix billennium in calendar(1)

2009-07-09 Thread Woodchuck
On Thu, Jul 9, 2009 at 2:33 AM, Mikolaj Kucharski wrote: > Calendar told me that Unix billennium was today, but Wikipedia and > date(1) command say something different. > > Calendar wrote: >> Jul 09Unix billennium begins at 01:46:40 UTC, 2001 > > $ date -r 10 > Sun Sep 9 02:46:40 I

Re: chown

2009-06-04 Thread Woodchuck
On Thu, Jun 4, 2009 at 5:13 AM, Woodchuck wrote: > On Thu, Jun 4, 2009 at 3:52 AM, Steve wrote: > something with find(1). > > Try > find /data -name "*.dat" -exec chown user:group {} \; > > But understand it first. Understand the quoting. man find. >

Re: chown

2009-06-04 Thread Woodchuck
On Thu, Jun 4, 2009 at 3:52 AM, Steve wrote: > I am trying to use chown -R to selectively change permissions on files. > > A series of files are contained in many folders under the root data folder. No > files are stored in the data folder itself. > > Running > > chown -R user:group /data/*.dat T

Re: Experiences running named and rndc on 4.4 vs 4.3

2008-11-12 Thread Woodchuck
On Tue, 11 Nov 2008, Don Jackson wrote: > Today I began testing named on a freshly installed OpenBSD 4.4 amd64 > machine, using my old named.conf file from 4.3 (which was still running > named version 9.4.2) > > When the machine first boots after the install, /etc/rc determines there is > no rndc

Re: timezone anomalies

2008-05-25 Thread Woodchuck
On Sun, 25 May 2008, frantisek holop wrote: > hmm, on Fri, May 23, 2008 at 11:56:22PM -0400, Woodchuck said that > > Set your camera to UTC and be happy. > > and have rubbish exif info in every picture? no thanks. > at least that is OS independent and the only correct dat

Re: [OT] C code

2008-05-25 Thread Woodchuck
On Sun, 25 May 2008, deoxy wrote: > Hello. > > I dont know if this a cuestion for this list, but I think is it a valid > cuestion... > I reading a book recomended in http://www.openbsd.org/books.html The book is > "Advanced programmig in the unix environment". > In this book I read Figure 3.1 b

Re: timezone anomalies

2008-05-23 Thread Woodchuck
On Fri, 23 May 2008, frantisek holop wrote: > nor can i recall this ever being an issue while i was in CEST for years. when > i copied the camera files they were not off by 1-2 hours depending on daylight > saving... > > -f Set your camera to UTC and be happy. The times *in the file system* ar

Re: whither pow() ?

2008-05-03 Thread Woodchuck
On Sat, 3 May 2008, Ben Calvert wrote: > On May 3, 2008, at 12:56 AM, Richard Toohey wrote: > > > On 3/05/2008, at 6:21 PM, Richard Toohey wrote: > > > > > $ cc -lm test_pow.c > > $ > > > ok, this fixes it. i'll attempt to understand it when more awake. Thanks! It has been this way since din

Re: Where I ma? [Was: Rolling release?]

2008-04-23 Thread Woodchuck
On Tue, 22 Apr 2008, Tony Abernethy wrote: > Zbigniew Baniewski wrote: > > Is it possible to participate in this mailing list without > > being insulted > > for asking a question, being called by names and so on? > Yes. Easily. No, not easily. Only certain questions can be asked without meritin

Re: XForwarding problem: SOLVED

2008-03-03 Thread Woodchuck
On Fri, 29 Feb 2008, Denny White wrote: > 4AM, but that's okay. Problem solved. Had previously done some > experimenting around with ~/.profile and ~/.kshrc when I'd been > having history file problems in ksh. As soon as I reverted back > to my old ~/.profile instead of the newer short one that ju

Re: Watching the prgress of dd if=drive1 of=drive2

2008-03-02 Thread Woodchuck
On Mon, 25 Feb 2008, Jan Stary wrote: > On Feb 23 12:15:21, Jon wrote: > > I'm using dd to clone a drive. How can I watch the progress of this or > > see the transfer rate in real time? > > You can use 'fstat -o' on the device file. > > Jan If the dd is running on a terminal, sending the

Re: Where is NAN Defined?

2008-02-10 Thread Woodchuck
On Sun, 10 Feb 2008, Jim Razmus wrote: > I'm told that math.h should do this for me. Moreover, I think NAN is a > machine dependent value. See /usr/include/i386/ieee.h for some hints. > Adding the line you mention would break on VAX (assuming I understand > this correctly). Although I don't

Re: multi-disk external scsi enclosures

2008-02-08 Thread Woodchuck
On Wed, 6 Feb 2008, Douglas A. Tutty wrote: > If the drives and carriers are inseperable, then when HP decides to stop > selling them, then no new drives can be had. However, if once one has HP probably stopped making them when people now on this list were in short pants. How time flies. > the

Re: low-MHz server

2008-01-31 Thread Woodchuck
On Wed, 30 Jan 2008, Paul D. Ouderkirk wrote: > Probably your best bet to cover these requirements would be some old > school Compaq Proliant > with 2 or 4-way Pentium Pro CPUs. You can find them clocked around 200MHz. OpenBSD has troubles recognizing the SCSI drives on some of these. (The ones

Re: getopt(3) differences OpenBSD/GNU

2008-01-16 Thread Woodchuck
On Wed, 16 Jan 2008, Sebastian Reitenbach wrote: > Hi, > > I run into troubles with getopt(3). the test program below shows the > problem. It produces different output on Linux and OpenBSD, when it is > called like this on Linux it looks like this: > > ./a.out asdf -n > option char: 110, n >

Re: Using the C programming language

2007-12-23 Thread Woodchuck
On Sun, 23 Dec 2007, Kim Naim Lesmer wrote: > The Portable C Compiler (PCC) was written in mid-1970s. PCC shipped > with BSD Unix until the release of 4.4BSD in 1994. > > The history of Ada is? About 10 years younger. So? Dave

Re: Real men don't attack straw men

2007-12-14 Thread Woodchuck
On Thu, 13 Dec 2007, Theo de Raadt wrote: > Richard, you are a total hypocrite. You are in here creating a fuss about > our software, saying it is non-free, when you are doing exactly the same > thing yourself. Put another way: The presence of an OpenBSD port entry for "opera" encourage

Re: changing active slice at boot

2007-11-06 Thread Woodchuck
On Tue, 6 Nov 2007, Frans Haarman wrote: > Just wondering... > > Has anyone ever thought of having 2 openbsd installations to boot from ? > This way I could upgrade the installation on one slice/disk and boot from it! "slice" is FreeBSD talk. I assume you mean "disk partition", the thing ma

Re: altroot is not mentioned in FAQ

2007-11-06 Thread Woodchuck
On Tue, 6 Nov 2007, Douglas A. Tutty wrote: > While you're at it: the install docs cover the absolute minimum to run > a basic system (I think they describe it as a basic home system > connected to the internet). Could you include an example of the same > thing but the minimum to be able to comp

Re: What happened to my virtual consoles?

2007-11-05 Thread Woodchuck
On Sun, 4 Nov 2007, Matthew Szudzik wrote: > I just installed OpenBSD 4.2. When I run X, I no-longer have access to the > virtual consoles. When I try to switch to a virtual console (by pressing > CONTROL-ALT-F2, for example), the screen goes black for a few seconds and > then my X session re

Re: Problem with xl interfaces

2007-11-05 Thread Woodchuck
On Sun, 4 Nov 2007, Limaunion wrote: > hi all! I've been using OpenBSD during the last 2-3 years mainly running > it as a firewall. > > I've an old machine (486 + 48MB RAM) and yesterday decided to make > some improvements: upgrade it from 4.0 to 4.2 (new installation) and > replace the two NICs,

Re: /tmp permissions, I don't get this...

2007-11-03 Thread Woodchuck
On Sat, 3 Nov 2007, Daniel wrote: > Hi! > > Case 1: > $ id > uid=1000(leva) gid=1000(leva) groups=1000(leva) > $ ls -ld /tmp/ > drwxwt 4 root wheel 512 Nov 3 13:05:03 2007 /tmp// > $ touch /tmp/test && ls -l /tmp/test > -rw-r- 1 leva wheel 0 Nov 3 13:09:04 2007 /tmp/test > $ rm /t

Re: Remembering Jun-ichiro Hagino

2007-11-03 Thread Woodchuck
On Fri, 2 Nov 2007, Bob Beck wrote: > * Adrian Fisher <[EMAIL PROTECTED]> [2007-11-01 11:22]: > > This thread is the first I have heard of him. Who is (or was) he? > > > > A. > > How unbelievably [EMAIL PROTECTED] You can't even have the decency to > google his > name before you spout yo

Re: What is the "nice" process state?

2007-11-03 Thread Woodchuck
On Sat, 3 Nov 2007, Karel Kulhavy wrote: > > > PID USERNAME PRI NICE SIZE RES STATEWAIT TIMECPU COMMAND > > > 29174 clock 79 10 33M 15M run -0:00 4.25% rt > > > > > > What is the "nice" state? I know what userspace, system, interrupt handler > > > and idle t

Re: What is the "nice" process state?

2007-10-27 Thread Woodchuck
On Sat, 27 Oct 2007, Karel Kulhavy wrote: > I am raytraing a video with a command "rt" and the "top" is showing this: > > CPU states: 48.4% user, 48.7% nice, 3.0% system, 0.0% interrupt, 0.0% idle > [...] > PID USERNAME PRI NICE SIZE RES STATEWAIT TIMECPU COMMAND > 29174 clock

Re: files in root directory

2007-09-29 Thread Woodchuck
On Fri, 28 Sep 2007, Chris Nolan wrote: > Hello, I read through the FAQ and searched the archives but couldn't find an > answer to this question. In /src/distrib/sets/lists/etc/mi, why does openbsd > include the .cshrc and .profile files in the root directory? > > Thanks for any insights! This i

Re: minimum hard-drive space to compile patches?

2007-09-24 Thread Woodchuck
On Mon, 24 Sep 2007, Douglas A. Tutty wrote: > I currently have OBSD running on my P-II with an 850 MB drive and 64 MB > ram. On install, I chose not to include the compiler set over concern > re drive space. The FAQ says how much space is required to minimally > run OBSD and it says how much to

Re: sudo & wheel group

2007-09-17 Thread Woodchuck
On Sun, 16 Sep 2007, Matthew Szudzik wrote: > What's a laptop user to do? Run as root -- why not? Be careful. Limit PATH. Keep the cat off the keyboard. (This can be pesky if you're using vi at the time.) Open a root xterm, make the background some weird color, use a font and size you don't

Re: sudo & wheel group

2007-09-17 Thread Woodchuck
On Mon, 17 Sep 2007, Chris wrote: > On 9/17/07, Darrin Chandler <[EMAIL PROTECTED]> wrote: > > problem is. This is why people keep asking you to explain the problem > > more. > > Sorry for being vague. Ok, I have these in /etc/sudoers for joeuser. > joeuser is also in the wheel group. > > joeuse

Re: OpenBSD Install Goal

2007-09-14 Thread Woodchuck
On Thu, 13 Sep 2007, Marco Peereboom wrote: > I installed FreeBSD once in my life. Took me 3 tries and I am sure some > kittens were murdered in the process. I am also pretty sure I wept at > some point. Honestly I can't remember a much worse installer; maybe SCO > OpenServer but not by much.

Re: Looking for something similar to "screen"-command

2007-09-12 Thread Woodchuck
On Wed, 12 Sep 2007, Jon Sjvstedt wrote: > Hello all! > > I have installed BitTorrent-4.2.2 on my 3.9-box. With this i would like to > start file sharing on a console, logout, login later and reattach to the > console of the BitTorrent-4.2.2 session. AFAIK this is done in most > Linux-distros usin

Re: Is this a filesystem bug?

2007-09-08 Thread Woodchuck
On Sat, 8 Sep 2007, Antti Harri wrote: > Hello, > > First just plain directory with mode=700: > > drwx-- 43 root wheel2048 Sep 7 22:24 /backups/ > > Then I mount filesystem under /backups: > > /dev/sd0i on /backups type ffs (local, softdep) > drwxr-x--- 43 root wheel

Re: mutt, getmail & procmail

2007-07-13 Thread Woodchuck
On Fri, 13 Jul 2007, Philip Guenther wrote: > On 7/13/07, Denny White <[EMAIL PROTECTED]> wrote: > ... > > PATH=$HOME/bin:$HOME:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:. > > That line is probably unnecessary. Unless you can point to a specific > program that your .procmailrc

Re: booting to ignore fstab

2007-07-02 Thread Woodchuck
On Mon, 2 Jul 2007, David B. wrote: > Hi, hate to bother. I'm working in 3.8 and I've run across something new > and can't figure out. For some reason, on this box a drive isn't > mounting, and the boot blows and asks for shell. so, I go to shell and > I've tried to edit the fstab file to remark

Re: rdr outgoing traffic

2007-06-20 Thread Woodchuck
On Wed, 20 Jun 2007, Jason Dixon wrote: > On Wed, 20 Jun 2007 12:00:18 +0200, RafaE Brodewicz <[EMAIL PROTECTED]> > wrote: > > Hello. > > I have machine with one interface pcn0 and ip 192.168.1.7 and I was > > trying to redirect outgoing traffic from it with no success. > > My pf rule: > > > >

Re: open(hd0a:/etc/boot.conf): Invalid argument

2007-06-07 Thread Woodchuck
On Thu, 7 Jun 2007, Shag Bag wrote: > I've installed OpenBSD4.1 from the 3 CD set which I purchased shortly after > it was released and have been running it on and off ever since. However, > this morning I tried to boot it and it came up with the above error (full > error listing below). > > I r

Re: How can I build a release without writing into the /usr/src tree?

2007-06-05 Thread Woodchuck
On Tue, 5 Jun 2007, Don Jackson wrote: >cd /home/openbsd/4.1/src/etc/../sys/arch/amd64/conf && config GENERIC >config: cannot create ../compile/GENERIC: Permission denied >*** Error code 2 > >Stop in /home/openbsd/4.1/src/etc (line 11 of etc.amd64/Makefile.inc). > > (FYI, /usr/s

Re: Can't see full boot using the console scrollback buffer

2007-06-02 Thread Woodchuck
... snip ... > No information about local daemons, for example. > > Any idea why I can't see the information using the console scrollback > buffer after boot? The information detailing the start of daemons, for > example. > > Greetings. Darn. You're right. I looked before, but saw what wasn't

Re: Can't see full boot using the console scrollback buffer

2007-05-31 Thread Woodchuck
On Thu, 31 May 2007, Andris wrote: > After OpenBSD boots, it clears the screen. Then I can't see some > information, for example, the start of local daemons. All I can see > using the console scrollback buffer is this: > > > Automatic boot in progress: starting file system checks. > /dev/rwd0a: f

Re: serial terminal

2007-05-30 Thread Woodchuck
On Tue, 29 May 2007, Maurice Janssen wrote: > Hi, > > I'm trying to use a VT420 serial terminal on an i386 box running > 4.1-stable. Not as a system console, just as an extra screen to login. > The output of the boot loader and kernel output should go to the > monitor, as usual. > > The termina

Re: pf.conf settings

2007-05-28 Thread Woodchuck
On Mon, 28 May 2007, Lontronics Mailinglist account wrote: > Okay, found some stuff on the internet; this is it at the moment: > > # $OpenBSD: PF firewall rules $ > > # ports: see /etc/services > # 21 = ftp > # 22 = ssh > # 25 = smtp > # 53 = domain > # 80 = www > # 110 = pop3 > # 12

Re: US Export of Cryptography

2007-05-21 Thread Woodchuck
On Sun, 20 May 2007, dreamwvr wrote: > > -- > > Mark Reitblatt > > > The entire world is not the US. The entire world AND the US is addressed > by OpenBSD. Mr Reitblatt should be advised that there are some of us in the USA that are quite pleased with and in fact grateful for a reliable, free a

Re: nonsense from OBSD 4.0 ping

2007-05-04 Thread Woodchuck
On Fri, 4 May 2007, Karel Kulhavy wrote: > I have the OpenBSD 4.0 ping and it wrote this: > > 64 bytes from 192.168.2.215: icmp_seq=3029 ttl=64 time=6.057 ms > 64 bytes from 192.168.2.215: icmp_seq=3035 ttl=64 time=44.108 ms > 64 bytes from 192.168.2.215: icmp_seq=3036 ttl=64 time=-994831.-515 ms

Re: bcw(4) is gone

2007-04-05 Thread Woodchuck
PL, I think -- copyright would only apply to the code output from sed and cpp, which would be transient. "Here's a book! Don't read it! If you read it, forget it!" (c) Woodchuck 2007. Some rights reserved, you guess which. Maybe the whole thing is Mr Buesch's

Re: Saving memory on small machines

2007-03-22 Thread Woodchuck
On Thu, 22 Mar 2007, David Given wrote: > I have a machine with 48MB of RAM that I want to use as a server. > > The OpenBSD kernel is a bit over 5MB. I assume that gets loaded into memory > and is not swappable, giving me 43MB left, which isn't a lot. I sent a longer ramble offlist, but onlist,

Re: strange output on openbsd C code

2007-03-19 Thread Woodchuck
On Tue, 20 Mar 2007, Tobias Ulmer wrote: > /* > * You assume that the in memory representation of an > * unsigned [2] looks exactly like unsigned long long and you > * expect to access the valid initialized memory of x by > * dereferencing p. > * > * These assumptions are all wrong. >

Re: Symbols in a .so

2007-03-18 Thread Woodchuck
On Sun, 18 Mar 2007, Philip Guenther wrote: > On 3/18/07, Woodchuck <[EMAIL PROTECTED]> wrote: > > I would like to know which symbols are defined in a shareable > > object library, say libfoo.so.1.0. > > > > If this were an old-style library (i.e. an archive),

Re: Symbols in a .so

2007-03-18 Thread Woodchuck
On Sun, 18 Mar 2007, Rafael Almeida wrote: > On 3/18/07, Woodchuck <[EMAIL PROTECTED]> wrote: > > I would like to know which symbols are defined in a shareable > > object library, say libfoo.so.1.0. > > I think readelf might be what you want. Yeah, that will

Re: Symbols in a .so

2007-03-18 Thread Woodchuck
On Sun, 18 Mar 2007, Woodchuck wrote: > I would like to know which symbols are defined in a shareable > object library, say libfoo.so.1.0. False alarm! The lib had been stripped during installation. Port maintainer has been notified. nm will give a useful symbol table on an unst

Symbols in a .so

2007-03-18 Thread Woodchuck
I would like to know which symbols are defined in a shareable object library, say libfoo.so.1.0. If this were an old-style library (i.e. an archive), say libfoo.a, I would use "nm". Surely there is a tool for doing this with the .so's. What is it? (it's not "strings" ;-) The .a library is not a

Re: BIND9 and /dev/arandom

2007-03-18 Thread Woodchuck
On Sun, 18 Mar 2007, Phusion wrote: > I have a question about BIND9 that comes with OpenBSD 4.0. I just > setup BIND and am seeing the following messages in my logs. > > named[25017]: could not open entropy source /dev/arandom: file not found > named[25017]: using pre-chroot entropy source /dev/a

Re: Important OpenBSD errata

2007-03-17 Thread Woodchuck
On Fri, 16 Mar 2007, Darren Spruell wrote: > On 3/16/07, Martin Schrvder <[EMAIL PROTECTED]> wrote: > [snip blah blah blah...] > > I want > everyone trying to make that point to think of all the software > vendors they deal with, inclu

Re: Compiling your own system as a way of upgrading it is not supported

2007-03-17 Thread Woodchuck
On Fri, 16 Mar 2007, Karel Kulhavy wrote: > "Some reasons why NOT to build from source: > [...] > Compiling your own system as a way of upgrading it is not supported." > http://openbsd.org/faq/faq5.html > > I want to upgrade my 4.0-release system to get rid of the ipv6 remote > vulnerability. I u

Re: stupid question re kernal build make install

2007-03-14 Thread Woodchuck
On Wed, 14 Mar 2007, Jacob Yocom-Piatt wrote: > Clint M. Sand wrote: > > I know this is a dumb question but make install on a kernel build does: > > > > rm -f /obsd > > ln /bsd /obsd > > cp bsd /nbsd > > mv /nbsd /bsd > > > > > > But I can't see the reasoning here. Why do we copy it then move i

Re: chillispot in OBSD 4.0

2007-03-01 Thread Woodchuck
On Fri, 2 Mar 2007, sonjaya wrote: > Dear all > > i try install chillispot in OBSD 4.0 , it try follow step in > http://www.geeklan.co.uk/?p=72 > i try patch -p1 nothing show , so i try compile manualy You would have to compile manually in any event. > # ./configure --prefix=/usr/local/chilli

Re: Spamassassin overwrites manual of OpenBSD spamd

2007-02-20 Thread Woodchuck
On Tue, 20 Feb 2007, Mike Erdely wrote: > Guido Tschakert wrote: > > The first and the last entry are both spamd (8), but spamassassin from > > ports has overwritten /usr/local/man/man8/spamd.8 from the system (which > > I am looking for) > > The man page for OpenBSD's spamd is not in /usr/local.

Re: Spamassassin overwrites manual of OpenBSD spamd

2007-02-20 Thread Woodchuck
On Tue, 20 Feb 2007, Guido Tschakert wrote: > Hello, > > while reading the discussion about spamd, I decided to learn a little > bit about it and have a look in the manual, but man spamd yields to the > manual of "spamd - daemonized version of spamassassin" what is not > exactly what I was lookin

Re: SMTP Message-ID's

2007-02-20 Thread Woodchuck
On Tue, 20 Feb 2007, Peter Fraser wrote: > Would not a better test be for message-id's of the format > [EMAIL PROTECTED] ? Probably not. It is quite possible for a legitimate MUA on a host to generate message-ids of the [EMAIL PROTECTED] form. Consider a RFC1918 LAN behind NAT, running from /e

Re: spamd unnecessarily abrasive?

2007-02-20 Thread Woodchuck
On Tue, 20 Feb 2007, Theo de Raadt wrote: > > In the case of a greylisting type of solution, it seems that > > identification would be especially devastating since the work-around > > is so trivial. Unless my understanding is very wrong, the whole > > effectiveness of the solution depends o

Re: spamd unnecessarily abrasive?

2007-02-20 Thread Woodchuck
On Tue, 20 Feb 2007, Peter N. M. Hansteen wrote: > J Moore <[EMAIL PROTECTED]> writes: > > > Isn't this a bit "over the top"? > > Well, people don't read these strings at all unless they're looking at > spamd source code or doing a "telnet yourhost.tld smtp" for debugging > purposes. The messag

Re: Pf - Private address blocking

2007-02-19 Thread Woodchuck
On Mon, 19 Feb 2007, martin g wrote: > Hey all > > I have a question about blocking private addr. with pf. > > I have defined the reserved addresses acording to RFC 1918 in a table > > > My default rule is : > > block in on $ext_if > block out on $ext_if > > pass in on $int_if > pass out

Re: SVND -k and -K ERRATUM

2007-01-31 Thread Woodchuck
On Tue, 30 Jan 2007, Don Smith wrote: > I looked at the source code. In /src/sys/dev/vnd.c, it > has the lines: > > blf_ecb_encrypt(vnd->sc_keyctx, iv, sizeof(iv)); > if (encrypt) > blf_cbc_encrypt(vnd->sc_keyctx, iv, addr, bsize); > > This looks like it encry

Re: build question

2007-01-29 Thread Woodchuck
On Mon, 29 Jan 2007, John . wrote: > Hello list > > When XF4 is brought to -stable, does the machine have to be rebooted > for the changes to take effect? It doesn't say so explicitly in the > FAQ. > > cheers It should suffice to stop X and restart it. That includes xdm. Dave -- "I believe

Re: SVND -k and -K ERRATUM

2007-01-27 Thread Woodchuck
On Sat, 27 Jan 2007, Woodchuck wrote: > Disclaimer: I am not a cryptanalyst. Maybe that's all FUD and blown > smoke. > > If I recall the source code correctly, using -k, you > are already using salt -- of zero. Checked the source code, I was wrong.

Re: SVND -k and -K

2007-01-27 Thread Woodchuck
On Sat, 27 Jan 2007, Don Smith wrote: > On the newer versions of OpenBSD, there is -K added as > an option for SVND. > > I always used the -k option with a strong key and no > salt file. > > Is the original -k method still secure, given a strong key? No. But that's hearsay. Here's what I heard

Re: Inetd rejecting connection from privileged port

2007-01-26 Thread Woodchuck
On Fri, 26 Jan 2007, Brian Candler wrote: > > They are taking the position that it is upside down to require an > > unprivileged source port. What are the issues? > > The code is here in /usr/src/usr.sbin/inetd/inetd.c: > > if (port < IPPORT_RESERVED || port == NFS_PORT) >

Inetd rejecting connection from privileged port

2007-01-25 Thread Woodchuck
... On port 37 (time, UDP). If timedc from a NetBSD host attempts clockdiff with an OpenBSD host (same ethernet, no firewalling involved), sending from a privileged port, OpenBSD (inetd, I presume) does not respond. If the UDP packet originates from an unprivileged port (say 63,xxx or 19,xxx), t

Re: /etc/rc.local changes not picked up by first insecurity report

2007-01-25 Thread Woodchuck
On Thu, 25 Jan 2007, Will H. Backman wrote: > Running 4.0 RELEASE in i386. > I installed yesterday, and today, received my nice daily insecurity > output. I love this report because it is a great way to document my > initial configuration changes. > I noticed that it didn't pick up my changes to

Re: Compiling OpenBSD Kernel With Generic SMP

2007-01-24 Thread Woodchuck
On Wed, 24 Jan 2007, Demuel I. Bendano, R.E.E wrote: > Hi, > > As you can see, there are only few entries in the GENERIC.MP and if it > compiles indeed how about the device drivers usually found in the GENERIC? > Would it be included when GENERIC.MP compiles? YES. That's what the "include" at t

Re: MD5 sum of /bsd on freshly installed system/?

2007-01-15 Thread Woodchuck
On Mon, 15 Jan 2007, Gregory Edigarov wrote: > Hello, > > It would be greatly appreciated if somebody can make an md5 checksum of the > generic kernel. > Need to check that as my OpenBSD 4.0 install hangs while booting at the very > early stage. The kernel embeds information that is different e

Re: slow configure script...

2007-01-13 Thread Woodchuck
On Fri, 12 Jan 2007, poncenby smythe wrote: > list, > > when any configure script is checking for standard header files > (stdlib.h, memory.h) it hangs for a few seconds on each file, as if it > is taking this long to actually find each file on the disk. which i > guess is actually happening.

Re: unable to login

2007-01-11 Thread Woodchuck
On Wed, 10 Jan 2007, Chuck Robey wrote: > I have a problem with my Zaurus, let me paint the scenario. I am a rank > newbie with OpenBSD, so I was trying (as a startup experiment) to build > all of it. I have my main machine sitting nearby (running FreeBSD > current, at which I have years of expe

Re: mounting an svnd device on /var

2006-12-07 Thread Woodchuck
On Thu, 7 Dec 2006, Jacob Yocom-Piatt wrote: > it's not clear to me where the best place to mount a disk image is using > vnconfig for the whole /var partition. this should obviously happen after > mounting /usr. > > advice appreciated. > > cheers, > jake For a start, I'd *guess* it could be mo

Re: Bug in ksh // Improvement for tar ?

2006-12-05 Thread Woodchuck
On Wed, 6 Dec 2006, Uwe Dippel wrote: > Woodchuck: Thanks for the confirmation of tar being frontend to pax. Then, > what is the good reason that the frontend kind of suppresses the > abilities of the underlying routine ? > > Thanks, > > Uwe I suspect it is to maintain c

Re: Commands don't work after rm -rf /*

2006-12-05 Thread Woodchuck
On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote: > Jason Dixon wrote: > > I wrote a script that tested inode performance by removing unwanted > > blocks. It was pretty simple, so I tested it first against the first > > slice (it's the smallest, so it should be a quick test). However, > > something h

Re: Compiling netpbm

2006-12-05 Thread Woodchuck
xpmColorKeys */ __EOF__ make build # tempis fugit make install # now test it. I took a guess that the file xpmtoppm.c was the source # of your problem. I changed the define. I did not look for ramifications # from that change, I don't care, since I am not going to use the program. # You, on the other hand, should spend some time seeing how that change # may reverberate through the package. man ports echo Woodchuck, OpenBSD user

Re: pkg_add -r -F update

2006-12-05 Thread Woodchuck
On Tue, 5 Dec 2006, Karel Kulhavy wrote: > man pkg_add says "-r Replace existing packages". > > I did pkg_remove transcode, then installed transcode I compiled from > sources, then removed all files containing "transcode" in their name from > the system and then tried to replace the OpenBSD binar

Re: Bug in ksh // Improvement for tar ?

2006-12-04 Thread Woodchuck
On Tue, 5 Dec 2006, Uwe Dippel wrote: > 2 humble suggestions to make my server OS of choice even better. > > I seem to have found a bug in ksh: > Here is a sample that doesn't behave as I'd expect it to. > > # demo="" > # if [ "$demo" == "-n" -o "$demo" == "-e" ]; then > > echo bar > > fi > # d

Re: on the remote root login in OpenSSH

2006-11-24 Thread Woodchuck
On Fri, 24 Nov 2006, Paul de Weerd wrote: > Hi Dave, > > On Fri, Nov 24, 2006 at 01:50:52AM -0500, Woodchuck wrote: > | At worst you have a small window during installation in which root > | logins are allowed, before you shut them off by chroot'ing as Paul > | outlined in

Re: on the remote root login in OpenSSH

2006-11-23 Thread Woodchuck
On Fri, 24 Nov 2006, Joachim Schipper wrote: > While I'm inclined to agree with the last part, setting up a botnet > isn't *that* hard. Particularly in the domain .kr, which Igor sees intermittent attack from. Korea has the perfect "ecosystem" for such a botnet -- very large numbers of pretty fa

Re: on the remote root login in OpenSSH

2006-11-23 Thread Woodchuck
On Thu, 23 Nov 2006, Darrin Chandler wrote: > No. It would be simple enough to disable everything, but that wouldn't > be functional. OpenBSD has an excellent track record for security, yet > many useful things are enabled by default. Do you *really* believe that > nobody has thought about turning

  1   2   >