title: How to see all Request URLs the server is doing (final URLs)
body: <p>How list from the command line URLs requests that are made from the server (an *ux machine) to another machine.</p>
  
  <p>For instance, I am on the command line of server <strong>ALPHA_RE</strong> .
  I do a ping to google.co.uk and another ping to bbc.co.uk
  I would like to see, from the prompt :</p>
  
  <p>google.co.uk
  bbc.co.uk</p>
  
  <p>so, not the ip address of the machine I am pinging, and NOT an URL from servers that passes my the request to google.co.uk or bbc.co.uk , but the actual final urls.</p>
  
  <p>Note that only packages that are available on normal ubuntu repositories are available - and it has to work with command line</p>
  
  <p><strong>Edit</strong>
  The ultimate goal is to see what API URLs a PHP script (run by a <em>cronjob</em>) requests ; and what API URLs the <em>server</em> requests 'live'.
  These ones do mainly GET and POST requests to several URLs, and I am interested in knowing the params :</p>
  
  <p>Does it do request to :</p>
  
  <pre><code>foobar.com/api/whatisthere?and=what&amp;is=there&amp;too=yeah
  </code></pre>
  
  <p>or to :</p>
  
  <pre><code>foobar.com/api/whatisthathere?is=it&amp;foo=bar&amp;green=yeah
  </code></pre>
  
  <p>And does the cron jobs or the server do any other GET or POST request ?
  And that, regardless what response (if any) these API gives.</p>
  
  <p>Also, the API list is unknown - so you cannot grep to one particular URL.</p>
  
  <p><strong>Edit:</strong>
  (OLD ticket specified : Note that I can not install anything on that server (no extra package, I can only use the "normal" commands - like tcpdump, sed, grep,...) // but as getting these information with tcpdump is pretty hard, then I made installation of packages possible)</p>