Re: Simplifying pf-rules

2018-01-05 Thread Jon S
on the same segment... block in quick log on re0 inet to em0 # ... but not our own IP The above lines replaces my initial rule "pass in on re0 to !re0:network" 2018-01-04 16:29 GMT+01:00 Marko Cupać : > On Thu, 4 Jan 2018 14:09:50 +0100 > Jon S wrote: > > > Hello misc

Simplifying pf-rules

2018-01-04 Thread Jon S
Hello misc! My OpenBSD file server just became a router too (after getting a new internet connection where the provider does not include a router in the subscription). This led to my first experieces with pf. After some work I came up with whats below. It works as I want it to work, but I wonder

Re: fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-26 Thread Jon S
Problem solved/workaround: running fsck /dev/... worked. The problem seemd to be with running fsck_ffs /dev/... On 25 Jul 2017 5:17 pm, "Jon S" wrote: No. Filesystem is FFS. The os is 4.9 or later but not above 5.4 afaik. I will have physical access to the host tomorrow. It will p

Re: fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-25 Thread Jon S
, "Jeremie Courreges-Anglas" wrote: On Tue, Jul 25 2017, Jon S wrote: > Hello misc! The message in the subject is the result of trying to run > fsck_ffs in single user mode when auto fsck fails at boot. Any ideas or > input on how to solve? This error message is only pres

fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-25 Thread Jon S
Hello misc! The message in the subject is the result of trying to run fsck_ffs in single user mode when auto fsck fails at boot. Any ideas or input on how to solve?

Standard way to create a generic queue in ksh

2016-04-15 Thread Jon S
Hello all! As a port of a backup solution, i needa a queue. Having looked around the net, i haven found any standard way (besides named pipes) that I can use. Requirements are: * There will be few elements in the queue (<20) * No critical section is needed (this is already adressed using mkdir)

Re: ls cant print higher UTF-8 chars

2016-01-06 Thread Jon S
Im more interested in getting standard ls to work as I expect and/or to understand why it does not work now, particularly since it works on an older OpenBSD release 2016-01-06 11:05 GMT+01:00 Mike Burns : > On 2016-01-06 10.56.52 +0100, Jon S wrote: > > Is this a known problem? I

ls cant print higher UTF-8 chars

2016-01-06 Thread Jon S
Hello misc! In an attempt to get a better idea on how to make all non-ascii chars appear correctly in windows/samba, ssh and the local console I get the impression that UTF-8 is the charset that is mostly used in general and also most growing. Using UTF-8 in samba and ssh on a OpenBSD 4.9 i386 ge

Re: Unable to do putty/SSH into fresh openBSD 5.6-install

2015-04-19 Thread Jon S
: > You need to look at debug. From console: > # /etc/rc.d/sshd stop > sshd(ok) > # /usr/sbin/sshd -d > > Now try to log in and see if you can get any clues from the output. > > On Sun, Apr 19, 2015 at 10:11 AM, Jon S wrote: > >> Updated PuTTY from 0,63 to 0,64,

Re: Unable to do putty/SSH into fresh openBSD 5.6-install

2015-04-19 Thread Jon S
Updated PuTTY from 0,63 to 0,64, but no improvement. Any other ideas? 2015-04-19 18:22 GMT+02:00 Mike. : > On 4/19/2015 at 5:09 PM Jon S wrote: > > |Hi all! > | > |I just installed a fresh OpenBSD 5.6 on a new machine (booting from > a > |USB-stick and running bs

Unable to do putty/SSH into fresh openBSD 5.6-install

2015-04-19 Thread Jon S
Hi all! I just installed a fresh OpenBSD 5.6 on a new machine (booting from a USB-stick and running bsd.rd, installing from ftp.eu.openbsd.org = networking is fine). All sets are installed. Now i cant ssh(using putty) into the new machine. authlog says "fatal: Timeout before authentication ". My

Group access issue

2014-01-07 Thread Jon S
Hi! I have a situation where I would like to assign one group of people rights to read a file and a different group of people the right to read and write the same file (there are actually many files). A different way to describe it would be: I would like a file to belong to two groups, one with R