Incorrectly reporting activity on port 80 when using x11rdp

Bug #1097902 reported by Jeremia Mörling
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
powernap
New
Undecided
Unassigned

Bug Description

I have configured powernap with a TCPMonitor on port 80 among other things.
Powernap reports activity on that port even if apache is stopped and netstat doesn't show any connections on port 80. It seems to only happen if I have a logged in session to x11rdp (I'm using gnome as desktop). I do not need to be connected via rdp for it to happen, the desktop session only needs to be running.
I'm running Ubuntu 12.10 server.
Powernap version: 2.17-0ubuntu2

Part of config (/etc/powernap/config):
[TCPMonitor]
http = 80

Part of log:
jeremia@JERREMARRE-SERVER:~$ tail -f /var/log/powernap.log
2013-01-09_20:32:02 DEBUG Sleeping [5] seconds
2013-01-09_20:32:07 DEBUG Examining Monitors
2013-01-09_20:32:07 DEBUG Looking for [http] TCPMonitor
2013-01-09_20:32:07 DEBUG Activity found, reset absent time [0/1800]
2013-01-09_20:32:07 DEBUG Sleeping [5] seconds

Netstat:
jeremia@JERREMARRE-SERVER:~$ netstat -nt | col4 | col2 : | sort -nu

22
139
35596
56244
56245
56246
56250
60250
60252

I'm quite new to Linux, so I might have missed something...

description: updated
summary: - Incorrectly reporting activity on port 80
+ Incorrectly reporting activity on port 80 when using x11rdp
description: updated
Revision history for this message
Alessandro Wilner (awilner) wrote :

Jeremia, it might be that powernap is detecting an outgoing connection to another host's http port. I'm having this problem also, but don't know whether this is the intended behaviour or a bug. Anyway, in the meantime, I modified my TCPMonitor.py to check only for the local ports (modified the netstat call with a pipe to awk).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.