This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from 39d35fe debian/changelog: add closure for #1093, was actually legit. new 51a0b54 src/sshprocess.cpp: bind direct tunnel socket to localhost instead of any address. Fixes: #31. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ src/sshprocess.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 51a0b540d3e57c6eec91e9168d40fec7de4b37cb Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Feb 28 16:38:58 2017 +0100 src/sshprocess.cpp: bind direct tunnel socket to localhost instead of any address. Fixes: #31. --- debian/changelog | 2 ++ src/sshprocess.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 495eff0..f426aac 100644 --- a/debian/changelog +++ b/debian/changelog @@ -125,6 +125,8 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium cleaner for downstream package maintainers (like, for instance, MacPorts itself.) - res/i18n/x2goclient_fi.ts: remove outdated comment. + - src/sshprocess.cpp: bind direct tunnel socket to localhost instead of + any address. Fixes: #31. [ Oleksandr Shneyder ] * New upstream version (4.1.0.1): diff --git a/src/sshprocess.cpp b/src/sshprocess.cpp index 33fdf38..d921806 100644 --- a/src/sshprocess.cpp +++ b/src/sshprocess.cpp @@ -138,7 +138,7 @@ void SshProcess::tunnelLoop() setsockopt(serverSocket, IPPROTO_TCP, TCP_NODELAY,&y, sizeof(int)); address.sin_family=AF_INET; - address.sin_addr.s_addr=INADDR_ANY; + address.sin_addr.s_addr=htonl(INADDR_LOOPBACK); address.sin_port=htons(localPort); if (bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0) { -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git