Radius with PAP on version Version: 5.01, Build: 9674

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
tgm
Posts: 1
Joined: Thu Jan 28, 2021 3:04 pm

Radius with PAP on version Version: 5.01, Build: 9674

Post by tgm » Mon Feb 01, 2021 12:40 pm

Dear SoftEther Community,


is there any chance to active PAP Radius requests on the latest unstable version "Version: 5.01, Build: 9674"? In the Build-Version 9674 this is the Radius request:

Code: Select all

Ready to process requests
(1) Received Access-Request Id 1 from 127.0.0.1:56271 to 127.0.0.1:1812 length 305
(1)   User-Name = "tgm"
(1)   Acct-Session-Id = "\000\001"
(1)   NAS-IP-Address = 0.0.0.0
(1)   Service-Type = Framed-User
(1)   MS-RAS-Vendor = 311
(1)   MS-RAS-Version = "MSRASV5.20"
(1)   NAS-Port-Type = Virtual
(1)   Tunnel-Type:0 = PPTP
(1)   Tunnel-Medium-Type:0 = IPv4
(1)   Called-Station-Id = "Admin-VPN"
(1)   Calling-Station-Id = "1.2.3.4"
(1)   Tunnel-Client-Endpoint:0 = "1.2.3.4"
(1)   MS-RAS-Client-Version = "MSRASV5.20"
(1)   MS-RAS-Client-Name = "1.2.3.4"
(1)   MS-CHAP-Challenge = 0x2cae658ba695695263fe872be831484d
(1)   MS-CHAP2-Response = 0x00000e1a3c3ec4ce468d1541af6432c98f2b0000000000000000acc0af882729385edeb53b5b4d23706a6dbdfdc03bfd5005
(1)   NAS-Identifier = "SoftEther VPN Server Developer Edition"
(1)   Proxy-State = 0x4c333a4c325450
(1) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(1)   authorize {
(1) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(1) auth_log:    --> /var/log/freeradius/radacct/127.0.0.1/auth-detail-20210201
(1) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/auth-detail-20210201
(1) auth_log: EXPAND %t
(1) auth_log:    --> Mon Feb  1 12:45:49 2021
(1)     [auth_log] = ok


And in latest stable version this is the radius request:

Code: Select all

Ready to process requests
(0) Received Access-Request Id 2 from 127.0.0.1:42332 to 127.0.0.1:1812 length 144
(0)   User-Name = "tgm"
(0)   User-Password = "409679"
(0)   NAS-Identifier = "SoftEther VPN Server"
(0)   Service-Type = Framed-User
(0)   NAS-Port-Type = Virtual
(0)   Tunnel-Type:0 = PPTP
(0)   Tunnel-Medium-Type:0 = IPv4
(0)   Called-Station-Id = "Admin-VPN"
(0)   Calling-Station-Id = "1.2.3.4"
(0)   Tunnel-Client-Endpoint:0 = "1.2.3.4"
(0)   Proxy-State = 0x4c333a4c325450
(0) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default
(0)   authorize {
(0) auth_log: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
(0) auth_log:    --> /var/log/freeradius/radacct/127.0.0.1/auth-detail-20210201
(0) auth_log: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d expands to /var/log/freeradius/radacct/127.0.0.1/auth-detail-20210201
(0) auth_log: EXPAND %t
(0) auth_log:    --> Mon Feb  1 12:44:24 2021
(0)     [auth_log] = ok

My Problem is, that I need for further actions the "User-Password" statement in the request, which I can only have with PAP requests.


Best, Tobias

Post Reply