Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista networking & sharing

Vista - Vista Advanced Firewall broken?

Reply
 
Old 10-28-2006   #1 (permalink)
Daniel


 
 

Vista Advanced Firewall broken?

Hi All,

I'm trying to understand the behavior of the Windows Advanced Firewall in
Vista and it seems I'm just not getting it.

What I did:

- Wrote a small .NET 2.0 program with this code:

private void Form1_Load(object sender, EventArgs e)
{
WebClient webClient = new WebClient();
webClient.UploadString("http://www.apple.com", "test");
}

- Added a new Outbound Rule with the following settings:

Program: myapp.exe
Action: Allow the connections
Profile: All
Scope: Any, Any
State: Enabled

- Set the main Private Profile state to:
On
Inbound: Block (default)
Outbound: Block

What I expected:

Since the Firewall state (from the Monitoring panel) reads:

"Private Profile is Active"
"Windows Firewall is on.
"Inbound connections that do not match a rule are blocked."
"Outbound connections that do not match a rule are blocked."

...I expected that my app would be permitted to do the POST operation. I
have a rule that "matches", right? Which means, everything else is blocked,
but my program should be permitted, right?

But this is not what happens, my app is blocked - which is what happens when
I set the main switch to block all inbound and outbound - and don't have a
custom outbound rule.

So what's going on?

Any help or pointers appreciated.

thanks

Vista RC2 Build 5744

My System SpecsSystem Spec
Old 11-01-2006   #2 (permalink)
Daniel


 
 

RE: Vista Advanced Firewall broken?

No one out there has tried this? I'm really interested in knowing if this is
really broken.

"Daniel" wrote:

> Hi All,
>
> I'm trying to understand the behavior of the Windows Advanced Firewall in
> Vista and it seems I'm just not getting it.
>
> What I did:
>
> - Wrote a small .NET 2.0 program with this code:
>
> private void Form1_Load(object sender, EventArgs e)
> {
> WebClient webClient = new WebClient();
> webClient.UploadString("http://www.apple.com", "test");
> }
>
> - Added a new Outbound Rule with the following settings:
>
> Program: myapp.exe
> Action: Allow the connections
> Profile: All
> Scope: Any, Any
> State: Enabled
>
> - Set the main Private Profile state to:
> On
> Inbound: Block (default)
> Outbound: Block
>
> What I expected:
>
> Since the Firewall state (from the Monitoring panel) reads:
>
> "Private Profile is Active"
> "Windows Firewall is on.
> "Inbound connections that do not match a rule are blocked."
> "Outbound connections that do not match a rule are blocked."
>
> ..I expected that my app would be permitted to do the POST operation. I
> have a rule that "matches", right? Which means, everything else is blocked,
> but my program should be permitted, right?
>
> But this is not what happens, my app is blocked - which is what happens when
> I set the main switch to block all inbound and outbound - and don't have a
> custom outbound rule.
>
> So what's going on?
>
> Any help or pointers appreciated.
>
> thanks
>
> Vista RC2 Build 5744

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Advanced firewall rules help please. Vista security
Vista Firewall with Advanced Security Vista General
Vista advanced firewall settings Vista General
Vista Advanced Firewall Vista security
Vista Advanced Firewall Config Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46