This documentation supports the 21.3 (12.3) version of BMC Discovery.

The Windows proxy configuration file


The Windows proxy is configured using a configuration file (winproxy.conf), which is located at:
C:\Program Files\BMC Software\ADDM Proxy\runtime\<Proxy_Name>\etc\winproxy.conf
where <Proxy_Name> is the type of the Windows proxy (AD Proxy or Credential).

You can download winproxy.conf files from Windows proxies that are connected to your appliance. You can make modifications to the file, which you can then upload to the Windows proxy or to multiple Windows proxies. This simplifies the management of your Windows proxies. For more information, see Windows proxy configuration.

Access methods

This section lists access methods, in the order in which they should be attempted. In this section, you can enable or disable an access method; for example:

   <setting name="wmi" enabled="True"/>

Or:

   <setting name="wmi" enabled="False"/>

The following access methods are available:

  • wmi—WMI commands.
  • remquery—RemQuery commands.

Optional commands

This section lists the additional executables that are available on the Windows proxy. These executables are generally tools that are not standard on all versions of Windows, or are third-party supplied tools such as the PSINFO utility described in User-privileges-and-information-access-for-Windows-operating-systems. In this section, you can enable or disable the optional commands; for example:

   <setting name="tcpvcon" enabled="True"/>

Or:

   <setting name="tcpvcon" enabled="False"/>

Commands to run

This section lists the commands and provides the actual command string that is executed. The commands are referred to by the setting name defined in the previous section; for example:

   <command name="tcpvcon">tcpvcon -anc</command>

Or:

   <command name="tcpvcon">tcpvcon -anc 160</command>

Checksum

In this section, a checksum is written to ensure that the file has not been tampered with since being copied or uploaded from the appliance:

   ...
   <checksum>6d263f1f630e934a3180fb182bc589a8</checksum>
   </slave>

You can add the checksum without uploading the file by using the

utility. You can then copy the signed file to multiple appliances by using ftp or similar.

Example Windows proxy configuration file part

<slave>

    <!-- These settings control the various access methods -->
    <setting name="wmi" enabled="True"/>
    <setting name="remquery" enabled="True"/>

    <!-- These settings control the use of optional commands -->
    <setting name="wmi-query-creation" enabled="True"/>
    <setting name="openports" enabled="False"/>
    <setting name="tcpvcon" enabled="True"/>

    <!-- These are the commands that will be run -->
    <command name="systeminfo">echo begin wmic_values: &amp;&amp; wmic bios get serialnumber 2>&amp;1 &amp; wmic csproduct get uuid 2>&amp;1 &amp; echo end wmic_values: &amp;&amp; systeminfo /fo csv /nh</command>
    <command name="infocmds">hostname &amp;&amp; ver</command>

    <command name="ipconfig">ipconfig /all</command>

    <command name="tasklist">tasklist /fo csv /nh /v</command>

    <command name="netstat">netstat -ano</command>
    <command name="netstat">netstat -an</command>

    <command name="openports">openports.exe -netstat</command>
    <command name="tcpvcon">tcpvcon.exe -anc</command>
   
    <!-- lputil commands for Emulex HBAs -->
    <command name="lputil-listhbas">lputil listhbas</command>
    <command name="lputil-count">lputil count</command>

    <!-- %s is replaced with the board index number: -->
    <command name="lputil-fwlist">lputil fwlist %s</command>
   
    <!-- hbacmd commands for Emulex HBAs -->
    <command name="hbacmd-listhbas">hbacmd listhbas</command>
    <command name="hbacmd-listhbas">"%ProgramFiles%\HBAnyware\hbacmd" listhbas</command>
    <!-- %s is replaced with the WWPN: -->
    <command name="hbacmd-hbaattr">hbacmd hbaattrib %s</command>
    <!-- the % character needs to be doubled up, since the string undergoes text substitution first -->
    <command name="hbacmd-hbaattr">"%%ProgramFiles%%\HBAnyware\hbacmd" hbaattrib %s</command>

    <adapters>
        <!-- <adapter> may have an optional key attribute (default: name) -->
        <adapter match="^(AMD PCNET Family|VMware Accelerated AMD PCNet)">
            <!--
              <adapter-key> supports several optional attributes:
                hive - Registry hive name (Default: "HKLM")
                key - Registry key (Default: "SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\%(index)04d")
              -->
            <adapter-key name="EXTPHY"/>
            <adapter-map EXTPHY="0">
                <adapter-value name="speed" value=""/>
                <adapter-value name="duplex" value=""/>
                <adapter-value name="negotiation" value="AUTO"/>
            </adapter-map>
...

Related topics

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*