Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2001 13:59:46 +0300
From:      "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: pppd active-filter question
Message-ID:  <027f01c17732$a0af55c0$6d36120a@comsys.ntukpi.kiev.ua>
References:  <200111270919.fAR9JXB36051@ns.uh.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: Alexander S. Volchenkov <volax@uh.ru>
Newsgroups: lucky.freebsd.questions
Sent: Tuesday, November 27, 2001 1:04 PM
Subject: pppd active-filter question


> I've got an interesting problem. My pppd started with demand option and
> sometimes it brings up phone line with no network activity. I'm tried to
> recognize this but I can't do it with tcpdump - open connection longs too
> small amount of time. My modem keeps connection alive for 3 minutes (idle
> 180) and this is not good. I suppose this happens because of DNS updates. I'm
> trying to start pppd with option:
>
> active-filter 'not (src port 53)'
>
> to disable dns demand dialing, but starting pppd causing error message:
>
> pppd[2073]: Couldn't set active-filter in kernel: Inappropriate ioctl for
> device
>
> What does it mean? How can i set pppd active-filter?
>

Did you enable PPP_FILTER option in your kernel? Also note following from
the pppd(8) manual page:

active-filter filter-expression
      This  option  only available if both the kernel and pppd were compiled
      with PPP_FILTER defined.






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?027f01c17732$a0af55c0$6d36120a>