Privileged ports can only be forwarded by root.

840 views
Skip to first unread message

kei...@google.com

unread,
May 14, 2015, 12:07:02 PM5/14/15
to chromiu...@chromium.org
Privileged ports can only be forwarded by root error.

No way of knowing how to forward root ports on windows, since there is no "root" access for running this app.
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?

Mike Frysinger

unread,
May 14, 2015, 12:11:41 PM5/14/15
to kei...@google.com, chromium-hterm
to be clear, you want to forward a local privileged port to a remote unprivileged port ?  what is the command line you're using exactly ?
-mike

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/17fd4e57-b24c-453c-9682-e4f931c5dd3b%40chromium.org.

Mike Frysinger

unread,
May 14, 2015, 6:42:23 PM5/14/15
to Keith Williams, chromium-hterm
please post to the group so others can follow/post

looks to me like you're trying to allocate a reserved port (445) on the remote side as well as the local side, and do so as non-root.  so you are correctly being rejected.
-mike

On Fri, May 15, 2015 at 2:03 AM, Keith Williams <kei...@google.com> wrote:
Basically, i only have access to my local network through ssh, but we have some legacy samba servers that i would like to access.
these are the settings from chrome ssh
keithwi@hostnameofserver:22
identity [default]

j...@jonbailey.net

unread,
May 6, 2016, 1:11:20 PM5/6/16
to chromium-hterm, kei...@google.com

As the owner/operator of the Chromebook, one might want, for example, to have https://localhost/ "just work" via a port-forwarded 443.

Do any ChromeOS functions rely on ports 0-1023 being secure?  Removing the restriction might be the correct move, if not.  Otherwise, some minimal code-path that could grab the socket then drop privileges, perhaps?

-jon

On Thursday, May 14, 2015 at 4:42:23 PM UTC-6, Mike Frysinger wrote:
looks to me like you're trying to allocate a reserved port (445) on the remote side as well as the local side, and do so as non-root.  so you are correctly being rejected.

On Fri, May 15, 2015 at 2:03 AM, Keith Williams <kei...@google.com> wrote:
On Thu, May 14, 2015 at 9:11 AM, Mike Frysinger <vap...@chromium.org> wrote:
to be clear, you want to forward a local privileged port to a remote unprivileged port ?  what is the command line you're using exactly ?

Reply all
Reply to author
Forward
0 new messages