Hi all,

I did not find any other suitable newsgroup for my question, so I took this
one here.
I have a little project which has some kind of a network scanning wizard, to
find local area computers and access them using the Eventlog or simple
pinging them.

1-2 years ago I wrote some code to manually handle pinging of other
machines, which worked very fine - till Vista ;)

My application is running with highest privileges, but I am not able to get
any ping responses from other machines expect my own local machine. Are there
any new security methods which prevent an .net application to use ICMP?

--
www.adiscon.com

Re: Framework, ProtocolType.Icmp and VISTA by Peter

Peter
Thu May 03 11:08:00 CDT 2007

On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach
<AndreLorbach@discussions.microsoft.com> wrote:

> [...]
> My application is running with highest privileges, but I am not able to
> get any ping responses from other machines expect my own local machine.
> Are there any new security methods which prevent an .net application to
> use ICMP?

I don't think so, not a .NET application per se. However...

I've only touched one computer running Vista so far. So I have little
first-hand information. However, it's my recollection that the new
default firewall settings for Vista disable ICMP responses.

Have you tried simply using the "ping" command line program? My guess is
that it won't work either and that both it and your .NET program are
affected by the same thing.

You might want to check the firewall settings, both on your local machine
and on the remote machines you want to ping, and see whether the firewall
has been configured to block ICMP.

Pete

Re: Framework, ProtocolType.Icmp and VISTA by AndreLorbach

AndreLorbach
Fri May 04 03:58:00 CDT 2007

Hi,

thanks for your reply. I double checked this, i am able to ping using the
command line. It does just not work from the .net application. I simply get
no reply on the network level, so I assume my icmp packets do not get send at
all.

best regards,
Andre Lorbach
--
www.adiscon.com



"Peter Duniho" wrote:

> On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach
> <AndreLorbach@discussions.microsoft.com> wrote:
>
> > [...]
> > My application is running with highest privileges, but I am not able to
> > get any ping responses from other machines expect my own local machine.
> > Are there any new security methods which prevent an .net application to
> > use ICMP?
>
> I don't think so, not a .NET application per se. However...
>
> I've only touched one computer running Vista so far. So I have little
> first-hand information. However, it's my recollection that the new
> default firewall settings for Vista disable ICMP responses.
>
> Have you tried simply using the "ping" command line program? My guess is
> that it won't work either and that both it and your .NET program are
> affected by the same thing.
>
> You might want to check the firewall settings, both on your local machine
> and on the remote machines you want to ping, and see whether the firewall
> has been configured to block ICMP.
>
> Pete
>

Re: Framework, ProtocolType.Icmp and VISTA by AndreLorbach

AndreLorbach
Fri May 04 04:13:00 CDT 2007

Hi again,

i figured out it is indeed caused by the Vista Firewall.
Thanks for the hint, i gonna analyse this now further.

best regards,
Andre Lorbach
--
www.adiscon.com



"Peter Duniho" wrote:

> On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach
> <AndreLorbach@discussions.microsoft.com> wrote:
>
> > [...]
> > My application is running with highest privileges, but I am not able to
> > get any ping responses from other machines expect my own local machine.
> > Are there any new security methods which prevent an .net application to
> > use ICMP?
>
> I don't think so, not a .NET application per se. However...
>
> I've only touched one computer running Vista so far. So I have little
> first-hand information. However, it's my recollection that the new
> default firewall settings for Vista disable ICMP responses.
>
> Have you tried simply using the "ping" command line program? My guess is
> that it won't work either and that both it and your .NET program are
> affected by the same thing.
>
> You might want to check the firewall settings, both on your local machine
> and on the remote machines you want to ping, and see whether the firewall
> has been configured to block ICMP.
>
> Pete
>

Re: Framework, ProtocolType.Icmp and VISTA by AndreLorbach

AndreLorbach
Fri May 04 09:40:00 CDT 2007

Hi again,

I have done some further testing but had no success till yet.
If the Windows Vista Firewall is enabled, the ping command utlitity still
works, but not my raw socket access using ProtocolType.Icmp.

--
www.adiscon.com



"Andre Lorbach" wrote:

> Hi again,
>
> i figured out it is indeed caused by the Vista Firewall.
> Thanks for the hint, i gonna analyse this now further.
>
> best regards,
> Andre Lorbach
> --
> www.adiscon.com
>
>
>
> "Peter Duniho" wrote:
>
> > On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach
> > <AndreLorbach@discussions.microsoft.com> wrote:
> >
> > > [...]
> > > My application is running with highest privileges, but I am not able to
> > > get any ping responses from other machines expect my own local machine.
> > > Are there any new security methods which prevent an .net application to
> > > use ICMP?
> >
> > I don't think so, not a .NET application per se. However...
> >
> > I've only touched one computer running Vista so far. So I have little
> > first-hand information. However, it's my recollection that the new
> > default firewall settings for Vista disable ICMP responses.
> >
> > Have you tried simply using the "ping" command line program? My guess is
> > that it won't work either and that both it and your .NET program are
> > affected by the same thing.
> >
> > You might want to check the firewall settings, both on your local machine
> > and on the remote machines you want to ping, and see whether the firewall
> > has been configured to block ICMP.
> >
> > Pete
> >