fatal page fault in supervisor mode

2014-12-07 Thread pavel pocheptsov
Hi list, I've got this error and I don't what it is about. Is something wrong with my hardware, like RAM? Could someone point me in right direction to resolve this error? Dec  7 11:35:33 gw /bsd: uvm_fault(0xd0a2, 0xcfc0, 0, 3) -> e Dec  7 11:35:33 gw /bsd: fatal page fault (6) in super

Re[2]: OpenVPN and OBSD 5.1

2012-10-16 Thread pavel pocheptsov
Also in case of rejection adding route to your box, you have to add source NAT for packets coming from vpn net on local_if. Tue, 16 Oct 2012 13:08:23 -0600 от Luis Coronado : > > > > >No, you need to have that r

npppd as pptpdserver

2012-10-16 Thread pavel pocheptsov
I'm trying to setup npppd as change for poptop. I'm able connect to server from Internet, but I'm not able to get access to resources behind server and even server. I repeat all step from here except 1, 2, 3, 6: http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr.sbin/npppd/Attic/HOWTO_PIPEX_N

combine openvpn & pptpd

2012-10-10 Thread pavel pocheptsov
I already have hostname.tun0, that used for openvpn: up !/usr/local/sbin/openvpn --daemon --config /etc/openvpn/server.conf how can I run pptpd on that machine in same time? what interface should I create and how to map it to pptpd for five concurrent pptp session? thanks.

source ./vars and pkitool

2012-03-07 Thread pavel pocheptsov
Hello misc, I know that it is terrible, and many answers on this questions in past, but construction with dot and space before ./vars is work to make ./clean-all and ./build-dh. and something went wrong with ./pkitool # uname -a OpenBSD openbsd 5.0 GENERIC.MP#59 i386 # pwd /etc/openvpn/easy-rsa #

nut cgi-bin in apache chroot

2012-01-30 Thread pavel pocheptsov
hello misc. please help to understand how it work? I install nut and nut-cgi from pakages. nut work without any problem: # upsc eaton@localhost battery.charge: 100 battery.charge.low: 20 battery.runtime: 3216 device.mfr: MGE UPS SYSTEMS device.model: EX 2200 device.serial: AQ0L39022 driver.name: m

Re[2]: start daemon with rc.d

2011-12-21 Thread pavel pocheptsov
21 P4P5P:P0P1QQ 2011, 14:41 P>Q Antoine Jacoutot : > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > > Hello misc. > > In old release of OBSD to start daemons with system was used rc.local. > > For example: > > if [ -x /usr/local/bin/mysqld_saf

start daemon with rc.d

2011-12-21 Thread pavel pocheptsov
Hello misc. In old release of OBSD to start daemons with system was used rc.local. For example: if [ -x /usr/local/bin/mysqld_safe ] ; then su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' echo -n ' mysql' fi In 5.0 have changes described here: http://www.openbsd.org/faq

Re: Help setting up a PF NAT gateway

2011-10-10 Thread pavel pocheptsov
match out on vic2 inet from 10.221.181.0/24 to any nat-to (vic2) round-robin in what reason you paste "round-robin"? also you need pass in on $local_if from $localnet to any pass out on $ext_if from $localnet to any 10 P>P:QQP1QQ 2011, 19:42 P>Q Stefan Midjich : Simplest of things b

spamd.black & pfctl

2011-10-10 Thread pavel pocheptsov
hello misc. I have spamd before mail server. and it's work nice with liberal setting like this: spamd_flags="-v -l 127.0.0.1 -G 10:4:864 -h mail.server" pf.conf: table persist table file "/etc/mail/spamd.bypass" table file "/etc/mail/spamd.black" match in on $ext_if_a inet proto tcp from { ,

Re: Php cannot connect to mysql

2011-10-06 Thread pavel pocheptsov
Mik J P?P8QP5Q: # ls /var/www/var/run/mysql/ mysql.sock I hard linked it to /var/run/mysql/ # ln /var/www/var/run/mysql/mysql.sock /var/run/mysql/mysql.sock # ls -la /var/www/var/run/mysql total 8 drwxr-xr-xB 2 _mysqlB _mysqlB 512 Sep 21 21:14 . drwxr-xr-xB 3 rootB B B daemonB 512 Ap

Re[2]: routing problem

2011-09-28 Thread pavel pocheptsov
28 QP5P=QQP1QQ 2011, 15:28 P>Q "Wesley M." : > The VPN is between a fictif ip address(gives by the_green_bow) to > 10.100.1.0/24 > > Using VPN, i can ping 10.100.1.250 and use also ssh on the box but pings > doesn't work for : 10.100.1.100, and 10.100.1.254. > > On the OpenBSD SIDE : ipsec.

Re: routing problem

2011-09-28 Thread pavel pocheptsov
what settings on client/home side? B ipconfig /all, route print..etc 28 QP5P=QQP1QQ 2011, 11:18 P>Q "Wesley M." : Hi, I have at work: TS Server : 10.100.1.100 his gateway is 10.100.1.254 (router for private network) Firewall : 10.100.1.250 (OpenBSD 4.9, ADSL : sis0, Lan (10.100.

Re[2]: Load Balance Outgoing Traffic

2011-09-26 Thread pavel pocheptsov
26 QP5P=QQP1QQ 2011, 19:50 P>Q "Gonzalo L. R." : > Maybe you can use trunk(4) > so, I need this: # ifconfig trunk0 trunkproto loadbalance trunkport fxp0 trunkport fxp1 \ trunkport fxp2 trunkport fxp3 \ 192.168.1.1 netmask 255.255.255.0 and in pf.conf m

Re[2]: write spamd log to another file

2011-09-21 Thread pavel pocheptsov
> You grepped out some useful information; most likely you added it to > the end so the previous blocks match first. This might make it clearer: > look's like this: # cat /etc/syslog.conf # $OpenBSD: syslog.conf,v 1.17 2005/05/25 07:35:38 david Exp $ # !!spamd daemon.info /var/log/spamd # *.notic

Re[2]: write spamd log to another file

2011-09-21 Thread pavel pocheptsov
> See syslog.conf(5) and try !!spamd instead. # ps -ax | grep spamd 8690 ?? Is 0:00.21 spamd: (pf update) (spamd) 21550 ?? S 0:04.81 spamd: [priv] (greylist) (spamd) 12647 ?? S 0:00.11 spamd: (/var/db/spamd update) (spamd) 14455 p0 S+ 0:00.00 grep spamd # ps -ax | grep

write spamd log to another file

2011-09-21 Thread pavel pocheptsov
OpenBSD 4.7-stable (GENERIC) #3: Mon Sep 27 15:35:17 EEST 2010 # touch /var/log/spamd # cat /etc/syslog.conf | grep spamd !spamd *.* /var/log/spamd # kill -HUP `cat /var/run/syslog.pid` # cat /var/log/spamd # tail /var/log/daemon Sep 21 21:25:42 ww

tftp - no route to host

2011-04-29 Thread pavel pocheptsov
openbsd 4.8 # cat inetd.conf | grep tftpd tftpdgram udp waitroot/usr/libexec/tftpd /usr/libexec/tftpd -s /tftpboot # netstat -na | grep .69 udp 0 0 *.69 *.* # cat /etc/pf.conf | grep tftp pass in on $int_if inet proto udp from any

l2tpd

2011-04-13 Thread pavel pocheptsov
does openbsd have l2tpd-daemon in packages or ports?

Re[3]: match keyword in pf for "no" action

2011-01-22 Thread pavel pocheptsov
Fri, 21 Jan 2011 23:14:05 +0200 ohq|ln nr Destan YILANCI : Hi, Use quick keyword and pass packets from table to smtp service. At the second rule redirect packets from any source to spamd port. 2011/1/21 pavel pocheptsov I know about changes in PF sintax

match keyword in pf for "no" action

2011-01-21 Thread pavel pocheptsov
I know about changes in PF sintax: ### nat on $ext_if from 10/8 -> ($ext_if) rdr on $ext_if to ($ext_if) -> 1.2.3.4becomes match out on $ext_if from 10/8 nat-to ($ext_if) match in on $ext_if to ($ext_if) rdr-to 1.2.3.4