Re: HELP! My HTTPD website keeps breaking because the custom directory/user permissions are being reverting for some reason!

2017-05-29 Thread alf
tec...@protonmail.com writes: > Hi there, > > I have been using httpd for quite a while now, but after a new > project/website having to have read/write/execute permissions (unsafe, > I do realise..) I decided to: > > 1. add root to the www group, > 2. chown -R www:www /var/www/htdocs > 3. chmod

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Theo Buehler
From: Theo Buehler Cc: Bcc: Subject: Fwd: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file Reply-To: In-Reply-To: On Mon, May 29, 2017 at 07:16:06PM -0400, trondd wrote: > On Mon, May 29,

iked - eap (mschap) authentication to iOS10

2017-05-29 Thread Paul Chakravarti
Has anyone had any success configuring iked (6.1) to use eap (mschap) authentication from an iOS10 device. This works fine using a psk but I haven't had any success in trying to use eap. My iked.conf looks like: user "test" "password" ikev2 "chap" \ passive esp \ from 0.0.0.0/0 to

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread trondd
Site is installed last *of the sets*, not the last thing that happens. And the user is created after the sets are extracted, also. The *.site scripts are run nearly last (close enough, that it doesn't matter).

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Erling Westenvik
On Mon, May 29, 2017 at 07:16:06PM -0400, trondd wrote: > On Mon, May 29, 2017 5:47 pm, Erling Westenvik wrote: > > What is going on? Why is the process extracting siteXX.tgz > > treating /mnt/home/user/.ssh different than /mnt/root/.ssh? > > You didn't really explain the failure case. Is this a

Re: siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread trondd
On Mon, May 29, 2017 5:47 pm, Erling Westenvik wrote: > everything is okay. > > What is going on? Why is the process extracting siteXX.tgz > treating /mnt/home/user/.ssh different than /mnt/root/.ssh? > > *continues scratching head* > > Cheers. > Erling. > You didn't really explain the failure

siteXX.tgz with /home/user/.ssh/authorized_keys results in empty file

2017-05-29 Thread Erling Westenvik
Scratching my head here. I have a site61.tgz file that successfully gets selected during install and creates a bunch of directories and files (including /root/.ssh/authorized_keys), but for some reason /home/user/.ssh/authorized_keys ends up empty. After install and before reboot: # cd /mnt

Re: smtpd doesn't start

2017-05-29 Thread Raf Czlonka
On Mon, May 29, 2017 at 09:16:20PM BST, Choose a display name wrote: > > Try defining your hostname in /etc/hosts > > If you have a static address, define it with that address. If > > it's a dynamic address, define it as 127.0.1.1 > > Thank you, it worked, but I also had to add "lookup file bind"

Re: HELP! My HTTPD website keeps breaking because the custom directory/user permissions are being reverting for some reason!

2017-05-29 Thread Sebastian Benoit
tec...@protonmail.com(tec...@protonmail.com) on 2017.05.28 19:57:41 -0400: > Hi there, > > I have been using httpd for quite a while now, but after a new > project/website having to have read/write/execute permissions (unsafe, I do > realise..) I decided to: > > 1. add root to the www group, >

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
>Try defining your hostname in /etc/hosts >If you have a static address, define it with that address. If it's a dynamic >>address, define it as 127.0.1.1 Thank you, it worked, but I also had to add "lookup file bind" to the resolv.conf.

Re: Blank screen after boot with Radeon HD 5450

2017-05-29 Thread Maximilian Pichler
Apologies, I have to revise the results from my previous message (by accident I had the cable connected to the onboard video). In fact xrandr does detect the DisplayPort connection: $ DISPLAY=:0 xrandr Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192 DisplayPort-0 connected

Re: smtpd doesn't start

2017-05-29 Thread Branden Harper
Try defining your hostname in /etc/hosts If you have a static address, define it with that address. If it's a dynamic address, define it as 127.0.1.1 On May 29, 2017 12:20 PM, "Choose a display name" < thelocals_job_applic...@protonmail.com> wrote: Turns out, you were right, Ted. It is a DNS

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
Turns out, you were right, Ted. It is a DNS failure. Here is the relevant part of ktrace of the smtpd: # kdump | tail -40 31531 smtpd RET clock_gettime 0 31531 smtpd CALL poll(0x7f7d75d0,1,2) 31531 smtpd STRU struct pollfd { fd=3, events=0x1, revents=0<> } 31531 smtpd RET poll 0 31531

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Michał Koc
Hi All, the trace is below, give mi a notice if anything else is needed: Program received signal SIGSEGV, Segmentation fault. [Switching to thread 162385] conf_get_str (section=0xa8735b03f80 ' 0xa8735b04000 out of bounds>, tag=0xa8459272809 "Phase") at /usr/src/sbin/isakmpd/conf.c:94 94

Re: Can I bind USB/other interface/device number (e.g. cdceX) to particular MAC, USB serial number or the like?

2017-05-29 Thread Nick Holland
On 05/28/17 22:13, Tinker wrote: > Hi misc@, > > For pluggable devices such as USB NIC:s, is there any way to make > OpenBSD bind a particular device based on its MAC or USB serial number > or the like variable, to a particular interface or device filename? no but ... ... > (For storage

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
>this sounds a lot like a DNS failure. DNS seems to work. # cat /etc/resolv.conf # Generated by athn0 dhclient nameserver 192.168.1.1 # dig protonmail.com MX ; <<>> DiG 9.4.2-P2 <<>> protonmail.com MX ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR,

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Michał Koc
Hi all, we are setting up a test environment, will be back soon with the traces. Best Regards M.K. -- Wiadomość oryginalna -- *Temat: *Re: isakmpd dies quietly with over 100 tunnels *Nadawca: *Alexis VACHETTE *Adresat: *Theo de Raadt ,

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Alexis VACHETTE
I didn't think it was isakmpd related back then. Maybe a configuration issue on my end or the partner's. But sure we need to post traces. Nonetheless OpenBSD is an amazing piece of software, so thank you ! Regards, Alexis. On 29/05/2017 11:14, Theo de Raadt wrote: Great thing is you all have

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Theo de Raadt
Great thing is you all have source code, and can run the same debuggers live in your key-happy situations, and then generate traces to expose the problem so that someone can help you. But, yet, that doesn't happen. Strange isn't it?

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Florian Ermisch
Hi all, I got to admit I've seen isakmpd dying on 5.9* (amd64 on VMware). But after having to deal with half a dozen peers all over Europe using different proprietary solutions a cronjob like "rcctl ls faulty | grep isakmpd && rcctl restart…" worked well enough for me. I won't be able to test

Re: isakmpd dies quietly with over 100 tunnels

2017-05-29 Thread Alexis VACHETTE
Hi Michał, I'm having same issue without 100 ipsec tunnels and dedicated hardware. Unfortunately it's a production environment so I can't really troubleshooting this issue to track down the culprit. Anyway maybe it's not related to your issue. Regards, Alexis. On 28/05/2017 14:31, Michał