Saturday, June 20, 2020

Monitor network traffic for a particular url (or set of urls)

I have a small network, and I am trialling ideas on user traffic. I would like to completely block certain sites, but I would like to see if particular sites are being accessed first.

Is there a way I can monitor network (lan) traffic from lets say, one of my servers?

Ideally I'd like to write something up that monitors traffic and sends me a notification of the ip address and when that url was accessed? I'm sure that can be done with either a python or shell script, but I'm not entirely sure where to start. I was thinking of using slack for the notification service but I'm open to better and easier options.



No comments:

Post a Comment