On Tue, Feb 17, 2015 at 03:15:14PM +0100, Stefan Wollny wrote:
> Hello!
> 
> I'd like to pick up an issue that is bugging me for some time now:
> Whenever I run 'pkg_add -ui' my connection gets terminated soon,
> reliably at the latest once packages starting with "g" are checked. I
> suspect it is in my pf.conf but it is not obvious to me.
> 
> My system: Lenovo T60 running amd64-current. Below I provide the
> obligatory dmesg, pf.conf, rc.conf.local and sysctl.conf.
> 
> Checking what is going on with 'pftop' I noticed that 'pkg_add' opens up
> hundreds of connections, all with state 'TIME_WAIT:TIME_WAIT' or
> 'FIN_WAIT_2:FIN_WAIT_2'. Once around 100 such states are established the
> connection will be dropped soon. I've tried ftp.hostserver.de,
> openbsd.cs.fau.de and ftp.openbsd.org - all show the same behaviour.
> E.g. PKG_PATH is set in my .profile like so:
> PKG_PATH=http://ftp.hostserver.de/pub/OpenBSD/snapshots/packages/amd64/

All those connections get closed by pkg_add.  If you don't see them closing
in your pf log, you need to figure out why.

Reply via email to