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

miniupnpd启动早于pppoe认证导致无法监听ipv6地址 #375

Open
289699522 opened this issue May 5, 2020 · 0 comments
Open

miniupnpd启动早于pppoe认证导致无法监听ipv6地址 #375

289699522 opened this issue May 5, 2020 · 0 comments

Comments

@289699522
Copy link
Contributor

289699522 commented May 5, 2020

以下为路由器启动后的一段日志,可以看到miniupnpd在pppoe还未完成认证时就已经启动,导致其无法监听ipv6地址
May 6 01:08:23 miniupnpd[445]: version 2.0 starting UPnP-IGD ext if ppp0 BOOTID=1588698503
May 6 01:08:23 miniupnpd[445]: HTTP listening on port 14199
May 6 01:08:23 miniupnpd[445]: no HTTP IPv6 address, disabling IPv6
May 6 01:08:24 kernel: br0: port 3(rax0) entered forwarding state
May 6 01:08:24 kernel: br0: port 2(ra0) entered forwarding state
May 6 01:08:24 kernel: br0: port 1(eth2) entered forwarding state
May 6 01:08:27 pppd[418]: PPP session is 11111 (0x1111)
May 6 01:08:28 pppd[418]: Connected to 11:11:11:11:11:11 via interface eth3
May 6 01:08:28 pppd[418]: Using interface ppp0
May 6 01:08:28 pppd[418]: Connect: ppp0 <--> eth3
May 6 01:08:30 pppd[418]: CHAP authentication succeeded: Authentication success,Welcome!
May 6 01:08:30 pppd[418]: CHAP authentication succeeded
……
May 6 01:08:33 dhcp6c[531]: started
May 6 01:08:33 dhcp6c[531]: unexpected advertise
May 6 01:08:33 dhcp6c[531]: status code for identity association-111111: no addresses
May 6 01:08:33 dhcp6c[531]: add address 240e:1111:1111:1111:1111:1111:1111:1111/60 on br0
May 6 01:08:33 dhcp6c[531]: status code for IA_PD-111111: success

在SSH里手动killall miniupnpd && miniupnpd之后,日志如下:
May 6 01:21:52 miniupnpd[445]: shutting down MiniUPnPd
May 6 01:21:52 miniupnpd[661]: version 2.0 starting UPnP-IGD ext if ppp0 BOOTID=1588699312
May 6 01:21:52 miniupnpd[661]: HTTP listening on port 48552
May 6 01:21:52 miniupnpd[661]: HTTP IPv6 address given to control points : [240e:1111:1111:1111:1111:1111:1111:1111]
可以看到此时才可以正常监听ipv6。

CopyPasteByteArtist added a commit to CopyPasteByteArtist/rt-n56u that referenced this issue Jul 8, 2023
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 a pull request may close this issue.

1 participant