Modify

Opened 5 years ago

Last modified 4 years ago

#12974 new defect

sshtunnel ignores port

Reported by: openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: sshtunnel port Cc:

Description

sshtunnel ignores the port value in the server section.

Look in /etc/init.d/sshtunnel in load_server() function and you will notice, that the port value is never read from the config.

The bugfix should be very obvious:

  • get port value from config (default to 22 if not present)
  • pass "-p $port" inside $ARGS

I have applied this fix in my router and it works.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.