Framework, ProtocolType.Icmp and VISTA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
[...]
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
 
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 said:
[...]
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
 
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 said:
[...]
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
 
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 said:
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 said:
[...]
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
 
Back
Top