Incorrectly reporting activity on port 80 when using x11rdp
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/
[TCPMonitor]
http = 80
Part of log:
jeremia@
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@
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 |
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).