Re: windows access to linux server modem
Hi
On Thu, Feb 01, 2001 at 10:01:35PM +0100, Martin Albert wrote:
> On Thu, 01 Feb 2001, Michael Wood wrote:
> > Oh, pppd also supports demand dialling (with the "demand"
> > option) but as far as I know, you can't (on Linux anyway)
> > restrict what packets cause the box to dial etc., whereas
> > you can with diald. Check the pppd man page for details.
>
> pppd with demand dialing will do it on every packet. After
> watching the traffic for a while (iptraf) i decided to turn
> demand dialing off and to further deny connections to certain
Yes, the man page says you can apply filters to specify what
traffic causes the link to come up etc., but that apparently
only works for NetBSD.
Here's the section in the manpage:
active-filter filter-expression
Specifies a packet filter to be applied to data
packets to determine which packets are to be
regarded as link activity, and therefore reset the
idle timer, or cause the link to be brought up
in demand-dialling mode. This option is useful
in conjunction with the idle option if there are
packets being sent or received regularly over
the link (for example, routing information
packets) which would otherwise prevent the link
from ever appear ing to be idle. The
filter-expression syntax is as described for
tcpdump(1), except that qualifiers which are
inappropriate for a PPP link, such as ether and
arp, are not permitted. Generally the filter
expression should be enclosed in single-quotes
to prevent whitespace in the expression from being
interpreted by the shell. This option is currently
only available under NetBSD, and then only if
both the kernel and pppd were compiled with
PPP_FILTER defined.
--
Michael Wood | Tel: +27 21 762 0276 | http://www.kingsley.co.za/
wood@kingsley.co.za | Fax: +27 21 761 9930 | Kingsley Technologies
Reply to: