From owner-freebsd-net@FreeBSD.ORG Thu Oct 31 20:57:43 2013 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 ESMTP id 61D1F393 for ; Thu, 31 Oct 2013 20:57:43 +0000 (UTC) (envelope-from raitech@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B3A62200 for ; Thu, 31 Oct 2013 20:57:43 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id ld10so3063073pab.38 for ; Thu, 31 Oct 2013 13:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Lu0wue6EFj0Bm3Qd25OWc50JSdRtClsYa4ikXtjjPoo=; b=iR+P1dIr6XhbTdG9oZdg/A60Uq0+W2cil/GmdczyCbrner0Jlf8Dodndug+JNr1A2u 7bPLZolOFgE+bk3BjRu3KAqRBCBpuXBKr3sePJAfoZh1wgz6R7H3BGSYcNGAA+Go8Hot l2koG5CcMx44pCpL8nD4vEbIcrTeq/3xf61d5qr7AEIk/vmoJ8HFz8zTYkqGTsDWq5II faoItqKkZSAZtconyVQxF1ZmWyl6d/QUWnb93R3xbR1AVBjrIH1D24uvdu7OBoyO10a0 AGedAODgdXGYMnJlL3CXKYeatEA7fih1qeE3DoLnrThLACeCuNSG6dZt99yjvSCsFxme 32Nw== X-Received: by 10.68.254.231 with SMTP id al7mr3858603pbd.158.1383253062795; Thu, 31 Oct 2013 13:57:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.101.70 with HTTP; Thu, 31 Oct 2013 13:57:22 -0700 (PDT) In-Reply-To: <5272A968.2050205@rdtc.ru> References: <5272A968.2050205@rdtc.ru> From: Raimundo Santos Date: Thu, 31 Oct 2013 18:57:22 -0200 Message-ID: Subject: Re: MPD PPTP seting 0 on net.inet.ip.forwarding To: Eugene Grosbein Content-Type: text/plain; charset=KOI8-R X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 20:57:43 -0000 On 31 October 2013 17:03, Eugene Grosbein wrote: > > That's not MPD's fault. That's FreeBSD 9.2's devd starting > /etc/pccard_ether $subsystem start > every time an interface is created. This leads to start of > /etc/rc.d/netif quietstart $ifn > > netif does LOTS of things making severe (and unneeded for mpd) load on the system > and resetting net.inet.ip.forwarding to 0 if you don't have gateway_enable="YES" > in your /etc/rc.conf > Good to know. Not a problem for me by now, but I will keep an eye at the problem. > I don't need devd so I just disabled it in rc.conf with devd_enable="NO". > If you need it, just switch from sysctls to: > > gateway_enable="YES" > ipv6_gateway_enable="YES" > Yes, that was the solution that worked. I needed a quick an dirty VPN, ended stopping my customers network! But it's okey now, as I am such a good sysadm - heee... Thank you, Eugene! > This seems as regression from 9.1 behavior for me for busy mpd-based BRAS'es > as performance of the box drops significantly due to extra work performed > by devd and its scripts. > > >