Clonable BPF diff

2015-02-16 Thread Sevan / Venture37
Hi, I was pointed to a diff that was posted on tech@ a couple of years back by sthen@ which was created by mikeb@, there was a brief discussion regarding the patch & then nothing, I was wondering if it's worth revisiting / continuing the dialogue to reach a conclusion. http://marc.info/?t=135405119

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Hugo Osvaldo Barrera
On 2015-02-16 23:21, Jérémie Courrèges-Anglas wrote: > j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: > > > Please try the diff below. It fixes the "backwards memcpy" problem > > easily noticeable with psql -h ::1. > > Updated diff. Thanks to Stuart for reminding me that netmasks sa_len > valu

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Ted Unangst
Jérémie Courrèges-Anglas wrote: > Please try the diff below. It fixes the "backwards memcpy" problem > easily noticeable with psql -h ::1. > > $OpenBSD$ > --- src/backend/libpq/hba.c.orig Mon Feb 16 21:53:21 2015 > +++ src/backend/libpq/hba.c Mon Feb 16 21:54:44 2015 > @@ -700,8 +700,8 @@

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Stuart Henderson
worked out with jca and lteo, this fixes this issue (which only occurs when there's an ipv6 connection) for me. Index: Makefile === RCS file: /cvs/ports/databases/postgresql/Makefile,v retrieving revision 1.198 diff -u -p -r1.198 Make

Re: Any experience with D-Link DGS-1100 and static trunk aggregation?

2015-02-16 Thread Josh Grosse
On 2015-02-16 14:43, Stuart Henderson wrote: On 2015-02-16, Josh Grosse wrote: I've just ordered a D-Link DGS-1100 series low-end managed switch and am wondering if anyone has used one of these with either a roundrobin or loadbalance trunk(4) configuration. Not this particular switch, but the

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: > Please try the diff below. It fixes the "backwards memcpy" problem > easily noticeable with psql -h ::1. Updated diff. Thanks to Stuart for reminding me that netmasks sa_len values can be much surprising. $OpenBSD$ --- src/backend/libpq/hba.c

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Jérémie Courrèges-Anglas
Please try the diff below. It fixes the "backwards memcpy" problem easily noticeable with psql -h ::1. $OpenBSD$ --- src/backend/libpq/hba.c.origMon Feb 16 21:53:21 2015 +++ src/backend/libpq/hba.c Mon Feb 16 21:54:44 2015 @@ -700,8 +700,8 @@ check_ip(SockAddr *raddr, struct sockaddr

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Amit Kulkarni
On Mon, Feb 16, 2015 at 2:19 PM, Hugo Osvaldo Barrera wrote: > On 2015-02-16 16:24, Stuart Henderson wrote: > > On 2015-02-15, Hugo Osvaldo Barrera wrote: > > > > > > Am I mistaken in understanding that this is an issue with postgresql > itself, > > > and not a local configuration error? > > > >

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Stuart Henderson
On 2015/02/16 21:02, Stuart Henderson wrote: > On 2015/02/16 17:19, Hugo Osvaldo Barrera wrote: > > (gdb) bt > > Was this backtrace from a new coredump, or was it from one created by > the old binary? (if the latter, please could you remove the old coredump > and get it to crash again and send a

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Hugo Osvaldo Barrera
On 2015-02-16 20:44, Stuart Henderson wrote: > > Thanks a lot, it did. I was unaware of make DEBUG, and had been editing the > > Makefile with no success. > > The missing piece is that, normally, binaries get stripped of their > debug symbols in the "fake install" stage. Passing the flags in via DE

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Hugo Osvaldo Barrera
On 2015-02-16 21:02, Stuart Henderson wrote: > On 2015/02/16 17:19, Hugo Osvaldo Barrera wrote: > > (gdb) bt > > Was this backtrace from a new coredump, or was it from one created by > the old binary? (if the latter, please could you remove the old coredump > and get it to crash again and send a

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Stuart Henderson
On 2015/02/16 17:19, Hugo Osvaldo Barrera wrote: > (gdb) bt Was this backtrace from a new coredump, or was it from one created by the old binary? (if the latter, please could you remove the old coredump and get it to crash again and send a fresh backtrace?)

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Hugo Osvaldo Barrera
On 2015-02-16 16:24, Stuart Henderson wrote: > On 2015-02-15, Hugo Osvaldo Barrera wrote: > > > > Am I mistaken in understanding that this is an issue with postgresql itself, > > and not a local configuration error? > > Correct. > > > I tried building postgres with debug symbols (I added the flags

Re: Any experience with D-Link DGS-1100 and static trunk aggregation?

2015-02-16 Thread Stuart Henderson
On 2015-02-16, Josh Grosse wrote: > I've just ordered a D-Link DGS-1100 series low-end managed switch and > am wondering if anyone has used one of these with either a roundrobin > or loadbalance trunk(4) configuration. Not this particular switch, but there isn't much that can go wrong with static

autoinstall + sitexx-hostname.tgz

2015-02-16 Thread Jan Lambertz
Hi, i am using pxe boot with autoinstall and a hostname specific tgz file in the sets to deploy many similar Firewalls. i tell the installer how to configure at least one nic, to download the sets. i use dhcp for that. after that everything works as expected until the install is done and machine r

Re: Anybody replace the disk drive in a Lemote Fuloong?

2015-02-16 Thread John Long
On Mon, Jan 26, 2015 at 02:28:35PM +0100, Otto Moerbeek wrote: > Unscrew the four screws on the side VGA connector side. Slide the > logic board out. Unscrew the three black screws that hold the disk > bracket. The screws are unmarked but they are near R164, C174 and U32. > You can then slide the d

Any experience with D-Link DGS-1100 and static trunk aggregation?

2015-02-16 Thread Josh Grosse
I've just ordered a D-Link DGS-1100 series low-end managed switch and am wondering if anyone has used one of these with either a roundrobin or loadbalance trunk(4) configuration. The DGS-1200 series supports LACP, but the 1100 only supports an undefined "static trunk aggregation" method. The C

Re: Installing OpenBSD 5.6 using a USB Flash drive

2015-02-16 Thread Markus Kolb
Am 2015-02-16 15:36, schrieb A Y: Did anyone install OpenBSD 5.6 from a USB Flash drive? Please help... You have already booted from drive, now you only need to select this drive device during installation. You need help exactly with what?

Re: postgresql-server exiting abnormally after upgrade to -snapshot

2015-02-16 Thread Stuart Henderson
On 2015-02-15, Hugo Osvaldo Barrera wrote: > > Am I mistaken in understanding that this is an issue with postgresql itself, > and not a local configuration error? Correct. > I tried building postgres with debug symbols (I added the flags described > here[1] to the ports Makefile), but the backtr

Re: Installing OpenBSD 5.6 using a USB Flash drive

2015-02-16 Thread A Y
Did anyone install OpenBSD 5.6 from a USB Flash drive? Please help... > From: afyous...@hotmail.com > To: misc@openbsd.org > Subject: Re: Installing OpenBSD 5.6 using a USB Flash drive > Date: Sat, 14 Feb 2015 19:30:05 + > > Ok, I did. > Please let me know if it works. > > > To: afyous...@hotma

pf on 5.6: rule counter with proto esp not working

2015-02-16 Thread Axel Rau
Hi, I failed to setup a queue on outgoing esp traffic and noticed that the rule counters are all 0 and do not advance: @155 pass out quick on vlan2 inet proto esp from any to set ( queue vpn ) keep state (if-bound) [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]

Serial console on Sunix 40XX (PCI)

2015-02-16 Thread Radek
I'm trying to setup a serial console. My RS-232 is an old PCIcard. I tried this way: boot> set tty com4 /etc/ttys: tty00 "/usr/libexec/getty std.9600" vt220 on secure tty04 "/usr/libexec/getty std.9600" vt220 on secure but can't connect to console and the system doesn't boot. What