Page MenuHomeVyOS Platform

pptp/sstp/l2tp add possibility enable or disable CCP
Closed, ResolvedPublicBUG

Description

Propose to disabled CCP by default, and add possibility enable this via CLI commands like in service pppoe-server.
Otherwise, we can receive a problem with the clients' compatibility.
https://forum.vyos.io/t/ipsec-l2tp-with-radius-on-win2019-server-need-help/5451/20

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202006160117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

Unknown Object (User) claimed this task.Jun 16 2020, 8:36 AM
Unknown Object (User) created this task.
Unknown Object (User) added a comment.Jun 16 2020, 10:04 AM

Does not possible to disable ccp in l2tp

vyos@RTR1# set vpn l2tp remote-access ccp-disable 
[edit]
vyos@RTR1# commit
[ vpn l2tp ]
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Make sure you are running the latest version of the code available at
  https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
- Consult the forum to see how to handle this issue
  https://forum.vyos.io
- Join our community on slack where our users exchange help and advice
  https://vyos.slack.com

When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your 
  business policy requires it)
- and include all the information presented below

Report Time:      2020-06-16 12:56:45
Image Version:    VyOS 1.3-rolling-202006101523
Release Train:    equuleus

Built by:         [email protected]
Built on:         Wed 10 Jun 2020 15:23 UTC
Build UUID:       edd7f0e5-824f-430d-bf42-300825dfff39
Build Commit ID:  a31c709c794d4b

Architecture:     x86_64
Boot via:         installed image
System type:      Microsoft Hyper-V guest

Hardware vendor:  Red Hat
Hardware model:   KVM
Hardware S/N:     
Hardware UUID:    169f6b7c-9ea4-3b60-b615-cb5974c9d8ee

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/vpn_l2tp.py", line 371, in <module>
    c = get_config()
  File "/usr/libexec/vyos/conf_mode/vpn_l2tp.py", line 281, in get_config
    l2tp[['ccp_disable']] = True
TypeError: unhashable type: 'list'



[[vpn]] failed
Commit failed

Excess characters l2tp [ ['ccp_disable'] ] = True

erkin set Issue type to Improvement (missing useful functionality).Aug 30 2021, 5:24 AM
erkin removed a subscriber: Active contributors.