Logging network activity of LAMP server using BASH
Posted
by Yarin
on Server Fault
See other posts from Server Fault
or by Yarin
Published on 2010-04-29T15:53:17Z
Indexed on
2010/04/29
15:57 UTC
Read the original article
Hit count: 570
I've got a Fedora LAMP server on Amazon EC2 functioning as a HTTP pseudo-proxy (Sorry, don't know the terminology- It's not a true proxy where requests are relayed through apache, rather client requests are being translated by a PHP script, which then sends a new request.)
I'd like to be able to fully log the HTTP cycle
- CLIENT -> PROXY
- PROXY -> SERVICE
- SERVICE -> PROXY
- PROXY -> CLIENT
I'm hoping to do this using BASH tools- thinking netcat? Looking for advice and examples. Thanks!
© Server Fault or respective owner