Re: Removing PF

2019-04-02 Thread Jan Danielsson
cess me on port X. (filter rule, this works as you pointed out). 2) Hey, I'm at a.b.c.d, and I would like external port X to redirect to me at port Y. (NAT rule, this isn't supported yet). -- Kind Regards, Jan Danielsson

Re: Removing PF

2019-03-29 Thread Jan Danielsson
On 2019-03-30 01:19, Matt Sporleder wrote: > What features, exactly, are missing? Runtime NAT reconfiguration. miniupnpd wants to be able to add/remove filter rules (npf can do this) as well as add/remove NAT entries (npf couldn't do this last time I checked). -- Kind Regards,

Re: In-kernel units for block numbers, etc ...

2015-11-26 Thread Jan Danielsson
On 27/11/15 00:20, Robert Elz wrote: [---] > Making the CGD believe its underlying sectors are 4K panics the system. > (That's about as far as I got, but I think the problem is related to > translation between units, being done when it shouldn't be.) I took a quick stab at making cgd work on a

Bad system call - sigprocmask

2015-11-15 Thread Jan Danielsson
Hello, I have a system which reads I2C data from a few sensors and stores their data in shared memory which is protected using a shared semaphore. In order to prevent a deadlock among other processes if a process is killed while it's holding the lock I temporarily block SIGTERM and SIGINT

Sudden reboot

2013-12-02 Thread Jan Danielsson
Hello, I'm running netbsd-6 (a month old or so) on a Soekris net6501 (NetBSD/amd64), and tonight I had an unexpected reboot. /var/log/messages contains: Dec 3 03:15:46 aria syslogd[188]: restart Dec 3 03:15:46 aria /netbsd: uvm_fault(0x8071b4d8, 0x0, 1) - e Dec 3 03:15:46 aria

Re: kgdb on NetBSD/amd64 6.99.23

2013-09-19 Thread Jan Danielsson
On 9/18/13 7:00 PM, Jan Danielsson wrote: I'm trying to get kgdb working between two virtual box instances. (I have verified that /dev/tty00 - /dev/tty00 works by running GENERIC kernels and minicom on both virtual machines). [---] Problem #1 solved (worked-around). It looks like RB_KDB

kgdb on NetBSD/amd64 6.99.23

2013-09-18 Thread Jan Danielsson
Hello, I'm trying to get kgdb working between two virtual box instances. (I have verified that /dev/tty00 - /dev/tty00 works by running GENERIC kernels and minicom on both virtual machines). I basically did what is documented on: http://www.netbsd.org/docs/kernel/kgdb.html The webpage

Re: pbulk using tmpfs

2013-04-20 Thread Jan Danielsson
with tmpfs, but I haven't encountered any problems despite having rebuilt my packages and/or NetBSD probably - on average - once a week. -- Kind regards, Jan Danielsson

System hung on heavy load

2012-11-04 Thread Jan Danielsson
transfers to hang the system? -- Kind regards, Jan Danielsson

Re: kern/46494 (cgd on 4K sector disk)

2012-06-02 Thread Jan Danielsson
On 05/31/12 13:23, Roland C. Dowdeswell wrote: On Thu, May 31, 2012 at 01:08:44PM +0200, Jan Danielsson wrote: For completeness, gpt create cgd3 returns: gpt: unable to open device 'rcgd3d': Invalid argument I've checked in a bit of code recently that should make the gpts work on cgd

kern/46494 (cgd on 4K sector disk)

2012-05-31 Thread Jan Danielsson
create cgd3 returns: gpt: unable to open device 'rcgd3d': Invalid argument Pointers are welcome. -- Kind regards, Jan Danielsson Index: cgdvar.h === RCS file: /cvsroot/src/sys/dev/cgdvar.h,v retrieving revision 1.14 diff -u

4K sector size (again) cgd

2012-04-27 Thread Jan Danielsson
, Jan Danielsson

Re: pseudoify cgd

2010-01-01 Thread Jan Danielsson
the number of cgd(4) devices. Excellent. I did some quick tests, and didn't encounter any problems. Anyone feel like going over it one last time and committing it? -- Kind regards, Jan Danielsson signature.asc Description: OpenPGP digital signature

Sending patches

2010-01-01 Thread Jan Danielsson
? Or is there a formal way to sumbit patches? A CR/PR? -- Kind regards, Jan Danielsson signature.asc Description: OpenPGP digital signature

cfattach lwp (was: pseudoify cgd)

2010-01-01 Thread Jan Danielsson
. However, cgd_ioctl_clr() calls vn_close(), which needs credentials from an lwp structure. In the context of cgd_detach(), I don't see what lwp to use. -- Kind regards, Jan Danielsson signature.asc Description: OpenPGP digital signature