LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-17-2014, 06:16 PM   #16
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,278

Rep: Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346

This thread about how to get a command-line tool to work with a properly-set-up proxy should give you an idea:

https://github.com/npm/npm/issues/6007

HTTP requests have a user agent identifying the software that made the requests. The user agent information is sent with every request. If you go here:

http://whatsmyuseragent.com/

Then you can see what user agent your browser sent.

Things like the "user agent" wikipedia article will tell you more.

So: you have a proxy that all of your users' HTTP requests go through. That proxy can look inside each HTTP request and when it does, it can see the HTTP request's user agent. If your proxy finds a a request that doesn't have a user agent, or that has a user agent that isn't a browser, then you have the proxy block the request.
 
1 members found this post helpful.
Old 12-18-2014, 06:59 AM   #17
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
Dear Sir,
I really appreciate your help. now I have understood the point, still there is one problem, do you have any document that describes the way to add whitelist user agents and deny all so that my admin can implement it, as they are not ready to hand it over to me. I know that's too much to ask. We are using squid 3.

Best Regards,
nm
 
Old 12-31-2014, 06:01 AM   #18
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Original Poster
Rep: Reputation: 14
Dear all,
I am marking this thread as solved, If you find any other solution to this problem then post it here or have any other idea please share it.

best regards,
nm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Systematic method for troubleshooting low sound astrogeek Slackware 5 08-05-2010 12:40 AM
Downloading Raakh Linux - Newbie 2 07-12-2007 04:32 AM
help for downloading megadsonic Mandriva 2 04-02-2006 11:40 AM
systematic flaws jamaso General 3 02-08-2003 08:52 PM
downloading monkeyjiann Linux - Newbie 5 01-31-2002 02:37 PM

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

All times are GMT -5. The time now is 10: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