From owner-freebsd-net@FreeBSD.ORG Wed Apr 23 23:16:56 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7811FEA1 for ; Wed, 23 Apr 2014 23:16:56 +0000 (UTC) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) (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 3E8651512 for ; Wed, 23 Apr 2014 23:16:56 +0000 (UTC) Received: by mail-yh0-f47.google.com with SMTP id 29so1527200yhl.20 for ; Wed, 23 Apr 2014 16:16:55 -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=6084h9Q80BrxIWBtYPxTiz5amAvXuG04lBXx0czIEFs=; b=Pusww9WktJ95t+j//HhuCCnTkHkYTdGJp9zWbXyT6tw1aFiSXHCn3+P8SBuGwlJ8uZ GTIIGlhEoWBrgBzyZRjWa0et4IvDIbF9uo7AQGTaPVGqh42h/VuMJwvycW2Lmz40jXjL 9n0eOHv59brKGbySaI0IKIum95cV4IbkP++Kxvqpx50reIap5Ft9LR/DMdMoNZke3bvK p9FOSPkb1poFZKrqNLOurmkynJ6jrg5+j/EYK9gAploLV9f59ys6pXqqz60oZVb7YI77 YgY3u8uiOWG4KJk8Ss+qSn/AS1I4q57a5y6lRE9vodTDpY7dCFZz2gooYjJGSF1CRrDQ iEbQ== MIME-Version: 1.0 X-Received: by 10.236.31.40 with SMTP id l28mr73904485yha.17.1398295015421; Wed, 23 Apr 2014 16:16:55 -0700 (PDT) Received: by 10.170.185.208 with HTTP; Wed, 23 Apr 2014 16:16:55 -0700 (PDT) Date: Thu, 24 Apr 2014 01:16:55 +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: Wed, 23 Apr 2014 23:16:56 -0000 I tried to analyse the PPTP traffic on both sides of the connection. Test consisted of client connecting to a server, logging to a samba share and staying idle. Prior to each test tcpdump/wireshark was launched on respective node. Every time session ended after certain time (time differed each time but was always less than 10 minutes). Connection started as expected, every second there was a live traffic (PPP/GRE) between these nodes. After a while though this traffic ended (no sign why, it just stopped). In ~45secs after this client requested echo-reply 5 times in 1 minute interval (5 mins total). Each time it got a successful reply. After that server sent PSH and RST packet which ended the session. In summary there's a live session, period of silence, 5 times echo and then PSH and RST which results in dropped connection. It doesn't matter if the client is active or stays idle. Question is: what can give me the hint why PPP/GRE traffic stopped? What to focus on? Other connections (not PPTP related) don't have this problem. If the client has an idle SSH connection to this server it stays up without a problem. The same PPTP configuration works ok on FreeBSD 9.2. Martin