Date: Thu, 31 Oct 2013 18:57:22 -0200 From: Raimundo Santos <raitech@gmail.com> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: MPD PPTP seting 0 on net.inet.ip.forwarding Message-ID: <CAGQ6iC8h_rBDYGNA9cpsx-Lyvf4xnoHBXq6H_eVOvSMGSTeYhA@mail.gmail.com> In-Reply-To: <5272A968.2050205@rdtc.ru> References: <CAGQ6iC8MAA3eHywhzvikB4n-Q6igTJ%2BPTkCCSYMfFLNUKKD6Hg@mail.gmail.com> <CAGQ6iC_rK-j1n8eiWdB2AiD4i5%2BvQd97c0TNGCrSosYsLoq4WQ@mail.gmail.com> <5272A968.2050205@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31 October 2013 17:03, Eugene Grosbein <egrosbein@rdtc.ru> 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. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGQ6iC8h_rBDYGNA9cpsx-Lyvf4xnoHBXq6H_eVOvSMGSTeYhA>