Name | Modified | Size | Downloads / Week |
---|---|---|---|
1.3 | 2011-06-22 | ||
1.2 | 2011-06-21 | ||
1.1 | 2011-06-06 | ||
README.markdown | 2011-06-10 | 1.4 kB | |
Totals: 4 Items | 1.4 kB | 0 |
Firewall Punch Demo
Copyright (c) 2011 Sean Fisk
Licensed under the terms of the MIT/X11 license.
Description
Firewall Punch Demo is a proof-of-concept Java client and server to illustrate the UDP firewall punching technique used by Skype and similar programs.
It was inspired by an article on The H Security blog, The Hole Trick : How Skype & Co. Get Round Firewalls.
How to Use
Server
- Download the Server JAR file.
- Open a terminal in the download directory.
- Run the server with
java -jar fp_server.jar PORT
Client
- Download the Client JAR file.
- Open a terminal in the download directory.
- Run the client with
java -jar fp_client.jar HOST PORT
Running a server and two clients on the same machine
NOTE: This does not really demonstrate the real use of the program.
- Open three terminals.
-
Start the server in the first terminal.
java -jar fp_server.jar 5000
-
Start a client each in the remaining terminals.
java -jar fp_client.jar localhost 5000
-
Once they are connected, kill the server with Ctrl-C.
- Continue communication between the clients!