How to Watch My Proxy Logs?

Discussion in 'General Business' started by gpearce, Mar 20, 2008.

  1. #1
    I've got a few proxies, and I've been reading all these horror stories about people getting into massive trouble for child porn and such, cna anyone give me a clue as to where to look for logs on my server to see what has been accessed, and by whom?
    Thanks
     
    gpearce, Mar 20, 2008 IP
  2. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #2
    you can mostly check your web server stats such as webstats, awstats, weblizer or stats program enabled on your server. It should tell which sites are accessed. If you have own server, vps or reseller, you can probably check apache logs or apache proccesses. Minaly it will only show ip and accessed site(s)
     
    kaung, Mar 20, 2008 IP
  3. gpearce

    gpearce Active Member

    Messages:
    1,432
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #3
    heh, the server is running DirectAdmin, I don't think there is AwStats on there, and when it was on cPanel, i never saw anything about cURL access logs :p
    heh
     
    gpearce, Mar 20, 2008 IP
  4. llamafier

    llamafier Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The glype proxy script has a logging feature. It records the IP, date, site accessed etc all nicely inside a text file. ;)
     
    llamafier, Mar 20, 2008 IP
  5. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #5
    can you tell me your server & script info?
    apache or lightspeed? version
    vps or dedi with what priveleges? root access?
    your proxy script type: glype, php, etc..?
     
    kaung, Mar 20, 2008 IP
  6. gpearce

    gpearce Active Member

    Messages:
    1,432
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #6
    llamafier - if you can explain how I use it (setup.php ; or is it a plugin) i'd be really ,really grateful.
    it's apache, I'm just a client account, and I've got PHProxy and Glype running on a few proxies, but if i can track wiht glype, then i'll move them all to that..
     
    gpearce, Mar 20, 2008 IP
  7. llamafier

    llamafier Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It is really simple, just go into the setup script and theres a thing that says logging. Put in the directory you wish to place the logs in and CHMOD that directory to 777. Make sure the directory is above your webroot, so people can't view your logs. There is a thing that says "log all requests" but if you enable that it will log every single thing and it is WAY too much, so probably don't want to do that.
     
    llamafier, Mar 20, 2008 IP
  8. gpearce

    gpearce Active Member

    Messages:
    1,432
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #8
    Thanks, what would you suggest me logging, then?
    I can afford to log everything, cos i'll just download it :p
    -G
     
    gpearce, Mar 21, 2008 IP
  9. llamafier

    llamafier Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Just do the basic amount, you don't need to log every request. It still shows enough.
     
    llamafier, Mar 21, 2008 IP
    gpearce likes this.
  10. gpearce

    gpearce Active Member

    Messages:
    1,432
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #10
    hm, ok. Much appreciated, I'll give it a blast, and see how it goes.
    +repped :)
     
    gpearce, Mar 21, 2008 IP