Likely due to the way amtm set up your entware.Can anyone shed some light on why Stubby is being called to start just moments before the router powers down in a reboot?
Likely due to the way amtm set up your entware.Can anyone shed some light on why Stubby is being called to start just moments before the router powers down in a reboot?
No matter how you call itCan anyone shed some light on why Stubby is being called to start just moments before the router powers down in a reboot?
I wonder whether "Starting" can be replaced by "$1"No matter how you call it
Usage: ./S61stubby (start|stop|restart|check|kill|reconfigure)
It runs
logger -t S61stubby "Starting Stubby DNS over TLS $0"
So I am thinking Stubby was actually being stopped but the logger message said otherwise
No.Likely due to the way amtm set up your entware.
It's the customized S61stubby here: https://github.com/Xentrk/Stubby-Installer-Asuswrt-Merlin/blob/master/S61stubbyCan anyone shed some light on why Stubby is being called to start just moments before the router powers down in a reboot?
logger -t S61stubby "Starting Stubby DNS over TLS $0"
logger -t S61stubby "$1 Stubby DNS over TLS $0"
OK, so I do not have amtm installed and see stubby trying to restart when the router is shutting down...
Jan 29 12:21:29 custom_script: Running /jffs/scripts/services-stop
Jan 29 17:21:31 transmission-daemon[3341]: Closing session
Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw
Jan 29 12:21:31 kernel: mod epilog takes 0 jiffies
Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw
Jan 29 12:21:31 kernel: Exit chrdev /dev/idpfw with major 191
Jan 29 12:21:31 S61stubby: Starting Stubby DNS over TLS /opt/etc/init.d/S61stubby
I find the disk check log (in AMTM) doesn't show a clean unmount. When using default values in the scripts we use.OK, so I do not have amtm installed and see stubby trying to restart when the router is shutting down...
Does not seem to do any harm.Code:Jan 29 12:21:29 custom_script: Running /jffs/scripts/services-stop Jan 29 17:21:31 transmission-daemon[3341]: Closing session Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw Jan 29 12:21:31 kernel: mod epilog takes 0 jiffies Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw Jan 29 12:21:31 kernel: Exit chrdev /dev/idpfw with major 191 Jan 29 12:21:31 S61stubby: Starting Stubby DNS over TLS /opt/etc/init.d/S61stubby
Did you read my previous post?OK, so I do not have amtm installed and see stubby trying to restart when the router is shutting down...
Does not seem to do any harm.Code:Jan 29 12:21:29 custom_script: Running /jffs/scripts/services-stop Jan 29 17:21:31 transmission-daemon[3341]: Closing session Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw Jan 29 12:21:31 kernel: mod epilog takes 0 jiffies Jan 29 12:21:31 kernel: IDPfw: Exit IDPfw Jan 29 12:21:31 kernel: Exit chrdev /dev/idpfw with major 191 Jan 29 12:21:31 S61stubby: Starting Stubby DNS over TLS /opt/etc/init.d/S61stubby
Your fix works like a charm sir!It's the customized S61stubby here: https://github.com/Xentrk/Stubby-Installer-Asuswrt-Merlin/blob/master/S61stubby
@Xentrk or @Adamm need to change line 11 from:
to this, using the positional parameter instead of fixed string:Code:logger -t S61stubby "Starting Stubby DNS over TLS $0"
Code:logger -t S61stubby "$1 Stubby DNS over TLS $0"
getdns 1.5.1 + openssl 1.1.1aJust for people to know, stubby and getdns is updated in Entware
getdns - 1.5.1-1
stubby - 0.2.5-1
Anyone can try help compile it with statically-linked OpenSSL 1.1.1a?
opkg update && opkg upgrade
opkg install getdns_1.5.1-tls1.3_aarch64-3.10.ipk
Thank you, I get this error:getdns 1.5.1 + openssl 1.1.1a
https://drive.google.com/file/d/1a7WQmx1wPYfWUKAuHWIPX9cyPa-crLDI/view
stubby is identical with entware one.
Code:opkg update && opkg upgrade opkg install getdns_1.5.1-tls1.3_aarch64-3.10.ipk
Collected errors:
* wfopen: getdns_1.5.1-tls1.3_aarch64-3.10.ipk: No such file or directory.
* pkg_init_from_file: Failed to extract control file from getdns_1.5.1-tls1.3_aarch64-3.10.ipk.
Perhaps you simply did not have the ipk file in the current directory when you ran opkg install.Thank you, I get this error:
Code:Collected errors: * wfopen: getdns_1.5.1-tls1.3_aarch64-3.10.ipk: No such file or directory. * pkg_init_from_file: Failed to extract control file from getdns_1.5.1-tls1.3_aarch64-3.10.ipk.
# opkg update && opkg upgrade
Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Upgrading getdns on root from 1.5.0-tls1.3 to 1.5.1-1...
Downloading http://bin.entware.net/aarch64-k3.10/getdns_1.5.1-1_aarch64-3.10.ipk
Removing obsolete file /opt/lib/libgetdns.so.10.1.0.
Upgrading stubby on root from 0.2.4-tls1.3 to 0.2.5-1...
Downloading http://bin.entware.net/aarch64-k3.10/stubby_0.2.5-1_aarch64-3.10.ipk
Configuring getdns.
Configuring stubby.
Collected errors:
* resolve_conffiles: Existing conffile /opt/etc/stubby/stubby.yml is different from the conffile in the new package. The new conffile will be placed at /opt/etc/stubby/stubby.yml-opkg.
# opkg install getdns_1.5.1-tls1.3_aarch64-3.10.ipk
Upgrading getdns on root from 1.5.1-1 to 1.5.1-tls1.3...
Configuring getdns.
# ./S61stubby restart
Shutting down stubby... done.
Starting stubby... done.
tls_min_version: GETDNS_TLS1_2
Is this compatible for ac68 (arm7)?getdns 1.5.1 + openssl 1.1.1a
https://drive.google.com/file/d/1a7WQmx1wPYfWUKAuHWIPX9cyPa-crLDI/view
stubby is identical with entware one.
Code:opkg update && opkg upgrade opkg install getdns_1.5.1-tls1.3_aarch64-3.10.ipk
Noted. I will add it to the other two updates on my to do list.It's the customized S61stubby here: https://github.com/Xentrk/Stubby-Installer-Asuswrt-Merlin/blob/master/S61stubby
@Xentrk or @Adamm need to change line 11 from:
to this, using the positional parameter instead of fixed string:Code:logger -t S61stubby "Starting Stubby DNS over TLS $0"
Code:logger -t S61stubby "$1 Stubby DNS over TLS $0"
getdns 1.5.1 + openssl 1.1.1a
https://drive.google.com/file/d/1a7WQmx1wPYfWUKAuHWIPX9cyPa-crLDI/view
stubby is identical with entware one.
Code:opkg update && opkg upgrade opkg install getdns_1.5.1-tls1.3_aarch64-3.10.ipk
Noted. I will add it to the other two updates on my to do list.
That is a good point. I chose the statically linked stubby.
I am successfully using CleanBrowsing DNS over TLS via TLS 1.2.
tls_min_version: GETDNS_TLS1_3
How did you choose the statically linked version? I didn’t see an option for that when I installed using the stubby script included in amtm. On another (non-ASUS-Merlin) network I manage, I am using stubby and it is built against the OpenSSL 1.1.1 branch, and so I can edit a line in the stubby yml config to ensure that only TLS 1.3 is used, which theoretically offers speed and security benefits.
install_stubby.sh will automatically use the static binaries if you are using a HND device (AC86U/AX88U) and tweak the config accordingly.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!