March 18, 2010

Want to send an email when a port is used

Forums: 

Hi everyone,

Unusual request that Google hasn't been able to help with.

I have VMWare running on my Debian box that has XP-Pro as a guest OS. The guest OS will only be connected to through normal Windows remote desktop.

I want to fire myself an email when the RDC client connects (and ideally disconnects), so I was hoping to setup a monitor in Debian that can fire me a mail through mutt or something that mails me when the 3389 port is accessed.

Is this possible or am I looking at it the wrong way?

TIA

Joe