Results 1 to 9 of 9

Thread: Network control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    121

    Network control

    Now i have a network on an adsl connection and router and i want to make some sort of control to that network
    for example to manage the bandwidth and limit it for each ip address or computer

    i tried to start this project but i really dont know nothing about network programming
    so my program shud include :

    1-detection of all the ips connected to the router
    2-control the bandwidth and set it for each ip
    3-to block ip's from using the network. for example i want to deny a pc from the net.

    there used to be a program that does points 1 and 3 called win ARP spoofer
    but it is not vista compatible and i want to program my own

    how can i start this project in vb6
    i need ur help in starting it and developing it so that i call it that i have done sumthing useful with ur help of course

    thank you


  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Network control

    how much do you know about the OSI? Do you know what a CAM table is or how ARP works from a switch? Do you know how routes work on a router? Do you know how a NAT works? Do you which layer of the OSI ARP operates at?

    If you cannot answer these question please do not proceed with this project. I am not trying to be mean, but a pretty good understanding of networking is required before you jump into this project.

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Network control

    Quote Originally Posted by superbovine
    how much do you know about the OSI? Do you know what a CAM table is or how ARP works from a switch? Do you know how routes work on a router? Do you know how a NAT works? Do you which layer of the OSI ARP operates at?

    If you cannot answer these question please do not proceed with this project. I am not trying to be mean, but a pretty good understanding of networking is required before you jump into this project.
    I personally don't see why all of that is necessary at ALL for making the project he is making.

    Knowing the 7 OSI/ISO layers isn't necessary unless I'm mistaken and he's using an extremely low-level language. (I'm going to assume this is VB).

    Why in the world would he need to know about CAM tables? What level the ARP operates at? None of that is relevant.

    K-PRO:

    Limiting bandwidth:. The only way you can do that is close down programs that are using too much, or tweak registry settings (wouldn't advise this) to limit download speeds.

    Denying people from the net: You would have to programatically configure the router or something if it's a standard LAN.

    To see the IPs connected on the LAN:
    http://www.pscode.com/vb/scripts/Sho...61827&lngWId=1

  4. #4
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Network control

    well it helps to understand what a CAM table is if you going spoof an arp request, because you basically going to cheat on layer 2.
    Last edited by superbovine; Aug 6th, 2007 at 08:13 AM.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    121

    Re: Network control

    [QUOTE=DigiRev]Limiting bandwidth:. The only way you can do that is close down programs that are using too much, or tweak registry settings (wouldn't advise this) to limit download speeds.
    [QUOTE]

    look my friend
    the idea of a program like this is to act like a second router that controls the network

    well i dont know about CAM or any of these things lol
    but i really wanna know about network programming

    anyway any1 wud wanna teach me?? lol

    thanx

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Network control

    The easiest way to limit bandwidth is to use a router that allows you to limit bandwidth per connection or per IP. Doing it in a language like VB is like holding your left elbow in your left hand. It's going to hurt.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  7. #7
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Network control

    Well, I'd like to add that superbovine is right on all accounts, but that is if you are using a low-level language that is capable of accessing the protocol at the "layer-level". I'm not aware of anyway to do this in VB.

    K-PRO, sorry I can't be of help. Is there any other software you know of that does what you want? Maybe it would be easier to give advice after seeing how some of the other same software works.

    But in all honesty, I doubt there is much of a chance that you can do this effectively in VB.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Posts
    121

    Re: Network control

    well read this topic i didnt understand a thing from it but read it
    http://www.codeguru.com/Cpp/I-N/netw...cle.php/c6861/

    and check this program out
    http://www.nextsecurity.net/downloads/main.htm

    and this is the code project in sum language i dont know
    http://www.codeproject.com/internet/winarpspoof.asp

    and for more yall can search in google for "ARP Spoofer code"

    i dont really understand this networking thing
    thats why i need yalls help


    thanx

  9. #9
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Network control

    The beauty of VB is that you can do a lot of things without having to do all the "low-level" stuff, and also, some of the "low-level" stuff is there if you need to do it.

    But to be perfectly honest, I'm not sure how you're going to do this in Visual Basic, without some kind of 3rd party DLL or something written in C or another lower-level language.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width