Summary: | net-dialup/ppp auth-fail enhancement | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jaco Kroon <jaco> |
Component: | Current packages | Assignee: | Alin Năstac (RETIRED) <mrness> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | net-dialup |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ppp-2.4.4-auth_not_possible.patch |
Description
Jaco Kroon
2007-09-29 14:02:41 UTC
Created attachment 132172 [details, diff]
ppp-2.4.4-auth_not_possible.patch
I don't understand exactly why do you want such thing. The "no auth is possible" is triggered only by bad configurations (when either you disable all authentication methods or the *-secrets files doesn't contain any entry). auth-fail script on the other hand is executed when the negotiated authentication method has failed. I live in SA, and to make the best possible use of already paid for bandwidth I dynamically muck around with chap-secrets. At the end of the month some of my accounts expire and I remove them from chap-secrets, however, I don't want to immediately restart the pppd process to make use of the new/alternative accounts since I can still use them for a few hours (up to 24), so when the ISP disconnects me pppd fails to authenticate with "No auth is possible", at this point I would like to restart pppd in order to make use of the new accounts. Just don't remove the obsolete secret entry as long as your ISP didn't rejected you yet. Or replace the password in *-secrets with something else (e.g. "UNKNOWN"). Closed as INVALID. I would still have prefered the hook, but the invalid password trick should suffice as well, thanks for the tip. |