diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 21:09:28 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 21:09:28 +0800 |
commit | 043d8361706539a4aa620232e096682fc83035ab (patch) | |
tree | 59794d299825825436863c92bfc5e4b5c6dcc70a /sample | |
parent | 7a80b6b9984876bd3ebe1b5aa41df90dc61fa892 (diff) | |
download | pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar.gz pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar.bz2 pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar.lz pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar.xz pttbbs-043d8361706539a4aa620232e096682fc83035ab.tar.zst pttbbs-043d8361706539a4aa620232e096682fc83035ab.zip |
* support bindports.conf in bbsctl.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r-- | sample/etc/bindports.conf | 88 |
1 files changed, 53 insertions, 35 deletions
diff --git a/sample/etc/bindports.conf b/sample/etc/bindports.conf index de90f73b..ed6cfe33 100644 --- a/sample/etc/bindports.conf +++ b/sample/etc/bindports.conf @@ -1,47 +1,65 @@ # Bind Port List # ---------------------------------------------- -# syntax: <program> <port> <option> +# syntax: <program> <port/service> <option> # program: arbitary name # port: numeric port number or special name. -# currently supported special name(s): -# * tunnel (tunnel mode connection) # option: parameter to this connection. -# * port: none -# * tunnel: tunnel path # ---------------------------------------------- +# mode selection for 'bbsctl start' +# ---------------------------------------------- +# * current available modes: mbbsd, logind +bbsctl mode mbbsd +#bbsctl mode logind + # standalone mbbsd ports +# ---------------------------------------------- +# * list all ports you want mbbsd to listen here. mbbsd 23 -#mbbsd 443 -#mbbsd 3000 -#mbbsd 3001 -#mbbsd 3002 -#mbbsd 3003 -#mbbsd 3004 -#mbbsd 3005 -#mbbsd 3006 -#mbbsd 3007 -#mbbsd 3008 -#mbbsd 3009 -#mbbsd 3010 +mbbsd 443 +mbbsd 3000 +mbbsd 3001 +mbbsd 3002 +mbbsd 3003 +mbbsd 3004 +mbbsd 3005 +mbbsd 3006 +mbbsd 3007 +mbbsd 3008 +mbbsd 3009 +mbbsd 3010 + +# logind ports +# ---------------------------------------------- +# * list all ports for logind to listen here. +#logind 23 +#logind 443 +#logind 3000 +#logind 3001 +#logind 3002 +#logind 3003 +#logind 3004 +#logind 3005 +#logind 3006 +#logind 3007 +#logind 3008 +#logind 3009 +#logind 3010 -# following settings are only required if you use logind -# # tunnel mappings -# mbbsd tunnel run/logind.tunnel -# logind tunnel run/logind.tunnel +# logind client setings +# ---------------------------------------------- +# * if this is set, each restart logind will +# also invoke the client. +# +# * example (let mbbsd listen to all tunnel+ports) +#logind client bin/mbbsd -d -f etc/bindports.conf # -# # logind ports -# logind 23 -# logind 443 -# logind 3000 -# logind 3001 -# logind 3002 -# logind 3003 -# logind 3004 -# logind 3005 -# logind 3006 -# logind 3007 -# logind 3008 -# logind 3009 -# logind 3010 +# * example (let one mbbsd listen to tunnel only) +#logind client bin/mbbsd -n run/logind.tunnel + +# tunnel mappings +# ---------------------------------------------- +# * to configure the path of tunnels +#mbbsd tunnel run/logind.tunnel +#logind tunnel run/logind.tunnel |