Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Johan Beisser
Did you turn off chroot? Also, why is Starting Pure-FTPd in the log? On 11/16/08, Andrei Pirvan [EMAIL PROTECTED] wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Richard Toohey
On 17/11/2008, at 7:37 PM, Andrei Pirvan wrote: 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. [snip] Let's go back to the Pure-FTPd - is your apachectl shell script broken? /usr/sbin/apachectl

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Girish Venkatachalam
On 02:01:19 Nov 17, Daniel Ouellet wrote: This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared libraries, e.g. a database access

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Andrei Pirvan
Thanks to all of you for ideas. Trying to figure out what was different from a fresh install, I remembered that I mounted /var partition in memory, so I checked the flags and found it it was mounted with noexec, and disabling that fixed my problem. Thanks again for your time.

Re: Trouble setting up wireless

2008-11-17 Thread Alexander Hall
Dan wrote: I am trying to set up an encrypted wireless network using at least WEP or, if possible WPA-PSK. I know WPA-PSK is a very new functionality, I wouldn't call it _very_ new... It's been around for some time now. and wonder if anyone is using it successfuly. I have tried WEP and

Re: Fresh install question

2008-11-17 Thread Alexander Hall
Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e.,

Issues with FTP and PF

2008-11-17 Thread Юрий Дмитришин
Hi. I have ftp server on vsftpd on ip 192.168.0.2 and a router 192.168.0.1. All ftp connections to 192.168.0.2 are fine but connections to my ext. ip (e.g. 78.78.78.78) are refused. Here's part of my pf.conf: # WAN vpn_if=tun0 # LAN int_if=vr1 # External Address ext_addr=78.78.78.78 # Server

Issues with FTP and PF

2008-11-17 Thread Yuriy A. Dmitrishin
Hi. I have ftp server on vsftpd on ip 192.168.0.2 and a router 192.168.0.1. All ftp connections to 192.168.0.2 are fine but connections to my ext. ip (e.g. 78.78.78.78) are refused. Here's part of my pf.conf: # WAN vpn_if=tun0 # LAN int_if=vr1 # External Address ext_addr=78.78.78.78 # Server

Mount USB disk

2008-11-17 Thread Christophe Rioux
I try to mount an USB disk using FAQ14 (http://www.openbsd.org/faq/faq14.html) dmesg: umass0 at uhub0 port 4 configuration 1 interface 0 Cypress Semiconductor USB2.0 Storage Device rev 2.00/0.01 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0:

Re: Mount USB disk

2008-11-17 Thread Douglas A. Tutty
On Mon, Nov 17, 2008 at 12:45:47PM +0100, Christophe Rioux wrote: I try to mount an USB disk using FAQ14 (http://www.openbsd.org/faq/faq14.html) dmesg: umass0 at uhub0 port 4 configuration 1 interface 0 Cypress Semiconductor USB2.0 Storage Device rev 2.00/0.01 addr 2 umass0: using SCSI

Re: Fresh install question

2008-11-17 Thread Nick Holland
Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else,

Re: Mount USB disk

2008-11-17 Thread Nick Holland
Christophe Rioux wrote: I try to mount an USB disk using FAQ14 (http://www.openbsd.org/faq/faq14.html) dmesg: umass0 at uhub0 port 4 configuration 1 interface 0 Cypress Semiconductor USB2.0 Storage Device rev 2.00/0.01 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets

Re: Mount USB disk

2008-11-17 Thread Otto Moerbeek
On Mon, Nov 17, 2008 at 07:03:35AM -0500, Douglas A. Tutty wrote: On Mon, Nov 17, 2008 at 12:45:47PM +0100, Christophe Rioux wrote: I try to mount an USB disk using FAQ14 (http://www.openbsd.org/faq/faq14.html) dmesg: umass0 at uhub0 port 4 configuration 1 interface 0 Cypress

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread L. V. Lammert
On Mon, 17 Nov 2008, Andrei Pirvan wrote: Hello # apachectl configtest Starting Pure-FTPd Processing config directory: /var/www/conf/modules/*.conf Processing config file: /var/www/conf/modules/php5.conf Syntax error on line 1 of /var/www/conf/modules/php5.conf: Cannot load

MP3 $105 MP4 $150 MicroSD $45 Samsung 8MP $620 PlayStation2 $750 GPS Garmin $850 OFERTAS!!

2008-11-17 Thread Blaster PC - Informatica Tech
Estimado, Pasamos a informar las ofertas del mes de Noviembre: Reproductores MP3: Reproduce MP3 - Trae Radio FM - Grabador de Voz - Funciona tambien como Pendrive MP3 1 GIGA - $ 105 MP3 2 GIGA - $ 125 MP3 4 GIGA - $ 190 Reproductores MP4: Reproduce

Re: Fresh install question

2008-11-17 Thread Jorge Valbuena
One simple thing that i will try is: If is already installed OpenBSD 4.2 and wants to install 4.3 or 4.4 , first take a look at the /etc/fstab file and write down the name of the /home partition /dev/wd0h /home ffs rw,nodev,nosuid 1 2 When installing the new version leave untouched that

soekris net4501 and openbsd 4.4 constant reboot problem

2008-11-17 Thread andrew stack
To all: I've noticed that my soekris net4501 box constantly reboots with openbsd 4.4 patchlevel 005. It's just a pf/nat router on a residential broadband cable modem. My guess is perhaps there is something wrong with the actual sis0 interface?.?.? Anybody else having these problems?

Logging interface state changes

2008-11-17 Thread (private) HKS
My apologies if this has already been addressed, but I couldn't find it in the man pages or mailing list archives. Is there a way to enable logging of network interface state changes on OpenBSD 4.3 or 4.4? This is mostly for forensic purposes - obviously I'll know if my firewall loses its

Re: Logging interface state changes

2008-11-17 Thread Daniel Melameth
On Mon, Nov 17, 2008 at 10:35 AM, (private) HKS [EMAIL PROTECTED] wrote: My apologies if this has already been addressed, but I couldn't find it in the man pages or mailing list archives. Is there a way to enable logging of network interface state changes on OpenBSD 4.3 or 4.4? This is mostly

Re: Issues with FTP and PF

2008-11-17 Thread Dan
Yuriy A. Dmitrishin([EMAIL PROTECTED])@2008.11.17 12:47:51 +0200: Hi. I have ftp server on vsftpd on ip 192.168.0.2 and a router 192.168.0.1. All ftp connections to 192.168.0.2 are fine but connections to my ext. ip (e.g. 78.78.78.78) are refused. I think you are missing pass out tcp on

Re: Issues with FTP and PF

2008-11-17 Thread James Records
Try this: replace this line: pass in on $vpn_if inet proto tcp to $ext_addr port 21 \ flags S/SA keep state with this: pass in on $vpn_if inet proto tcp to $Srv port 21 \ flags S/SA keep state Remember rdr's happen before filtering, so when pf see's this packet it will have already been

Re: Logging interface state changes

2008-11-17 Thread (private) HKS
On Mon, Nov 17, 2008 at 12:49 PM, Daniel Melameth [EMAIL PROTECTED] wrote: On Mon, Nov 17, 2008 at 10:35 AM, (private) HKS [EMAIL PROTECTED] wrote: My apologies if this has already been addressed, but I couldn't find it in the man pages or mailing list archives. Is there a way to enable

vpn with an iphone

2008-11-17 Thread jul
Hello has someone setup a vpn tunnel between openbsd and an iphone ? it seems ipsec part is strictly limited to cisco ipsec with a user account/password so not good for us. Else there is pptp and l2tp but i'm not sure there is anything in base to do this. Ports seems to only have pptp as a

Re: vpn with an iphone

2008-11-17 Thread Johan Beisser
PoPToP is in ports. On 11/17/08, jul [EMAIL PROTECTED] wrote: Hello has someone setup a vpn tunnel between openbsd and an iphone ? it seems ipsec part is strictly limited to cisco ipsec with a user account/password so not good for us. Else there is pptp and l2tp but i'm not sure there is

ami and bioctl questions

2008-11-17 Thread Jeff Ross
Hi all, At work I've got a server with an LSI MegaRAID (dmesg below) that suddenly seems to be killing hard drives. Last Thursday I had one drive fail, and the system didn't begin rebuilding onto the hot spare until I rebooted. Today I lost another drive in the same safte0. I pulled

'PAYLOAD MALFORMED' ipsec tunnel to openswan

2008-11-17 Thread Christoph Leser
Trying to establish an ipsec tunnel to a debian linux box with openswan, using this entry in ipsec.conf: ike active esp from 192.168.1.0/24 to 192.168.2.0/24 peer a.b.c.d srcid [EMAIL PROTECTED] dstid [EMAIL PROTECTED] psk xxx I get 'PAYLOAD MALFORMED' in the middle of the phase 1

Re: VLAN interface responding to packets with other destination..?

2008-11-17 Thread Johan Ström
On Nov 11, 2008, at 3:10 PM, Johan Strvm wrote: Hi list, okay, I'm doing my tricky VLAN setups now again ;) This time I got a OpenBSD 4.4 box, running inside a VMWare ESXi machine. It got two interfaces, em0 and em1. em0 is external network, and em1 is host interface for a bunch of VLAN

Re: azalia patches in -current

2008-11-17 Thread Alexey Suslikov
Jacob Meuser wrote: I saw the suggestion to read tech@ in another thread but saw no (recent) diffs there that I believe apply to this machine. one thing I'm trying to do is get rid of the static mixer definitions in azalia_codec.c. this exposes all the controls instead of a limited

Re: Logging interface state changes

2008-11-17 Thread Pereresus ne Vlezaet Buggy
On 17 November 2008 c. 20:35:33 (private) HKS wrote: My apologies if this has already been addressed, but I couldn't find it in the man pages or mailing list archives. Is there a way to enable logging of network interface state changes on OpenBSD 4.3 or 4.4? This is mostly for forensic

Re: azalia patches in -current

2008-11-17 Thread Jacob Meuser
On Mon, Nov 17, 2008 at 11:34:01PM +0200, Alexey Suslikov wrote: Jacob Meuser wrote: I saw the suggestion to read tech@ in another thread but saw no (recent) diffs there that I believe apply to this machine. one thing I'm trying to do is get rid of the static mixer definitions in

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Daniel Ouellet
Girish Venkatachalam wrote: On 02:01:19 Nov 17, Daniel Ouellet wrote: This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared

relayd on one interface/network

2008-11-17 Thread Edd Barrett
Hi, I am trying to set up a redirect (on a local lan) using relayd (using external websites for now as a test): The relay is on a soekris running 4.4-release. Only one interface is up on the soekris (sis0). Relayd.conf: ---8--- table sites {bmth.ac.uk, xe.com} #relay fun-sites { #listen

Re: 'PAYLOAD MALFORMED' ipsec tunnel to openswan

2008-11-17 Thread Stuart Henderson
On 2008-11-17, Christoph Leser [EMAIL PROTECTED] wrote: 21:38:55.438591 a.b.c.d.500 u.v.w.x.500: [udp sum ok] isakmp v1.0 exchange ID_PROT cookie: 251068307c823c51-5086ce0f33dfbb37 msgid: len: 92 payload: ID len: 9336 [|isakmp] [ttl 0] (id 1, len 120) The len

Re: Can't SSH into CARP'd system from the outside

2008-11-17 Thread Vivek Ayer
So any resolution on the apache redirection? When I go to the website, I get the Connection Interrupted error. This only occurs when both routers are on. Oddly enough, when I ssh into the virtual IP, ssh traffic doesn't get jumbled up because of the ip balancing. I suspect I may have to up the

Re: vpn with an iphone

2008-11-17 Thread Girish Venkatachalam
On 12:36:00 Nov 17, Johan Beisser wrote: PoPToP is in ports. I dunno a thing about iPhone but there is also /usr/ports/net/pptp -Girish

Re: Fresh install question

2008-11-17 Thread Girish Venkatachalam
On 15:34:47 Nov 17, Jorge Valbuena wrote: One simple thing that i will try is: If is already installed OpenBSD 4.2 and wants to install 4.3 or 4.4 , first take a look at the /etc/fstab file and write down the name of the /home partition /dev/wd0h /home ffs rw,nodev,nosuid 1 2 When

Re: Can't SSH into CARP'd system from the outside

2008-11-17 Thread Vivek Ayer
I suspect I'm getting this connection reset error because: IN---ROUTERS---WEB SERVER1 T---ROUTERW---WEB SERVER2 SW is switch here. If one router is on, it has carp0 and carp1 on either side and it can send the request to the servers which may be load-balanced which is fine. But when I

Re: Fresh install question

2008-11-17 Thread Denny White
On Mon, Nov 17, 2008 at 10:50:13AM +0100, Alexander Hall spoke thusly: Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep

Re: ami and bioctl questions

2008-11-17 Thread Dieter
At work I've got a server with an LSI MegaRAID (dmesg below) that suddenly seems to be killing hard drives. Last Thursday I had one drive fail, and the system didn't begin rebuilding onto the hot spare until I rebooted. I would hope that the controller isn't killing drives. Can we

Re: Fresh install question

2008-11-17 Thread Denny White
On Mon, Nov 17, 2008 at 07:04:31AM -0500, Nick Holland spoke thusly: Denny White wrote: I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep

Re: Fresh install question

2008-11-17 Thread Denny White
Original-Nachricht Datum: Mon, 17 Nov 2008 01:14:46 -0600 Von: Denny White [EMAIL PROTECTED] An: OpenBSD Questions misc@openbsd.org Betreff: Fresh install question I've always tried to do a fresh install any time possible, and then copy all my backed up /home and

Re: Fresh install question

2008-11-17 Thread Denny White
On Tue, Nov 18, 2008 at 06:58:22AM +0530, Girish Venkatachalam spoke thusly: On 15:34:47 Nov 17, Jorge Valbuena wrote: One simple thing that i will try is: If is already installed OpenBSD 4.2 and wants to install 4.3 or 4.4 , first take a look at the /etc/fstab file and write down the