Perl script ran by chrooted apache

2012-08-24 Thread Mik J
Hello, I have the following perl script that works in command line: #!/usr/bin/perl use Net::DNS; my $res   = Net::DNS::Resolver-new; my $query = $res-search(www.openbsd.org); if ($query) {     foreach my $rr ($query-answer) {     next unless $rr-type eq A;     print $rr-address, \n;    

Re: Perl script ran by chrooted apache

2012-08-24 Thread Mik J
De : Sébastien Marie semarie-open...@latrappe.fr On Fri, Aug 24, 2012 at 06:02:39PM +0100, Mik J wrote: Hello, I have the following perl script that works in command line: [...] # ./dns.pl 142.244.12.42 [...] I tried in /var/www/htdocs/cgi/ but when I access http

Re: Perl script ran by chrooted apache

2012-08-24 Thread Mik J
I modified the wrong file. Since I was debugging I had created many copies of that script. Yes your solution works. Thank you. - Mail original - De : Mik J mikyde...@yahoo.fr À : misc@openbsd.org misc@openbsd.org Cc : Envoyé le : Vendredi 24 août 2012 23h14 Objet : Re: Perl

ERP on OpenBSD

2012-08-17 Thread Mik J
Hello, Has anyone tried to install OpenERP on OpenBSD ? I tried tryton but I really didn't like it. There's no web interface and it requires a heavy client. And also for other reasons. I also tried Adempierre but it required a libmap.conf file and OpenBSD will not have this.

Re: man page contents [was: Re: C******.org]

2012-07-27 Thread Anthony J. Bentley
Eric Oyen writes: h. that may be another method of viewing a man page, converting it to a text based PDF. that is something to consider. mandoc supports PDF output as well. For example, with the following command: mandoc -Tpdf /usr/share/man/man1/ls.1 /tmp/ls.pdf

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
to work ? - Mail original - De : Mik J mikyde...@yahoo.fr À : misc@openbsd.org misc@openbsd.org Cc : Envoyé le : Mardi 8 mai 2012 22h08 Objet : Re : Apache won't start after pecl-imagick installation Thank you for your answer. I did use apachectl but after your email I followed your

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
: Apache won't start after pecl-imagick installation Maybe a stupid question, but did you create the certificate the steps in the FAQ? http://www.openbsd.org/faq/faq10.html#HTTPS On Fri, Jul 20, 2012 at 09:23:53AM +0100, Mik J wrote: Hello, I'm coming back with this Apache startup

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
Hello Otto, I was confused if I could start it manually or not. There was indeed a little mistake in the configuration regarding the paths of the certificate. It's now solved. Thank you to both of you - Mail original - De : Otto Moerbeek o...@drijf.net À : Mik J mikyde...@yahoo.fr Cc

Re: does re-injection even work?

2012-07-16 Thread Peter J. Philipp
On Mon, Jul 16, 2012 at 11:01:10PM +0300, Kostas Zorbadelos wrote: Peter J. Philipp p...@centroid.eu writes: I did this rather fast hoping to get it in for someone I know who is being used for a DNS amplifier attack but the final tests broke the hope of stopping it with this. Also

Re: does re-injection even work?

2012-07-11 Thread Peter J. Philipp
On Tue, Jul 10, 2012 at 09:34:04PM +0200, Peter J. Philipp wrote: # pfctl -srules pass all flags S/SA block drop in on ! lo0 proto tcp from any to any port 6000:6010 block drop in on re0 inet from fuckoff to any pass in on re0 inet proto udp from any to any port = 53 scrub (reassemble tcp

does re-injection even work?

2012-07-10 Thread Peter J. Philipp
Hi, I have built some skeleton code (it's ugly) for a proxy for dns based on my wildcarddnsd. I'm using divert(4) sockets but whenever I put the pf rules on the reinjection doesn't work for me. Here is my pf rules: # pfctl -srules pass all flags S/SA block drop in on ! lo0 proto tcp from any

firewall not catching?

2012-07-09 Thread Peter J. Philipp
Hi, Was there any bugfixes between 5.0 and 5.1 that would allow certain packets through the pf filter? I have a case where I cannot block a certain IP on a 5.0 box. I tested that same IP on an 5.1 box with a spoofer and I found my same rules to catch, so it's not my logic I don't think. I

Re: firewall not catching?

2012-07-09 Thread Peter J. Philipp
. Perhaps by next week even. I'll let you know if the problem persists then, and perhaps I'll even get an OK to share the hardware data by then. I understand you can't help me much more, thanks anyways... Regards, -peter On Mon, Jul 9, 2012 at 12:34 PM, Peter J. Philipp p...@centroid.eu wrote

Re: firewall not catching?

2012-07-09 Thread Peter J. Philipp
On Mon, Jul 09, 2012 at 10:21:47PM +0200, Peter Hessler wrote: Use 'pfctl -vvss' to see which rule it is matching on. I bet you have a rule that matches that traffic. That was the hint I needed. Thanks! It did cross my mind and I did dump the states before but I must have missed that IP in

Re: mojibake

2012-07-01 Thread Anthony J. Bentley
tags. -- Anthony J. Bentley

Re: mojibake

2012-07-01 Thread Anthony J. Bentley
was limiting the options to those that can be easily mirrored. All of those are basically server-agnostic; yours is not. And I can't imagine a situation when you'd ever want to do that anyway--sticking to one encoding is much simpler and saner. -- Anthony J. Bentley

Re: OpenBSD's webpage desing

2012-06-28 Thread Anthony J. Bentley
frantisek holop writes: For dynamic content it's even simpler -- the program producing the content should also provide the corresponding header information. and it does so inside the head of the page. a perfectly normal and accepted practice. btw. a content-type meta tag is _mandatory_

Re: Portable version of cwm(1)?

2012-06-23 Thread Anthony J. Bentley
Aaron W. Hsu writes: Has anyone done a portable version of cwm(1) from the OpenBSD tree? I just made an attempt, and it was pretty straightforward, but if someone has made a more serious attempt I would prefer to consider that. Christian Neukirchen has one, and plans to keep it in sync

Re: Learning C Programming

2012-06-22 Thread Peter J. Philipp
On Fri, Jun 22, 2012 at 07:55:18AM +0200, Otto Moerbeek wrote: Yes, it's a very tough book. I have had a similar experience. Wel, reading an answers book does not really help. Arriving at the answers yourself (wich requires effort indeed) is much better. Agreed, the answer book is cheating

Re: OpenBSD forked

2012-06-22 Thread Mic J
Who is J.R. Steven?

Re: OpenBSD forked

2012-06-22 Thread Mic J
On Fri, Jun 22, 2012 at 4:22 PM, Otto Moerbeek o...@drijf.net wrote: On Fri, Jun 22, 2012 at 04:02:51PM +0200, Mic J wrote: Who is J.R. Steven? I think Marc intended to mention W. Richard Stevens. See http://www.kohala.com        -Otto That what i thought, no JR stevens came up in my

macppc will it survive?

2012-06-21 Thread Peter J. Philipp
Hi, Since deraadt mentioned the names of people who left to bitrig and I'm wondering what will happen to the macppc port? Is it going to go the route of the mac68k port too? I saw some commits earlier on it so that got my hopes up... I have a G4 Cube running OpenBSD/macppc and it has a

Re: OpenBSD forked

2012-06-17 Thread Peter J. Philipp
On Sun, Jun 17, 2012 at 12:24:38PM -0600, Theo de Raadt wrote: make of it what you will. it's too stressfull. perhaps i should become an ex-OpenBSD developer too, those people seem to have much more glamourous lives... Having followed OpenBSD for quite some time I noticed that good

Mounting a partition, cdrom, usb as a user

2012-06-16 Thread Mik J
Hello, I'm able to mount a partition as a user if I have kern.usermount=1 # ls -l /dev/wd2* brw-rw  1 root  operator    0,   0 May  7 21:54 /dev/wd2a # ls -l /mnt drwxrwxr-x   2 myuser  operator  512 May  7 22:38 extpart and # grep operator /etc/group operator:*:5:root,myuser However, I'm

Re : Mounting a partition, cdrom, usb as a user

2012-06-16 Thread Mik J
+0100, Mik J wrote: ... However, I'm unable to mount the partition if the owner of /mnt/extpart is root although that mount point is rwx by the group operator and myuser belongs to that group. # ls -l /mnt drwxrwxr-x   2 root  operator  512 May  7 22:38 extpart I assume

Re: setsockopt question

2012-06-11 Thread Peter J. Philipp
On Mon, Jun 11, 2012 at 12:16:28PM -0400, Simon Perreault wrote: On 2012-06-10 11:26, Peter J. Philipp wrote: +if (setsockopt(udp[i], IPPROTO_IPV6, +IPV6_HOPLIMIT,on, sizeof(on)) 0) { s/IPV6_HOPLIMIT/IPV6_RECVHOPLIMIT

setsockopt question

2012-06-10 Thread Peter J. Philipp
Hi, I was reading through the ip6(4) manpage and I thought it'd be a cute idea to put the example code into my dns daemon. So I took my latest source found at http://wildcarddns.cvs.sourceforge.net/wildcarddns/ and applied this patch: --- main.c.orig Sun Jun 10 17:13:31 2012 +++ main.c

Re: llround(), round() broken?

2012-06-05 Thread Anthony J. Bentley
russell writes: $man math DESCRIPTION These functions constitute the C math library, libm. The link editor searches this library under the ``-lm'' option. Declarations for these functions may be obtained from the include file math.h. That manpage was removed from base 11 months ago.

Re: llround(), round() broken?

2012-06-04 Thread Anthony J. Bentley
reading on the mandoc mailing lists that OpenBSD man pages do not contain this section, but I don't know why that is. -- Anthony J. Bentley

Re: ikev2 between openbsd and windows

2012-05-31 Thread Peter J. Philipp
On Tue, May 29, 2012 at 01:55:45PM +0200, Mike Belopuhov wrote: On Wed, May 16, 2012 at 17:30 +0400, Pavel Shvagirev wrote: 2. Doesn't work EAP mode - Windows stops on Checking username and password error. Then #13803, 1931... Hi, Just to mention it for those not following

Re: ikev2 between openbsd and windows

2012-05-31 Thread Peter J. Philipp
On Thu, May 31, 2012 at 12:28:47PM +0200, Mike Belopuhov wrote: My iked config looks like this: do you have a user specification in your iked.conf? which user are you trying to authenticate as? user specification occupies a separate line and looks like that: user username password

Re: More bgpd problems

2012-05-29 Thread Peter J. Philipp
On Tue, May 29, 2012 at 04:21:12PM +, Matt Hamilton wrote: I will happily supply what I can. Just let me know how. Hello, I've never used BGPd personally but perhaps I can help you get a backtrace. There is quite possibly two ways to get a backtrace. 1. Make BGPD dump core Recompile the

Re: 5.0 - 5.1 Touchpad mouse tap now ignored

2012-05-29 Thread Anthony J. Bentley
looking for. -- Anthony J. Bentley

Re: ikev2 between openbsd and windows

2012-05-16 Thread Peter J. Philipp
On Mon, May 14, 2012 at 12:53:34PM +0200, Mike Belopuhov wrote: 4) Install the server certificate on the server: ikectl ca vpn certificate 10.1.0.1 install 5) To export the client certificate in a ZIP'ed PFX format, you need to install zip utility (pkg_add -i zip). ikectl ca

Re : Error while copying data from another disk

2012-05-16 Thread Mik J
On Tue, 15 May 2012 17:33:02 +0100 (BST) Mik J wrote: to recover the rest of my files (50% left) while the disk doesn't complain Hello, I wanted to give a feedback. I have copied all my directories except one that was generating the errors that I wrote in my first mail. The directory

Re : Error while copying data from another disk

2012-05-15 Thread Mik J
- Mail original - De : Ted Unangst t...@tedunangst.com On Mon, May 14, 2012 at 10:19, Jan Stary wrote: On May 14 08:11:43, Mik J wrote: My first question is that I don't understand the term fsbn. http://lmgtfy.com/?q=openbsd+fsbn The results for that aren't particularly helpful

Error while copying data from another disk

2012-05-14 Thread Mik J
Hello, After my new OpenBSD installation, I'm trying to copy data from my backup disk and I have these errors. wd0f: uncorrectable data error reading fsbn 1671616960 of 1671616896-1671617023) It happens with different files that belong to different directories and it's always the number fsbn

Apache won't start after pecl-imagick installation

2012-05-08 Thread Mik J
Hello, I'm reinstalling my system from 4.9 to 5.1 I have installed pecl-imagick and stopped/started Apache but I have a seg fault (core dumped). If I uninstall this package Apache stops/starts nicely. I have read this page http://www.openbsd.org/faq/upgrade50.html#Pkgup The last point talks

Re : Ftpd chroot in a user folder name

2012-05-08 Thread Mik J
Hello, Not exactly the accurate answer to your question but I use pure-ftpd. It does exactly what you want: A user is chrooted and cannot see other users directories (which are not within the user's tree) - Mail original - De : Wesley open...@e-solutions.re @ : Nicolai

Re : Apache won't start after pecl-imagick installation

2012-05-08 Thread Mik J
: Apache won't start after pecl-imagick installation On 2012-05-08, Mik J mikyde...@yahoo.fr wrote: Hello, I'm reinstalling my system from 4.9 to 5.1 I have installed pecl-imagick and stopped/started Apache but I have a seg fault (core dumped). If I uninstall this package Apache stops

keyboard question

2012-05-07 Thread Peter J. Philipp
Hi, I have a USB Keyboard that when I unplug it and plug it back in it doesn't come back as recognized by the system. So I have to log in from the net- book and reboot. Is this common to all OpenBSD workstations or just mine? Here is some info: jupiter$ dmesg|grep -i nova uhidev0 at uhub6

Re: Help to compile

2012-04-07 Thread Peter J. Philipp
On Sat, Apr 07, 2012 at 06:13:07PM +, Morten B. Christensen wrote: Dear OpenBSD friends, Is somebody (with programming experience) willing to compile a small DNS server for me? The source code is a single .c file but my lack of skills is annoying :-( The link to Microdns is here

Re: Snappy Answers to Stupid Questions - WTF?

2012-03-09 Thread Mic J
Dear Fredrik Staxeng. Im sorry to hear you had a bad experience when communicating with our team. Could you please specify your exact problem, What was the question you got a snappy answer about And what was it Linus was right about. WE at OpenBSD.org works hard to provide a great customer and

Re : Re : vpn isakmpd ipsec, one side with only one interface

2012-02-18 Thread Mik J
De : Wesley M. open...@e-solutions.re @ : Mik J mikyde...@yahoo.fr Cc : misc@openbsd.org Envoyi le : Vendredi 17 fivrier 2012 5h45 Objet : Re: Re : vpn isakmpd ipsec, one side with only one interface I know ssh works also very well. But the company has requierements : ipsec vpn

Re : vpn isakmpd ipsec, one side with only one interface

2012-02-16 Thread Mik J
Hello, I have this configuration working without any bridge. Openbsd rl0 - LAN1 - Router - Internet - RemoteFW - LAN 2 - SomeDevice My PC is connected to a LAN1 switch, and it's able to ssh SomeDevice. As you can see my OpenBSD has just one interface and the VPN is mounted between OpenBSD and

Equivalent of /etc/libmap.conf on OpenBSD

2012-02-08 Thread Mik J
Hello everyone, I have not found how to get an equivalent of /etc/libmap.conf on OpenBSD I'm following a documentation written for FreeBSD and they say echo libpthread.so libthr.so /etc/libmap.conf Do you know how can I get this done on OpenBSD ? Thanks

5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
Hi, I have a vm that I upgraded to 5.1-beta last week some time. One of my software's is getting a compiler warning now that it didn't get in 5.0. --- cc -Wall -g -I/usr/local/include/db4 -c reply.c reply.c: In function 'create_anyreply': reply.c:2975: warning: array size (2) smaller than

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
On Thu, Jan 26, 2012 at 07:03:39PM +0100, Otto Moerbeek wrote: http://wildcarddns.cvs.sourceforge.net/viewvc/wildcarddns/wildcarddnsd/reply.c?view=log Which revision are you using? -Otto Hi Otto, I'm at HEAD with this, it requires berkeley db 4.6 (or higher) if you are wanting

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
On Thu, Jan 26, 2012 at 07:22:37PM +0100, Otto Moerbeek wrote: cc -Wall -g -I/usr/local/include/db4 -c reply.c reply.c: In function 'create_anyreply': reply.c:2975: warning: array size (2) smaller than bound length (4) reply.c:2975: warning: array size (2) smaller than bound length (4)

youtube works, thanks!

2012-01-20 Thread Peter J. Philipp
Hi, I noticed today by accident that the videos on Youtube work. They are HTML5. The sound I made happen by by starting aucat -l. Is this old news or am I dreaming? -peter

Re: Ted Unangst Static Source Code Analysis

2012-01-08 Thread Mic J
Coverity also i think i remember one of the OpenBSD developers worked/works for coverity There is open source projects scanning. Also look in the archives there are several interesting threads try f.ex using coverity in your search. there is a list of tools on wikipedia !!!

PF rule counters

2011-12-22 Thread Mik J
Hello, I would like a clarification. I have these rules and I notice an incrementation only when there is a new incoming connection. Here I did an ssh connection # pfctl -s rules -v | head -6 block drop log all [ Evaluations: 83Packets: 0 Bytes: 0 States: 0 ] [

Re: 4096-byte sector size again

2011-12-21 Thread j
Regarding The sectors are definitely 4k bytes. How can I re-partition it given that fdisk won't adjust the MBR? # fdisk -e sd1 Unable to read MBR It turns out this is fixed in 5.0 (and I tested in -current). Thanks to Theo and Kenneth for some offline help. --John

4096-byte sector size again

2011-12-19 Thread j
I have an Iomega Prestige 1TB disk, USB 3.0 up to 5Gbit/s, OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP ...snip... Dec 17 09:53:54 len /bsd: port 2 configuration 1 interface 0 iomega LDHD-UP3 rev 2.10/0.04 addr

ping6 bug or feature?

2011-12-04 Thread Peter J. Philipp
I'm writing some NAT/redirect stuff for IPv6 (don't ask why) and I've come across this packet manglery: dione$ ping6 2a01:4f8:d13:1980::1000 PING6(56=40+8+8 bytes) 2001:a60:f074::30 -- 2a01:4f8:d13:1980::1000 16 bytes from 2001:a60:f074::25, icmp_seq=0 hlim=64 time=20.019 ms ^C ---

Re : how to find dependencies when building a new kernel

2011-11-30 Thread Mik J
Hello, De : Kevin Chadwick ma1l1i...@yahoo.co.uk Split your config in half, choose the half you think is most likely to cause the problem and diff that half back to defaults and compile. Just to ack what Kevin says. You're trying to add and remove too many different things at once. First take

Re : OpenBSD ipsec gateway behind a router

2011-11-19 Thread Mik J
MJ LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) MJ As you can see the OpenBSD 4.9 server sits on the LAN1 and has one physical interface. MJ When it wants to access to the internet, its address 192.168.10.99 is natted in

Re : OpenBSD ipsec gateway behind a router

2011-11-17 Thread Mik J
/in 10.20/16 0 10.10.11/240 0 185.53.27.23/esp/require/out Fabio Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx

Re : OpenBSD ipsec gateway behind a router

2011-11-16 Thread Mik J
Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) As you can see the OpenBSD 4.9

Re: spamd-setup in crontab

2011-11-14 Thread James J. Lippard
I had the same problem, which I worked around by changing my spamd.conf to use a local file instead of FTP, and downloading the traplist.gz file in my daily.local. That is, my spamd.conf now looks like this: uatraps:\ :black:\ :msg=Your address %A has sent mail to a ualberta.ca

Re : OpenBSD ipsec gateway behind a router

2011-11-14 Thread Mik J
185.53.27.23/esp/use/in 10.20/16 010.10.11/24 00 185.53.27.23/esp/require/out Fabio Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet

OpenBSD ipsec gateway behind a router

2011-11-13 Thread Mik J
Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) As you can see the OpenBSD 4.9 server sits on the LAN1 and has one physical interface. When it wants to access

Three unresolved OpenSSH/OpenSSL problems after OpenBSD 5.0 upgrade

2011-11-12 Thread James J. Lippard
I've had the following three unresolved problems (apart from the workaround I point out for #3) since my upgrade to OpenBSD 5.0, all involving ssh and/or ssl: 1. I use TLS with postfix, with certificates on all machines. My colo-hosted mail server sending mail via IPv6 to an internal host

Re: using xmodmap to make Caps Lock a control key: worked = 4.9, broken in 5.0

2011-11-08 Thread Anthony J. Bentley
to be a no-op: Caps Lock stays a caps-lock key. You can just run setxkbmap -option ctrl:swapcaps. -- Anthony J. Bentley

Re: how to gain high performance with big memory

2011-11-03 Thread J Sisson
On Thu, Nov 3, 2011 at 4:24 AM, Bentley, Dain dbent...@nas.edu wrote: Take a look at this: http://www.packetmischief.ca/openbsd-compact-flash-firewall/ http://blog.spoofed.org/2007/12/openbsd-on-soekris-cheaters-guide.html Why send people to third party documentation that won't be properly

Re : Question: c_config.sh and symon.conf on symon for OpenBSD PF

2011-10-27 Thread Mik J
Hello Stefan, 1.Do I need to configure symon.conf only? Do I need to customize c_config.sh to meet my specific requirement because c_config.sh file contains and collect interface and io information only? It's not important which file to use and where is the file. Start symon and symux

Re: microsoft wireless keyboard and mouse

2011-10-08 Thread j
After several attempts I could not get any action out of the mouse (actually it was a model 800 wireless kb and mouse, not 1000). I gave up and bought a wired kb and used a wired ms mouse I had lying around. The box didn't say OpenBSD compatible so I guess that's why it didn't work. --J

Re : Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www [SOLVED]

2011-10-07 Thread Mik J
. Have a nice week end - Mail original - De : richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz @ : Mik J mikyde...@yahoo.fr Cc : misc@openbsd.org misc@openbsd.org; richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz Envoyi le : Jeudi 6 Octobre 2011 21h51 Objet : Re

microsoft wireless keyboard and mouse

2011-10-07 Thread j
not work at all. Cannot get any action -- no mouse button 1, no scroll, nothing. This is on a new Lenovo B575 laptop with new AMD E-350 chipset. Anyone have any success with this? --J $ dmesg OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar 2 07:19:02 MST 2011 dera...@i386.openbsd.org:/usr/src/sys/arch

Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-06 Thread Mik J
De : richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz OpenBSD 3.9? Or 4.9? My mistake, yes it's OpenBSD 4.9 Quoting Mik J mikyde...@yahoo.fr: Hello everyone, My problem is that I cannot execute a php script in CLI. This test script is supposed to connect to mysql

Re : Php cannot connect to mysql

2011-10-06 Thread Mik J
_mysqlB 33 OctB 4 23:08 /var/run/mysql/mysql.sock - /var/www/var/run/mysql/mysql.sock I suppose this is normal DeB : pavel pocheptsov lilit-aibo...@mail.ru CB : misc@openbsd.org CcB : Mik J mikyde...@yahoo.fr EnvoyC) le : Jeudi 6 Octobre 2011 11h11 ObjetB : Re

Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-05 Thread Mik J
Hello everyone, My problem is that I cannot execute a php script in CLI. This test script is supposed to connect to mysql and retrieve some simple results Systeme: OpenBSD 3.9 Packages installed: php5-core-5.2.17, php5-extensions-5.2.17, php5-gd-5.2.17, php5-mysql-5.2.17, php5-snmp-5.2.17,

Re: GCC 4.2.4?

2011-09-15 Thread J Sisson
On Thu, Sep 15, 2011 at 4:59 PM, Jeffrey Walton noloa...@gmail.com wrote: I sometimes wonder about the whole free software, free beer thing. Its kind of like trying to figure out how US politicians claim to balance a budget, yet the US is trillions in debt. Here's a hint: Someone is

Re: Loongson -- is it actually encumbered now?

2011-09-09 Thread Anthony J. Bentley
]. But you will be hard-pressed to find a free FPGA or ASIC platform to run said designs on. The world of digital hardware is even more proprietary and locked-down than most software developers can imagine. [1] http://www.opensparc.net/ -- Anthony J. Bentley

Re: sipgate vpn

2011-09-01 Thread Peter J. Philipp
On Mon, Aug 29, 2011 at 04:02:17PM -0600, Diana Eichert wrote: A search through the misc@ archives would show other people have used vpnc to connect to sipgate, most likely related to xauth authentication. g.day Super! Thanks a lot eh! I used the config someone posted on this mailing list

Re: Does anybody use deroff(1)?

2011-09-01 Thread Anthony J. Bentley
encountered with deroff(1). -- Anthony J. Bentley

sipgate vpn

2011-08-29 Thread Peter J. Philipp
Hi, I was wondering if anyone here is using sipgate.de? They have a VPN function for IPsec for the sipphones and I want to encrypt my traffic to them. If anyone has a config they use to sipgate and want to share it'd save me an afternoon of toying with this. I already contacted them and they

Re: Thanks a lot to all devs of OpenBSD

2011-08-28 Thread J Sisson
On Sun, Aug 28, 2011 at 2:43 PM, Loganaden Velvindron logana...@devio.uswrote: If other BSDs worked this way, they would have been successful in attracting a larger userbase. They have the means to do it with their larger developer community. This begs the question of whether or not their

systrace(4) and openssh

2011-08-21 Thread Peter J. Philipp
The new systrace in openssh is great. Good work djm! How would someone go about putting that into inetd? Since inetd is only 1 root process you can't attach a child to it. Can you just make a policy without attaching a child process? -peter

Re: sshd reverse lookup fails

2011-08-11 Thread Peter J. Philipp
On Thu, Aug 11, 2011 at 10:35:16AM -0600, Jeff Ross wrote: I'm logging into a remote server and on the remote end I see this in the logs: 2011-08-11 10:20:34.701069500 auth.info: sshd[20129]: Address 71.37.181.185 maps to heinlein.openvistas.net, but this does not map back to the address

Re: sshd reverse lookup fails

2011-08-11 Thread Peter J. Philipp
On Thu, Aug 11, 2011 at 11:18:05AM -0600, Jeff Ross wrote: 2011-08-11 10:20:34.701069500 auth.info: sshd[20129]: Address 71.37.181.185 maps to heinlein.openvistas.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! cut Yes, that was it. I'd changed the name of the

Re: If I install OpenBSD 4.9, when will I have to upgrade to 5.0?

2011-07-11 Thread J Sisson
On Mon, Jul 11, 2011 at 6:25 AM, lancebaynes87 lancebayne...@zoho.comwrote: The worlds most secure os, and it doesn't have any docs regarding the different versions security support time. Surprisingly, people expect to use the worlds most secure OS without reading anything about it. (hint:

Re: How does OpenBSD compare to Ubuntu Server?

2011-07-11 Thread J Sisson
On Mon, Jul 11, 2011 at 6:58 PM, Juan Miscaro jmisc...@gmail.com wrote: On 7 July 2011 15:06, jirib ji...@devio.us wrote: Are you kidding? Ubuntu? Where installed daemons are running by default, where there is no command to disable shitty upstart daemons? Which daemons are those again?

Re: How does OpenBSD compare to Ubuntu Server?

2011-07-11 Thread J Sisson
On Mon, Jul 11, 2011 at 7:36 PM, Andres Perera andre...@zoho.com wrote: why would you install a daemon and not run it? how is it any different than X listening on localhost by default in obsd? if you install a daemon in debian/ubuntu and it listens on 0.0.0.0 by default, the package isn't

Re: nat6 to nat4

2011-07-01 Thread Peter J. Philipp
On Fri, Jul 01, 2011 at 10:29:09AM -0300, Christiano F. Haesbaert wrote: Thanks a lot, I'll read it with love. Is there any other alternatives I should know of ? Hi Christiano, you don't specify where the IPv4 host is (local network or outside), but I did some playing with faithd(8) in the

Re: More softraid0 problems on current

2011-06-04 Thread J Sisson
On Sat, Jun 4, 2011 at 6:41 PM, Josh Rickmar joshua_rick...@eumx.netwrote: Thanks for the quick fix! The July 4 snapshot boots up perfectly here. Yeah, talk about a quick fix...it's available a month early! :)

Re: vmmap: bad software everywhere

2011-06-01 Thread Peter J. Philipp
On Tue, May 31, 2011 at 12:51:27PM +0200, Marc Espie wrote: People not following development too closely may not be aware of it, but we've had a lot of fun with amd64 recently. Specifically, Ariane committed a new vmmap implementation that tends to actually use the 64 bits address space, in

Re: Outdated example in smtpd.conf(5)

2011-05-01 Thread Anthony J. Bentley
Scratch that, I did not read smtpd(8) carefully enough. Sorry for the noise. On Sun, May 1, 2011 at 7:23 PM, Anthony J. Bentley anthonyjbent...@gmail.com wrote: I recently upgraded to a snapshot and tried to set up smtpd. But the first example in the smtpd.conf(5) manpage fails with a usage

Outdated example in smtpd.conf(5)

2011-05-01 Thread Anthony J. Bentley
] [-u] [-v] type mapname What is the correct way to perform this step? Should the manpage be updated? -- Anthony J. Bentley

Re: Like OpenBSD? Like to see new stuff happening? You really need to order a CD today :)

2011-04-21 Thread J Sisson
On Thu, Apr 21, 2011 at 4:55 PM, Paul M l...@no-tek.com wrote: Just order as many as you want and bin the excess. Order 1 with your shipping address, then order N - 1 with Richard Stallman's address. Problem solved.

Re: new upper limit with BIGMEM

2011-04-04 Thread J Sisson
On Mon, Apr 4, 2011 at 6:59 PM, Miod Vallat m...@online.fr wrote: The limit of profanity comments in the kernel source code? I think this is the truly important metric here. When will this limit have to be bumped?

Re: Webcam detected as uaudio(4) device

2011-03-20 Thread Anthony J. Bentley
Hi Jacob, uaudio0 at uhub1 port 1 configuration 1 interface 1 Logitech Camera rev 2.0 0/1.00 addr 2 uaudio0: audio descriptors make no sense, error=4 ugen0 at uhub1 port 1 configuration 1 Logitech Camera rev 2.00/1.00 addr 2 Should it should be connecting to uvideo(4) instead?

Webcam detected as uaudio(4) device

2011-03-19 Thread Anthony J. Bentley
Hi, I have a USB webcam. No model number on the cam, but looks to be a Logitech QuickCam Communicate STX. When I plug it in, I get this: uaudio0 at uhub1 port 1 configuration 1 interface 1 Logitech Camera rev 2.00/1.00 addr 2 uaudio0: audio descriptors make no sense, error=4 ugen0 at uhub1

Re: OpenBSD 4.9 pre-orders

2011-03-16 Thread Mahesh J
OpenBSD developers have done it again Thanks and keep going. Your order currently is: - 1 [T27] Open Source-ami Shirt (M) @ CDN $15.00 - 1 [CD49] OpenBSD 4.9 CD @ CDN $50.00 - Total: CDN $65.00 + Shipping. -- Mahesh On Wed, Mar 16, 2011 at 2:40 AM, Theo de Raadt

Re: Choosing a window manager...

2011-03-15 Thread J Sisson
On Tue, Mar 15, 2011 at 1:50 PM, marc li...@drwx.org wrote: Hi all, I'm deciding between kde, xfce, gnome, and fluxbox (in order of preference). Any experiences? Any relevant security issues on any of them? Thanks, Marc I'd suggest kde, xfce, gnome, and then fluxbox, according to your

Re: Mounting NTFS, Invalid argument

2011-03-07 Thread Anthony J. Bentley
On Mon, Mar 07, 2011 at 07:57:56AM +0100, Otto Moerbeek wrote: NTFS support is not enabled in the GENERIC kernel. Oops, I may be wrong. It is enabled on recent i386 and amd64 kernels. But since you neglect to give us a dmesg, we cannot tell if it is actually enable on your machine.

Mounting NTFS, Invalid argument

2011-03-06 Thread Anthony J. Bentley
Hi, When I attempt to mount a NTFS-formatted external drive, it fails: # mount -t ntfs /dev/sd2i /media/usb/ mount_ntfs: /dev/sd2i on /media/usb: Invalid argument There is a note about this under BUGS in mount_ntfs(8): If the attempt to mount NTFS gives you an error like this: #

Re: change cwm screensaver?

2011-03-03 Thread Anthony J. Bentley
. The defaults are xterm(1) and xlock(1), respectively. -- Anthony J. Bentley

Re: test for installed status of package, ports questions

2011-01-31 Thread Anthony J. Bentley
(EMACS, and even if I set FLAVOR=no_x11). B What's up with that? Covered in the FAQ: http://www.openbsd.org/faq/faq4.html#FilesNeededX -- Anthony J. Bentley

Re: indent style(9)

2011-01-04 Thread Anthony J. Bentley
try making a -knf switch? -- Anthony J. Bentley

<    4   5   6   7   8   9   10   11   12   13   >