From 33c1a002da477b99153e612acc93d7e0a4d451a8 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 27 Feb 2016 13:19:26 -0500 Subject: [PATCH] update daemon only let local user connect to lbrynet-daemon --- .gitignore | 6 ++++++ lbrynet/lbrynet_daemon/LBRYDaemon.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 23ba8568c..819306a87 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,9 @@ lbrynet.egg-info/PKG-INFO /build /dist + +*.so + +*.pem + +*.decTest diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 0422c47c3..0a049b3f1 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -1093,7 +1093,7 @@ def main(): daemon = LBRYDaemon() daemon.setup(args.wallet, args.update) - reactor.listenTCP(7080, server.Site(daemon)) + reactor.listenTCP(7080, server.Site(daemon), interface='localhost') reactor.run() if __name__ == '__main__':