How to trace web site on Router 1841

Unanswered Question
Jul 19th, 2009
User Badges:

Dear All,


I would like to ask you some question ,right now i used Cisco Router 1841 and i would like to control web site that my client access ( i mean that when i client access www.sex.com then i can trace)

So how i can control or need some application for control on this?


Please help to answer me!!!!


Best Regards,

Rechard

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Sun, 07/19/2009 - 21:21
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Rechard,

if you provide a DNS server to your router it can trace to urls.

conf t

ip name-server ?

A.B.C.D Domain server IP address (maximum of 6)



However, implementing this in an automatic manner is a different matter.


You can try to log what users are trying to access.

Web filtering may require an external box.


Hope to help

Giuseppe


rechard_david Sun, 07/19/2009 - 23:04
User Badges:

Dear Giuseppe,


Thank you for your reply to me!!!


yes, i configured like this: ip name-server 202.178.113.28


Sorry Could you help me to explain me more than this.

so after i assigned ip name server how can i control ?


Best Regards,

Rechard

Giuseppe Larosa Sun, 07/19/2009 - 23:32
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Rechard,

what you would like to do?

log internet access of users

apply a web filtering option


traceroute to URLs can be helpful but they are only part of the solution.


Hope to help

Giuseppe


Pavel Bykov Mon, 07/20/2009 - 04:03
User Badges:
  • Silver, 250 points or more

If you know the websites that you want to block, and the list is not too big, you can use nbar.


ip cef

class-map match-any DROPSITE

match protocol http url "www.sex.com"

policy-map DROPSITE

class DROPSITE

drop

interface fastethernet 0/0/0

description LAN INTERFACE

service-policy input DROPSITE



Yuo can even use "*", so for example if you don't want users to visit any website that contains the word "sex" in the url

class-map match-any DROPSITE

match protocol http url "*sex*"

Actions

This Discussion