Click to See Complete Forum and Search --> : Network control
K-PRO
Jul 30th, 2007, 10:59 AM
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
:afrog:
superbovine
Jul 30th, 2007, 10:45 PM
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.
DigiRev
Jul 31st, 2007, 11:40 AM
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? :confused: 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/ShowCode.asp?txtCodeId=61827&lngWId=1
superbovine
Jul 31st, 2007, 12:08 PM
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.
K-PRO
Jul 31st, 2007, 02:19 PM
[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
Al42
Aug 1st, 2007, 04:41 PM
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.
DigiRev
Aug 1st, 2007, 10:11 PM
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.
K-PRO
Aug 9th, 2007, 01:58 PM
well read this topic i didnt understand a thing from it but read it
http://www.codeguru.com/Cpp/I-N/network/basicnetworkoperations/article.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
DigiRev
Aug 9th, 2007, 10:38 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.