summaryrefslogtreecommitdiff
path: root/doc/afserver_example.conf
diff options
context:
space:
mode:
authorJakub Sławiński2005-11-03 20:37:56 +0100
committerJoshua Judson Rosen2014-07-17 21:15:00 +0200
commit63bbc710b23893742e5ccbd430f95bf2d29c2da6 (patch)
tree06d0585724cff8a4f1a7c052b5b89fd12c404094 /doc/afserver_example.conf
parentv0.7.2 (diff)
downloadapf-63bbc710b23893742e5ccbd430f95bf2d29c2da6.tar.gz
v0.7.4
- Fixed: sockets in CLOSE_WAIT state left by afclient - Added: --localname and --localport options - Added: --localdesname option - Added: kicking user in 'opening' state - Fixed: info about kicked user - Fixed: TERM signal handling - Fixed: id lost after reconnection - Fixed: printing wrong client name in 'SSL_accept failed (timeout)' message - Fixed: ignored 'certificate' and 'key' options from config file - Added: config files for afclient - Modified: some options in afserver config file
Diffstat (limited to 'doc/afserver_example.conf')
-rw-r--r--doc/afserver_example.conf21
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/afserver_example.conf b/doc/afserver_example.conf
index f7c0be8..e96ec02 100644
--- a/doc/afserver_example.conf
+++ b/doc/afserver_example.conf
@@ -1,16 +1,15 @@
-# This is an example configuration file for active port forwarder
+# This is an example configuration file for active port forwarder (server)
# Firstly, we have to declare our files with key and certificate
-certificate cacert.pem
+cerfile cacert.pem
# Please note, that we can place only blank characters between words
-key server.rsa
+keyfile server.rsa
-# when we want to log some information, we specify file for lightlog
-# when we want to log everything - we do this by using heavylog option
-
-# type name of file
+# Logging can be enabled by log option. The argument to this option must
+# be in the form:
+# target,description,msgdesc
log file,logfile,LOG_T_ALL,LOG_I_CRIT,LOG_I_ERR,LOG_I_WARNING
@@ -29,8 +28,8 @@ realm my realm
#options values
#hostname <yourhostname> #this is the name of the server (used to choose interface)
-listen 50127 #portnumber on which server is listening for users
-manage 50126 #portnumber on which server is listening for afclient
+listenport 50127 #portnumber on which server is listening for users
+manageport 50126 #portnumber on which server is listening for afclient
#users 5 #amount of users we are allowing to connect (>0) (default: 5)
#timeout 5 #timeout value for the client's connection (>0) (default: 5)
#clients 1 #number of allowed clients for this realm (>0) (default: 1)
@@ -51,5 +50,5 @@ manage 50126 #portnumber on which server is listening for afclient
# and now the second realm
realm
-listen 50125
-manage 50124
+listenport 50125
+manageport 50124