Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-30-2010, 11:03 AM
|
#1
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Rep:
|
track VPN requests
I have a proxy server with all relevant logs compiled by SARG.
I also have a VPN but am not sure how to go about creating logs of http access requests or any other requests from openVPN - any ideas?
Also, would the overhead created be too much?
|
|
|
06-01-2010, 04:31 AM
|
#2
|
Member
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119
Rep: 
|
It would be fairly intensive to monitor http requests on a VPN as you'd have to examine each packet coming through. Have you considered installing Squid (an http proxy) and then setting it up as a transparent proxy so that all http requests pass through it? You could then use the various logs for squid to do what you want
|
|
|
06-01-2010, 04:40 AM
|
#3
|
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
|
Quote:
Originally Posted by huwnet
It would be fairly intensive to monitor http requests on a VPN as you'd have to examine each packet coming through. Have you considered installing Squid (an http proxy) and then setting it up as a transparent proxy so that all http requests pass through it? You could then use the various logs for squid to do what you want
|
+1 yes, by doing this you will see all web browsing.
You just need to make sure that the IP's on the VPN traffic stay the same so you can track back the users?
|
|
|
06-01-2010, 06:07 AM
|
#4
|
Member
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119
Rep: 
|
Quote:
You just need to make sure that the IP's on the VPN traffic stay the same so you can track back the users?
|
I hadn't thought of this, but you'd certainly need to do this. Alternatively if your VPN is using RADIUS authentication/accounting you may be able to use RADIUS with squid too
|
|
|
06-01-2010, 07:52 AM
|
#5
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Quote:
Originally Posted by linuxgurusa
+1 yes, by doing this you will see all web browsing.
You just need to make sure that the IP's on the VPN traffic stay the same so you can track back the users?
|
Each VPN client has a different IP although they are of the same 17.x.x.x variety.
At the moment my squid uses NCSA auth so not sure how I could apply a logon for the VPN?
|
|
|
06-01-2010, 07:57 AM
|
#6
|
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
|
Quote:
Originally Posted by qwertyjjj
Each VPN client has a different IP although they are of the same 17.x.x.x variety.
At the moment my squid uses NCSA auth so not sure how I could apply a logon for the VPN?
|
Howdy Bud
If your users are authenticating, then you should see the usernames when you run a browsing report, whether they are in or outside the VPN, so problem solved there then !
|
|
|
06-01-2010, 08:17 AM
|
#7
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Quote:
Originally Posted by linuxgurusa
Howdy Bud
If your users are authenticating, then you should see the usernames when you run a browsing report, whether they are in or outside the VPN, so problem solved there then !
|
Well, they authenticate through using a cert.
But they are not given a proxy auth, I suppose I could ask them to but the proxy is not set up for transparency and can't be because of the separate proxy users using ncsa.
Also, I guess opening up the VPN to all traffic means it COULD be used for something that I cannot log
|
|
|
06-10-2010, 06:01 PM
|
#8
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Any ideas?
|
|
|
All times are GMT -5. The time now is 08:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|