rc: suspend multi-wan-watchdog during PPP connection setup#239
Merged
pedro0311 merged 1 commit intoFreshTomato-Project:arm-masterfrom Mar 8, 2026
Merged
Conversation
see mips issue FreshTomato-Project/freshtomato-mips#45 THX to pedro & chrismuller 1) tracert test result: Mar 6 11:00:18 R7000 daemon.info pppd[7609]: Remote message: SRU=300000#SRD=600000#ISP=DTAG Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: PAP authentication succeeded Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: peer from calling number 28:AA:BB:FF:00:76 authorized Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: local IP address 79.222.111.32 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: remote IP address 62.111.222.253 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: primary DNS address 217.233.144.122 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: secondary DNS address 217.233.155.122 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: local LL address fe80::3d11:aaaa:bbbb:abd9 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: remote LL address fe80::2a11:aaaa:bbbb:ab76 Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** ipup_main: wan_ifname = ppp0, prefix = wan. Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** ipup_main: set wan_ck_pause=1 to skip checking on this WAN (multiwan watchdog) Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** OUT ipup_main: to start_wan_done, ifname=ppp0 prefix=wan ... ... Mar 6 11:00:47 R7000 daemon.notice miniupnpd[7746]: shutting down MiniUPnPd Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: version 2.3.7 started Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: HTTP listening on port 55404 Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: HTTP IPv6 address given to control points : [2003:f3:2fbb:aaaa::1] Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: Listening for NAT-PMP/PCP traffic on port 5351 Mar 6 11:00:59 R7000 user.info ip-up[7652]: *** ipup_main: set wan_ck_pause=0 to check this WAN (multiwan watchdog) Mar 6 11:01:00 R7000 cron.info crond[7467]: USER root pid 8293 cmd /usr/sbin/mwwatchdog Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 172.211.168.77 via 62.151.241.211 dev ppp0 Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 172.211.168.77 dev ppp0 metric 50000 Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 13.117.244.44 dev ppp0 metric 50000 Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: start test for: ppp0 ... Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: tracert test result for: ppp0 - OK Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 172.211.168.77 via 62.151.241.211 dev ppp0 Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 172.211.168.77 dev ppp0 metric 50000 Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 13.117.244.44 dev ppp0 metric 50000 Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: Connection WAN0 is functioning Mar 6 11:01:07 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1 Mar 6 11:01:27 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1 Mar 6 11:01:47 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1 Mar 6 11:02:00 R7000 cron.info crond[7467]: USER root pid 8664 cmd /usr/sbin/mwwatchdog ... 2) ping test result: Mar 6 10:53:45 R7000 daemon.notice miniupnpd[3847]: shutting down MiniUPnPd Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: version 2.3.7 started Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: HTTP listening on port 48532 Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: HTTP IPv6 address given to control points : [2003:f3:2fbb:aaaa::1] Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: Listening for NAT-PMP/PCP traffic on port 5351 Mar 6 10:53:51 R7000 daemon.warn dnsmasq[4351]: possible DNS-rebind attack detected: dns.msftncsi.com Mar 6 10:53:57 R7000 user.info ip-up[3715]: *** ipup_main: set wan_ck_pause=0 to check this WAN (multiwan watchdog) Mar 6 10:54:00 R7000 cron.info crond[929]: USER root pid 4432 cmd /usr/sbin/mwwatchdog Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 142.251.36.110 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 142.251.36.110 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 13.117.244.44 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: start test for: ppp0 ... Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ping test result for: ppp0 - OK Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 142.251.36.110 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 142.251.36.110 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 13.117.244.44 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: Connection WAN0 is functioning Mar 6 10:54:05 R7000 user.info redial[3363]: *** check_wanup: state of wan is 1
Collaborator
|
Thanks @MarsTomato ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see mips issue FreshTomato-Project/freshtomato-mips#45
THX to pedro & chrismuller
tracert test result:
Mar 6 11:00:18 R7000 daemon.info pppd[7609]: Remote message: SRU=300000#SRD=600000#ISP=DTAG Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: PAP authentication succeeded Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: peer from calling number 28:AA:BB:FF:00:76 authorized Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: local IP address 79.222.111.32 Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: remote IP address 62.111.222.253
Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: primary DNS address 217.233.144.122
Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: secondary DNS address 217.233.155.122
Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: local LL address fe80::3d11:aaaa:bbbb:abd9
Mar 6 11:00:18 R7000 daemon.notice pppd[7609]: remote LL address fe80::2a11:aaaa:bbbb:ab76
Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** ipup_main: wan_ifname = ppp0, prefix = wan.
Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** ipup_main: set wan_ck_pause=1 to skip checking on this WAN (multiwan watchdog)
Mar 6 11:00:18 R7000 user.info ip-up[7652]: *** OUT ipup_main: to start_wan_done, ifname=ppp0 prefix=wan ...
...
Mar 6 11:00:47 R7000 daemon.notice miniupnpd[7746]: shutting down MiniUPnPd
Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: version 2.3.7 started
Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: HTTP listening on port 55404
Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: HTTP IPv6 address given to control points : [2003:f3:2fbb:aaaa::1]
Mar 6 11:00:52 R7000 daemon.notice miniupnpd[8095]: Listening for NAT-PMP/PCP traffic on port 5351
Mar 6 11:00:59 R7000 user.info ip-up[7652]: *** ipup_main: set wan_ck_pause=0 to check this WAN (multiwan watchdog)
Mar 6 11:01:00 R7000 cron.info crond[7467]: USER root pid 8293 cmd /usr/sbin/mwwatchdog
Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 172.211.168.77 via 62.151.241.211 dev ppp0
Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 172.211.168.77 dev ppp0 metric 50000
Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 13.117.244.44 via 62.151.241.211 dev ppp0
Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: ip route add 13.117.244.44 dev ppp0 metric 50000
Mar 6 11:01:00 R7000 user.debug mwwatchdog[8293]: start test for: ppp0 ...
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: tracert test result for: ppp0 - OK
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 172.211.168.77 via 62.151.241.211 dev ppp0
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 172.211.168.77 dev ppp0 metric 50000
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 13.117.244.44 via 62.151.241.211 dev ppp0
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: ip route del 13.117.244.44 dev ppp0 metric 50000
Mar 6 11:01:01 R7000 user.debug mwwatchdog[8293]: Connection WAN0 is functioning
Mar 6 11:01:07 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1
Mar 6 11:01:27 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1
Mar 6 11:01:47 R7000 user.info redial[7610]: *** check_wanup: state of wan is 1
Mar 6 11:02:00 R7000 cron.info crond[7467]: USER root pid 8664 cmd /usr/sbin/mwwatchdog
...
ping test result:
Mar 6 10:53:45 R7000 daemon.notice miniupnpd[3847]: shutting down MiniUPnPd Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: version 2.3.7 started Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: HTTP listening on port 48532 Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: HTTP IPv6 address given to control points : [2003:f3:2fbb:aaaa::1] Mar 6 10:53:51 R7000 daemon.notice miniupnpd[4330]: Listening for NAT-PMP/PCP traffic on port 5351 Mar 6 10:53:51 R7000 daemon.warn dnsmasq[4351]: possible DNS-rebind attack detected: dns.msftncsi.com Mar 6 10:53:57 R7000 user.info ip-up[3715]: *** ipup_main: set wan_ck_pause=0 to check this WAN (multiwan watchdog) Mar 6 10:54:00 R7000 cron.info crond[929]: USER root pid 4432 cmd /usr/sbin/mwwatchdog Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 142.251.36.110 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 142.251.36.110 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route add 13.117.244.44 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: start test for: ppp0 ... Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ping test result for: ppp0 - OK Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 142.251.36.110 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 142.251.36.110 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 13.117.244.44 via 62.151.241.211 dev ppp0 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: ip route del 13.117.244.44 dev ppp0 metric 50000 Mar 6 10:54:00 R7000 user.debug mwwatchdog[4432]: Connection WAN0 is functioning Mar 6 10:54:05 R7000 user.info redial[3363]: *** check_wanup: state of wan is 1