|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Framework, ProtocolType.Icmp and VISTAHi 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? On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach
<AndreLorb***@discussions.microsoft.com> wrote: > [...] I don't think so, not a .NET application per se. However...> 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'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 Show quote "Peter Duniho" wrote: > On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach > <AndreLorb***@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 > 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 Show quote "Peter Duniho" wrote: > On Thu, 03 May 2007 07:23:01 -0700, Andre Lorbach > <AndreLorb***@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 > 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. Show quote "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 > > <AndreLorb***@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 > > |
|||||||||||||||||||||||