LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2005, 02:26 AM   #1
jerrytw
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
What program can record of download file ?


I want to record which IP address via port 80 to download file ;moreover
I am also to get what file be download.

(This computer act as Gateway server ,so all client will through it to Internet.)

For example:
The computer (192.168.1.1) from website to download file as *.zip or *.rar. I want to get a log file type such as 192.168.1.1 *** port 80 *** swi.zip.

What program can provide these functions ?

Thanks a lot.

Last edited by jerrytw; 01-11-2005 at 02:29 AM.
 
Old 01-11-2005, 03:27 AM   #2
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
Set up a simple proxy server (e.g. tinyproxy, small, fast, secure, highly configurable) and redirect all forwarded traffic addressed to port 80 to localhost:proxy_port, and the proxy can log all what you want. (do not forget to reconfigure external firewall rules to deny direct access to your proxy for security reasons)

(e.g. with IPTables:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128)

Another interesting feature could be that you can write a script that is being called throug cron for example, where you add or delete filter rules so you can specify time intervals when you deny e.g. big files, or access to specified servers, etc, etc... the possibilities are endless...

Last edited by bbk; 01-11-2005 at 03:32 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write a program to record audio in linux using c stephenwalter Programming 3 07-09-2012 07:20 PM
whats a good program to backup my master boot record FocusedWolf Linux - General 11 03-15-2005 09:55 PM
c++ file processing -- how to remove a record from a file sharonyiisl Programming 4 09-26-2004 03:54 AM
program to record desktop movement ??? matt_w_lambert Linux - Software 1 05-29-2004 10:02 PM
a program to record audio input matt_w_lambert Linux - Software 4 04-27-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration