]> git.stg.codes - stg.git/blobdiff - projects/stargazer/inst/linux/etc/stargazer/conf-available.d/mod_ia.conf
Move projects back into subfolder.
[stg.git] / projects / stargazer / inst / linux / etc / stargazer / conf-available.d / mod_ia.conf
index 9cd1da82c9250d8fa629e7552964bc61e2bcd280..df170dd089203f1e806d100cbe468b732c6c57da 100644 (file)
@@ -1,29 +1,44 @@
-# îÁÓÔÒÏÊËÉ ÐÌÁÇÉÎÁ Á×ÔÏÒÉÚÁÃÉÉ InetAccess "mod_auth_ia.so"
+# Enable the authorization module InetAccess "mod_auth_ia.so"
 <Module auth_ia>
-    # ðÏÒÔ ÎÁ ËÏÔÏÒÏÍ ÐÒÉÎÉÍÁÀÔÓÑ ÏÂÒÁÝÅÎÉÑ ÏÔ Á×ÔÏÒÉÚÁÔÏÒÁ
-    # úÎÁÞÅÎÉÑ: 1...65534
+    # Port on which the server interacts with authorizator
+    # Parameter: required
+    # Value: 1 ... 65535
+    # Default: 5555
     Port = 5555
 
-    # ÷ÒÅÍÑ ÍÅÖÄÕ ÐÏÓÙÌËÁÍÉ ÚÁÐÒÏÓÁ ÐÏÌØÚÏ×ÁÔÅÌÀ ÖÉ× ÌÉ ÏÎ
-    # É ÏÂÎÏ×ÌÅÎÉÅÍ ÄÁÎÎÙÈ ÓÔÁÔÉÓÔÉËÉ (ÓÅËÕÎÄÙ)
-    # úÎÁÞÅÎÉÑ: 5...600
-    UserDelay = 15
+    # The time interval between sending an alive query to the user
+    # and updating statistics
+    # Parameter: required
+    # Values: 5 ... 600 (seconds)
+    # Default: 60
+    UserDelay = 60
 
-    #ôÁÊÍÁÕÔ ÄÌÑ ÐÏÌØÚÏ×ÁÔÅÌÑ. åÓÌÉ × ÔÅÞÅÎÉÅ ÜÔÏÇÏ ×ÒÅÍÅÎÉ Á×ÔÏÒÉÚÁÔÏÒ
-    #ÎÅ ÏÔ×ÅÞÁÅÔ, ÐÏÌØÚÏ×ÁÔÅÌØ ÂÕÄÅÔ ÏÔËÌÀÞÅÎ
-    # úÎÁÞÅÎÉÑ: 15...1200
+    # User timeout. If authorizer does not respond during this time,
+    # the user will be disconnected
+    # Parameter: required
+    # Values: 5 ... 600
+    # Default: 60
     UserTimeout = 65
 
-    # üÔÏÔ ÐÁÒÁÍÅÔÒ ÏÐÒÅÄÅÌÑÅÔ ÞÔÏ ÂÕÄÅÔ ÐÅÒÅÄÁ×ÁÔØÓÑ ÐÒÏÇÒÁÍÍÅ InetAccess ÏÔ ÓÅÒ×ÅÒÁ
-    # ËÁË ÏÔÓÔÁÔÏË ÐÒÅÄÏÐÌÁÞÅÎÎÏÇÏ ÔÒÁÆÉËÁ
-    # úÎÁÞÅÎÉÑ:
-    # FreeMb = 0 - ËÏÌ-×Ï ÂÅÓÐÌÁÔÎÙÈ ÍÅÇÁÂÁÊÔ × ÐÒÅÓÞÅÔÅ ÎÁ ÃÅÎÕ ÎÕÌÅ×ÏÇÏ ÎÁÐÒÁ×ÌÅÎÉÑ
-    # FreeMb = 1 - ËÏÌ-×Ï ÂÅÓÐÌÁÔÎÙÈ ÍÅÇÁÂÁÊÔ × ÐÒÅÓÞÅÔÅ ÎÁ ÃÅÎÕ ÐÅÒ×ÏÇÏ ÎÁÐÒÁ×ÌÅÎÉÑ
-    # FreeMb = 2 - ËÏÌ-×Ï ÂÅÓÐÌÁÔÎÙÈ ÍÅÇÁÂÁÊÔ × ÐÒÅÓÞÅÔÅ ÎÁ ÃÅÎÕ ×ÔÏÒÏÇÏ ÎÁÐÒÁ×ÌÅÎÉÑ
-    # FreeMb = 3 - ËÏÌ-×Ï ÂÅÓÐÌÁÔÎÙÈ ÍÅÇÁÂÁÊÔ × ÐÒÅÓÞÅÔÅ ÎÁ ÃÅÎÕ ÔÒÅÔØÅÇÏ ÎÁÐÒÁ×ÌÅÎÉÑ
+    # Define which information will be transmitted from the server to InetAccess
+    # as a residue of prepaid traffic
+    # FreeMb = 0 — amount of free megabytes in terms of cost of zero direction
+    # FreeMb = 1 — amount of free megabytes in terms of cost of the first direction
+    # FreeMb = 1 — amount of free megabytes in terms of cost of the first direction
+    # FreeMb = 2 — amount of free megabytes in terms of cost of the second direction
     # ........................
-    # FreeMb = 9 - ËÏÌ-×Ï ÂÅÓÐÌÁÔÎÙÈ ÍÅÇÁÂÁÊÔ × ÐÒÅÓÞÅÔÅ ÎÁ ÃÅÎÕ ÄÅ×ÑÔÏÇÏ ÎÁÐÒÁ×ÌÅÎÉÑ
-    # FreeMb = cash - ËÏÌ-×Ï ÄÅÎÅÇ ÎÁ ËÏÔÏÒÙÅ ÀÚÅÒ ÍÏÖÅÔ ÂÅÓÐÌÁÔÎÏ ËÁÞÁÔØ
-    # FreeMb = none - ÎÉÞÅÇÏ ÎÅ ÐÅÒÅÄÁ×ÁÔØ
+    # FreeMb = 9 — amount of free megabytes in terms of cost of the ninth direction
+    # FreeMb = cash - amount of money for which the user can download for free
+    # FreeMb = none - no transfer
+    # Default: cash
+    # Parameter: required
+    # Values: different, see above
+    # Default: cash
     FreeMb = cash
+
+    # Enable protocol errors logging
+    # Parameter: optional
+    # Values: yes, no
+    # Default: no
+    # LogProtocolErrors = no
 </Module>