New issue
Advanced search Search tips

Issue 669976 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

sshd port not open in iptables

Reported by nathanb@lenovo-chrome.com, Nov 30 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Platform: 9033.0 pbody

Steps to reproduce the problem:
* Install and boot ChromiumOS image
* Note sshd listening on port 2222
* Note port 2222 not open (but port 22 is)

What is the expected behavior?
Port 2222 open

What went wrong?
The wrong port was passed to iptables in the cheets opensshd init script

Did this work before? N/A 

Chrome version: 57.0.2933  Channel: n/a
OS Version: 57.0.2933
Flash Version: Shockwave Flash 11.2 r202
 
Problem is in private-overlays/project-cheets-private/chromeos-base/chromeos-sshd-init/files/openssh-server.conf 

I'm building a new image now to verify that my changes to that file fix the problem.
I note in the ebuild that this behavior is actually semi-intentional:

# Baseline: chromeos-sshd-init-0.0.1-r2.ebuild
# This runs sshd on port 2222 instead of port 22, then runs sslh on port 22.
# sslh redirects ssh connections to localhost:2222, and redirects adb
# connections to 192.168.254.2:22 on Android's veth interface.

As using sslh to mux multiple connection types is not a use case I'm set up to test, I will leave this bug open for someone else to enjoy.
 Issue 669975  has been merged into this issue.
Status: WontFix (was: Unconfirmed)
WAI

Sign in to add a comment