Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ready to process requests
- (0) Received Access-Request Id 27 from 172.16.3.1:58298 to 172.16.3.165:1812 length 176
- (0) Service-Type = Framed-User
- (0) Framed-Protocol = PPP
- (0) NAS-Port = 15728657
- (0) NAS-Port-Type = Virtual
- (0) User-Name = "test11"
- (0) Calling-Station-Id = "172.16.3.133"
- (0) Called-Station-Id = "172.16.3.1"
- (0) MS-CHAP-Challenge = 0xd1e5405c13cfd13704c759209c2cbc34
- (0) MS-CHAP2-Response = 0x0100e19360fde3c17a1992bd3da92ef519ca00000000000000008cf66918551f8e2388caa512b2827a70895b066f122969da
- (0) NAS-Identifier = "MikroTik"
- (0) NAS-IP-Address = 172.16.3.1
- (0) # Executing section authorize from file /etc/raddb/sites-enabled/default
- (0) authorize {
- (0) policy filter_username {
- (0) if (&User-Name) {
- (0) if (&User-Name) -> TRUE
- (0) if (&User-Name) {
- (0) if (&User-Name =~ / /) {
- (0) if (&User-Name =~ / /) -> FALSE
- (0) if (&User-Name =~ /@[^@]*@/ ) {
- (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
- (0) if (&User-Name =~ /\.\./ ) {
- (0) if (&User-Name =~ /\.\./ ) -> FALSE
- (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) {
- (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE
- (0) if (&User-Name =~ /\.$/) {
- (0) if (&User-Name =~ /\.$/) -> FALSE
- (0) if (&User-Name =~ /@\./) {
- (0) if (&User-Name =~ /@\./) -> FALSE
- (0) } # if (&User-Name) = notfound
- (0) } # policy filter_username = notfound
- (0) [preprocess] = ok
- (0) [chap] = noop
- (0) mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
- (0) [mschap] = ok
- (0) [digest] = noop
- (0) suffix: Checking for suffix after "@"
- (0) suffix: No '@' in User-Name = "test11", looking up realm NULL
- (0) suffix: No such realm "NULL"
- (0) [suffix] = noop
- (0) eap: No EAP-Message, not doing EAP
- (0) [eap] = noop
- (0) files: users: Matched entry DEFAULT at line 181
- (0) [files] = ok
- (0) [expiration] = noop
- (0) [logintime] = noop
- (0) multiotp: Executing: /usr/local/bin/multiotp/multiotp.php %{User-Name} %{User-Password} -request-nt-key -src=%{Packet-Src-IP-Address} -chap-challenge=%{CHAP-Challenge} -chap-password=%{CHAP-Password} -ms-chap-challenge=%{MS-CHAP-Challenge} -ms-chap-response=%{MS-CHAP-Response} -ms-chap2-response=%{MS-CHAP2-Response}:
- (0) multiotp: EXPAND %{User-Name}
- (0) multiotp: --> test11
- (0) multiotp: EXPAND %{User-Password}
- (0) multiotp: -->
- (0) multiotp: EXPAND -src=%{Packet-Src-IP-Address}
- (0) multiotp: --> -src=172.16.3.1
- (0) multiotp: EXPAND -chap-challenge=%{CHAP-Challenge}
- (0) multiotp: --> -chap-challenge=
- (0) multiotp: EXPAND -chap-password=%{CHAP-Password}
- (0) multiotp: --> -chap-password=
- (0) multiotp: EXPAND -ms-chap-challenge=%{MS-CHAP-Challenge}
- (0) multiotp: --> -ms-chap-challenge=0xd1e5405c13cfd13704c759209c2cbc34
- (0) multiotp: EXPAND -ms-chap-response=%{MS-CHAP-Response}
- (0) multiotp: --> -ms-chap-response=
- (0) multiotp: EXPAND -ms-chap2-response=%{MS-CHAP2-Response}
- (0) multiotp: --> -ms-chap2-response=0x0100e19360fde3c17a1992bd3da92ef519ca00000000000000008cf66918551f8e2388caa512b2827a70895b066f122969da
- (0) multiotp: ERROR: Failed parsing output from: /usr/local/bin/multiotp/multiotp.php %{User-Name} %{User-Password} -request-nt-key -src=%{Packet-Src-IP-Address} -chap-challenge=%{CHAP-Challenge} -chap-password=%{CHAP-Password} -ms-chap-challenge=%{MS-CHAP-Challenge} -ms-chap-response=%{MS-CHAP-Response} -ms-chap2-response=%{MS-CHAP2-Response}: Expecting operator
- (0) multiotp: ERROR: Program returned code (0) and output 'Filter-Id += "VPN",NT_KEY: ADD2B3F97098F8FFF8C850388902437D '
- (0) [multiotp] = fail
- (0) } # authorize = fail
- (0) Using Post-Auth-Type Reject
- (0) # Executing group from file /etc/raddb/sites-enabled/default
- (0) Post-Auth-Type REJECT {
- (0) attr_filter.access_reject: EXPAND %{User-Name}
- (0) attr_filter.access_reject: --> test11
- (0) attr_filter.access_reject: Matched entry DEFAULT at line 11
- (0) [attr_filter.access_reject] = updated
- (0) [eap] = noop
- (0) policy remove_reply_message_if_eap {
- (0) if (&reply:EAP-Message && &reply:Reply-Message) {
- (0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (0) else {
- (0) [noop] = noop
- (0) } # else = noop
- (0) } # policy remove_reply_message_if_eap = noop
- (0) } # Post-Auth-Type REJECT = updated
- (0) Delaying response for 1.000000 seconds
- Waking up in 0.2 seconds.
- (0) (0) Discarding duplicate request from client MikroTik port 58298 - ID: 27 due to delayed response
- Waking up in 0.7 seconds.
- (0) (0) Discarding duplicate request from client MikroTik port 58298 - ID: 27 due to delayed response
- Waking up in 0.5 seconds.
- (0) Sending delayed response
- (0) Sent Access-Reject Id 27 from 172.16.3.165:1812 to 172.16.3.1:58298 length 20
- Waking up in 3.9 seconds.
- (0) Cleaning up request packet ID 27 with timestamp +21
- Ready to process requests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement