Jump to content

Help me get started

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Boojak

Boojak

    Newbie

  • Members
  • Pip
  • 1 posts
My main goal is to create an advanced program for manipulating the packets that route within my network via the router. Let my program have total control over the router. Set the download/upload speeds to my inputs, apply the effect to certain devices within in my network. Block upload or download traffic. Set second delay for either the upload or download speed. Specify % of loss packets, and the list goes on.

The problem is that I don't know where to start. I know most languages at the very most basic level. I'd like to create this program in either C, C++ or C# but I don't know yet. What else do I need to know before creating this program? Winsock or something? Winpcap APIs?

This goal is my motivation to learn programming to the extreme, and I'm really looking forward to it.

Thanks in advance!

* I use Windows

Edited by Boojak, 26 March 2011 - 04:21 AM.


#2
gregwarner

gregwarner

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 853 posts
  • Location:Arkansas
The only way you could write such a program is if the computer running your software was the router itself, and even then, there are plenty of free router OS's out there such as IP Cop that will do all of the stuff you mentioned and more. The only other way I could think of is if your particular router had an administration protocol that you could use to send the configuration changes to the router over the network, but again, most routers that have this functionality already come bundled with their own administration console software. It would depend on what type of router you had, but what you're trying to do sounds very difficult.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid


#3
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
Greg is correct. What you are aiming to is very depending on the router being used. If you want to use a Windows computer for the router, then you have mentioned the correct route (i.e. WinSock and WinPCap, although I believe WinPCap is more relevant to meddle with low level packets). But if you are targeting a stand alone router, then you must consult with its documentation to see what you have to do. Usually either you can reprogram its firmware or simply upload your own rules (using its syntax).

#4
liamzebedee

liamzebedee

    Programmer

  • Members
  • PipPipPipPip
  • 129 posts
Well you could buy a enterprise router.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users