From 3e1a585f9714ffa990bb5751c7a4c7025d7c02fa Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Wed, 7 Feb 2024 12:26:49 +0200 Subject: T5960: Rewritten authentication node in PPTP to a single view Rewritten authentication node in accel-ppp services to a single view. In particular - PPTP authentication. (cherry picked from commit 018110200c9a82815dd5d0510f0732d7159c0d59) --- .../include/version/pptp-version.xml.i | 2 +- interface-definitions/service_ipoe-server.xml.in | 150 ++++++++++----------- interface-definitions/vpn_l2tp.xml.in | 34 ++--- interface-definitions/vpn_pptp.xml.in | 96 +++---------- 4 files changed, 110 insertions(+), 172 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/version/pptp-version.xml.i b/interface-definitions/include/version/pptp-version.xml.i index 3e1482ecc..a877d77ff 100644 --- a/interface-definitions/include/version/pptp-version.xml.i +++ b/interface-definitions/include/version/pptp-version.xml.i @@ -1,3 +1,3 @@ - + diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index eeec2aeef..23d6e54d1 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -8,6 +8,81 @@ 900 + + + Client authentication methods + + + #include + + + Network interface for client MAC addresses + + + + + + + + Media Access Control (MAC) address + + macaddr + Hardware (MAC) address + + + + + + + + + Upload/Download speed limits + + + + + Upload bandwidth limit in kbits/sec + + + + + + + + Download bandwidth limit in kbits/sec + + + + + + + + + + VLAN monitor for automatic creation of VLAN interfaces + + u32:1-4094 + Client VLAN id + + + + + VLAN IDs need to be in range 1-4094 + + + + + + + #include + #include + + + #include + + + + Interface to listen dhcp or unclassified packets @@ -107,81 +182,6 @@ #include #include #include - - - Client authentication methods - - - #include - - - Network interface for client MAC addresses - - - - - - - - Media Access Control (MAC) address - - macaddr - Hardware (MAC) address - - - - - - - - - Upload/Download speed limits - - - - - Upload bandwidth limit in kbits/sec - - - - - - - - Download bandwidth limit in kbits/sec - - - - - - - - - - VLAN monitor for automatic creation of VLAN interfaces - - u32:1-4094 - Client VLAN id - - - - - VLAN IDs need to be in range 1-4094 - - - - - - - - - #include - - - #include - #include - - #include #include diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 942690bca..6148e3269 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -13,6 +13,23 @@ Remote access L2TP VPN + + + Authentication for remote access L2TP VPN + + + #include + #include + #include + #include + #include + + + #include + + + + #include #include @@ -117,23 +134,6 @@ #include #include #include - - - Authentication for remote access L2TP VPN - - - #include - #include - #include - #include - #include - - - #include - - - - #include #include #include diff --git a/interface-definitions/vpn_pptp.xml.in b/interface-definitions/vpn_pptp.xml.in index d23086c02..2e2a3bec4 100644 --- a/interface-definitions/vpn_pptp.xml.in +++ b/interface-definitions/vpn_pptp.xml.in @@ -13,6 +13,23 @@ Remote access PPTP VPN + + + Authentication for remote access PPTP VPN + + + #include + #include + #include + #include + #include + + + #include + + + + #include #include @@ -30,85 +47,6 @@ #include #include #include - - - Authentication for remote access PPTP VPN - - - - - Authentication protocol for remote access peer PPTP VPN - - pap chap mschap mschap-v2 - - - pap - Require the peer to authenticate itself using PAP [Password Authentication Protocol]. - - - chap - Require the peer to authenticate itself using CHAP [Challenge Handshake Authentication Protocol]. - - - mschap - Require the peer to authenticate itself using CHAP [Challenge Handshake Authentication Protocol]. - - - mschap-v2 - Require the peer to authenticate itself using MS-CHAPv2 [Microsoft Challenge Handshake Authentication Protocol, Version 2]. - - - (pap|chap|mschap|mschap-v2) - - - mschap-v2 - - #include - - - Local user authentication for remote access PPTP VPN - - - - - User name for authentication - - - #include - - - Password for authentication - - - - - Static client IP address - - * - - - - - - - - #include - - - #include - #include - - - - 30 - - - 30 - - - - - #include #include #include -- cgit v1.2.3