Monday, March 5. 2007Strange connections to Apache from 127.0.0.1![]() I posted my question to comp.os.linux.security and continued the discussion on the Serendipity mailing list. For the sake of documentation and to provide another spot in the net with a solution, I repeat the posting here: I wondered about strange HTTP connections from 127.0.0.1 appearing in my access.log at irregular times:
CODE: 127.0.0.1 - - [16/Jan/2007:17:25:23 +0100] "GET /" 400 584 "-" "-"
127.0.0.1 - - [16/Jan/2007:17:25:26 +0100] "GET /" 400 584 "-" "-"
What irritated me was that those requests originate locally, are invalid (400 = Bad Request) and have no User-Agent identification string. [...] I finally found out that this ought to be Apache-2.2’s internal dummy connections. They had the above form as long as my Apache-SSL config looked like
CODE: NameVirtualHost *:443
<VirtualHost *:443>
...
</VirtualHost>
Now, I use the IP instead of the ‘*’ and—lo and behold—the requests transform into
CODE: 127.0.0.1 - - [21/Feb/2007:19:08:52 +0100] "GET / HTTP/1.0" 200
3202 "-" "Apache/2.2.3 (Debian) PHP/5.2.0-8 mod_ssl/2.2.3
OpenSSL/0.9.8c (internal dummy connection)"
I didn’t want to spend much time trying to understand what that dummy connections are good for. It seems like Apache2 kills some of its children such that the number of MaxSpareServers isn’t exceeded. And I wasn’t aware that the Apache syntax ‘*:443’ is somehow deprecated.
Posted by Stephan Paukner
in GNU/Linux
at
15:28
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: apache
Trackbacks
Trackback specific URI for this entry
|
AboutCalendar
ArchivesCategoriesShow tagged entriesandroid antenna anti-spam apache austria automobile ballooning bash bluetooth bug career cloud collecting cooking crypto cw debian diy dreams education electronics event fail fashion finance flickr fuerteventura fun gentoo geography german gnu-linux gnucash google google earth graphics guitar hardware history image processing internet kernel kids language lanzarote lhc lifestyle linkroll literature ltd machine learning making mallorca mathematics matlab migration munich music nautilus numismatics octave perl philately philosophy phone photo gear photography physics podcast politics postfix private programming public transport rant religion review salzburg samsung science security social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet venice video virtualization wordplay work www yahoo youtube
Syndicate This BlogFollow meBookmarks
Powered by |