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

luci-mod-network: let sourcefilter option available for most proto #6864

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

ptpt52
Copy link
Contributor

@ptpt52 ptpt52 commented Jan 23, 2024

sourcefilter option should be available for proto like: ppp
pptp
pppoe
pppoa
ncm
mbim
qmi
...and more

@systemcrash
Copy link
Contributor

Does “and more” mean everything except dhcp?

@jow-
Copy link
Contributor

jow- commented Jan 23, 2024

I'd prefer an explicit whitelist, maybe we can even reuse

@systemcrash
Copy link
Contributor

systemcrash commented Jan 23, 2024 via email

@ptpt52
Copy link
Contributor Author

ptpt52 commented Jan 23, 2024

@systemcrash @jow-
all proto bring up by dhcpv6 should use sourcefilter option, so how to write such a whitelist

@systemcrash
Copy link
Contributor

systemcrash commented Jan 23, 2024 via email

@ptpt52
Copy link
Contributor Author

ptpt52 commented Jan 24, 2024

hmm I prefer use blacklist

@ptpt52
Copy link
Contributor Author

ptpt52 commented Jan 24, 2024

update: sourcefilter option support for listed proto

    'dhcpv6'
    'directip'
    'ppp'
    'pppoe'
    'pppoa'
    'pptp'
    'qmi'
    'mbim'
    'ncm'

@ptpt52
Copy link
Contributor Author

ptpt52 commented Jan 24, 2024

update: also add 3g proto to support the sourcefilter, 3g use the ppp proto as backend

@systemcrash
Copy link
Contributor

update: also add 3g proto to support the sourcefilter, 3g use the ppp proto as backend

Looks good - could you alpha 0-9a-z sort the list please?

sourcefilter option should be available for proto like:
'dhcpv6'
'directip'
'ppp'
'pppoe'
'pppoa'
'pptp'
'qmi'
'mbim'
'ncm'
'3g'

Signed-off-by: Chen Minqiang <[email protected]>
@systemcrash systemcrash merged commit 999f26e into openwrt:master Jan 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants