hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Is it possible to track an IP activity on server?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Is it possible to track an IP activity on server?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-18-2001, 12:12 AM
jacob jacob is offline
Newbie
 
Join Date: Mar 2001
Posts: 20
Hi, this is the first time I use this board, so I'm not sure if my topic is related to this forum or it need to moved to another forum!

Anyway, I have a small vB board (like this one) on my site, the visitors doesn't exceed more that 25 person at the same time and about 30-40 post a day. During this month, from Mar 1-15, I had 6 million hits and 36.5 Gig of bandwith.
In a matter of fact, I know most of my visitors from which part of the world, but there are two IPs from countries that I don't expect someone their intrest in my site. These two IPs are making about half of the hits & bandwidth!!

My question: Is it possible to track the activity of these two IPs on the server?

I would like also to provide you with some numbers, it might be usefull, these nembers are from Mar 1-15. Remember I don't have a big board or site:
Total Hits: 6541054
Total Files: 3846223
Total Pages: 5999901
Total Visits: 7048
Total KBytes: 34704468

Code 200 - OK: 3846223
Code 304 - Not Modified: 2669374

Do you think these numbers are normal or not?

Reply With Quote


Sponsored Links
  #2  
Old 03-18-2001, 12:33 AM
cperciva cperciva is offline
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
If you have access to raw log files, you can easily find out what those two IP addresses are doing, since IP address is normally the first thing logged.

Reply With Quote
  #3  
Old 03-18-2001, 12:45 AM
jacob jacob is offline
Newbie
 
Join Date: Mar 2001
Posts: 20
I download the log file then I read it by Web Trends software. It is hard to tell what are these IPs doing on the server, the log file doesn't show that. It tells the top visitors but doesn't tell which pages they open or what they did on server.

By the way, my hosting company block access to my site, becuase I exceeded the bandwidth limit

Reply With Quote
Sponsored Links
  #4  
Old 03-18-2001, 01:03 AM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
jacob,

This doesn't sound right. If two IP addresses are taking up half of your transfer, I think that you should block them from the site. There are several tricks to do this, but I think the first priority is to get your site running again. You should inform your host about what is going on and then tell them that you plan on blocking these users ... that is if you want to.

Reply With Quote
  #5  
Old 03-18-2001, 03:18 AM
X-treme X-treme is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 60
I agree they are defenitely up to no good. I host a mid sized VB forum and they average about 75000 hits per day and they have approx. 225 users posting about 50 - 100 messages per day. Their bandwidth usage is usually under 5 gigs per month. Block those IP's if you can..

X-treme

Reply With Quote
  #6  
Old 03-18-2001, 09:50 AM
jacob jacob is offline
Newbie
 
Join Date: Mar 2001
Posts: 20
This is crazy, even thought my site is closed, I checked the control panel today and the hits now are 7 million (Total Hits: 7373884).

Can someone explain how to block these IPs? please explain the steps in detail.

Reply With Quote
  #7  
Old 03-18-2001, 01:32 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
Here's one solution. Create a ".htaccess" file in the directory wheere the BB is stored. Put this in that file:

Code:
(Limit GET POST>
order allow,deny
allow from all
deny from 1.1.1.2 2.2.2.3
(/Limit>
Replace both "(" with a "<" ... VB ate it up as HTML when I used the <.

You should replace the "1.1.1.2" and the "2.2.2.3" with the actual IP addresses that should be blocked. The should be separated with a space.

Hope this helps.

Reply With Quote
  #8  
Old 03-18-2001, 09:49 PM
node9 node9 is offline
Disabled
 
Join Date: Mar 2001
Location: Canada
Posts: 489
if its a linux box


and you have root


use ipchains

type this as root

/sbin/ipchains -A input -s 123.123.123.123 -d 0/0 80 -p tcp -j REJECT

replace 123.123.123.123 with his ip

Reply With Quote
  #9  
Old 03-19-2001, 11:34 AM
jacob jacob is offline
Newbie
 
Join Date: Mar 2001
Posts: 20
I used Vincent Paglione code and see what will happen until tommorow. I'm getting now close to 8 million hits (7950303)!!!

node9, I don't see sbin directory from Telnet. So just in case if I want to use your code, Is it necessary to see that directory from Telnet? I'm on share server.
what if there is more than IP, do I'v to spread them by space? What if in future I want to remove one IP or all what code I have to write?

Reply With Quote
  #10  
Old 03-19-2001, 04:12 PM
jtan15 jtan15 is offline
Aspiring Evangelist
 
Join Date: Jul 2000
Posts: 382
Quote:
Originally posted by jacob
I used Vincent Paglione code and see what will happen until tommorow. I'm getting now close to 8 million hits (7950303)!!!

node9, I don't see sbin directory from Telnet. So just in case if I want to use your code, Is it necessary to see that directory from Telnet? I'm on share server.
what if there is more than IP, do I'v to spread them by space? What if in future I want to remove one IP or all what code I have to write?
If you are on a shared server, you won't be able to access the ipchains command. Although you could ask your host to execute that command for you, if you tell them why exactly you want that IP blocked.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host OrcsWeb Offers Support for Windows Server 2012 Web Hosting News 2012-08-24 11:08:35
Java-Based Web Server Resin Claims it Outperforms NGINX Web Server in Benchmark Tests Web Hosting News 2012-08-22 10:59:49
Web Host 1&1 Enhances Dedicated Server Line with 32 Core, 64 GB RAM Server Web Hosting News 2011-12-20 15:30:05
DiscountASP.NET Launches Free Beta for Microsoft SQL Server 2012 Hosting Web Hosting News 2011-12-13 22:02:03
Belgium Web Host Shuts Down Server After Duqu Virus Detected Web Hosting News 2011-11-04 14:35:30


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?