Re: RTHREADS and librthread

2007-06-25 Thread Otto Moerbeek
On Mon, 25 Jun 2007, Vortechz wrote: > I hope there are people using/testing/developing rthreads out there who can > explain to me why > syscall getthrid fails with SIGSYS on my system, 4.1-release. > > 1. I have RTHREADS defined in my kernel. I have checked that the > rthread code is included at

nat trouble accessing web

2007-06-25 Thread Lawrence Horvath
Im having some trouble accessing certain sites from my laptop going through a obsd router doing nat I have 2 tested configurations Laptop--->Cisco1721[doing nat]--->internet > msn.com and Laptop--->Cisco1721--(gre0)>Openbsd[doing nat]--->internet > msn.com in the first setup

C++ Book

2007-06-25 Thread Danny
Good Day, My apologies if this question has been asked a million times before. I want to know if there is a good book out there to learn C++ on UNIX/Linux. I have browsed Amazon but almost all the books available there are either Windows based or they have very bad reviews. I have been doing LAN

Re: port knocking?

2007-06-25 Thread RW
On Mon, 25 Jun 2007 10:48:20 -0700, John N. Brahy wrote: >I was wondering what the general census on port knocking in the OpenBSD >community is. I like the idea of hiding services but I don't like the >idea of relying on a piece of code that's not part of the OpenBSD core. >I know when it comes do

Re: authpf allows only one user from the same source ip; kicks off previous user

2007-06-25 Thread Bob Beck
> I fully understand your reasoning. Under normal circumstances users > authenticate from their desktop machines (which is a unique IP) and > therefore not a problem. However, sometimes they are VNC'd into servers > (more CPU power) and want to access resources behind the internal > 'firewall'.

Re: Boot by USB thumb for installation

2007-06-25 Thread Graeme Neilson
This is related and may be of interest to some ppl. I have posted some modifications to the excellent LiveCD instructions by Andreas Bihlmaier to create a Live USB (if you have a USB key thingie and you want to save space) http://openbsd-wiki.org/index.php?title=LiveUSB G On 6/24/07, Alex Kwan

Re: authpf allows only one user from the same source ip; kicks off previous user

2007-06-25 Thread Theo de Raadt
> In short, I know the consequences of authenticating multiple users from > the same IP... is there an easy way to turn off this authpf feature? ;) You still don't understand. It's not a feature. It is a requirement. If you don't like it, then you can't provide any of the functional parts tha

Re: authpf allows only one user from the same source ip; kicks off previous user

2007-06-25 Thread Chris Youb
Bob Beck-2 wrote: > > The point of authpf is for the user to say "this IP > is me" - if that IP could perhaps not be him, well, this > is not an application for authpf. I.E. if your users > are coming in from a NAT, you should rethink what you > are doing. > > -Bob > I fully unde

Re: cannot enable executable stack...

2007-06-25 Thread Ted Unangst
On 6/25/07, Matthew Szudzik <[EMAIL PROTECTED]> wrote: > I have successfully ported the relevant material from the NetBSD patches thanks, good work.

Re: RTHREADS and librthread

2007-06-25 Thread Ted Unangst
On 6/25/07, Vortechz <[EMAIL PROTECTED]> wrote: I hope there are people using/testing/developing rthreads out there who can explain to me why syscall getthrid fails with SIGSYS on my system, 4.1-release. it looks like you've done everything right. SIGSYS means the kernel doesn't support the sy

Re: authpf allows only one user from the same source ip; kicks off previous user

2007-06-25 Thread Bob Beck
Nope. That's how it is supposed to work. The point of authpf is for the user to say "this IP is me" - if that IP could perhaps not be him, well, this is not an application for authpf. I.E. if your users are coming in from a NAT, you should rethink what you are doing. -Bo

authpf allows only one user from the same source ip; kicks off previous user

2007-06-25 Thread Chris Youb
When multiple users with the same source IP want access through the firewall authpf grants access to the newly authenticating user and kicks off the previous user. Is there a way to turn off this behaviour so both users maintain authpf tables? Works: 1a. [EMAIL PROTECTED] -> authpf -> maintains l

Re: difficulties mounting DVDs I burn with growisofs

2007-06-25 Thread Craig Brozefsky
Joachim Schipper <[EMAIL PROTECTED]> writes: > Start by putting in a disk that really should work - any factory-pressed > disk. If OpenBSD understands this, it means that the disk drive is not > completely unsupported or something stupid like that. Ok, I have read discs with this, tho it took a f

Re: LC_COLLATE and PostgreSQL

2007-06-25 Thread Joachim Schipper
On Mon, Jun 25, 2007 at 11:50:10AM +0200, Artur Litwinowicz wrote: > Hi Philip, >thank You match for answer and nice words :). > I am starting be concern for my problem but my "love" for OpenBSD is > stronger then sort problems (data on my web are sorted not correctly) and I > do not want to c

Re: difficulties mounting DVDs I burn with growisofs

2007-06-25 Thread Joachim Schipper
On Mon, Jun 25, 2007 at 02:31:49PM -0500, Craig Brozefsky wrote: > Joachim Schipper <[EMAIL PROTECTED]> writes: > > > You are mounting the wrong device; try /dev/cd0a. > > Ah, I tried that earlier, this is what I get.: > > [EMAIL PROTECTED]:~/public_html/bbb$ sudo mount -t cd9660 /dev/cd0a >

Re: difficulties mounting DVDs I burn with growisofs

2007-06-25 Thread Craig Brozefsky
Joachim Schipper <[EMAIL PROTECTED]> writes: > You are mounting the wrong device; try /dev/cd0a. Ah, I tried that earlier, this is what I get.: [EMAIL PROTECTED]:~/public_html/bbb$ sudo mount -t cd9660 /dev/cd0a /mnt/cdrom mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not configured [EMAIL

Re: port knocking?

2007-06-25 Thread Bret Lambert
On Mon, 2007-06-25 at 10:48 -0700, John N. Brahy wrote: > Hi Misc@, > > > > I was wondering what the general census on port knocking in the OpenBSD > community is. I like the idea of hiding services but I don't like the > idea of relying on a piece of code that's not part of the OpenBSD core. >

Re: port knocking?

2007-06-25 Thread Darrin Chandler
On Mon, Jun 25, 2007 at 10:48:20AM -0700, John N. Brahy wrote: > I know when it comes down to it, it's only hiding ports and not actually > securing anything. There, you've hit the nail on the head. But it's worse. Go find some people using port knocking - you probably know some. Ask them if they

Re: port knocking?

2007-06-25 Thread Martin Schröder
2007/6/25, John N. Brahy <[EMAIL PROTECTED]>: I was wondering what the general census on port knocking in the OpenBSD community is. I like the idea of hiding services but I don't List archives exist. Best Martin

Re: telnetd ?

2007-06-25 Thread Will Maier
On Mon, Jun 25, 2007 at 02:59:58PM -0400, stan wrote: > Yes, I know it's a bad idea, but for reasons beyond my control, I > need to provide a telnet service on an OpeBSD 4.0 machine. > Unfortunately there does not seem to be a telnetd built by > default. > > How can I get this daemon built? Searc

Re: telnetd ?

2007-06-25 Thread Antti Harri
On Mon, 25 Jun 2007, stan wrote: Yes, I know it's a bad idea, but for reasons beyond my control, I need to provide a telnet service on an OpeBSD 4.0 machine. Unfortunately there does not seem to be a telnetd built by default. Yes it was removed and you could've searched the archives: http://op

port knocking?

2007-06-25 Thread John N. Brahy
Hi Misc@, I was wondering what the general census on port knocking in the OpenBSD community is. I like the idea of hiding services but I don't like the idea of relying on a piece of code that's not part of the OpenBSD core. I know when it comes down to it, it's only hiding ports and not actually

Re: carp + mysql replication: failover

2007-06-25 Thread Jacob Yocom-Piatt
Jacob Yocom-Piatt wrote: have two machines that are carped and have mysql databases on them. one machine is the mysql master and the other a slave that replicates the master. this keeps things ready for what i've just experienced: mysql master machine goes down. now that a master failure has o

telnetd ?

2007-06-25 Thread stan
Yes, I know it's a bad idea, but for reasons beyond my control, I need to provide a telnet service on an OpeBSD 4.0 machine. Unfortunately there does not seem to be a telnetd built by default. How can I get this daemon built? -- I'm sorry, no one here has any intentions of helping you with anyth

Re: difficulties mounting DVDs I burn with growisofs

2007-06-25 Thread Joachim Schipper
On Mon, Jun 25, 2007 at 11:48:14AM -0500, Craig Brozefsky wrote: > I recently burned two DVDs with my new DVD burner and I am unable to > mount them on my OpenBSD box using the same burner, tho my Linux > laptop mounts them. I am running OpenBSD 4.1 amd64. Pleae let me > know if there is any othe

Re: 4.1 upgrade problem

2007-06-25 Thread Arnaud Bergeron
For the archives: After a lot of head scratching, I discovered that symlinking /var/www to somewhere else using an absolute path causes problems such as what I was seeing during install. It is normal since the root location changes. Use relative symlinks.

Re: xfce windows manager

2007-06-25 Thread Nick Templeton
Here are the packages (and their dependencies) that I install to get a nice Xfce desktop: xfce-utils xfce4-session xfce4-taskbar xfdesktop xfwm4 Nick -Original Message- From: [EMAIL PROTECTED] on behalf of Alex Kwan Sent: Mon 6/25/2007 11:26 AM To: OpenBSD general usage list Subject: xf

Re: Strange crashes started this morning

2007-06-25 Thread andrew fresh
On Fri, Jun 22, 2007 at 11:27:11PM -0400, Alex Feldman wrote: > Hi Andrew > > You crash dump doesn't show that it crashed on san driver. I'm saying that > this is not the problem with san driver but it doesn't show any driver > related function in crash trace. I do not see that either. However,

Re: xfce windows manager

2007-06-25 Thread Almir Karic
x11/xfce4 On 6/25/07, Alex Kwan <[EMAIL PROTECTED]> wrote: Hello, I wanted to use xfce for my systems' windows manager, which packages are must required? (I have install the X base). thanks! Alex -- almir

isakmpd on OpenBSD 3.7 and OpenBSD 4.0

2007-06-25 Thread catalin visinescu
Hello, I see that OpenBSD 3.7 isakmpd and OpenBSD 4.0 isakmpd do not establish security associations. I get an INVALID-PAYLOAD-TYPE message. isakmpd 3.7 does not seem to understand payload RESERVED. Is there a way I can run isakmpd 4.0 downgraded or any other way to get the two of th

xfce windows manager

2007-06-25 Thread Alex Kwan
Hello, I wanted to use xfce for my systems' windows manager, which packages are must required? (I have install the X base). thanks! Alex

Re: Recommendations for zone management (web)tool for Bind?

2007-06-25 Thread L. V. Lammert
At 05:31 PM 6/25/2007 +0200, you wrote: Hello, Although aware of the general aversion against web gui's on this list (which I understand) I still would like to be able to allow people to manage their own zonefile. Webmin will do what you wish, .. but it might take some scripting to manage p

Recommendations for zone management (web)tool for Bind?

2007-06-25 Thread Matt
Hello, Although aware of the general aversion against web gui's on this list (which I understand) I still would like to be able to allow people to manage their own zonefile. Allowing so from within a webpage seems the most logical step for me. Looking at the many webbased clients outthere I am

RTHREADS and librthread

2007-06-25 Thread Vortechz
I hope there are people using/testing/developing rthreads out there who can explain to me why syscall getthrid fails with SIGSYS on my system, 4.1-release. 1. I have RTHREADS defined in my kernel. I have checked that the rthread code is included at compile time, and I also tried this: $ grep gett

Re: ping: sendto: No route to host

2007-06-25 Thread Jeff Santos
OK... I know I did not give enough information to allow people help. So here are some more. The firewall works fine running routed most of the time. It is running 4.1-STABLE (below is a dmesg). I see a lot of interrupts on both internal and external interfaces sk0 and sk1. Something like 3600. T

Re: cannot enable executable stack...

2007-06-25 Thread Matthew Szudzik
> I have successfully ported the relevant material from the NetBSD patches > > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/linux/common/linux_misc.c.diff?r1=1.140&r2=1.141 > > > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/linux/common/linux_mmap.h.diff?r1=1.16&r2=1.17 > > h

Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
And here are the dmesgs before and after the latest snapshot update. OpenBSD 4.1-current (GENERIC) #1122: Wed Jun 20 22:10:55 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1073016832 (1023MB) avail mem = 1030762496 (983MB) mainbus0 at root bios0 at mainbus0: SMB

Re: howto set nfsbootdevname for nfsroot?

2007-06-25 Thread Heinrich Rebehn
Heinrich Rebehn wrote: > Reyk Floeter wrote: >> hi! >> >> On Mon, Jun 25, 2007 at 11:50:03AM +0200, Heinrich Rebehn wrote: >>> I have successfully set up a client for diskless(8) booting. >>> However, this works only when booting from the first (onboard) nic. >>> When i use another nic, the kernel

Re: howto set nfsbootdevname for nfsroot?

2007-06-25 Thread Heinrich Rebehn
Reyk Floeter wrote: hi! On Mon, Jun 25, 2007 at 11:50:03AM +0200, Heinrich Rebehn wrote: I have successfully set up a client for diskless(8) booting. However, this works only when booting from the first (onboard) nic. When i use another nic, the kernel still tries to do revarp from the first n

Re: howto set nfsbootdevname for nfsroot?

2007-06-25 Thread Reyk Floeter
hi! On Mon, Jun 25, 2007 at 11:50:03AM +0200, Heinrich Rebehn wrote: > I have successfully set up a client for diskless(8) booting. > However, this works only when booting from the first (onboard) nic. > When i use another nic, the kernel still tries to do revarp from the > first nic, which fails

Re: LC_COLLATE and PostgreSQL

2007-06-25 Thread Artur Litwinowicz
Hi Philip, thank You match for answer and nice words :). I am starting be concern for my problem but my "love" for OpenBSD is stronger then sort problems (data on my web are sorted not correctly) and I do not want to change system on may server. Maybe in the nearest feature OpenBSD Develo

howto set nfsbootdevname for nfsroot?

2007-06-25 Thread Heinrich Rebehn
Hi list, I have successfully set up a client for diskless(8) booting. However, this works only when booting from the first (onboard) nic. When i use another nic, the kernel still tries to do revarp from the first nic, which fails. sys/nfs/nfs_boot.c offers a possibility to override the default

Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
Forgot to mention that this repros on two i386 machines and an amd64.

Re: LC_COLLATE and PostgreSQL

2007-06-25 Thread Artur Litwinowicz
Hi Ben, than You for answer. My PostgreSQL instance works fine. The problem is in OpenBSD unfortunately. PostgreSQL uses COLLATION support served by operating system and default BSD has C and POSSIX COLLATION. I am looking for solution for this problem. I need native support for polish lang

Re: troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
On Mon, Jun 25, 2007 at 11:08:48AM +0200, Marc Espie wrote: > On Mon, Jun 25, 2007 at 11:36:24AM +0300, Paul Irofti wrote: > > Since the Hackathon every time I update to the latest snapshots and run > > a pkg_add -iuv I get fatal errors with random package updates. > > > > I usually have to remove

Re: problems with kthread

2007-06-25 Thread Artur Grabowski
syl <[EMAIL PROTECTED]> writes: > Hi everyone, > > I'm not sure if I'm at the right place to ask this question, but I > might aswell try; I'm writing you this mail because there is one thing > I can't understand in the openbsd kthread. > > Actually, it is those two functions from the kthread's m

Re: troubles with pkg_add -u

2007-06-25 Thread Marc Espie
On Mon, Jun 25, 2007 at 11:36:24AM +0300, Paul Irofti wrote: > Since the Hackathon every time I update to the latest snapshots and run > a pkg_add -iuv I get fatal errors with random package updates. > > I usually have to remove by hand (pkg_delete fails) and reinstall the > given package. > > Th

troubles with pkg_add -u

2007-06-25 Thread Paul Irofti
Since the Hackathon every time I update to the latest snapshots and run a pkg_add -iuv I get fatal errors with random package updates. I usually have to remove by hand (pkg_delete fails) and reinstall the given package. The errors I get are along the lines of: qt3-mt-3.7p5 (deleting): complete U