Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can a port polymorph into any port number??

Status
Not open for further replies.

Phalanx1

Programmer
Jul 21, 2003
128
US
Ok this is the concept no actual code as of yet but that is comin along nicely so here we go.

What i want to do is make a executable that takes over a few null ports and listens for all incomin connections on those ports but being null it has to read the incoming packets and change to the senders desired port connection, by using new to kill the old one and create a new one, or the correct way kill the port the use new but... w.e way i do it, it also needs to be able to capture the packets and store them in a array or hash and be able to send packets back to the sender, and print them to the screen somehow. but if u got any ideas how i can accomplish any part of this, it would be greatly appreciated.

 
By "null port" you mean a port that doesn't currently have anything listening on it?

What platform are you running on?

Mike

To err is human,
but to really foul things up -
you require a man Mike.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Windows XP Home edition and 2003 server sorry about that...
Both have perl on them and that the trick i wanna catch all incoming connections to a wide variety of ports.. like ftp, https, and http and store the packets in comma deliminated database so they can be accessed and searched for any suspicios activity.
 
You might be better off using a sniffer on the network, and storing the values from there

ggl effetech

HTH
--Paul

cigless ...
 
Thany You Paul!!! EffeTEch RULEs! well alonging with Heiw.exe... WAIT ASM OWNS!!!! YA go ASM!!!!
STAR FOR U THOUGH :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top