Author Topic: Compiled source starts making random connections to internet.  (Read 5923 times)

Offline Rai

  • Single posting newcomer
  • *
  • Posts: 6
Compiled source starts making random connections to internet.
« 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

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Compiled source starts making random connections to internet.
« Reply #1 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.

Offline Rai

  • Single posting newcomer
  • *
  • Posts: 6
Re: Compiled source starts making random connections to internet.
« Reply #2 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...
« Last Edit: September 16, 2011, 09:10:13 pm by Rai »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Compiled source starts making random connections to internet.
« Reply #3 on: September 16, 2011, 09:30:31 pm »
Version, platform please? Active plugins?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Rai

  • Single posting newcomer
  • *
  • Posts: 6
Re: Compiled source starts making random connections to internet.
« Reply #4 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

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Compiled source starts making random connections to internet.
« Reply #5 on: September 16, 2011, 09:51:55 pm »
what libraries are you using?

Offline Rai

  • Single posting newcomer
  • *
  • Posts: 6
Re: Compiled source starts making random connections to internet.
« Reply #6 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...
« Last Edit: September 16, 2011, 11:36:05 pm by Rai »

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Compiled source starts making random connections to internet.
« Reply #7 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

Offline Rai

  • Single posting newcomer
  • *
  • Posts: 6
Re: Compiled source starts making random connections to internet.
« Reply #8 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