Menu

#17 honour the IP address field in /etc/ppp/chap-secrets

pending
nobody
None
5
2012-08-27
2012-08-26
Anonymous
No

It would be really great if accel-ppp could honour the specified static IP address in /etc/ppp/chap-secrets even if the ippool module is used. The proposed logic would be as follows:

1. if the 4th field of /etc/ppp/chap-secrets is not '*', then assign the specified IP address to the client;
2. otherwise, allocate an address from the pool as usual.

This would allow administrators to assign static IP addresses to some accounts while other accounts will be dynamically allocated. The usage pattern for this is quite simple: if we have two categories of accounts (e.g. admins and users) and one category should have access to some resources, while another shouldn't -- such a configuration will allow administrators to be in a dedicated network block (and them be properly handled by a firewall).

Thanks for a great package, we really love it!

Discussion

  • xeb

    xeb - 2012-08-27

    to get such functionality place modules in the following order:
    [modules]
    ...
    chap-secrets
    ippool
    ...

     
  • xeb

    xeb - 2012-08-27
    • status: open --> pending