Code::Blocks Forums

User forums => Help => Topic started by: Rai on September 16, 2011, 07:25:44 pm

Title: Compiled source starts making random connections to internet.
Post by: Rai on September 16, 2011, 07:25:44 pm
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
Title: Re: Compiled source starts making random connections to internet.
Post by: 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.
Title: Re: Compiled source starts making random connections to internet.
Post by: Rai on September 16, 2011, 08:19:31 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...
Title: Re: Compiled source starts making random connections to internet.
Post by: MortenMacFly on September 16, 2011, 09:30:31 pm
Version, platform please? Active plugins?
Title: Re: Compiled source starts making random connections to internet.
Post by: Rai on September 16, 2011, 09:43:37 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
Title: Re: Compiled source starts making random connections to internet.
Post by: ouch on September 16, 2011, 09:51:55 pm
what libraries are you using?
Title: Re: Compiled source starts making random connections to internet.
Post by: Rai on September 16, 2011, 10:03:48 pm

    I use SDL and OpenGL libraries.


SDL.h
glut.h


Edit: Libraries do not matter, because even this code
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...
Title: Re: Compiled source starts making random connections to internet.
Post by: 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
Title: Re: Compiled source starts making random connections to internet.
Post by: Rai on September 17, 2011, 04:38:11 pm
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