Re: chap-secrets IP range

AT <[email protected]>
Newsgroups gmane.network.poptop
Message-ID <CAJ5pgsJ51QjmrBbbkwebe4zLcyTwe5gr9Vz4ATfBK8CntcTU=g@mail.gmail.com>
>From the PPP FAQ http://ppp.samba.org/FAQ.html

Each chap-secrets entry has 3 or more fields, separated by whitespace
(spaces and/or tabs). These fields are, in order:

  1. The name of the machine that is authenticating itself (the "client").
  2. The name of the machine that is authenticating the client (the "server").
  3. The secret to be used for authenticating that client to that
server. If this field begins with the at-sign `@', the rest of the
field is taken as the name of a file containing the actual secret.
  4. The 4th and any following fields list the IP address(es) that
the client may use.

So, one just need to put something like
user * pass 172.16.32.8 172.16.32.9 172.16.32.10

On Wed, Sep 28, 2011 at 3:38 PM, James Cameron <[email protected]> wrote:
> On Wed, Sep 28, 2011 at 10:10:31AM +0400, AT wrote:
>> But if I want to specify the Range of IP addresses it does not work
>> What is the correct syntax to specify the IP range?
>
> There is no syntax for range in the documentation, however "man pppd"
> does say the three fields "may be followed by a list of the IP addresses
> that the specified client may use when connecting to the specified
> server".  So try a list.
>
> Check with the pppd mailing list perhaps?  It has nothing to do with
> pptpd, we're only using pppd as supplied.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Poptop-server mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/poptop-server
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.