diff --git a/plugin/shadowsocks/service.coffee b/plugin/shadowsocks/service.coffee index 9af7df4..c67d2bf 100644 --- a/plugin/shadowsocks/service.coffee +++ b/plugin/shadowsocks/service.coffee @@ -43,7 +43,7 @@ queryIptablesInfo = (callback) -> num: parseInt num pkts: parseInt pkts bytes: parseInt bytes - port: parseInt + port: parseInt port catch e continue diff --git a/sample/rpvhost.config.coffee b/sample/rpvhost.config.coffee new file mode 100644 index 0000000..e69de29 diff --git a/sample/shadowsocks.config.coffee b/sample/shadowsocks.config.coffee index 24d4dba..90cf72a 100644 --- a/sample/shadowsocks.config.coffee +++ b/sample/shadowsocks.config.coffee @@ -60,5 +60,5 @@ module.exports = shadowsocks: price_bucket: 0.06 - monitor_cycle: 5 * 60 * 1000 + monitor_cycle: 60 * 1000 billing_bucket: 100 * 1024 * 1024