Modify

Opened 2 years ago

#21597 new defect

dropbear: does not recognize network events

Reported by: chris5560 Owned by: developers
Priority: normal Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: Cc:

Description

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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.