From owner-freebsd-questions Tue Nov 27 4: 4:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by hub.freebsd.org (Postfix) with ESMTP id 2414637B419 for ; Tue, 27 Nov 2001 04:04:07 -0800 (PST) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 6D7022F03C for ; Tue, 27 Nov 2001 14:04:04 +0200 (EET) Received: (from root@localhost) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) id fARC5uH14723 for freebsd-questions@freebsd.org.CHECKED; Tue, 27 Nov 2001 14:05:56 +0200 (EET) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id fARC5uV14719 for ; Tue, 27 Nov 2001 14:05:56 +0200 (EET) Message-ID: <027f01c17732$a0af55c0$6d36120a@comsys.ntukpi.kiev.ua> From: "Andrey Simonenko" To: References: <200111270919.fAR9JXB36051@ns.uh.ru> Subject: Re: pppd active-filter question Date: Tue, 27 Nov 2001 13:59:46 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Alexander S. Volchenkov 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