#20751: Dropbear crashes if banner file is set, but file does not exist.
--------------------------+---------------------------------------
Reporter: 3ndymion | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: packages | Version: Trunk
Keywords: dropbear ssh |
--------------------------+---------------------------------------
If you set a path for a banner file in /etc/config/dropbear, & the banner
file does not exist, dropbear will not allow you to login anymore. Any
login attempt to the port is refused. I do not know if it completely
crashes or what's going on because at that point, I'm completely locked
out of the router & must go through the router's recovery failsafe mode to
remove the banner option in the config file. Once it's removed, dropbear
works & allows you to login again.
Dropbear should not crash if the set banner file does not exist. Instead,
throw an error warning in the log or system log file, ignore the missing
banner file & continue with login. I remember having this problem over a
year ago as well, so I think the problem has always existed.
--
Ticket URL: <https://dev.openwrt.org/ticket/20751>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets