Project

General

Profile

Actions

Bug #10275

closed

L2TP and PPPoE user password issues

Added by Jim Pingle almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
L2TP
Target version:
Start date:
02/21/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

When defining local users in L2TP and PPPoE, there are two issues with passwords:

1. Passwords should not be allowed to start with "!" which has special meaning to mpd (defines an external auth command, not a password)
2. Double quotes (") in passwords should be escaped as \" or it will break the user definition

Actions #1

Updated by Jim Pingle almost 2 years ago

  • Target version set to 2.4.5
Actions #2

Updated by Jim Pingle almost 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Viktor Gurov almost 2 years ago

  • Status changed from Feedback to Resolved

tested on 2.4.5.r.20200221.2100

Passwords started with "!" - ok, WebGUI error message
Double quotes (") in passwords - ok, see

testuser "\"testpass\""
in /var/etc/l2tp-vpn/mpd.secret

Actions

Also available in: Atom PDF