Home > Security Channel FAQs > Network Firewalls > More Information on Network Firewalls > Firewall troubleshooting: How to override default XP firewall settings
FAQs: Network Firewalls:
EMAIL THIS
 START   NETWORK FIREWALL FAQ FOR RESELLERS   RELATED INFORMATION   
More Information on Network Firewalls

<< PREVIOUS | NEXT >>: How to audit the Windows XP firewall
 TIPS & NEWSLETTERS TOPICS 

NETWORK SECURITY

Firewall troubleshooting: How to override default XP firewall settings


Brien M. Posey
09.24.2007
Rating: -4.33- (out of 5)


Networking Channel Update
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


In our first article on troubleshooting the Windows XP firewall, I explained how to configure your customer's firewall when Windows locks you out. Sometimes, however, you may find that although you have configured a particular firewall-related setting, Windows continues to use the default settings. Windows XP firewall settings are stored in a number of locations, and some of these settings take precedence over others. The key to solving any Windows firewall-related problem is to figure out where the problematic settings are stored. Fortunately, there are a number of tools that you can use to diagnose the problem. Let's take a look at the command-line utility Netsh.

I like to begin the troubleshooting process by opening a command prompt window and entering the following command:

Netsh firewall show state verbose=enable

As you can see in Figure A, this command provides you with lots of information about how the firewall is enabled. From an initial troubleshooting standpoint, I tend to think that the information in the Firewall Status section (at the top of the figure) is the most useful.

[IMAGE]
Figure A The Netsh command provides lots of diagnostic information.

The Firewall Status section provides the information shown below:

As you can see, the Profile is set to Domain. This line always indicates whether the profile is running in Domain Mode or Standard Mode. If a group policy is in use, then this information will allow you to isolate the firewall settings to a particular branch of the group policy settings tree.

The Profile line, however, doesn't give you all the information you need. It's also important to look at the Group Policy Version line. In this particular case, the Group Policy Version is set to None. This means that no firewall-related group policy setting...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


<< PREVIOUS | NEXT >>: How to audit the Windows XP firewall
VIEW ALL IN THIS CATEGORY


RELATED CONTENT
Network router, switch and device security
Firewall audit tool sales driven by PCI, economic cuts
UTM appliances bundle security, give VARs multiple revenue streams
Merging the channels: McAfee and Secure Computing half a year later
Juniper launches mid-level security appliances
Configuring privilege levels
Cisco Security Device Manager Overview
Testing the firewall - Introduction
Working with Firewall Builder
Validated firewalls
System administration

Network Security
How to help customers choose a network access control product
Offering SaaS for securing mobile devices
How to perform a network security audit for customers
Cracks in WPA? How to continue protecting Wi-Fi networks
Host-based IDS/IPS Partner Program Directory
Network security algorithms introduction
Searching for multiple strings in packet payloads
Approximate string matching
Detecting worms
IP traceback via logging

More Information on Network Firewalls
Windows XP firewall troubleshooting
Firewall troubleshooting: How to modify the scope of Windows XP and Vista firewall rules
Use Netstat to determine which ports to open on a Windows firewall
How to audit the Windows XP firewall
Defining access directions through firewalls
Firewall troubleshooting: Inability to configure the Windows XP firewall
Ingress firewall rules for the Cisco Security Monitoring, Analysis, and Response System
Choosing the right firewall for your customer
Firewall architecture decisions: perimeter protection strategy
Firewall topology: system placement

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


s exist and that the computer is only using local firewall settings.

For a more complete picture of where the firewall settings are coming from, cross-reference the Profile and the Group Policy Version. The table below shows what the various combinations mean:

Profile Group Policy Version Meaning
Standard None The computer is using only local Windows firewall settings.
Standard Windows Firewall A local group policy setting contains Windows firewall-related settings.
Domain None The computer is logged into a domain, but no firewall-related group policy settings exist.
Domain Legacy Firewall The computer is logged into a domain, but a group policy setting is actually blocking the use of the Windows firewall. In this situation, navigate through the group policy settings tree to Computer Configuration | Administrative Templates | Network | Network Connections, and disable the "Prohibit Use of Internet Connection Firewall on Your DNS Domain" setting.
Domain Windows Firewall The computer is logged into a domain, and Windows firewall-related group policy settings exist.

Although the Firewall Status section is the most interesting, there is other valuable information that you can obtain through the Netsh command. If you look at Figure A, you can see that the majority of the text on the screen is related to firewall exceptions. This provides you with a definitive way of knowing which firewall ports are open and by what application. For example, the command differentiates between a program exception and a port exception. This is important, because the Windows firewall configuration interface uses different methods for adding a program exception and adding a port exception, as shown in Figure B. Knowing whether an exception is program- or port-related can help you to more easily find the incorrect setting. It is also important to point out that exceptions can also be defined through group policy settings.

[IMAGE]
Figure B Windows treats program and port exceptions differently.

The other interesting piece of information that the Netsh command provides you with is the location of the firewall log. In Figure A, we can see that the log is located in the C:\windows directory in a file named PFIREWALL.LOG. This log file can help you to diagnose firewall problems, but it's important to understand that the file may not always exist, even if Netsh says that it does. I was unable to find any definitive information on the subject, but it seems that only certain types of activity are logged, and if no loggable activity has occurred, then the log file is not created.

Conclusion

In this article, I explained some techniques you can use to help you determine where specific firewall-related settings originate from. In part three of our series on troubleshooting the Windows XP firewall, I continue the discussion by showing you how to audit firewall activity.

About the author
[IMAGE]Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Brien has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer he has written for Microsoft, CNET, ZDNet, TechTarget, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.


Rate this Tip
To rate tips, you must be a member of SearchSecurityChannel.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts