From owner-freebsd-net@FreeBSD.ORG Sat Apr 19 23:05:06 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 476949E1 for ; Sat, 19 Apr 2014 23:05:06 +0000 (UTC) Received: from mail-yh0-x230.google.com (mail-yh0-x230.google.com [IPv6:2607:f8b0:4002:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E2361B3D for ; Sat, 19 Apr 2014 23:05:05 +0000 (UTC) Received: by mail-yh0-f48.google.com with SMTP id z6so2480057yhz.7 for ; Sat, 19 Apr 2014 16:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NILHKWOnGpcHHlmAxj7LCJmg+FRkAbpe/QzFIUtgyiQ=; b=wFy3nF1dd3SYcr9L+e5HjkXww5uL3ZZW6GrNZ9cwFWxDw7mfyVh9NJ9u96aJcfn0Pk Yqi3CDvtHf6RbeZRB7iB5pAU31AKWwdsEnajighOMOz2zINvwqRBKgbiBiBRd12voiw2 7Iq1W23zLq3m65xQDr49On/iGv1zbhnffAVDo/FEMSRUnfBduE4IRQ86RqZR/GDZIV23 WKltChLddPrhPK9FOqCogmVY8G9rvUMttNBnFw6QyENyypfdUc/w5yY7Bm1/nePmCD1I awb+uKzQRyu3q0rBtDHCsJD7GQLmp0l0tBJmWeyvV3TrA0116Gl9gMbLTI3x0qpZ1RaP UXjQ== MIME-Version: 1.0 X-Received: by 10.236.0.200 with SMTP id 48mr4924881yhb.72.1397948705191; Sat, 19 Apr 2014 16:05:05 -0700 (PDT) Received: by 10.170.185.208 with HTTP; Sat, 19 Apr 2014 16:05:05 -0700 (PDT) Date: Sun, 20 Apr 2014 01:05:05 +0200 Message-ID: Subject: Random disconnects on 10.0 with mpd5/pptp + PF From: martin i To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 23:05:06 -0000 Hi all, I've a FreeBSD 10.0 amd64 r264316 with custom built kernel (GENERIC + PF + cryptodev/crypto/aesni). I'm using mpd5 to provide pptp access to my samba shares hosted on the very same machine. PF is used for filtering/NAT (samba is bind on custom loopback interface only). All clients are experiencing random disconnects, even during the active session. There's no indication in mpd log why the session is closed, I can only see: Apr 19 00:09:32 foxi mpd: [cloud_b-1] IFACE: Up event Apr 19 00:16:30 foxi mpd: [cloud_link-1] PPTP call terminated Devd does log a lot of events: Apr 18 00:06:01 foxi devd: Executing '/etc/pccard_ether ng0 start' Apr 18 00:14:23 foxi devd: Executing '/etc/pccard_ether ng0 start' Apr 18 00:22:46 foxi devd: Executing '/etc/pccard_ether ng0 start' Apr 18 00:33:47 foxi devd: Executing '/etc/pccard_ether ng0 start' Apr 18 00:42:09 foxi devd: Executing '/etc/pccard_ether ng0 start' On apr 17, it was 107 of these messages. Disconnects are random, but usually the session can't be kept alive for more than 10 minutes. Session is terminated even during an active session (i.e. when client is copying data, etc.). On FreeBSD 9.2 with the same configuration I've no problems. I can't figure our why is this happening. I was hoping maybe somebody did already experience the same issues? Browsing the archive the closest match to my problem is the following: http://lists.freebsd.org/pipermail/freebsd-net/2014-February/037864.html but the patch is (so it seems) already merged to the revision I'm using. Pls what can I do better to check where the issue is coming from ? Martin