News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compiled source starts making random connections to internet.

Started by Rai, September 16, 2011, 07:25:44 PM

Previous topic - Next topic

Rai

Good evening, first time poster here :)

    As i was searching for a IDE to move from DEV C++, pal of mine advised me Code::Blocks. It's so awesome it can even use my DEV projects. Yet, there's a problem i encountered and it drivers me nuts...

    Whenever i compile and run my code, it starts making connections to internet. To be more precise - addressees it tries to access are random each time. My code has no networking functionality whatsoever.

    I use SDL and OpenGL libraries. I even tried scanning my pc for viruses >.>

    Has anyone ever encountered similar problem? All help is appreciated!
   
    P.S. Somehow this never happened on DEV

ouch

what compiler are you using?

what's one of the addresses?

that sounds a lot like a virus attaching itself to an exe.

but if I recall one of microsofts past "free" compilers produced exe's that contacted microsoft servers for reasons uknown.

Rai

Quote from: ouch on September 16, 2011, 08:12:37 PM
what compiler are you using?

what's one of the addresses?

that sounds a lot like a virus attaching itself to an exe.

but if I recall one of microsofts past "free" compilers produced exe's that contacted microsoft servers for reasons uknown.

GNU GCC

IP's are
224.0.0.253
224.0.0.252
239.255.255.250

Tried pinging those, no response.

I was thinking about virus myself, but antivirus found nothing suspicious in my file, sent it to couple of my friends, same there...


Edit: Okay, it seems that all "projects" which use some sort of message pools make connections to internet, since only Console apps thus far where okay...

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Rai

Quote from: MortenMacFly on September 16, 2011, 09:30:31 PM
Version, platform please? Active plugins?

Oh sorry, forgot to mention those.

Code::Blocks 10.05
Windows 7

Plugins... none of which i know :X

ouch


Rai

Quote from: Rai on September 16, 2011, 07:25:44 PM

   I use SDL and OpenGL libraries.


SDL.h
glut.h


Edit: Libraries do not matter, because even this code
#include <iostream>

using namespace std;

int main()
{
   while(1)
   {
   }
    return 0;
}


tries to open a connection

compiler doesn't matter either, tried different one, same result


And no one can find any viruses in my apps X_X

Edit2: Ugh, seems same problem persists with other fresh compiled project, no mater what IDE i use... Oh well, at least its good to know its not code issue...

ouch

Those addresses look like local calls so I googled one:

And indeed they are. they are part of windows Link-Local Multicast Name Resolution (LLMNR).

http://www.tech-archive.net/Archive/Vista/microsoft.public.windows.vista.networking_sharing/2009-01/msg00456.html

and the wikipedia article:

http://en.wikipedia.org/wiki/Link-local_Multicast_Name_Resolution

isn't microsoft fun? lol

Rai

Quote from: ouch on September 17, 2011, 12:59:39 AM
Those addresses look like local calls so I googled one:

And indeed they are. they are part of windows Link-Local Multicast Name Resolution (LLMNR).

http://www.tech-archive.net/Archive/Vista/microsoft.public.windows.vista.networking_sharing/2009-01/msg00456.html

and the wikipedia article:

http://en.wikipedia.org/wiki/Link-local_Multicast_Name_Resolution

isn't microsoft fun? lol


:| Not really :|

Thanks for clarification