Migrating users from one machine to another

2013-11-15 Thread John Tate
I want to migrate users from one machine to another, I was hoping someone had a script. I basically want to copy every user with a UID = 1000 and their password to the new system. I have copied their home directories with rsync, so it would be good if it could also chmod the permissions back. --

Re: Migrating users from one machine to another

2013-11-15 Thread John Tate
That worked, easier than I thought. On Fri, Nov 15, 2013 at 11:42 PM, Nick Holland n...@holland-consulting.net wrote: On 11/15/13 05:10, John Tate wrote: I want to migrate users from one machine to another, I was hoping someone had a script. I basically want to copy every user with a UID

adduser setting permissions wrong

2013-10-26 Thread John Tate
adduser is setting permissions so everyone can read a users home directory. I've never done much configuration of this tool so I can't seem to find where to change this, I thought there would be an option in adduser.conf. Here is a new user: drwxr-xr-x 3 test test 512 Oct 26

Re: I can't figure out how to change the php-fpm memory limit

2013-10-06 Thread John Tate
This is no longer an issue, it was a result of having things in the wrong place in wp-config.php On Sun, Oct 6, 2013 at 8:25 AM, John Tate j...@johntate.org wrote: php-fpm is running the scripts as a user in default login class, so login.conf should be fine. On Sun, Oct 6, 2013 at 7:32 AM

I can't figure out how to change the php-fpm memory limit

2013-10-05 Thread John Tate
I am trying to increase the memory limit on my nginx php-fpm server for wordpress. I've set the following in wp-config.php... define('WP_MEMORY_LIMIT', '128M'); define('WP_MAX_MEMORY_LIMIT', '128M'); php.ini has the following... memory_limit = 128M ;suhosin.memory_limit = 0 The fpm server is

Re: I can't figure out how to change the php-fpm memory limit

2013-10-05 Thread John Tate
php-fpm is running the scripts as a user in default login class, so login.conf should be fine. On Sun, Oct 6, 2013 at 7:32 AM, Ville Valkonen weezeld...@gmail.com wrote: On 5 October 2013 12:06, John Tate j...@johntate.org wrote: I am trying to increase the memory limit on my nginx php-fpm

SSH as root with specific IP

2013-09-30 Thread John Tate
I want to be able to log in as root by SSH with a specific IP address. This is so rsync can log in to the server easily and backup many files owned by many different users and groups. Rather than a script on the server logging into the server with the backups with many files and many different

OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
I am having trouble with IP forwarding to specific sites on a very typical configuration. The router itself can access these sites but clients can not. I have looked in obvious places on the clients, but I cannot find a cause. I reinstalled OpenBSD on the router after getting SSL errors where SSL

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
It would help if you told me how to do this... # ifconfig pppoe max-mms 1400 ifconfig: max-mms: bad value # ifconfig pppoe0 max-mms 1440 ifconfig: max-mms: bad value On Mon, Sep 30, 2013 at 11:53 PM, James Shupe jsh...@hermetek.com wrote: On 2013-09-30 08:18, John Tate wrote: I am having

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
set the MSS to 1440: match on pppoe0 scrub (max-mss 1440) On Mon, Sep 30, 2013 at 11:53 PM, James Shupe jsh...@hermetek.com wrote: On 2013-09-30 08:18, John Tate wrote: I am having trouble with IP forwarding to specific sites on a very typical configuration. The router itself can access

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
) can be set (clamped) to the required value. The following rule in pf.conf(5) would set the MSS to 1440: match on pppoe0 scrub (max-mss 1440) The documentation on pf.conf suggests doing much the same in it's example and it doesn't work. On Tue, Oct 1, 2013 at 2:07 AM, John Tate j...@johntate.org

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
-09-30 10:58, John Tate wrote: It would help if you told me how to do this... # ifconfig pppoe max-mms 1400 ifconfig: max-mms: bad value # ifconfig pppoe0 max-mms 1440 ifconfig: max-mms: bad value match on $ext scrub (max-mss 1400) in /etc/pf.conf Also, don't top post. -- James Shupe

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
-luis Just trying this, something got through for a second but once again queries to google and other sites don't work. It is still unreliable. On Mon, Sep 30, 2013 at 10:26 AM, John Tate j...@johntate.org wrote: Well max-mss doesn't seem to help I can still only access gmail

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Things are working fine from another one of my computers, it must be something to do with the computer I'm using. Sorry about that everyone. On Tue, Oct 1, 2013 at 2:48 AM, John Tate j...@johntate.org wrote: Yeah I am using my lan not the wlan. I've not got to even seeing if the wlan even works

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
appears to be with HTTP. Since starting the thread I have changed my pf.conf on advice of other users to have these lines... set reassemble yes no-df match in on pppoe0 scrub (max-mss 1440 no-df reassemble tcp) Any more ideas? On Tue, Oct 1, 2013 at 2:51 AM, John Tate j...@johntate.org wrote

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
tcp) -luis On Mon, Sep 30, 2013 at 11:30 AM, John Tate j...@johntate.org wrote: It worked for a while but since rebooting my router now none of my computers work to access google.com, gmail.com works. Many other sites are not working, it is very frustrating. Clients on the wireless also

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Looks like I just had to remove the match line and just use set reassemble yes no-df and restart my interfaces on clients. Everything appears to work now. Still amazes me this wasn't a problem for months. On Tue, Oct 1, 2013 at 4:34 AM, John Tate j...@johntate.org wrote: I've done this, now

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Alright at the moment things are mostly working but I've found I can't access Google Plus and Facebook never finishes loading, though at least now it loads a bit. Connections like ssh generally seem to be staying open. Is there something unusual about Facebook that anyone knows about? --

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Less worked last night using that than when using set reassemble yes no-df Now it isn't working again and what you suggest doesn't seem to work either. Though gmail still works. There must be something else wrong. On Tue, Oct 1, 2013 at 6:15 AM, James Shupe jsh...@hermetek.com wrote: Try

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Actually match on pppoe0 scrub (max-mss 1400 no-df) seems to also work I had 1440 entered in. Though Facebook doesn't finish loading still, and sometimes things don't work. So as I said, something else must be wrong. On Tue, Oct 1, 2013 at 10:13 AM, John Tate j...@johntate.org wrote: Less worked

Re: OpenBSD not forwarding to specific sites

2013-09-30 Thread John Tate
Did some reading, my ISP seems to require a specific not default mtu of 1454. Facebook actually finishes loading now, things might be okay. On Tue, Oct 1, 2013 at 10:29 AM, John Tate j...@johntate.org wrote: Actually match on pppoe0 scrub (max-mss 1400 no-df) seems to also work I had 1440

OpenBSD not forwarding SSL, strange.

2013-09-17 Thread John Tate
I am having trouble accessing anything which uses SSL behind my NAT, though I can access the same services from the firewall itself. There is nothing unusual in /var/log/messages, dmesg, etc. I don't know why this is happening. The system has been running fine for months, and nothing I am aware of

Re: OpenBSD not forwarding SSL, strange.

2013-09-17 Thread John Tate
vfs.ffs.dirhash_mem=27522 vfs.nfs.iothreads=-1 On Tue, Sep 17, 2013 at 11:32 PM, Jiri B ji...@devio.us wrote: On Tue, Sep 17, 2013 at 10:42:55PM +1000, John Tate wrote: I am having trouble accessing anything which uses SSL behind my NAT, though I can access the same services from the firewall itself

802.11n support

2013-06-21 Thread John Tate
I have an Atheros AR9227, there is at the moment no support for 802.11n in the patch branch. Is there support in current or some unoffical patch I can apply to the source code? Support for this would be good. -- www.johntate.org

dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
I am trying to serve addresses to two subnets, for two ethernet devices for my wired and wireless lan. Devices on the wireless lan are getting the default route 192.168.0.1 instead of 192.168.1.1 so wireless devices at the moment cannot access the Internet unless I manually configure them.

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
; 192.168.0.0 - wrong? Михаил Швецов. 14.6.2013 10:10:30 пользователь John Tate (j...@johntate.org) написал: I am trying to serve addresses to two subnets, for two ethernet devices for my wired and wireless lan. Devices on the wireless lan are getting the default route 192.168.0.1 instead

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
, 2013 at 7:36 PM, James Griffin j...@kontrol.kode5.net wrote: Fri 14.Jun'13 at 17:22:44 +1000, John Tate It doesn't complain about it but I've never done much with routing before. If I wanted to do it on the machine I'd do # route add -net 192.168.0.0/24 192.168.1.1

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson s...@spacehopper.org wrote: On 2013-06-14, John Tate j...@johntate.org wrote: It doesn't complain about it but I've never done much with routing before. If I wanted to do it on the machine I'd do # route add -net 192.168.0.0/24 192.168.1.1

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
On Sat, Jun 15, 2013 at 12:23 AM, Kenneth R Westerback kwesterb...@rogers.com wrote: On Fri, Jun 14, 2013 at 02:38:48PM +0100, Stuart Henderson wrote: On 2013/06/14 21:49, John Tate wrote: On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson s...@spacehopper.org wrote: On 2013-06-14, John

Re: Wireless access point not appearing to clients.

2013-06-13 Thread John Tate
:fa 16dB 54M privacy,short_preamble,short_slottime nwid BigPond655C85 chan 1 bssid 58:98:35:65:5c:85 17dB 54M privacy,short_slottime I really want to get this running. John. On Fri, Jun 7, 2013 at 4:41 PM, John Tate j...@johntate.org wrote: I just configured a wireless device

Re: Wireless access point not appearing to clients.

2013-06-13 Thread John Tate
Someone has helped me resolve this, the hacked MIUI v4 firmware I'm using does not support channel 12. All help has been greatly appreciated. On Thu, Jun 13, 2013 at 8:00 PM, John Tate j...@johntate.org wrote: So I've got a supported Atheros card, I think something is wrong with my config

Wireless access point not appearing to clients.

2013-06-07 Thread John Tate
I just configured a wireless device for hostap and put it on a bridge with my wired network and a virtual ethernet device to give it an address. The wired network is working fine, so if I solve this problem the wireless should work fine, but the access point is not appearing in scans. I might have

Re: Compiler error building 5.3

2013-06-07 Thread John Tate
I didn't think I had to, 5.3 is stable not current or am I wrong about that? Confusing. I ended up just upgrading using the sets and everything is fine now. On Wed, Jun 5, 2013 at 11:03 PM, Marc Espie es...@nerim.net wrote: On Wed, Jun 05, 2013 at 07:01:27PM +1000, John Tate wrote: I am

Re: Wireless access point not appearing to clients.

2013-06-07 Thread John Tate
Is there a card commonly on the market today that this list would recommend that supports hostap for under $100? On Fri, Jun 7, 2013 at 5:11 PM, David Coppa dco...@gmail.com wrote: On Fri, Jun 7, 2013 at 9:06 AM, Otto Moerbeek o...@drijf.net wrote: What have I missed? Reading the man

Re: Compiler error building 5.3

2013-06-07 Thread John Tate
Just curious would have going into /usr/src/gnu/usr.bin/binutils and doing make and make install have made it possible to build 5.3 on 5.2? On Fri, Jun 7, 2013 at 4:47 PM, Marc Espie es...@nerim.net wrote: On Fri, Jun 07, 2013 at 04:43:24PM +1000, John Tate wrote: I didn't think I had

Compiler error building 5.3

2013-06-05 Thread John Tate
I am having trouble building 5.3, I ran cvs a second time just be to be sure everything was right. # make clean make rm -f eddep *bsd *bsd.gdb tags *.[dio] [a-z]*.s [Ee]rrs linterrs assym.h cat ../../../../arch/i386/i386/genassym.cf ../../../../arch/i386/i386/ genassym.cf | sh

I can't find what is wrong with these PF rules

2013-06-01 Thread John Tate
I am trying to set up a simple nat on OpenBSD 5.3, I copied from another config that is working. ext_if=em0 int_if=em1 ipv6=2607:f2f8:aa18::2 ipv4=208.79.92.130 local_net=192.168.1.0/24 cyrus=192.168.1.2 cyrus_ports = { 2022 } tcp_serv = { ftp, ssh, http, https, 1, , 8080, 8022,

Re: I can't find what is wrong with these PF rules

2013-06-01 Thread John Tate
I forgot to sysctl net.inet.ip.forwarding=1 lol. On Sun, Jun 2, 2013 at 8:36 AM, John Tate j...@johntate.org wrote: I am trying to set up a simple nat on OpenBSD 5.3, I copied from another config that is working. ext_if=em0 int_if=em1 ipv6=2607:f2f8:aa18::2 ipv4=208.79.92.130 local_net

Sendmail not working on 5.3

2013-05-28 Thread John Tate
I upgraded to OpenBSD 5.3 on the release day, I've since updated to the latest patch branch (not that there is any related errata to this question). I can't seem to send mail out with a server, it is not my pf rules. It was indicated by phpmailer not working. I can't find my sendmail logs. John

Re: Sendmail not working on 5.3

2013-05-28 Thread John Tate
Ignore this, I made a silly mistake. On Wed, May 29, 2013 at 6:07 AM, John Tate j...@johntate.org wrote: I upgraded to OpenBSD 5.3 on the release day, I've since updated to the latest patch branch (not that there is any related errata to this question). I can't seem to send mail out

init disappeared on my OpenBSD VPS

2013-05-22 Thread John Tate
I have an OpenBSD VPS, I just built the latest kernel from the 5.3 patch branch, and the new kernel can't find init, but neither can the old kernel, they both make this output: OpenBSD/amd64 BOOT 3.01 boot obsd booting hd0a:obsd: 8404228+1102404 [52+381152+367486]=0x9c7d50 entry point at

Re: init disappeared on my OpenBSD VPS

2013-05-22 Thread John Tate
I have since ran the OpenBSD 5.3 media for an upgrade and got the system running. However, I accidentally built the i386 kernel when the machine is amd64, which might have replaced init or something in the process which might be why obsd didn't work. On Thu, May 23, 2013 at 3:25 AM, John Tate j

Updating ports via anoncvs hangs

2013-05-22 Thread John Tate
When I go to update ports by anoncvs it just hangs, it's been like this for hours. Something doesn't seem right. elijah:usr # cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_5_3 -P ports -- www.johntate.org

Forwarding to a proxy on a different system with pf

2013-05-03 Thread John Tate
I have a squid proxy listening in transparent mode on another faster system, but I can't seem to get packets there with pf. I tried simply modifying the other divert-to rule to use the IP address of that system. It doesn't seem to work, packets don't reach that system. #pass in quick on $int_if

PHP fastcgi, suexec

2013-05-03 Thread John Tate
I want to use fastcgi and suexec to run php programs as particular users from Apache in a chroot. I've found documentation on running suexec, but I can't find anything OpenBSD specific on getting fastcgi and php into the chroot so I can use them. If you could at least please just point me in the

PF blocking something it seems it shouldn't

2013-04-25 Thread John Tate
My pflog interface shows something being blocked that simply shouldn't be blocked as far as I understand my pf rules... 11:35:40.461658 rule 6/(match) block in on fxp0: 10.0.0.4.40926 141.101.113.245.443: FP 0:253(253) ack 1 win 2540 nop,nop,timestamp 3483320 114932434 (DF) My pf.conf...

Re: pf queueing and nat

2013-04-17 Thread John Tate
I can't find any description of the match rules here: http://openbsd.org/faq/pf/filter.html Are they the same syntax as block and pass rules? On Wed, Apr 17, 2013 at 4:56 AM, Peter N. M. Hansteen pe...@bsdly.netwrote: John Tate j...@johntate.org writes: I think I understand, can someone

Re: pf queueing and nat

2013-04-17 Thread John Tate
Found it in the manpage pretty quick;y, silly me, apparently is the same. On Wed, Apr 17, 2013 at 5:16 PM, John Tate j...@johntate.org wrote: I can't find any description of the match rules here: http://openbsd.org/faq/pf/filter.html Are they the same syntax as block and pass rules

Re: pf queueing and nat

2013-04-17 Thread John Tate
at 5:17 PM, John Tate j...@johntate.org wrote: Found it in the manpage pretty quick;y, silly me, apparently is the same. On Wed, Apr 17, 2013 at 5:16 PM, John Tate j...@johntate.org wrote: I can't find any description of the match rules here: http://openbsd.org/faq/pf/filter.html

Re: pf queueing and nat

2013-04-17 Thread John Tate
-to $fekete pass in inet proto icmp all icmp-type $icmp_types pass in on $int_if On Wed, Apr 17, 2013 at 8:32 PM, Stuart Henderson s...@spacehopper.orgwrote: On 2013-04-17, John Tate j...@johntate.org wrote: Well the ruleset loads, can anyone do a quick check of this in case I've done

Re: pf queueing and nat

2013-04-17 Thread John Tate
Oh wait I've forgot to specify the interface. On Thu, Apr 18, 2013 at 5:45 AM, John Tate j...@johntate.org wrote: Well I had the bandwidth the wrong way around for my internet connection. I've been trying the other changes and now I have problems, I'm pretty sure I need to put _out and _in

pf queueing and nat

2013-04-16 Thread John Tate
I am adding queueing to my pf based nat for my home network. Since there isn't a complete example involving nat and queuing I am not entirely sure where to put things. I've read the manual and I think I put things before the rdr-to rules. I also have a transparent ftp and http proxy. I am not

Re: pf queueing and nat

2013-04-16 Thread John Tate
died :-(. On Wed, Apr 17, 2013 at 4:05 AM, Christopher Zimmermann madro...@gmerlin.de wrote: On Wed, 17 Apr 2013 03:32:52 +1000 John Tate j...@johntate.org wrote: I am adding queueing to my pf based nat for my home network. Since there isn't a complete example involving nat and queuing I am

Re: httpd.conf problem with defaults

2013-04-06 Thread John Tate
...@spacehopper.orgwrote: On 2013-04-05, John Tate j...@johntate.org wrote: NameVirtualHost 127.0.0.1:443 NameVirtualHost 208.79.92.130:443 NameVirtualHost 127.0.0.1:80 NameVirtualHost 127.0.0.1:80 NameVirtualHost 127.0.0.1:80 NameVirtualHost 208.79.92.130:80 NameVirtualHost

Re: httpd.conf problem with defaults

2013-04-06 Thread John Tate
Thanks, that worked. On Sun, Apr 7, 2013 at 6:45 AM, Zé Loff zel...@zeloff.org wrote: On Sat, Apr 06, 2013 at 08:55:53PM +1100, John Tate wrote: Removed all the NameVirtualHost lines and it still isn't working. I can't make sense of it everything looks fine, I get some errors about

Re: Can't get FTP through pf

2013-04-04 Thread John Tate
Thanks! On Thu, Apr 4, 2013 at 4:29 PM, David Diggles da...@elven.com.au wrote: Looks like these are your conflicting rules. pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 pass in on $ext_if proto tcp to port 21 The first rule needs to be on $int_if - you didn't

httpd.conf problem with defaults

2013-04-04 Thread John Tate
I think I have a problem with my defaults. I used to just have a default a secusrvr.com. The default would point to /var/www/htdocs which redirects to /var/www/sites/secusrvr.com which is for the virtualhost secusrvr.com. I added johntate.org and www.johntate.org both under /var/www/sites/

Re: httpd.conf problem with defaults

2013-04-04 Thread John Tate
Directory /var/www/sites/www.seucsrvr.com allow from all Options +Indexes AllowOverride All /Directory /VirtualHost On Fri, Apr 5, 2013 at 2:18 PM, John Tate j...@johntate.org wrote: I think I have a problem with my defaults. I used to just have a default a secusrvr.com. The default would point

Can't get FTP through pf

2013-04-03 Thread John Tate
I've got a gateway computer I also I want to be an ftp server. I've put everything through pf as per http://openbsd.org/faq/pf/ftp.html Can anyone see something I've missed in this config? I can't access it remotely. # grep -v -e ^# -e ^$ /etc/vsftpd.conf anonymous_enable=NO local_enable=YES

Re: Can't get vsftpd to run

2013-04-02 Thread John Tate
. # Make sure, that one of the listen options is commented !! #listen_ipv6=YES background=YES log_ftp_protocol=YES xferlog_enable=YES pasv_enable=YES pasv_min_port=49151 pasv_max_port=65535 On Tue, Apr 2, 2013 at 4:53 PM, John Tate j...@johntate.org wrote: Nevermind, found it. On Tue, Apr 2

Can't get vsftpd to run

2013-04-01 Thread John Tate
I've not used it in a while and I can't get it to run. I can't find any logging options or anything. # vsftpd ... (It just sits there doing nothing) How do I get it to work? I'm using the default config with only my own banner. -- www.johntate.org

Re: Can't get vsftpd to run

2013-04-01 Thread John Tate
I can't find that config option. On Tue, Apr 2, 2013 at 9:52 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013-04-01, John Tate j...@johntate.org wrote: I've not used it in a while and I can't get it to run. I can't find any logging options or anything. # vsftpd

Re: Can't get vsftpd to run

2013-04-01 Thread John Tate
I found it but it wasn't in there commented out, I added background=yes, but the server isn't accepting connections for some reason. On Tue, Apr 2, 2013 at 4:13 PM, John Tate j...@johntate.org wrote: I can't find that config option. On Tue, Apr 2, 2013 at 9:52 AM, Stuart Henderson s

Re: Can't get vsftpd to run

2013-04-01 Thread John Tate
it's pf. pass in on egress inet proto tcp from any to (egress) \ port 49151 I've added that line but where do I set the ports on vsftpd? On Tue, Apr 2, 2013 at 4:30 PM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 04/02/13 18:13, John Tate wrote: I can't find that config

Re: Can't get vsftpd to run

2013-04-01 Thread John Tate
Nevermind, found it. On Tue, Apr 2, 2013 at 4:45 PM, John Tate j...@johntate.org wrote: Where do I set ports in vsftpd.conf for incoming data, I've just looked around that link you provided and I can't find the option. I can't get through to vsftpd or pure_ftpd, probably because I didn't

resize disklabel partitions and ffs filesystems

2013-03-17 Thread John Tate
I had a problem building something in ports ports with a default 2.0gb /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get... Fatal: /usr/ports is a symlink. Please set to the real directory Can I resize disklabel partitions and ffs filesystems? If I can't I'm going to have to

Re: Squid not working for connections from ssh-tunnel

2013-03-16 Thread John Tate
, because it matched 'Safe_ports' It only started doing this after I upgraded from 5.1 to 5.2 and rebuilt squid in ports. On Sat, Mar 16, 2013 at 9:26 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013-03-15, John Tate j...@johntate.org wrote: I have a server I use to serve a squid

Squid not working for connections from ssh-tunnel

2013-03-15 Thread John Tate
I have a server I use to serve a squid proxy only accessible via ssh tunnel, which has worked fine for over a year. I upgraded from OpenBSD 5.1 to OpenBSD 5.2 and I've also rebuilt squid in ports. It has stopped working for ssh tunnel connections. It works for the elinks browser, but both should

dhcpd issues with Android phone

2013-03-14 Thread John Tate
I have an android phone that requests a least regularly from my dhcpd server on OpenBSD 5.2 which eventually starts failing with this error in /var/log/daemon Mar 14 21:40:42 menger dhcpd[7088]: DHCPREQUEST for 10.0.0.4 from 0c:14:20:6b:08:e5 via fxp0 Mar 14 21:40:42 menger dhcpd[7088]: DHCPNAK

Re: dhcpd issues with Android phone

2013-03-14 Thread John Tate
I did exactly what you said, thanks! On Thu, Mar 14, 2013 at 11:16 PM, Kenneth R Westerback kwesterb...@rogers.com wrote: On Thu, Mar 14, 2013 at 09:46:04PM +1100, John Tate wrote: I have an android phone that requests a least regularly from my dhcpd server on OpenBSD 5.2 which eventually

PHP mini_sendmail problems

2013-03-14 Thread John Tate
I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find about the problem. I've put mini_sendmail in /var/www/usr/sbin/sendmail and

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find about the problem. you need

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
: On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
From the end of error_log: femail: no recipients On Fri, Mar 15, 2013 at 6:31 AM, John Tate j...@johntate.org wrote: I installed femail-chroot and put /usr/libexec/ld.so in /var/www/usr/libexec/ld.so and updated /etc/php-5.2.ini but it still doesn't work. On Fri, Mar 15, 2013 at 6:14 AM

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find

No schizophrenia

2012-01-10 Thread John Tate
GURU John Tate -- www.johntate.org

Re: Misc Toughts

2012-01-10 Thread John Tate
On Wed, Jan 11, 2012 at 2:33 AM, p...@bell.net wrote: # 4 # PF: Example: Firewall for Home or Small Office One of the stated objective is: - Make the ruleset as simple and easy to maintain as possible. In the example provided, 4 macros are provided: int_if=xl0 tcp_services={

Re: No schizophrenia

2012-01-10 Thread John Tate
On Wed, Jan 11, 2012 at 12:11 PM, STeve Andre' and...@msu.edu wrote: On 01/10/12 18:19, John Tate wrote: Just an idiot, Jan Stary, who turned the sentence 7 years of FreeBSD/OpenBSD experience into OpenBSD Guru. I wish I had more time and less faith in minds like hers. What an embarrassment

Re: No schizophrenia

2012-01-10 Thread John Tate
Oh and I wanted to stick around to help people with pf, I'd appreciate a hand spotting a typo myself once in a while. On Wed, Jan 11, 2012 at 2:44 PM, John Tate j...@johntate.org wrote: On Wed, Jan 11, 2012 at 12:11 PM, STeve Andre' and...@msu.edu wrote: On 01/10/12 18:19, John Tate wrote

Re: No schizophrenia

2012-01-10 Thread John Tate
On Wed, Jan 11, 2012 at 5:02 PM, STeve Andre' and...@msu.edu wrote: On 01/10/12 22:44, John Tate wrote: On Wed, Jan 11, 2012 at 12:11 PM, STeve Andre'and...@msu.edu wrote: On 01/10/12 18:19, John Tate wrote: Just an idiot, Jan Stary, who turned the sentence 7 years of FreeBSD/OpenBSD

Re: What is wrong with this pf config

2011-12-11 Thread John Tate
Now you can all laugh at me! After fixing this one, and getting everything working on my second attempt from scratch I forgot to put 'block in all' so if you portscanned me just an hour ago I had EVERYTHING open. I used nmap on myself from my virtual private server. Oh shame. So I have a

Re: What is wrong with this pf config

2011-12-11 Thread John Tate
It's just whining! Perhaps if should only do it if it has an Internet IP address not a LAN or WAN one involved. On Mon, Dec 12, 2011 at 5:17 AM, Janne Johansson icepic...@gmail.comwrote: 2011/12/11 John Tate j...@johntate.org So I have a suggestion worth considering, if the line block in all

Re: What is wrong with this pf config

2011-12-11 Thread John Tate
at 05:43 +1100, John Tate wrote: It's just whining! Perhaps if should only do it if it has an Internet IP address not a LAN or WAN one involved. On Mon, Dec 12, 2011 at 5:17 AM, Janne Johansson icepic...@gmail.com wrote: 2011/12/11 John Tate j...@johntate.org So I have

Jan

2011-12-11 Thread John Tate
I never claimed to be an OpenBSD guru. Ever. I am an OpenBSD n00b. Here, I'll put this on the list. I am John Norman Tate born September 1987 to two loving parents and the only part of OpenBSD I think I am good with is using it in accordance to the manuals when I read them properly. I also

Re: Jan

2011-12-11 Thread John Tate
In other words: stop wasting your breath I'm never leaving. If they kick me out, well, I'll use seven proxies! On Mon, Dec 12, 2011 at 9:17 AM, John Tate j...@johntate.org wrote: I never claimed to be an OpenBSD guru. Ever. I am an OpenBSD n00b. Here, I'll put this on the list. I am John

Re: Jan

2011-12-11 Thread John Tate
Whoops, I hate gmail sometimes. That was for Jan On Mon, Dec 12, 2011 at 9:21 AM, John Tate j...@johntate.org wrote: In other words: stop wasting your breath I'm never leaving. If they kick me out, well, I'll use seven proxies! On Mon, Dec 12, 2011 at 9:17 AM, John Tate j...@johntate.org

Re: Jan

2011-12-11 Thread John Tate
I will also add that if I am asking stupid questions then by axiom (look it up in a dictionary) I AM SAYING I AM LEARNING. You tool! On Mon, Dec 12, 2011 at 9:17 AM, John Tate j...@johntate.org wrote: I never claimed to be an OpenBSD guru. Ever. I am an OpenBSD n00b. Here, I'll put

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
Is it info2www being used? On Sat, Dec 10, 2011 at 2:21 PM, Richard Toohey richardtoo...@paradise.net.nz wrote: On 10/12/2011, at 3:02 PM, John Tate wrote: I am wondering what software if any generates the OpenBSD and similar websites. It appears to be a static page generated by some

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
, 2011, at 06:15 PM, John Tate wrote: No, I'm an idiot. Not kidding at all. Is that a yes for Or is it just hand made? On Sat, Dec 10, 2011 at 2:31 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: I am wondering what software if any generates the OpenBSD and similar websites

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
On Sat, Dec 10, 2011 at 11:42 PM, richo ri...@psych0tik.net wrote: On 10/12/11 23:34 +1100, John Tate wrote: On Sat, Dec 10, 2011 at 7:03 PM, Eric Furman ericfur...@fastmail.net** wrote: The only reason I haven't added you to my kill file is your questions and responses are sooo

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
On Sun, Dec 11, 2011 at 12:04 AM, richo ri...@psych0tik.net wrote: On 10/12/11 23:56 +1100, John Tate wrote: On Sat, Dec 10, 2011 at 11:42 PM, richo ri...@psych0tik.net wrote: While I don't necessarily support the personal attacks, I can't say I totally disagree with the vibe

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
A simple Google of your email address shows something extremely humiliating. You know as little as I do! -- Forwarded message -- From: Eric Furman ericfur...@fastmail.net Date: Sat, Dec 10, 2011 at 7:03 PM Subject: Re: What generates the OpenBSD page? To: John Tate j

Re: What generates the OpenBSD page?

2011-12-10 Thread John Tate
?page=1 Considering that you proudly admit to being an asshole, with zero consideration for your fellow man, don't you think that you are sometimes expecting too much from others? You asshole! John Tate j...@johntate.org wrote: Where did I state I think I am a genius? I want an actual quote

Re: Mplayer vo on loongson, change resolution

2011-12-10 Thread John Tate
On Fri, Dec 9, 2011 at 4:34 AM, alies pub...@omega.hopto.org wrote: Hello What mplayer -vo I need to use for best performance in loongson Yeeloong netbook? Can I use full fullscreen in mplayer? What about sdl games (quake, doom etc), can I change resolution? I could change resolution

What generates the OpenBSD page?

2011-12-09 Thread John Tate
I am wondering what software if any generates the OpenBSD and similar websites. It appears to be a static page generated by some software, that software doesn't seem to be mentioned. What is it? Or is it just hand made? John Tate -- www.johntate.org

Re: ALIX 2 Hangs on boot at date/time

2011-12-09 Thread John Tate
In single user mode you often need to mount some partitions, and remount root as read-write to do much of anything. # mount -o rw / and # mount -o rw /usr and so on for anything else you need. vi I believe resides in /usr so you will need to mount that partition. If it's not that, your system

Re: What generates the OpenBSD page?

2011-12-09 Thread John Tate
No, I'm an idiot. Not kidding at all. Is that a yes for Or is it just hand made? On Sat, Dec 10, 2011 at 2:31 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: I am wondering what software if any generates the OpenBSD and similar websites. It appears to be a static page generated by some

OpenBSD PF tables

2011-12-08 Thread John Tate
working on doing some things as tables. I want tables to hold the ports, but it appears perhaps they can only hold IP addresses. The following tables do not work from line 10-11... table etcpserv { 22 } table itcpserv { 22, 53 } The whole thing is here: http://pastebin.com/VuLNW9Ph John Tate

Re: OpenBSD PF tables

2011-12-08 Thread John Tate
Is there a way to have it so I can add ports from the command line if I can't use tables? On Thu, Dec 8, 2011 at 10:14 PM, Peter Hessler phess...@theapt.org wrote: Yes, tables in PF only support IP addresses. On 2011 Dec 08 (Thu) at 22:11:19 +1100 (+1100), John Tate wrote: :At the moment I

Re: OpenBSD PF tables

2011-12-08 Thread John Tate
of numbers On Thu, Dec 8, 2011 at 6:41 AM, John Tate j...@johntate.org wrote: Misc, I have sucessfully got an OpenBSD machine to connect via ADSL and forward packets, I am gradually upgrading my pf.conf. I am having trouble with this configuration (ignore some obvious bugs related

  1   2   >