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

feat(config): wildcard interface name support & refactor lazybind #758

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

LostAttractor
Copy link
Contributor

@LostAttractor LostAttractor commented Feb 20, 2025

Background

#724
该PR抽象了lazybind的能力以便后续其他功能使用(主要是后续在routing中过滤interface需要)
该PR实现的功能与 #729 类似
此外,为wan也加入了lazybind

Checklist

Full Changelogs

  • interface name now support wildcard
  • wan interface now support lazybind

Issue Reference

Closes #724
Closes #729

Test Result

@mzz2017
Copy link
Contributor

mzz2017 commented Feb 20, 2025

#724是个issue,不是pr

@mzz2017
Copy link
Contributor

mzz2017 commented Feb 20, 2025

Closes #724
Closes #729

@github-xihe
Copy link

我ImmortalWrt 24.10.0同时使用dae和NATMap,测试重启pppoe接口后,会导致NATMap失效和dae外网域名解析失败上不了,TG纯IP能连,只有service dae restart才会两个恢复正常。
屏幕截图 2025-02-26 000001
屏幕截图 2025-02-26 091302
dae这边就只会刷检测节点,service dae restart后会恢复正常,NATMap也能解析
屏幕截图 2025-02-26 091547

@LostAttractor
Copy link
Contributor Author

NATMap

你重启pppoe后ip一般都会变,NATMap当然会掉
至于dae的问题,请问tcpdump -ni dae0是否有流量,tc filter show dev pppoe-wan ingress是否有dae_wan_ingress条目

@github-xihe
Copy link

NATMap

你重启pppoe后ip一般都会变,NATMap当然会掉 至于dae的问题,请问tcpdump -ni dae0是否有流量,tc filter show dev pppoe-wan ingress是否有dae_wan_ingress条目

我知道重启pppoe后ip会变,但不运行service dae restart就一直解析不了。后面我把NATMap的通知脚本延迟10S以上,测试了重启几次pppoe也没出现上面两种情况了,更多测试等后面6-7天ip自动更新pppoe重拨再看看。

Copy link
Contributor

@dae-prow dae-prow bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪 Since the PR has been fully tested, please consider merging it.

Copy link
Contributor

@mzz2017 mzz2017 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mzz2017 mzz2017 merged commit fa7318f into daeuniverse:main Mar 3, 2025
29 checks passed
@mzz2017
Copy link
Contributor

mzz2017 commented Mar 3, 2025

Awesome! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Wildcard / Regexp support for LAN interface name
4 participants