#21597: dropbear: does not recognize network events
-------------------------+--------------------------------
 Reporter:  chris5560    |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  base system  |    Version:  Chaos Calmer 15.05
 Keywords:               |
-------------------------+--------------------------------
 I'm using two configurations on my WNDR3800:
 {{{
 config dropbear
         option PasswordAuth 'on'
         option RootPasswordAuth 'on'
         option Port '22'
         option enable '1'
         option Interface 'lan'
         option RootLogin '1'
         option GatewayPorts 'off'

 config dropbear
         option enable '1'
         option Interface 'wan'
         option Port '5122'
         option PasswordAuth 'off'
         option RootPasswordAuth 'off'
         option RootLogin '0'
         option GatewayPorts 'off'
 }}}

 After reboot has finished I need to restart dropbear by hand because
 during boot dropbear cannot connect to "wan" because not "up".
 I personally fix it with a /etc/hotplug.d/iface/25-dropbear script
 restarting on every "ifup" event, but from my knowledge progd is able to
 do the job.

 Additionally:
 When router shutdown, dropbear leaves existing sessions open because
 network dies before dropbear. On BB I add a shutdown() to
 /etc/init.d/dropbear which kills dropbear so all client sessions are
 properly closed before network goes down.

--
Ticket URL: <https://dev.openwrt.org/ticket/21597>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to