diff --git a/pppoe_auth.json b/pppoe_auth.json index 1befa74..934ac8d 100644 --- a/pppoe_auth.json +++ b/pppoe_auth.json @@ -37,7 +37,7 @@ "type": "*constant", "value": "AccessReject", "blocker": true}, {"tag": "RejectMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"], - "type": "*variable", "value": "~*cgrep.Error"}, + "type": "*constant", "value": "Authentication failed: User not found or account disabled"}, {"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*variable", "value": "~*cgrep.MaxUsage{*duration_seconds}", "filters": ["*notempty:~*cgrep.MaxUsage:"]}, @@ -68,7 +68,7 @@ {"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"], "type": "*constant", "value": "AccessReject"}, {"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"], - "type": "*variable", "value": "~*cgrep.Error"} + "type": "*constant", "value": "Authentication failed: Invalid username or password"} ] }, { @@ -88,7 +88,7 @@ {"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"], "type": "*constant", "value": "AccessReject"}, {"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"], - "type": "*variable", "value": "~*cgrep.Error"} + "type": "*constant", "value": "Authentication failed: Invalid username or password"} ] }, { @@ -108,7 +108,7 @@ {"tag": "Code", "path": "*rep.*radReplyCode", "filters": ["*notempty:~*cgrep.Error:"], "type": "*constant", "value": "AccessReject"}, {"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"], - "type": "*variable", "value": "~*cgrep.Error"} + "type": "*constant", "value": "Authentication failed: Invalid username or password"} ] } ]