Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-24-2006, 02:19 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2005
Posts: 25
Rep:
|
Why is there a python listening on port 32769?
I used netstat and lsof to find which daemons listening on some ports and found that python is listening on port 32769 although it is a loopback. Anyone knows what that is?
cwh
|
|
|
|
07-24-2006, 03:00 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
No, though netstat should show the PID of the process, which you can lookup in /proc/<pid>/ to learn more about the process in question.
|
|
|
|
07-24-2006, 09:39 PM
|
#3
|
|
Senior Member
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249
Rep:
|
Its nothing to worry about. I once read what this is and why its there, but it slips me at the moment. Alot of firewalls will actually try to ban Python, but its not sending or recieving about you over the internet. Don't block it and don't worry about it.
|
|
|
|
07-25-2006, 01:33 PM
|
#4
|
|
LQ Newbie
Registered: Sep 2005
Posts: 25
Original Poster
Rep:
|
The ps line of python process indicated /usr/sbin/hpssd
Actually, I installed sarge by default installation. Also, added the following:
desktop environment
alsa and sound-juicer
hplip (it depends on cups, samba)
firestarter firewall
mozilla-firefox and -thunderbird
Probably hpssd belongs to hplip (hp printer driver) I have not checked yet.
If that is the case, hplip might be the culprit.
cwh
|
|
|
|
07-25-2006, 04:47 PM
|
#5
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Code:
dpkg-query -S /usr/sbin/hpssd
Should reveal your culprit. 
|
|
|
|
09-16-2006, 04:45 PM
|
#6
|
|
LQ Newbie
Registered: Jun 2004
Distribution: PCLinuxOS
Posts: 16
Rep:
|
I have the same problem:
python keeps listening on a random (open!) port. why?!
Code:
# netstat -nlp -A inet
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:4746 0.0.0.0:* LISTEN 2205/python
tcp 0 0 127.0.0.1:3828 0.0.0.0:* LISTEN 2193/hpiod
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2285/cupsd
udp 0 0 0.0.0.0:68 0.0.0.0:* 3537/dhclient
udp 0 0 224.0.1.1:123 0.0.0.0:* 2955/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 2955/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 2955/ntpd
Code:
# nmap -PS/PA/PU -p1-65535 -sV --osscan-guess localhost
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-09-17 00:17 EEST
Interesting ports on localhost (127.0.0.1):
Not shown: 65532 closed ports
PORT STATE SERVICE VERSION
631/tcp open ipp CUPS 1.1
3828/tcp open hpiod HP Linux Imaging and Printing System
4746/tcp open unknown
after a reboot python is listening on other ports
Code:
# netstat -nlp -A inet
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:4323 0.0.0.0:* LISTEN 2195/hpiod
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2287/cupsd
tcp 0 0 127.0.0.1:4281 0.0.0.0:* LISTEN 2207/python
udp 0 0 0.0.0.0:68 0.0.0.0:* 2496/dhclient
udp 0 0 224.0.1.1:123 0.0.0.0:* 3341/ntpd
udp 0 0 localhost:123 0.0.0.0:* 3341/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 3341/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 3341/ntpd
Code:
# nmap -PS/PA/PU -p1-65535 -sV --osscan-guess localhost
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-09-19 16:52 EEST
Interesting ports on localhost (127.0.0.1):
Not shown: 65532 closed ports
PORT STATE SERVICE VERSION
631/tcp open ipp CUPS 1.1
4281/tcp open unknown
4323/tcp open hpiod HP Linux Imaging and Printing System
Last edited by zapotek; 09-19-2006 at 08:55 AM.
|
|
|
|
09-22-2006, 03:55 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2004
Distribution: PCLinuxOS
Posts: 16
Rep:
|
python listening on google?
it seems that python is listening on google, and hpiod to 81.196.193.137 (port 80)
here it is:
# netstat -pant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:1127 0.0.0.0:* LISTEN
2206/python
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 2286/cupsd
tcp 0 0 127.0.0.1:5627 0.0.0.0:* LISTEN 2194/hpiod
tcp 0 0 localhost:4469 81.196.193.137:80 ESTABLISHED 4488/mozilla-firefo
tcp 0 0 localhost:3212 72.14.221.99:80 ESTABLISHED 4488/mozilla-firefo
tcp 0 0 localhost:5209 81.196.193.161:80 ESTABLISHED 4488/mozilla-firefo
tcp 0 0 localhost:3339 72.14.221.147:80 ESTABLISHED 4488/mozilla-firefo
tcp 0 0 localhost:3381 72.14.221.147:80 ESTABLISHED 4488/mozilla-firefo
tcp 0 0 127.0.0.1:5627 127.0.0.1:1233 ESTABLISHED 2194/hpiod
tcp 0 0 127.0.0.1:1233 127.0.0.1:5627 ESTABLISHED 2206/python
tcp 0 0 localhost:5890 72.14.221.104:80 ESTABLISHED 4488/mozilla-firefo
tcp 71804 0 localhost:4229 88.191.28.249:8000 ESTABLISHED 4394/amarokapp
Last edited by zapotek; 09-22-2006 at 04:01 AM.
|
|
|
|
09-22-2006, 09:43 AM
|
#8
|
|
Senior Member
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249
Rep:
|
Quote:
|
Originally Posted by Penguin of Wonder
Its nothing to worry about. Don't block it and don't worry about it.
|
E-mail the Python Foundation if your that concerned.
|
|
|
|
09-22-2006, 10:09 AM
|
#9
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
I don't see either python or hpiod touching anything outside your system... both of their lines from netstat indicate loopback connections.
|
|
|
|
09-22-2006, 10:55 AM
|
#10
|
|
Moderator
Registered: May 2001
Posts: 24,964
|
Open files from running "lsof" on the Python PID could reveal what it's used for.
Its nothing to worry about. I once read what this is and why its there, but it slips me at the moment.
If you don't have a clue, why not skip posting?
Alot of firewalls will actually try to ban Python
W/o a list of FW's that do that and their valid reasons why that statement sounds like male bovine excrement to me. With all due respect, of course.
|
|
|
|
09-22-2006, 08:10 PM
|
#11
|
|
Senior Member
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249
Rep:
|
Quote:
|
Originally Posted by unSpawn
Open files from running "lsof" on the Python PID could reveal what it's used for.
Its nothing to worry about. I once read what this is and why its there, but it slips me at the moment.
If you don't have a clue, why not skip posting?
Alot of firewalls will actually try to ban Python
W/o a list of FW's that do that and their valid reasons why that statement sounds like male bovine excrement to me. With all due respect, of course.
|
Since you "work" here, I'll spare you the rude reply. :-)
|
|
|
|
10-23-2006, 01:27 AM
|
#12
|
|
LQ Newbie
Registered: Oct 2006
Posts: 1
Rep:
|
thanks for the tips.
I think that belongs to the HP Linux Printing and Imaging System (hpilp) process(es).
After I removed it (since I don't don't to print), the process was gone from netstat.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|