LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-10-2005, 04:41 AM   #1
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Why does my PC talk unprompted to mandriva via tcp to ns2.moondrake.net.


Hi,

My PC dialogues with ns2.moondrake.net without me knowing why or requesting any data.
When this happens, I have no browser started, no special application either.
I use mandriva LE2005.

Does anybody know why? Has anybody noticed that?


The best way to see that happens is to have the network monitoring graph on,
while the cat5 cable from the cable modem is unplugged. There is only a udp chatter
between the router and PC. About 8 sec after plugging the cable I get this tcp connection
to madriva (see below) the chatter is relatively small, but why is it there?

I have a cable connection going to a router (with integrated firewall), then to eth0.
The PC also runs shorewall.

# nslookup 212.85.150.181
Non-authoritative answer:
181.150.85.212.in-addr.arpa name = ns2.moondrake.net.

shorewall monitor (example output)

tcp 6 105 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=37876 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=37876 packets=3 bytes=168 [ASSURED] mark=0 use=1
tcp 6 75 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=37870 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=37870 packets=3 bytes=168 [ASSURED] mark=0 use=1
tcp 6 115 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=37878 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=37878 packets=3 bytes=168 [ASSURED] mark=0 use=1
tcp 6 90 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=37873 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=37873 packets=3 bytes=168 [ASSURED] mark=0 use=1
tcp 6 71 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=59669 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=59669 packets=3 bytes=168 [ASSURED] mark=0 use=1
tcp 6 110 TIME_WAIT src=192.myipaddress dst=212.85.150.181 sport=37877 dport=80 packets=4 bytes=216 src=212.85.150.181 dst=192.myipaddress sport=80 dport=37877 packets=3 bytes=168 [ASSURED] mark=0 use=1

Thanks
regards
 
Old 07-10-2005, 07:16 AM   #2
tuxhdtv
LQ Newbie
 
Registered: Jul 2005
Location: St Petersburg, FL
Distribution: Mandrival 2005 LE
Posts: 4

Rep: Reputation: 0
They are reporting your user statistics directly to Microsoft, Inc. This will be used to make the Windows XP successor more like Linux.

jk
 
Old 07-10-2005, 10:08 PM   #3
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
The site links to Mandriva NOT microsoft!
 
Old 07-11-2005, 01:02 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Original Poster
Rep: Reputation: 53
I thought the title of the email was clear

http://www.mandriva.com/ is aliased to
ns2.moondrake.net (or vice-versa depending how you see it)

I thought tuxhdtv you were just being funny/sarcastic.

Anyway, I have not even managed to tell which process
is doing the talking. I did a diff on ps -A, that was not enough to tell
which process does talk to mandriva. Maybe net_monitor (I have
the connection rate displayed in that window)?
 
Old 07-11-2005, 06:26 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Code:
netstat -np
Now look for the source port number (eg 37876 for your first one) that matches one of the lines of shorewall output
 
Old 07-17-2005, 09:05 AM   #6
tuxhdtv
LQ Newbie
 
Registered: Jul 2005
Location: St Petersburg, FL
Distribution: Mandrival 2005 LE
Posts: 4

Rep: Reputation: 0
Sorry, I just couldn't keep my sarcasm to myself. I will attempt to refrain in the future.
 
Old 07-22-2005, 12:26 PM   #7
Stumbes
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
I have the same question has emmanuel, my rather new installation (mandrake 10.1) start dialing
XXX.XXX.X.XX,37343 -> 212.85.150.181,www
as reported by my firewall (xxx stand for my private network address). I would have control of when and what call the Web and I'm suspicius about this kind of self communication.
But... I don't know how to stop it.

May I admit that what decided me to trow up the Window installation on this new PC was the constant unwanted web connexion ?.

THanks if anyone can help !

Last edited by Stumbes; 07-22-2005 at 12:36 PM.
 
Old 07-23-2005, 04:17 AM   #8
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
If you have the Mandriva/Mandrake online tools running it periodically tests your network connection (using a ping) and checks for updates. This will show up in your firewall logs as a connection to ns2.moondrake.net.
 
Old 07-23-2005, 06:13 AM   #9
Stumbes
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
Could you tel me how I can check this (eventualy by way of a tutorial or a FAQ, I feel it's a typical newbie question)

I would stop these kind of unwanted connexion, and control updates....
 
Old 07-24-2005, 02:49 AM   #10
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I would stop these kind of unwanted connexion, and control updates
Right click on the mandrivaonline icon in on your panel (ie. near the clock). Deselct the 'run at startup' type option. Right click it again and click exit.

Remember to use MandrakeUpdate (in the control centre) regularly so you get updates.
 
Old 07-24-2005, 10:37 AM   #11
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Quote:
They are reporting your user statistics directly to Microsoft, Inc. This will be used to make the Windows XP successor more like Linux.

jk
Hahah thats funny
 
Old 10-02-2005, 05:39 AM   #12
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Original Poster
Rep: Reputation: 53
Hi, the culprit is net_monitor

netstat -cpe -u --numeric-ports
gave me the pid of the perl code using the port I was monitoring.
I used ethereal to capture a few packets and check what was going on.

In short, I found that /usr/sbin/net_monitor was doing the pings to mandrakesoft.com
/usr/sbin/net_monitor uses a sub called test_connected
It was a bit difficult to find but
test_connected is in /usr/lib/libDrakX/network/tools.pm
and uses a sub called check_link_beat (this does the ping and mandrakesoft.com is in clear there)
Also there is
sub connected() { gethostbyname("mandrakesoft.com") ? 1 : 0 }
which is a very short sub

So it is not mandrivaonline (although it probably works the same)

What I want to do now is change the periodicity of the pings.
I could not find out in /usr/sbin/net_monitor what to change.
The code was not clear enough for a slow mind like mind.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NS2.26/TCP installation error? japz20 Linux - Newbie 6 01-16-2013 03:27 AM
Ns2 ConfusedMonkey Linux - Software 3 10-05-2005 11:32 AM
talk talk daemon configuration ananthkrk Red Hat 1 10-16-2004 11:45 AM
Why can't I talk to my ISP but can get anywhere else on the net..? mr_matti Linux - Networking 24 01-11-2004 02:46 PM
via TCP or NET USE faster ? cccc Linux - Networking 0 10-08-2003 04:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration