title: Get active connected IPs to server
body: <p>I'm serving downloads from my server and I need to know if it is possible to get the connected clients and look if their download is still in progress.</p>
  
  <p>So is it possible to get a list of outgoing connections, for example like iptraf, just in PHP or so?</p>
  
  <p>If not, how is it possible look it up on Linux, like iptraf is doing it?</p>
  
  <p>My server system is, debian with nginx.</p>