It is currently Mon, 27 Jun 2022 11:22:04 GMT



 
Author Message
 Logging connections and HTTP requests
I have a firewall (RedHat 6.2 with ipchains and NAT) that protects 2 web
servers with virtuals domains.
Is it possible (and how) to log :
- the HTTP requests sent to my web servers thru the firewall (without using
the logging system of the web servers)
- the IP addresses of the source, IP address of the destination, the port
being used (ie "source" --> "destination" using "Port" at "Date")

Thanks,
Thierry.



 Tue, 15 Oct 2002 03:00:00 GMT   
 Logging connections and HTTP requests

ipchains -I input -d webserver 80 -p tcp -y -l -j ACCEPT

Expect something a bit like
Apr 25 16:47:10 thyme kernel: Packet log: input REJECT eth0 PROTO=6 10.0.3.1:46850 10.0.3.2:113 L=44 S=0x00 I=54899 F=0x4000 T=253 SYN (#2)

for your results.

~Tim
--
| Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++
| w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y-          
| The sun is melting over the hills,         | http://piglet.is.dreaming.org/
| All our roads are waiting / To be revealed | pig...@glutinous.custard.org



 Tue, 15 Oct 2002 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. shell script to log http request

2. HTTP request header log.

3. log file of http requests

4. Connection: close HTTP header sent with every request

5. Log TCP/IP connection requests?

6. Apache Proxy server that will transform an HTTP request in a HTTPS request

7. Can't process http/1.0 requests or proxy requests

8. http request from client to boa webserver

9. How do i Re-direct specific http request to another gateway


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software