Reserve Port for BES Client for DNS Servers
Log In or Register to download the BES file, and more.

0 Votes

Description

In some situations, the DNS service may bind to the same port as the BES Client. This will cause a Socket Error on the BES Client and prevent it from communicating properly with the rest of the BES deployment.

 This task will reserve the port used by the BES Client from use by other programs and processes that randomly select a port in the ephemeral port range.

Note: Affected computers may report back as 'Pending Restart' once the patch has run successfully, but will not report back their final status until the computer has been restarted.


Property Details

ID456
TitleReserve Port for BES Client for DNS Servers
Category<Unspecified>
Download Size0
SourceBigFix
Source ID<Unspecified>
Source Severity<Unspecified>
KeywordsBES Client DNS TABLE TBODY
Added by on 10/17/2012 1:15:31 PM
Last Modified by on 10/17/2012 1:15:31 PM
Counters 5327 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 223 fixlets   * Results in a true/false
Show indented relevance
(if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
Used in 92 fixlets and 24 analyses   * Results in a true/false
Show indented relevance
version of client >= "5.1"
Used in 24 fixlets   * Results in a true/false
Show indented relevance
((if (version of client >= "8.0") then (windows of it) else (name of it starts with "Win")) AND platform id of it != 3) of operating system
Used in 2 fixlets   * Results in a true/false
Show indented relevance
exists running service "DNS"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
((product type of it != nt workstation product type) AND (major version of it = 5)) of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists value "ReservedPorts" whose (it as string contains ((value "ListenPort" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions" of registry as string & "-" & value "ListenPort" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions" of registry as string) as string)) of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" of registry

Actions

Action 1

Action Link Click here to view Microsoft KB Article 956188, which describes how the DNS service may cause problems when selecting random ports and how to work around the issue.
Script Type URL
http://support.microsoft.com/kb/956188/
    

Action 2

Action Link Click here to reserve the port used by the BES Client from use by other programs and processes.
Script Type BigFix Action Script
delete __createfile
createfile until __END
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"ReservedPorts"=hex(7):{concatenation "," of firsts 2 of (it & following text of it) of characters whose (start of it mod 2 = 0) of ((value "ListenPort" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions" of registry as string & "-" & value "ListenPort" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\GlobalOptions" of registry as string & "%00" & (if exists value "ReservedPorts" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" of registry then value "ReservedPorts" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" of registry as string else "%00")) as hexadecimal)}
__END
delete reservePort.reg
move __createfile reservePort.reg
waithidden regedit /s reservePort.reg
if {name of operating system = "Win2000"}
action requires restart
endif
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here to view Microsoft KB Article 812873, which details how to reserve ephemeral ports.
Script Type URL
http://support.microsoft.com/kb/812873/
    

Action 4

Action Link Click here to view Microsoft KB Article 956188, which describes how the DNS service may cause problems when selecting random ports.
Script Type URL
http://support.microsoft.com/kb/956188/
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!