Add default auth processor for testing
This commit is contained in:
@@ -108,6 +108,19 @@
|
||||
{"tag": "ReplyMessage", "path": "*rep.Reply-Message", "filters": ["*notempty:~*cgrep.Error:"],
|
||||
"type": "*constant", "value": "Authentication failed: Invalid username or password"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "MikrotikPPPoEAuthDefault",
|
||||
"filters": [
|
||||
"*string:~*vars.*radReqType:*radAuth"
|
||||
],
|
||||
"flags": ["*log"],
|
||||
"request_fields": [],
|
||||
"reply_fields": [
|
||||
{"tag": "Code", "path": "*rep.*radReplyCode", "type": "*constant", "value": "AccessAccept"},
|
||||
{"tag": "SessionTimeout", "path": "*rep.Session-Timeout", "type": "*constant", "value": "3600"},
|
||||
{"tag": "AcctInterimInterval", "path": "*rep.Acct-Interim-Interval", "type": "*constant", "value": "60"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user