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ć <marko.cu...@mimar.rs>: > On Thu, 4 Jan 2018 14:09:50 +0100 > Jon S

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" <jonsjost...@gmail.com> wrote: No. Filesystem is FFS. The os is 4.9 or later but not above 5.4 afaik. I will have physical access to t

Re: fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-25 Thread Jon S
, "Jeremie Courreges-Anglas" <j...@wxcvbn.org> wrote: On Tue, Jul 25 2017, Jon S <jonsjost...@gmail.com> 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 > inp

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)

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

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

2015-04-19 Thread Jon S
fritz.k...@gmail.com: 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 jonsjost...@gmail.com wrote: Updated PuTTY from 0,63 to 0,64

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 ip. My

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. the.li...@mgm51.com: 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 bsd.rd, installing

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