MPD PPTP seting 0 on net.inet.ip.forwarding

Raimundo Santos raitech at gmail.com
Thu Oct 31 20:57:43 UTC 2013


On 31 October 2013 17:03, Eugene Grosbein <egrosbein at 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.
>
>
>


More information about the freebsd-net mailing list