RE: Non-internet application wants to connect over internet
From: Rick Byers [MSFT] (rbyers_at_online.microsoft.com)
Date: 08/31/04
- Next message: Rick Byers [MSFT]: "Re: Threads being mysteriously stopped"
- Previous message: Jim: "Assembly.Load() with alternate subdirectory for other assemblies which have dependencies"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 31 Aug 2004 17:04:58 GMT
I don't know how Norton Personal Firewall works, but it seems likely that
it would block the network request until you choose to permit or deny the
access. In that case, you should just be able to attach a debugger while
Norton is waiting for a response from you and look through the threads
until you find one thats trying to do some network access. The call statck
should indicate who is responsible. The network access could be from
managed or unmanaged code, so if you don't see it when doing managed-only
debugging, you should try either interop debugging (managed + native in
VStudio), or native only debugging.
If Norton causes the network request to just fail (instead of waiting for a
allow/deny response from you - this seems unlikely to me), then you may not
see any threads doing any network access when you attach. You could still
set breakpoints at common networking functions (eg. WSAConnect), and wait
for them to be hit.
Rick
-- This posting is provided "AS IS" with no warranties, and confers no rights. -------------------- > I have a little desktop application (it happens to be a Windows Forms analog > clock) that's written in VB.Net (2003). I placed a shortcut in my Startup > program group to start it up when I log on. I have put no code in the > application whatsoever to do internet communications, and yet when it starts > up at logon I've begun getting notification dialogs from my software > firewall that the app wants to connect to the internet. It doesn't happen > when the app has been freshly rebuilt, but after a few days or so it starts > to try to connect and thereafter tries again each time the app is started > up. > > Thinking that I might have acquired some new kind of virus that attaches > itself to .Net executables, I made a note of the file size and the 'last > modified' date after a fresh build, and then checked it again after the > executable started wanting to connect to the internet. No changes. Norton > AntiVirus 2003 with the most recent updates shows a clean scan. I always > tell the firewall (Norton Personal Firewall 2003) to block the > communication, and the application continues to execute normally. > > Has anyone else seen similar behavior in non-communications-enabled > applications, or know of anything that might shed some light on this > behavior? > > Thanks, > Tom Dacon > Dacon Software Consulting > > > >
- Next message: Rick Byers [MSFT]: "Re: Threads being mysteriously stopped"
- Previous message: Jim: "Assembly.Load() with alternate subdirectory for other assemblies which have dependencies"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|