Ema has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/348066 )

Change subject: Bind instrumentation port to localhost only
......................................................................

Bind instrumentation port to localhost only

Change-Id: Iedb821ef17234eb5825f6641d4eda0e0b5a41503
---
M debian/changelog
M pybal/pybal.py
2 files changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/pybal 
refs/changes/66/348066/1

diff --git a/debian/changelog b/debian/changelog
index 8cc5431..bb7b801 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pybal (1.13.6) jessie-wikimedia; urgency=medium
+
+  * Bind instrumentation port to localhost only
+
+ -- Emanuele Rocca <[email protected]>  Thu, 13 Apr 2017 13:44:57 +0200
+
 pybal (1.13.5) jessie-wikimedia; urgency=medium
 
   * pybal.monitor.MonitoringProtocol: do not crash with ValueError on unicode
diff --git a/pybal/pybal.py b/pybal/pybal.py
index ca094fc..00ea238 100755
--- a/pybal/pybal.py
+++ b/pybal/pybal.py
@@ -633,7 +633,8 @@
             from twisted.web.server import Site
             port = configdict.getint('instrumentation_port', 9090)
             factory = Site(instrumentation.ServerRoot())
-            reactor.listenTCP(port, factory)
+            reactor.listenTCP(port, factory, interface='127.0.0.1')
+            reactor.listenTCP(port, factory, interface='::1')
 
         reactor.run()
     finally:

-- 
To view, visit https://gerrit.wikimedia.org/r/348066
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedb821ef17234eb5825f6641d4eda0e0b5a41503
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/pybal
Gerrit-Branch: 1.13
Gerrit-Owner: Ema <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to