From cca39e7d789f2b301acd79d60dd6dd1651c4675d Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Wed, 9 Jul 2014 13:33:57 +0200 Subject: Default to local listening for oxidized-web --- README.md | 2 +- lib/oxidized/config.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de78332..4b22d8f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ debug: false threads: 30 timeout: 30 prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/ -rest: 0.0.0.0:8888 +rest: 127.0.0.1:8888 vars: {} input: default: ssh, telnet diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb index 97bd164..50b1e71 100644 --- a/lib/oxidized/config.rb +++ b/lib/oxidized/config.rb @@ -23,7 +23,7 @@ module Oxidized CFGS.default.threads = 30 CFGS.default.timeout = 30 CFGS.default.prompt = /^([\w.@-]+[#>]\s?)$/ - CFGS.default.rest = '0.0.0.0:8888' # or false to disable + CFGS.default.rest = '127.0.0.1:8888' # or false to disable CFGS.default.vars = {} # could be 'enable'=>'enablePW' CFGS.default.groups = {} # group level configuration CFGS.default.remove_secret = false # runs cmd(:secret) blocks if true -- cgit v1.2.1