Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pppoe: T3250: Not mangle values for tag nodes #825

Merged
merged 1 commit into from Apr 30, 2021
Merged

Conversation

sever-sever
Copy link
Member

Change Summary

Not mangle values for tag nodes for pppoe-server.
some logins use "-" for example foo@bar-bar.org

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Component(s) name

pppoe-server

Proposed changes

How to test

VyOS configuration

set service pppoe-server access-concentrator 'foo'
set service pppoe-server authentication local-users username f_oo_foo password 'test'
set service pppoe-server authentication local-users username tes2t@isp-example.com password 'test'
set service pppoe-server authentication local-users username tes3t@isp-example.com password 'test'
set service pppoe-server authentication local-users username test@isp-example.com password 'test'
set service pppoe-server client-ip-pool subnet '10.0.0.0/24'
set service pppoe-server gateway-address '192.0.2.1'
set service pppoe-server interface eth1

Secrets

vyos@r6-roll# cat /run/accel-pppd/pppoe.chap-secrets
# username  server  password  acceptable local IP addresses   shaper
f_oo_foo     * test             *               
tes2t@isp-example.com * test             *               
tes3t@isp-example.com * test             *               
test@isp-example.com * test             * 

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@c-po
Copy link
Member

c-po commented Apr 30, 2021

Very good catch and solution!

@c-po c-po merged commit cb7241b into vyos:current Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants