Gossamer Forum
Home : Products : DBMan : Customization :

IP Addresses

Quote Reply
IP Addresses
Hello,

I have been watching my logs pretty good here lately and I was wondering if anyone could explain this phenomenon. Usually when a user dials his ISP (in this case AOL) he is assigned a single IP address. It appears that this user is being assigned a different IP for every request that the client makes. I think the log generator uses $ENV{'REMOTE_HOST'}, but it appears to be using $ENV{'REMOTE_ADDR'}. I have several domains with this hosting company. Some of the logs give the host name, some give the IP.

The reason I am asking this is because it is a common practice for me to use $ENV{'REMOTE_ADDR'} as a session tracker. I am now wondering if this is going to work. Thanks for any input.

Here is a segment from my logs...

205.188.209.69 - - [30/Jun/1999:12:21:51 -0400] "GET /pray HTTP/1.0" 301 227 "-" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.70 - - [30/Jun/1999:12:21:52 -0400] "GET /pray/ HTTP/1.0" 200 5473 "-" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.10 - - [30/Jun/1999:12:22:07 -0400] "GET /pray/form.pdf HTTP/1.0" 200 12513 "http://gennus.com/pray/" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.38 - - [30/Jun/1999:12:22:19 -0400] "GET /pray/petition.html HTTP/1.0" 200 5207 "http://gennus.com/pray/" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.73 - - [30/Jun/1999:12:24:13 -0400] "GET / HTTP/1.0" 200 4616 "-" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.37 - - [30/Jun/1999:12:24:15 -0400] "GET /web_design1.html HTTP/1.0" 200 8662 "http://www.gennus.com/" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.8 - - [30/Jun/1999:12:24:17 -0400] "GET /pageimage/genbotwd.gif HTTP/1.0" 200 1102 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.72 - - [30/Jun/1999:12:24:17 -0400] "GET /pageimage/wd2.gif HTTP/1.0" 200 486 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.38 - - [30/Jun/1999:12:24:17 -0400] "GET /pageimage/wd1.gif HTTP/1.0" 200 542 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.73 - - [30/Jun/1999:12:24:17 -0400] "GET /pageimage/genbot.gif HTTP/1.0" 200 2583 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.74 - - [30/Jun/1999:12:24:19 -0400] "GET /pageimage/wh2.gif HTTP/1.0" 200 607 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.40 - - [30/Jun/1999:12:24:19 -0400] "GET /pageimage/wh1.gif HTTP/1.0" 200 555 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.40 - - [30/Jun/1999:12:24:19 -0400] "GET /pageimage/genbotwh.gif HTTP/1.0" 200 1049 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.42 - - [30/Jun/1999:12:24:19 -0400] "GET /pageimage/ser2.gif HTTP/1.0" 200 391 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.7 - - [30/Jun/1999:12:24:20 -0400] "GET /pageimage/ser1.gif HTTP/1.0" 200 342 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.71 - - [30/Jun/1999:12:24:20 -0400] "GET /pageimage/genbotser.gif HTTP/1.0" 200 1235 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.37 - - [30/Jun/1999:12:24:20 -0400] "GET /pageimage/ds2.gif HTTP/1.0" 200 505 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.69 - - [30/Jun/1999:12:24:20 -0400] "GET /pageimage/ds1.gif HTTP/1.0" 200 455 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.38 - - [30/Jun/1999:12:24:21 -0400] "GET /pageimage/genbotds.gif HTTP/1.0" 200 1487 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.69 - - [30/Jun/1999:12:24:21 -0400] "GET /pageimage/cu2.gif HTTP/1.0" 200 417 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.37 - - [30/Jun/1999:12:24:21 -0400] "GET /pageimage/cu1.gif HTTP/1.0" 200 375 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.69 - - [30/Jun/1999:12:24:22 -0400] "GET /pageimage/genbotcu.gif HTTP/1.0" 200 1036 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.69 - - [30/Jun/1999:12:24:22 -0400] "GET /pageimage/au2.gif HTTP/1.0" 200 389 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.40 - - [30/Jun/1999:12:24:23 -0400] "GET /pageimage/au1.gif HTTP/1.0" 200 363 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.41 - - [30/Jun/1999:12:24:23 -0400] "GET /pageimage/genbotau.gif HTTP/1.0" 200 897 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.9 - - [30/Jun/1999:12:24:24 -0400] "GET /pageimage/eb2.gif HTTP/1.0" 200 410 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.71 - - [30/Jun/1999:12:24:24 -0400] "GET /pageimage/eb1.gif HTTP/1.0" 200 516 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.40 - - [30/Jun/1999:12:24:25 -0400] "GET /pageimage/genboteb.gif HTTP/1.0" 200 1278 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.38 - - [30/Jun/1999:12:24:25 -0400] "GET /pageimage/genlside.jpg HTTP/1.0" 200 3658 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.7 - - [30/Jun/1999:12:24:25 -0400] "GET /pageimage/gen.gif HTTP/1.0" 304 - "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.10 - - [30/Jun/1999:12:24:25 -0400] "GET /pageimage/genrside.gif HTTP/1.0" 200 1132 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
205.188.209.10 - - [30/Jun/1999:12:24:28 -0400] "GET /pageimage/btn_sponsor.gif HTTP/1.0" 200 4724 "http://www.gennus.com/web_design1.html" "Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; formatpb)"
Quote Reply
Re: IP Addresses In reply to
What does this have to do with DBMAN? I don't see any of your log entries that deal with DBMAN. You may want to consider posting your comments in the cgi-perl forum in this site.
Smile

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: IP Addresses In reply to
I have been using this forum for some time now and I normally find the people here very helpful. I do use dbman on several different projects on many different servers. This just happens to be an example of the particular occasion that this incident occurred. Do I need to dig through and find a particular occurance that references the DBMan query string? This is my personal server on which I do alot of testing and development.

This question does directly pertain to a DBMan project I am working on now. Now, does any one have any ideas?

------------------
WFMY-TV Webmaster
Quote Reply
Re: IP Addresses In reply to
It would probably be helpful if you could provide an example of where DBMAN is showing up in your log files, so tnat we can identify possible bugs related directly to DBMAN. Smile

But generally, I have found the CGI-PERL Forum very helpful for answering general questions about Perl functions and coding. If it is a general matter of modifying your log program, you may find more answers in the CGI-PERL Forum. I was just suggesting that you may want to use that Forum.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited August 09, 1999).]