LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-27-2016, 05:52 AM   #1
kerszi
LQ Newbie
 
Registered: May 2014
Posts: 12

Rep: Reputation: Disabled
Unlimited connections on port 5228


Hello. I have linux slackware 14.2 kernel 4.4.29, iptables 1.6.0.
I have standard rule in iptables.
Last half year I saw many connections on port 5228. There connections are
from Androids machine like tablets, smarfones, and especially most are from Sony Bravia. There connections are from Google on port 5228
Problem is that connection is open, status is ESTABLISHED even I turn off devices. After few days is 100-1000 unused connections, so I delete it in night, but it's poor solution. Why google's machines makes connection and doesn't close it. Other connections like www, ftp work fine. When I turn off device connection its goes to status CLOSED. What can

It's example from iptstate. Last row is time in hours of keeping connection.

10.x.x.x:53572 64.233.163.188:5228 tcp ESTABLISHED 9:20:16
10.x.x.x:38067 64.233.162.188:5228 tcp ESTABLISHED 14:36:09
10.x.x.x:58414 64.233.162.188:5228 tcp ESTABLISHED 19:34:06
10.x.x.x:51076 64.233.162.188:5228 tcp ESTABLISHED 14:47:26
10.x.x.x:37819 64.233.162.188:5228 tcp ESTABLISHED 23:52:22
10.x.x.x:37225 64.233.162.188:5228 tcp ESTABLISHED 4:16:41
10.x.x.x:34369 64.233.161.188:5228 tcp ESTABLISHED 8:33:46
10.x.x.x:53083 173.194.220.188:5228 tcp ESTABLISHED 10:35:32
10.x.x.x:33581 64.233.161.188:5228 tcp ESTABLISHED 23:42:44
10.x.x.x:45411 64.233.164.188:5228 tcp ESTABLISHED 1:50:33
10.x.x.x:32788 64.233.162.188:5228 tcp ESTABLISHED 0:45:30
10.x.x.x:59684 64.233.165.188:5228 tcp ESTABLISHED 26:34:44
10.x.x.x:39336 64.233.165.188:5228 tcp ESTABLISHED 1:17:20
10.x.x.x:51913 173.194.222.188:5228 tcp ESTABLISHED 0:00:20
10.x.x.x:41902 64.233.165.188:5228 tcp ESTABLISHED 22:47:26
10.x.x.x:35680 64.233.162.188:5228 tcp ESTABLISHED 5:12:47
10.x.x.x:38752 173.194.71.188:5228 tcp ESTABLISHED 5:14:54
10.x.x.x:34181 64.233.162.188:5228 tcp ESTABLISHED 3:48:25
10.x.x.x:38325 64.233.162.188:5228 tcp ESTABLISHED 10:24:02
10.x.x.x:45075 64.233.161.188:5228 tcp ESTABLISHED 13:38:33
10.x.x.x:39640 173.194.220.188:5228 tcp ESTABLISHED 11:13:32
10.x.x.x:45386 64.233.163.188:5228 tcp ESTABLISHED 2:47:23
10.x.x.x:34497 64.233.161.188:5228 tcp ESTABLISHED 18:33:14
10.x.x.x:47087 173.194.222.188:5228 tcp ESTABLISHED 23:27:44
10.x.x.x:34312 173.194.71.188:5228 tcp ESTABLISHED 23:47:25
10.x.x.x:56209 173.194.220.188:5228 tcp ESTABLISHED 24:25:49
10.x.x.x:35651 64.233.165.188:5228 tcp ESTABLISHED 13:32:54
10.x.x.x:40134 64.233.165.188:5228 tcp ESTABLISHED 14:04:11
10.x.x.x:49132 64.233.162.188:5228 tcp ESTABLISHED 3:45:29
10.x.x.x:36529 209.85.233.188:5228 tcp ESTABLISHED 2:22:21
10.x.x.x:48726 64.233.162.188:5228 tcp ESTABLISHED 23:03:28
10.x.x.x:34578 173.194.71.188:5228 tcp ESTABLISHED 20:35:05
10.x.x.x:45617 64.233.165.188:5228 tcp ESTABLISHED 1:32:18
10.x.x.x:51344 64.233.162.188:5228 tcp ESTABLISHED 22:35:33
 
Old 12-27-2016, 08:12 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I did an Openfire xmpp deployment back in June 2014

from http://stackoverflow.com/questions/1...ication-server
The device accesses the GCM servers on ports 5228-5230. If your organization has a firewall that restricts the traffic to or from the Internet,
you'll need to configure it to allow connectivity with GCM. The ports to open are: 5228, 5229, and 5230. GCM typically only uses 5228, but it
sometimes uses 5229 and 5230.

What it means? Don't know. I just recognized the port.
jabber?

Last edited by Habitual; 12-27-2016 at 08:13 AM.
 
Old 12-27-2016, 08:26 AM   #3
kerszi
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Linux is connecting with port 5228, but doesn't close when device is turn off.
 
Old 12-27-2016, 08:32 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You are making connections to Google, not the other way around.
 
Old 12-28-2016, 08:28 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
This port-number is also used for "cloud printing" services, and I idly wonder what your printing subsystem might be doing . . .

Which process has those ESTABLISHED connections? Obviously, someone does. I wonder if it is CUPS.
 
Old 12-29-2016, 02:55 AM   #6
kerszi
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
This port-number is also used for "cloud printing" services, and I idly wonder what your printing subsystem might be doing . . .

Which process has those ESTABLISHED connections? Obviously, someone does. I wonder if it is CUPS.
I don't use any printers
 
  


Reply

Tags
conntrack, google, iptables



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
mysqld running and reading for connections on port 3306, no port 3306 found from scan darkenigmaa Linux - Networking 10 07-13-2016 11:53 AM
Unlimited connection on port 5228 kerszi Slackware 3 03-21-2016 10:33 AM
Help with unwanted connections from port 80 LuggerHouse Linux - Security 2 03-06-2008 10:40 AM
changing xx connections on port gekkie_007 Linux - Newbie 1 10-26-2004 12:45 PM
hot to compile apache for unlimited connections jolly Linux - General 8 12-13-2002 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 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