Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Download Restrictions

Download Restrictions

Scheduled Pinned Locked Moved The Lounge
question
28 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Euhemerus
    wrote on last edited by
    #1

    So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

    No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

    E realJSOPR D D D 7 Replies Last reply
    0
    • E Euhemerus

      So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

      No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      Isn't that supported Natively in Windows vista and higher?

      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

      E 1 Reply Last reply
      0
      • E Euhemerus

        So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

        No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        You could use software, but depending on how savvy your daughter is, it's easy to circumvent. You might want to think about investing in a more capable router/firewall appliance. The stuff your ISP gives you simply isn't up to the task (afterall, they want you to exceed your bandwidth limits). This is a bit overkill, but you could build your own firewall system and put very capable (and free) firewall software on it that will allow you to set quotas based on IP address. You may even be able to get functionality like this by using one of the Linksys WRT routers and replacing its firmware with more capable (and free) open-source firmware images. Lots of options, but it's like the say in auto racing... Speed costs money. How fast do you want to go?

        .45 ACP - because shooting twice is just silly
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        E 1 Reply Last reply
        0
        • E Euhemerus

          So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

          No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

          D Offline
          D Offline
          Dalek Dave
          wrote on last edited by
          #4

          Wouldn't it just be easier to get an unlimited broadband account?

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

          E 1 Reply Last reply
          0
          • E Ennis Ray Lynch Jr

            Isn't that supported Natively in Windows vista and higher?

            Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

            E Offline
            E Offline
            Euhemerus
            wrote on last edited by
            #5

            It may well be, I think your referring to Parental Controls. The only problem is, her computer uses XP. I realise that I could probably download/buy some software that would achieve the result I'm after, however, I'd like to write the software myself. Thinking about it a bit deeper, I could probably get the info from the performance counters.

            No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

            1 Reply Last reply
            0
            • D Dalek Dave

              Wouldn't it just be easier to get an unlimited broadband account?

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

              E Offline
              E Offline
              Euhemerus
              wrote on last edited by
              #6

              It would, however, if you read any UK ISP's 'Fair usage policy' its nowhere near unlimited!

              No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

              D 1 Reply Last reply
              0
              • E Euhemerus

                It would, however, if you read any UK ISP's 'Fair usage policy' its nowhere near unlimited!

                No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                D Offline
                D Offline
                Dalek Dave
                wrote on last edited by
                #7

                Mine is fairly unlimited, I have never received any fair usage warnings.

                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                E 1 Reply Last reply
                0
                • realJSOPR realJSOP

                  You could use software, but depending on how savvy your daughter is, it's easy to circumvent. You might want to think about investing in a more capable router/firewall appliance. The stuff your ISP gives you simply isn't up to the task (afterall, they want you to exceed your bandwidth limits). This is a bit overkill, but you could build your own firewall system and put very capable (and free) firewall software on it that will allow you to set quotas based on IP address. You may even be able to get functionality like this by using one of the Linksys WRT routers and replacing its firmware with more capable (and free) open-source firmware images. Lots of options, but it's like the say in auto racing... Speed costs money. How fast do you want to go?

                  .45 ACP - because shooting twice is just silly
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                  E Offline
                  E Offline
                  Euhemerus
                  wrote on last edited by
                  #8

                  John Simmons / outlaw programmer wrote:

                  This is a bit overkill, but you could build your own firewall system and put very capable (and free) firewall software on it that will allow you to set quotas based on IP address. You may even be able to get functionality like this by using one of the Linksys WRT routers and replacing its firmware with more capable (and free) open-source firmware images.

                  Hmmm, that is not a bad idea. I already have the main ADSL router's firewall locked down to only allow the necessary ports and to block certain sites. Do you know if its possible to change the firmware of a TP-Link router to open source firmware? Note: The TP-Link is used as just a router, I have a seperate ADSL router which 'feeds' the TP-Link.

                  No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                  realJSOPR 1 Reply Last reply
                  0
                  • D Dalek Dave

                    Mine is fairly unlimited, I have never received any fair usage warnings.

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                    E Offline
                    E Offline
                    Euhemerus
                    wrote on last edited by
                    #9

                    Who is your ISP if you don't mind me asking?

                    No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                    D 1 Reply Last reply
                    0
                    • E Euhemerus

                      Who is your ISP if you don't mind me asking?

                      No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                      D Offline
                      D Offline
                      Dalek Dave
                      wrote on last edited by
                      #10

                      Virgin

                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                      E 1 Reply Last reply
                      0
                      • D Dalek Dave

                        Virgin

                        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                        E Offline
                        E Offline
                        Euhemerus
                        wrote on last edited by
                        #11

                        Cheers, I'll have a look into it, we keep getting advertising blurb from them telling us that the street has fibre optic cables installed. Whats the service like? reliable?

                        No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                        realJSOPR D 2 Replies Last reply
                        0
                        • E Euhemerus

                          John Simmons / outlaw programmer wrote:

                          This is a bit overkill, but you could build your own firewall system and put very capable (and free) firewall software on it that will allow you to set quotas based on IP address. You may even be able to get functionality like this by using one of the Linksys WRT routers and replacing its firmware with more capable (and free) open-source firmware images.

                          Hmmm, that is not a bad idea. I already have the main ADSL router's firewall locked down to only allow the necessary ports and to block certain sites. Do you know if its possible to change the firmware of a TP-Link router to open source firmware? Note: The TP-Link is used as just a router, I have a seperate ADSL router which 'feeds' the TP-Link.

                          No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                          realJSOPR Offline
                          realJSOPR Offline
                          realJSOP
                          wrote on last edited by
                          #12

                          I have my DSL modem in bridge mode and connect it to a homemade firewall box (a PC running pfSense). While I don't need to limit bandwidth (my wife and I don't stream anything beyond the occasional youtube video), it is possible to achieve through creative use of the traffic shaper in pfSense. I don't know anything about the TPLink stuff, but at the price range I found them for, i would classify them as "consumer-grade", and therefore probably not capable of performing bandwith capping. Heck, my Zyxel2 doesn't even let me do it (and that's a $190 router). Have you considered actually blocking p2p traffic at the router? Can it do that? You could also put an appropriate hosts file on her machine that will block sites you specify (I have one that's a few megabytes big for blocking ad sites), and she'll probably be none the wiser about it.

                          .45 ACP - because shooting twice is just silly
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                          L 1 Reply Last reply
                          0
                          • E Euhemerus

                            So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

                            No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                            D Offline
                            D Offline
                            David Dietrich
                            wrote on last edited by
                            #13

                            There may be some custom firmware you could install on your router that has this.

                            1 Reply Last reply
                            0
                            • E Euhemerus

                              Cheers, I'll have a look into it, we keep getting advertising blurb from them telling us that the street has fibre optic cables installed. Whats the service like? reliable?

                              No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                              realJSOPR Offline
                              realJSOPR Offline
                              realJSOP
                              wrote on last edited by
                              #14

                              You should still think about implementing more stringent firewall rules, and teach your daughter about fair use.

                              .45 ACP - because shooting twice is just silly
                              -----
                              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                              -----
                              "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                              E 1 Reply Last reply
                              0
                              • E Euhemerus

                                Cheers, I'll have a look into it, we keep getting advertising blurb from them telling us that the street has fibre optic cables installed. Whats the service like? reliable?

                                No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                                D Offline
                                D Offline
                                Dalek Dave
                                wrote on last edited by
                                #15

                                Absolutely, 20mb spped and I cannot remember the last time I had a service outage.

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                                1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  You should still think about implementing more stringent firewall rules, and teach your daughter about fair use.

                                  .45 ACP - because shooting twice is just silly
                                  -----
                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                  E Offline
                                  E Offline
                                  Euhemerus
                                  wrote on last edited by
                                  #16

                                  John Simmons / outlaw programmer wrote:

                                  You should still think about implementing more stringent firewall rules, and teach your daughter about fair use.

                                  Hence my original post. I'd like to show her that Internet usage is a privilege and not a right and that it's also a resource that has to be managed. For example, if I allow her a daily allowance of say 100 Mbytes within the time frame that she's allowed access (the router connects and disconnects her at set set times giving a 4 hour window) then once that 100 MB is used, tough, no more access until tomorrow. I'm curious, do any of you think that's harsh?

                                  I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. Stephen Hawking

                                  realJSOPR 1 Reply Last reply
                                  0
                                  • E Euhemerus

                                    So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

                                    No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                                    D Offline
                                    D Offline
                                    Daniel Turini
                                    wrote on last edited by
                                    #17

                                    Check if your router is supported by DD-WRT, which allows a lot of control for this kind of thing. Controlling this on the OS may be noneffective if you have more than one computer.

                                    I see dead pixels Yes, even I am blogging now!

                                    E 1 Reply Last reply
                                    0
                                    • realJSOPR realJSOP

                                      I have my DSL modem in bridge mode and connect it to a homemade firewall box (a PC running pfSense). While I don't need to limit bandwidth (my wife and I don't stream anything beyond the occasional youtube video), it is possible to achieve through creative use of the traffic shaper in pfSense. I don't know anything about the TPLink stuff, but at the price range I found them for, i would classify them as "consumer-grade", and therefore probably not capable of performing bandwith capping. Heck, my Zyxel2 doesn't even let me do it (and that's a $190 router). Have you considered actually blocking p2p traffic at the router? Can it do that? You could also put an appropriate hosts file on her machine that will block sites you specify (I have one that's a few megabytes big for blocking ad sites), and she'll probably be none the wiser about it.

                                      .45 ACP - because shooting twice is just silly
                                      -----
                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #18

                                      John Simmons / outlaw programmer wrote:

                                      Have you considered actually blocking p2p traffic at the router?

                                      That fails in two ways 0) It's possible and even easy to use a lot of bandwidth without p2p (youtube? normal downloads?) 1) It would block a heck of a lot more than just huge torrent downloads (Skype, World of Warcraft updater, a couple of "rare" games such as GunZ The Duel)

                                      1 Reply Last reply
                                      0
                                      • E Euhemerus

                                        So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

                                        No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                                        T Offline
                                        T Offline
                                        Todd Smith
                                        wrote on last edited by
                                        #19

                                        http://www.winpcap.org/[^]

                                        Todd Smith

                                        1 Reply Last reply
                                        0
                                        • E Euhemerus

                                          So, there I am lecturing my daughter on Internet usage once again because of the emails from the ISP saying we're over our download limit yet again, when it occurs to me what I need is something to turn her connection off after a predetermined download limit has been reached. Unfortunately, the router doesn't have this option :( I'd like to set a daily limit that resets every 24 hrs rather than turn it off completely for the remainder of the week/month. So, as this is Codeproject, I'd like to write some software which would achieve this. What would be the best way to capture & count all the bytes that her computer receives? Thinking about it, it sounds like I would need to hook into the NIC driver or find out where the local area connection status window gets its activity information from. Any ideas?

                                          No trees were harmed in the posting of this missive; however, a large number of quantum states were changed.

                                          S Offline
                                          S Offline
                                          Steve Mayfield
                                          wrote on last edited by
                                          #20

                                          "Traffic Shaper XP is a free bandwidth limiter for Windows 2000, XP and 2003 Server" [^]

                                          Steve _________________ I C(++) therefore I am

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups