Monitoring and redirecting/denying traffic

This is a discussion on Monitoring and redirecting/denying traffic within the C# Programming forums, part of the General Programming Boards category; Hello All, Ok, here is what I need to achieve. I want to know what websites that are being visited, ...

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    2

    Monitoring and redirecting/denying traffic

    Hello All,


    Ok, here is what I need to achieve. I want to know what websites that are being visited, then when a website in a list is visited (list is not known yet how it will be stored, but I'm taking care of this part), the application starts calculating the time spent on the website. If possible also traffic generated for the website.


    I want to also know how to drop the traffic if a certain rule is triggered. I will set the rules later.


    I hope I can find support here.


    Best Regards,
    Sikas.

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    What you looking for is called a Proxy Server.

    You will never be able to determine "time spent on site" because you have no control over the user. If I open a site and walk away to get a coffee, I didn't spent time there. But you will never know, all you know is that it was open and focused for that long. If I open a site and copy it to notepad, I can spent hours or days reading it without your program knowing that I opened the site for more than 5 seconds.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Mar 2012
    Posts
    2
    Quote Originally Posted by nvoigt View Post
    What you looking for is called a Proxy Server.

    You will never be able to determine "time spent on site" because you have no control over the user. If I open a site and walk away to get a coffee, I didn't spent time there. But you will never know, all you know is that it was open and focused for that long. If I open a site and copy it to notepad, I can spent hours or days reading it without your program knowing that I opened the site for more than 5 seconds.
    Thanks for the response, but I need to calculate the time spent even if the scenario you provided occurs ... This is due to some regulations I have here ... Hope you got me and be able to help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Denying a decimal value
    By shukiren in forum C Programming
    Replies: 5
    Last Post: 11-04-2011, 12:10 PM
  2. Vehiclular Traffic Monitoring
    By Renarudo in forum C++ Programming
    Replies: 1
    Last Post: 07-22-2008, 06:58 PM
  3. Redirecting I/O
    By suwie in forum C Programming
    Replies: 6
    Last Post: 09-30-2004, 09:53 PM
  4. Monitoring tcp and udp traffic on FreeBSD 4.8-realease
    By Longie in forum Networking/Device Communication
    Replies: 1
    Last Post: 01-19-2004, 12:56 AM
  5. Redirecting cin?
    By rafe in forum C++ Programming
    Replies: 4
    Last Post: 10-10-2002, 09:28 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21