This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 001982a add closure for #557 (fixed by commit 9833956) new 1f58e7c Fix accessing ARGV in X2Go::Utils:check_x2go_sessionid sub. (Fixes: #575). new a4edc00 fix typo in changelog new 284a9c6 add closure for #495 (fixed by commit bf318af) new 7225a1b add closure for #511 (fixed by commit cee4857) new 63663c6 add closure for #547 (fixed by commit bf318af) new e66ec57 Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). new 0107735 Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). new 7acac87 wrap too-long-lines in changelog The 8 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: X2Go/Utils.pm | 8 ++++---- debian/changelog | 18 ++++++++++++------ x2goserver/bin/x2gostartagent | 7 +++++++ 3 files changed, 23 insertions(+), 10 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit a4edc002dd3c85f2c4494c100fdc4b17c6e63baf Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 09:48:27 2014 +0200 fix typo in changelog --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ddac1cd..5101341 100644 --- a/debian/changelog +++ b/debian/changelog @@ -161,7 +161,7 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low - On suspend: Call x2goumount-session before sending SIGHUP to x2goagent. - Refuse client communcation if server-side hostname is not set up correctly (Fixes: #468). - - Fix string comparion in x2goumount-session. + - Fix string comparison in x2goumount-session. - Fix problems with unmounting shared folders on session suspension/ termination. Remove extra parentheses from the fusermount execution call. (Fixes: #407). -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 1f58e7ca6fed9c9638fbbe523d023362f83653e3 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 10:10:48 2014 +0200 Fix accessing ARGV in X2Go::Utils:check_x2go_sessionid sub. (Fixes: #575). --- X2Go/Utils.pm | 4 ++-- debian/changelog | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/X2Go/Utils.pm b/X2Go/Utils.pm index e1e119f..32f106f 100644 --- a/X2Go/Utils.pm +++ b/X2Go/Utils.pm @@ -171,8 +171,8 @@ sub system_capture_merged_output { } sub check_x2go_sessionid { - if (sanitizer("x2gosid",@ARGV[0])) { - return sanitizer("x2gosid",@ARGV[0]); + if (sanitizer("x2gosid",$ARGV[0])) { + return sanitizer("x2gosid",$ARGV[0]); } elsif (sanitizer("x2gosid",$ENV{'X2GO_SESSION'})) { return sanitizer("x2gosid",$ENV{'X2GO_SESSION'}); } else { diff --git a/debian/changelog b/debian/changelog index b606fc6..ddac1cd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -53,6 +53,7 @@ x2goserver (4.1.0.0-0x2go1.1) UNRELEASED; urgency=low - Re-arrange parameter order of x2gocreatesession and related DB functions. Make sure the session ID comes first and we have only optional parameters towards the end of the paramter array. + - Fix accessing ARGV in X2Go::Utils:check_x2go_sessionid sub. (Fixes: #575). * debian/control: + Package X2Go::Log in separate package: libx2go-log-perl. + Package X2Go::Server::DB in separate package: libx2go-server-db-perl. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 7225a1bbf9575e860bbad09b5fc1fd7cf0e2c727 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 09:52:03 2014 +0200 add closure for #511 (fixed by commit cee4857) --- debian/changelog | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 215a018..6454186 100644 --- a/debian/changelog +++ b/debian/changelog @@ -200,10 +200,9 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - - x2gostartagent, x2golistsession, x2gosuspend-session and - x2goresume-session getting agent state from ~/.x2go/C-$SID/state. - This should help to avoid session damage. Remove nxcleanup. (Fixes: - #302). + - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session + getting agent state from ~/.x2go/C-$SID/state. This should help to avoid + session damage. Remove nxcleanup. (Fixes: #302, #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 63663c6e45503d42f977417e527415142c762b5f Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 09:53:45 2014 +0200 add closure for #547 (fixed by commit bf318af) --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6454186..e329bf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -208,7 +208,7 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low options file. - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - Clean user SSHD process if connection between server and client lost. This should fix - error "Global request tcpip-forward failed". (Fixes: #495). + error "Global request tcpip-forward failed". (Fixes: #495, #547). -- Mike DePaulo <mikedep333@gmail.com> Thu, 23 Apr 2014 17:49:00 -0500 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 7acac87e96097274f21eb62def0d0f610f897875 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 10:15:29 2014 +0200 wrap too-long-lines in changelog --- debian/changelog | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1f59249..a0dc43d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -204,15 +204,18 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low [ Oleksandr Shneyder ] * New upstream version (4.0.1.16): - - x2gostartagent, x2golistsession, x2gosuspend-session and x2goresume-session - getting agent state from ~/.x2go/C-$SID/state. This should help to avoid - session damage. Remove nxcleanup. (Fixes: #302, #511). + - x2gostartagent, x2golistsession, x2gosuspend-session and + x2goresume-session getting agent state from ~/.x2go/C-$SID/state. This + should help to avoid session damage. Remove nxcleanup. (Fixes: #302, + #511). - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. - - Clean user SSHD process if connection between server and client lost. This should fix - error "Global request tcpip-forward failed". (Fixes: #495, #547). + - Set default value for clipboard to "both" in x2gostartagent and + x2goresume-session. + - Clean user SSHD process if connection between server and client lost. + This should fix error "Global request tcpip-forward failed". (Fixes: + #495, #547). -- Mike DePaulo <mikedep333@gmail.com> Thu, 23 Apr 2014 17:49:00 -0500 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit e66ec57f21ee7b88c19735b3d65d3e66885c15bc Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 10:01:55 2014 +0200 Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). --- debian/changelog | 2 ++ x2goserver/bin/x2gostartagent | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index e329bf0..59ccd6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -191,6 +191,8 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low - Silently timeout in x2golistdesktops if calls to x2golistsessions and/or xwininfo don't produce output within one second. (Fixes: #543). - Allow email addresses as login usernames. (Fixes: #573). + - Abort session startup if env var $USER or $SSH_CLIENT are not set. + (Fixes: #558). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent index da81ae3..102c7f6 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -27,9 +27,16 @@ $X2GO_LIB_PATH/x2gosyslog "$0" "info" "$(basename $0) called with options: $@" X2GO_PORT=49 #First port for X2GO=50 SSH_PORT=30000 #First ssh port 30001 +# some sanity checks before session startup... if egrep "^backend[ ]*=[ ]*postgres" /etc/x2go/x2gosql/sql 1>/dev/null 2>/dev/null && [ "x$USER" = "xroot" ]; then echo "The super-user \"root\" is not allowed to launch X2Go sessions." exit -1 +elif [ -z "$USER" ]; then + echo "The \$USER environment variable is not set. Aborting session startup." + exit -2 +elif [ -z "$SSH_CLIENT" ]; then + echo "The \$SSH_CLIENT environment variable is not set. Aborting session startup." + exit -3 fi X2GO_TELEKINESIS_ENABLED=`echo 'use X2Go::Config qw( get_config ); use X2Go::Utils qw( is_true ); my $Config = get_config(); print is_true($Config->param("telekinesis.enable"));' | perl` -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 010773518c03b87f6d085b5f30888552c1edc847 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 10:06:48 2014 +0200 Allow length of username up to 48 characters (was: 32 characters). (Fixes: #574). --- X2Go/Utils.pm | 4 ++-- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/X2Go/Utils.pm b/X2Go/Utils.pm index 32f106f..61b77d3 100644 --- a/X2Go/Utils.pm +++ b/X2Go/Utils.pm @@ -122,9 +122,9 @@ sub sanitizer { } else {return 0;} } elsif ($type eq "pnixusername") { $string =~ s/[^a-zA-Z0-9\_\-\.]//g; - if ($string =~ /^([a-zA-Z\_][a-zA-Z0-9\_\-\.]{0,31}[\$]?)$/) { + if ($string =~ /^([a-zA-Z\_][a-zA-Z0-9\_\-\.]{0,47}[\$]?)$/) { $string = $1; - if ((length($1) > 0) and (length($1) < 32)){ + if ((length($1) > 0) and (length($1) < 48)){ return $string; } else {return 0;} } else {return 0;} diff --git a/debian/changelog b/debian/changelog index 59ccd6b..1f59249 100644 --- a/debian/changelog +++ b/debian/changelog @@ -193,6 +193,8 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low - Allow email addresses as login usernames. (Fixes: #573). - Abort session startup if env var $USER or $SSH_CLIENT are not set. (Fixes: #558). + - Allow length of username up to 48 characters (was: 32 characters). (Fixes: + #574). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 284a9c651f7028d64bf50fe7fdd1b4ef6a22dd11 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 09:49:28 2014 +0200 add closure for #495 (fixed by commit bf318af) --- debian/changelog | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5101341..215a018 100644 --- a/debian/changelog +++ b/debian/changelog @@ -207,10 +207,9 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low - Move session file to /tmp/.x2go-$USER. (Fixes: #523). - Fix x2gostartagent failures if kbd is not "auto". Remove comma at end of options file. - - Set default value for clipboard to "both" in x2gostartagent and - x2goresume-session. - - Clean user SSHD process if connection between server and client is lost. - This should fix error "Global request tcpip-forward failed". + - Set default value for clipboard to "both" in x2gostartagent and x2goresume-session. + - Clean user SSHD process if connection between server and client lost. This should fix + error "Global request tcpip-forward failed". (Fixes: #495). -- Mike DePaulo <mikedep333@gmail.com> Thu, 23 Apr 2014 17:49:00 -0500 -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git