LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2014, 09:35 PM   #1
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Rep: Reputation: 3
wpad.dat and 404 errors


i have the following show up in my http logs constantly:

Code:
75.189.254.23 - - [19/Feb/2014:22:09:42 -0500] "GET /wpad.dat HTTP/1.1" 404 206 "-" "Mozilla/5.0 (compatible; IE 11.0; Win32; Trident/7.0)"

this is on a shared web server.

here are my problems:

1) i have no idea what wpad.dat means ... i know it's a web proxy protocol but i have no idea what that really means

2) i do not know what website this is really originating from since this server has 30+ websites hosted on it

3) the web hosting environment is new to me and i'm really trying to understand it all

is there a short, precise, and to the point answer and solution for this?

this web server is constantly generating nagios alerts for load average being high and i'm trying to figure out the root cause.

i think it's really an accumulation of little things like this that is contributing to the overall problem. i recently installed an ossec agent on this server to help fend off all the brute force attacks it's been receiving ... i have all the ip addresses for failed ssh/ftp attempts locked out for 72 hours and that seems to have helped with our alerts but i really would like to figure this wpad.dat issue out.
 
Old 02-20-2014, 07:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you didn't just stick "wpad.dat" into google? There's plenty of information about it, wikipedia is top with all the information you should need.

Ultimately, it's what IE will request from it's default domain's web server when set to "auto configure proxy" in internet options. So i guess someone what owns myawesomesite.com also uses that domain in their ... office?

if you had better apache logging set up, you'd be logging each virtualhost to its own log file so seeing what site it was should be trivial. You can easily watch a tcpdump or something to grab the request off the wire, however as this isn't urgent, just improve your apache logging in the first place so you have a nice way to find out which domain it is.
 
Old 02-20-2014, 08:19 AM   #3
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Original Poster
Rep: Reputation: 3
of course i searched google for it but i like coming here for a few reasons.

- the input here reinforces what i'm trying to grasp from the multitude of google results

- i get lost in that huge information forest to the point it gets frustrating

- the posts here on this forum are pretty much posts regarding someone's experience and exactly how they fixed the problem and not theorycrafting ...

- when i have questions regarding information, i get to ask for clarification and not going continue searching online for it


i do like the idea of setting up better logging. is that set up in each website's htaccess file?
 
Old 02-20-2014, 09:51 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
don't think it can go in there, should only be in the virtualhost declaration in httpd.conf or any other directly included file.
 
  


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
[SOLVED] SSL on Lighttpd - 404 errors Joe of Loath Linux - Server 1 10-25-2013 02:39 PM
[SOLVED] proxy.pac or wpad.dat question. jefro Programming 5 03-16-2012 03:14 AM
what is wrong in my configuration in squid + dhcp3 + iptables + wpad.dat bideshp Linux - Networking 3 09-06-2009 05:42 PM
Yast S/W update and wpad.dat for proxy settings ithawtewrong SUSE / openSUSE 0 05-19-2008 04:52 PM
I want to use wget configured with a wpad.dat proxy... stardotstar Linux - Networking 2 04-22-2008 05:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:13 PM.

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