
NetBug++ v3.00
by Antti Kirjavainen


Homepage: http://www.htk.fi/public/akirjavainen
E-Mail: antti.kirjavainen@mail.htk.fi



 ----------------       ---------------       --------
| Client program | --> | Port redirect | --> | Server |
 ----------------       ---------------       --------



What means "port redirect"?
When you connect to a computer, you connect to one or more of its ports.
Eg. Web-server program usually runs on port 80, and IRC-server program
on port 6667. With port redirect, you can redirect a port from your
local computer to another server, or just to another port at the same
computer.

So when do I need port redirect?
Eg. Only one computer in your network has the internet connection. You
want to use IRC and/or e-mail from all the computers. You would then set
NetBug++ to run at the server computer (the one that has the internet
connection), and then set those programs at the other computers to use
the port you redirected at the local server. Eg. you have redirected
local port 110 to your POP3-server. Set the other computers in the network
to connect your server computer, instead of the POP3-server. All data will
be redirected from your local server to the POP3-server and vice versa.





Command line syntax (Windows, Delphi-version):
NetBug.exe /LP=localport /RP=remoteport /A=remoteaddress

Eg. To redirect local port "2000" to address "www.server.com" and port "80":
NetBug.exe /LP=2000 /RP=80 /A=www.server.com

If no parameters specified, the program will ask for all the needed settings.





Command line syntax (Linux, Java-version):
java -jar netbug.jar [local_address]:2000 remote_address:remote_port

Eg. To redirect local port "2000" to address "www.server.com" and port "80":
java -jar netbug.jar 2000 www.server.com:80

If no parameters specified, the program will ask for all the needed settings.




Specifying string-blocking and welcome files:

Command line syntax:
NetBug.exe /LP=localport /RP=remoteport /A=remoteaddress /B="blockfile" /W="welcomefile"

Eg. If there are the files "Block.txt" and "Welcome.txt" in the program's folder:
NetBug.exe /LP=2000 /RP=80 /A=www.server.com /B="block.txt" /W="welcome.txt"

You can also specify the full path to the file, if it's not in the program's folder.
NOTE: Don't forget the quotes ("") from the filename!




Disclaimer:
It is absolutely prohibited to use this program for hacking, spying, listening
for other people's passwords, etc. illegal. I do NOT take any responsibility of any
damage done with this program.
