[Bug 2592] New: -R bind_address not working, always bind 0.0.0.0
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Jun 20 23:40:26 AEST 2016
https://bugzilla.mindrot.org/show_bug.cgi?id=2592
Bug ID: 2592
Summary: -R bind_address not working, always bind 0.0.0.0
Product: Portable OpenSSH
Version: 7.2p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: fffilimonov at yandex.ru
Hello!
At server running sshd with 'GatewayPorts yes'.
There is many active network interfaces:
eth0 Link encap:Ethernet
lo Link encap:Local Loopback
tun0 Link encap:UNSPEC
tun1 Link encap:UNSPEC
tun2 Link encap:UNSPEC
IP address at eth0 is 10.10.10.10.
After connection:
./ssh 10.10.10.10 -p444 -R10.10.10.10:8081:127.0.0.1:80
I see at netstat:
#netstat -nlpt | grep 8081
tcp 0 0 0.0.0.0:8081 0.0.0.0:*
LISTEN 8729/sshd
tcp 0 0 :::8081 :::*
LISTEN 8729/sshd
#ps axuf | grep sshd
root 8728 0.1 0.5 28004 2680 pts/0 S+ 16:37 0:00
\_ ./ssh 10.10.10.10 -p444 -R10.10.10.10:8081:127.0.0.1:80
root 7899 0.0 0.1 27932 972 ? Ss 14:57 0:00
/root/openssh-portable/sshd -f sshd_config
root 8729 0.0 0.5 30492 2724 ? Ss 16:37 0:00 \_
sshd: root at pts/1
root 8749 0.0 0.1 103316 804 pts/1 S+ 16:37 0:00
\_ grep ssh
How can I bind port at specified address while requesting remote port
forwarding?
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list