The configuration of IP-Proxy is done by means of a configuration file. This file has to be formatted as the well-known Ini-File format, i.e.
[Section_1]
parameter_1 = value_1
parameter_2 = value_2
:
[Section_2]
:
Note: there is a sample configuration file 'my_proxy.ini' in the installation directory of IP-Proxy
In following an example is shown:
All parameters are described in following:
[General] |
|
IniNoOfReceivers |
number of receivers, i.e. number of sections [Receiver_x] which have to be provided |
IniNoOfSenders |
number of senders, i.e. number of sections [Senders_x] which have to be provided |
CtrlIp |
IP address of monitoring UDP server |
CtrlPort |
Port of monitoring UDP server |
CtrlAct |
monitoring server on/off 0 = off, 1 = on |
[Receiver_X], [Sender_X] |
|
IpAddr |
IP-Address of Client/Server |
IpPort |
IP-Port of Client/Server |
bBind |
Binding of Client/Server 0 = off, 1 = on |
BindIp |
Binding IP-Address |
BindPort |
Binding IP-Port |
bMcast |
Multicast (only UDP) 0 = off, 1 = on |
McastIP |
Multicast IP-Address |
Protocol |
0 = UDP, 1 = TCP, 2 = Serial |
bIpServer |
Application (only TCP/UDP) 0 = acts as Client 1 = acts as Server |
RcvTimeOut |
receiver timeout in msec |
Duplex |
Duplex Operation Mode (only Serial) 0 = off, 1 = on |
ProcFn |
file name of an external data-processor library (including path) |
ProcParam |
list of parameters for the external data-processor note: the parameters and their format are defined by the data-processor |
bLogHex |
the data will be logged as hexa-decimal data string |
bLogDpi |
the data-output of the data-processor is logged note: only available for receiver data-processors |
IpcId |
unique ID for an inter-process communication (IPC) |
IpcTime |
time in seconds for waiting of an IPC connection |
bMonitoring |
monitoring on/off 0 = off, 1 = on |
iMonTimeout |
monitoring message timeout (minutes) |
[Serial_R_X], [Serial_S_X] |
|
BaudeRate |
Windows 0= 110, 1 = 300, 2 = 600, 3 = 1200, 4 = 2400, 5 = 4800,
6 = 9600,
7 = 14400, 8 = 19200, 9 = 38400, 10 = 56000, Unix
0 = 0, 1
= 50, 2 = 75, 3 = 110, 4 = 134, 5 = 150, 6 = 200, 7 = 300, 8 = 600,
9 = 1200, 10 = 1800, 11 = 2400,
17 =
115200, 18 = 230400, 19 = 460800, 20 = 500000, 25 = 1500000, 26 = 2000000, 27 = 2500000, 28 = 3000000, 29 = 3500000, 30 = 4000000 |
DataBits |
0 = 8bits, 1 = 7bits, 2 = 6bits, 3 = 5bits |
StopBits |
0 = 1, 1 = 1,5, 2 = 2 |
Parity |
0 = none, 1 = Xon/Xoff, 2 = Hardware |
Device |
Name of the Serial Device (only Serial) Windows e.g. COM1 Unix e.g. ttyS0 |
LineCrLf |
Line-Feed Control (only Serial) 0 = off, 1 = on |
[Receiver_Http_X] |
|
Https |
enable HTTPS 0 = HTTPS disabled 1 = HTTPS enabled |
HttpCertFile HttpCAFile HttpPrivKey HttpKeyPw |
HTTPS certificate example using decontev certificate: HttpCertFile=<install_dir>\Certificate\d-ca-cert.pem HttpCAFile==<install_dir>\Certificate\d-pub.pem HttpPrivKey=<install_dir>\Certificate\d-ca-key.pem HttpKeyPw=decontev_123 |
HttpClientGetFreq |
frequency of HTTP Get requests |
HttpClientUrl |
URL of the HTTP Get request |
[Sender_Http_X] |
|
HttpClientUrl |
destination URL |
HttpClientUserAgent |
replace UserAgent in the HTTP header |
HttpClientMimeType |
replace MimeType in the HTTP header |
HttpClientAddHeaderCnt |
number of additional HTTP header entries
|
HttpClientAddHeader_x |
additional HTTP header entry x |
[Log] |
|
LogAct |
activate Logger 0 = inactive , 1= active |
LogPath |
log-file path |
LogLevel |
1 = error, 2 = warning, 3 = info, 4 = debug |
DiskSize |
minimum disk size in MB for logging |
NoOfFiles |
number of log-files in the log-file path |
ZipArchive |
0 = none, 1 = older files are zipped |