1
I would like to monitor packets using TCPdump. Sadly, I must do this remotely - in this case, I'm using a remote desktop from VNC, but at best I can do it over SSH.
What I mean by "at best" is: I am seeing a huge number of packets that are directed at my own machine. I'm trying to monitor the server, not my local machine, so I'd really rather ignore any packets going to my own machine.
Is there any way to make tcpdump report everything EXCEPT packets going to a certain I.P?
My hacky solution is: sleep 5;tcpdump [options]
and kill the VNC connection while I'm waiting.
Should ! be escaped in bash? – Basilevs – 2014-09-24T14:43:52.317
@Basilevs No, there is no need to escape ! – MariusMatutiae – 2014-09-24T22:12:26.000