ProxyServerContainer configuration

You can find ProxyServerContainer.exe.config. in the same folder where the application is installed. This file is an XML with the scheme of a .NET application configuration file.

folderSection

This is the section to configure the deferred transmission of information (the information that for any reason is not sent in real time). 

  • Name - name of the entry. It could have any name. "CacheFolder" is the name given by default.  
  • Iscache - indicates that the file will collect the information that was not sent. The possible values are "true" and "false".
  • FolderPath - path of the folder that will store the unsent information.
  • LogTrustServer - IP address or server where the information will be sent.
  • SendingSecure - indicates that the information will be sent using SSL/TLS. The possible values are "true" and "false".
  • SenderTag - N/A.
  • Port - port where the sending should be made.
  • Protocol - protocol that will be used for the sending. The possible values are "TCP" and "UDP".
  • Facility - N/A.

appSettings

In the appSettings section you can configure the following settings:

  • ListeningPort - TPC port where local applications will send the information.
  • UdpListeningPort - UDC port where local applications will send information.
  • AddTag - indicates if a tag should be added in the sending. Only applies to the information received on UDP port. The possible values are "true" and "false".
  • SenderTag - tag value that will be added in each sending. Only applies to the information received on UDP port. The possible values are "true" and "false".
  • SendingIpAddress - IP address or server where the information will be sent.
  • SendingPort - port where the sending should be made.
  • SendingSecure - indicates that the information will be sent using SSL/TLS.  The possible values are "true" and "false".
  • CertiticateSubjectDistinguishedName - name of the certificate that will be used for the SSL/TLS sending. Refers to the value "subject" of the certificates storage. It is used if the "SendingSecure" value is true.
  • StoreName - name of the storage where the certificate is located. It is used if the "SendingSecure" value is true.
  • StoreLocation - certificate storage locator. Possible values "CurrentUser", "LocalMachine". It is used if the "SendingSecure" value is true.
  • PrivateFolder - path of the folder that will store the unsent information. It must have the same value as "FolderPath" in "folderSection".
  • DaysRemain - indicates the number of days the unsent information will be saved.
  • HeartBeatTag - tag name where the event HeartBeat will be sent.
  • TokenSeparator - separator used in the HeartBeat.
  • ProcessList - list of processes, separated by comas, that will be sent in each HeartBeat if it is under execution.
  • OriginTag - tag name for the origin trail.
  • OriginTagTagList - list of tags, separated by comas, sent in the origin information.

The following fragment is an example of the folderSection and appSettings:

appSettings and folderSection examples

<folderSection>
      <elements>
           <add name="CacheFolder" iscache="true"
                    FolderPath="C:\Cache"
                    LogTrustServer="eu.public.relay.logtrust.net"
                    SendingSecure="true"
                    SenderTag="tag.activity1"
                    Port="8770"
                    Protocol="TCP"
                    Facility="10" />
      </elements>
 </folderSection>
  
 <appSettings>
      <!-- TCP -->
      <add key="ListeningPort" value="10010" />
      <!-- UDP -->
      <add key="UdpListeningPort" value="11011" />
      <!-- Only for UDP -->
      <add key="AddTag" value="true"/>
      <add key="SenderTag" value ="box.win"/>
      <add key="SendingIpAddress" value="eu.public.relay.logtrust.net" />
      <add key="SendingPort" value="8770" />
      <add key="SendingSecure" value="true"/>
      <!-- Secure Connection -->
      <add key="CertiticateSubjectDistinguishedName" value="CN=testing, O=logtrust, L=Madrid, S=Madrid, C=SP"/>
      <!-- StoreName: Values: AddressBook AuthRoot CertificateAuthority Disallowed My Root TrustedPeople TrustedPublisher -->
      <add key="StoreName" value="My"/>
      <!-- StoreLocation: Values: CurrentUser LocalMachine -->
      <add key="StoreLocation" value="LocalMachine"/>
      <!-- Cache -->
      <add key="PrivateFolder" value="C:\Cache" />
      <add key="DaysRemain" value="3" />
    
      <add key="HeartBeatTag" value="box.stat.win.heartbeat"/>
      <add key="TokenSeparator" value="|"/>
      <add key="ProcessList" value=""/>
      <!-- Tags from origin -->
      <add key="OriginTag" value=""/>
      <add key="OriginTagTagList" value="testing|alias|tag0,tag1,tag2,tag3,tag4,tag5,tag6,tag7,tag8,tag9"/>
 </appSettings>

Have we answered your question?

If not, please contact our technical support team via email by clicking the button below.

CONTACT US