Registry Settings for TMeter Service
All settings of TMeter Service (except Filterset) are
stored in the registry path:
[HKLM\Software\TMeter Software\TrafAgent\Settings]
[HKLM\Software\Wow6432Node\TMeter Software\TrafAgent\Settings] (for Windows x64)
|
There are several parameters of TMeter Service,
which can be changed only by modifying the registry manually:
- DeniedPktLogLevel (type REG_DWORD). It defines
a level of logging the denied packets:
0 - disables logging the denied packets:
1 - enables logging the denied packets:
2 - the same as 1 but includes MAC addresses
- TrafficLimitMBytes (type REG_DWORD). It
defines a number of bytes in 1 megabyte when checking a condition
of the rule. It is used for creating traffic limits (for example,
1000000 will define 1 MB = 1000000 bytes). By default, 1 MB =
1048576 bytes.
- LogMemUsage (type REG_SZ). It defines a full
path of a file for logging a memory usage of TMeter Service. It is
useful for detecting memory leaks in TMeter Service. By default,
Logging the memory usage is disabled.
- MSSQLConvertDateTime (type REG_DWORD) - It
enables using function CONVERT() for converting type 'datetime'
while recording Host Headers in MS SQL database:
0 - disables using CONVERT() (by default)
1 - enables using CONVERT(). Use this options when format of
datetime is not 'yyyy-mm-dd hh:mi:ss'.
- BindAddr (type REG_SZ). It defines IP address
(in decimal-dot notation) which will be used for accepting incoming
connections from TMeter Administrative Console. This address must
belong to PC running TMeter service.
- LogSize (type REG_DWORD). It defines the
maximum size (in megabytes) for single log file of TMeter Service
(by default, 2 Mb).
- LogRotate (type REG_DWORD). It defines number
of rotations for TMeter log files (by default, 5).
- HostResolvePeriod (type REG_DWORD). It defines
a period of refreshing (in seconds) an internal table with map
"Hostname - IP address" used when checking the rule with a hostname
as the source or as the destination (by default, 600).
- CustomTrafficLimitPage (type REG_DWORD) - In
case of exceeding the traffic limit: If you set this parameter to
"1", TMeter will show a page "Access denied. You have exceeded the
traffic limit" from an external file CustomTrafficLimit.xsl (folder
WebServerXsl). Therefore, you can create custom page for your users
by simple changing CustomTrafficLimit.xsl. By default,
CustomTrafficLimitPage = 0 and TMeter shows built-in page "Access
denied".
- CustomUrlFilterPage (type REG_DWORD) - In case
of URL Filter matching: If you set this parameter to "1", TMeter
will show a page "Access denied by URL Filter" from an external
file urlfilter.htm (folder WebServerXsl). So, you will create
custom page for URL Filter matching... By default,
CustomUrlFilterPage = 0 and TMeter shows built-in page "Access
denied by URL Filter". Note, the size of urlfilter.htm must not
exceed 1000 bytes.
- SaveAliveTraffic (type REG_DWORD) - this
defines a frequency of sending alive-packets for authentication
purposes from TMeter Service Monitor to TMeter Service. This adjust
can be useful in large networks to reduce TMeter autentication
traffic. The parameter can be from 0 to 10 (0 - maximum frequency,
more traffic; 10 - minimum frequency, less traffic). You can
control the changing of this parameter by frequency of flashing the
arrow in TMeter tray icon. (by-default, the parameter is 0)
- DenyDoubleLogins (type REG_DWORD) - If you set
this parameter to "1", TMeter will disable "double logins" (in
other words, it will disable user authentication from different
hosts simultaneously) for all users without exceptions.
- NetflowPort (type REG_DWORD) - this defines
UDP port number using to recieve Netflow
packets (by default, TMeter listens for Netflow packets on UDP port
8818).
- DelayBetweenPing (type REG_DWORD) - defines a
delay (in milliseconds, by default 20 ms) between host ping.
Note
- You should restart TMeter Service in order to apply
the parameters listed above.