[X2go-Commits] x2gobroker.git - build-main (branch) updated: 0.0.0.4
X2Go dev team
git-admin at x2go.org
Wed Feb 27 11:54:10 CET 2013
The branch, build-main has been updated
via d35a5187a6fc31f8ea9c9f7321b6421d7cb3e1d0 (commit)
via 7381ed8130b2b83fe2efc16466b2107ec199014a (commit)
via 64a4bbcdb88c6c7c9748da79e11e0cec7fe37bed (commit)
via 7ed759b99d34ebfafaf169816a6e545be555bad8 (commit)
from e1970e0d61508915fe9bea869f5139a5c6cd7cac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 11 +++++++++++
debian/x2gobroker-authservice.init | 2 +-
sbin/x2gobroker-pubkeyauthorizer | 2 +-
x2gobroker/__init__.py | 2 +-
x2gobroker/brokers/base_broker.py | 9 +++++++--
5 files changed, 21 insertions(+), 5 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 6871bdf..2bf6d00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+x2gobroker (0.0.0.4-0~x2go1) unstable; urgency=low
+
+ * New upstream version (0.0.0.4):
+ - Capture DNS resolver failures on client ACLs in case the
+ one of the listed hostnames in one client ACL definition is
+ not resolvable. Such a failure will deny access to the
+ corresponding session profile.
+ - Fix init script x2gobroker-authservice. (Fixes: #124).
+
+ -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 27 Feb 2013 11:53:23 +0100
+
x2gobroker (0.0.0.3-0~x2go1) unstable; urgency=low
* New upstream version (0.0.0.3):
diff --git a/debian/x2gobroker-authservice.init b/debian/x2gobroker-authservice.init
index c00c800..56efcb7 100755
--- a/debian/x2gobroker-authservice.init
+++ b/debian/x2gobroker-authservice.init
@@ -38,7 +38,7 @@ if ! getent passwd $X2GOBROKER_DAEMON_USER 1>/dev/null 2>/dev/null; then
X2GOBROKER_DAEMON_USER=nobody
fi
if ! getent group $X2GOBROKER_DAEMON_GROUP 1>/dev/null 2>/dev/null; then
- X2GOBROKER_DAEMON_USER=nogroup
+ X2GOBROKER_DAEMON_GROUP=nogroup
fi
# create PID directory
diff --git a/sbin/x2gobroker-pubkeyauthorizer b/sbin/x2gobroker-pubkeyauthorizer
index a28a068..62fed95 100755
--- a/sbin/x2gobroker-pubkeyauthorizer
+++ b/sbin/x2gobroker-pubkeyauthorizer
@@ -36,7 +36,7 @@ import logging.config
from pwd import getpwnam
from grp import getgrnam
-__VERSION__ = '0.0.0.3'
+__VERSION__ = '0.0.0.4'
__AUTHOR__ = 'Mike Gabriel (X2Go Project) <mike.gabriel at das-netzwerkteam.de>'
PROG_NAME = os.path.basename(sys.argv[0])
diff --git a/x2gobroker/__init__.py b/x2gobroker/__init__.py
index 6684a5b..576a849 100644
--- a/x2gobroker/__init__.py
+++ b/x2gobroker/__init__.py
@@ -18,5 +18,5 @@
# Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-__VERSION__ = '0.0.0.3'
+__VERSION__ = '0.0.0.4'
__AUTHOR__ = 'Mike Gabriel (X2Go Project) <mike.gabriel at das-netzwerkteam.de>'
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 9e811c0..ad3e3e7 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -301,8 +301,13 @@ class X2GoBroker(object):
_acls_clients_deny[idx] = '0.0.0.0/0'
_acls_clients_deny.insert(idx, '::/0')
- _allow_address_set = netaddr.IPSet(_acls_clients_allow)
- _deny_address_set = netaddr.IPSet(_acls_clients_deny)
+ _allow_address_set = []
+ _deny_address_set = ['ALL']
+ try:
+ _allow_address_set = netaddr.IPSet(_acls_clients_allow)
+ _deny_address_set = netaddr.IPSet(_acls_clients_deny)
+ except netaddr.core.AddrFormatError, e:
+ logger_error.error('base_broker.X2GoBroker.check_acls(): netaddr.core.AddrFormatError - {why}'.format(why=str(e)))
_allow_client = self._client_address in _allow_address_set
_deny_client = self._client_address in _deny_address_set
hooks/post-receive
--
x2gobroker.git (HTTP(S) Session broker for X2Go)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).
More information about the x2go-commits
mailing list