Repeater Linux port
Disclaimer: At this point (Oct 2005), Repeater Linux port is in very
early stage (Expect bugs, missing features and general
unstability).
Compiling
Just type "make" in directory where you unpacked the zip file. It
should compile and link an executable "repeater".
Usage / Hints
- Runs in terminal window in Linux (no GUI
whatsoever)
- Start command: ./repeater
- Command-line options: ./repeater [optionalviewerlistenport]
[optionalserverlistenport]
- All versions support mode II (the mode
where both viewer and
server make an outgoing connection to repeater)
- Starting from version 0.08, supports mode
I (the
mode where viewer connects repeater which then connects server).
- By default, listens to port viewer_port
= 5900 for viewers (can be overridden with command line parameter)
- By default, listens to port server_port
= 5500 for servers (can be overridden with command line parameter)
- After start, program should report it has
opened both ports and is waiting for connection
- You can use standard viewer/server on
other 2 boxes (I just used 3
vmware windows, server and viewer running nt4 and repeater running
Ubuntu Hoary, any Linux should work though)
- Example (Mode 2):
- Repeater is on ip address
192.168.137.131, listening on
port 5500 for servers and 5900 for viewers. If you need lower ports,
note that usually only root can open ports under 1024 on Linux. Running
as root is obviously dangerous.
- On UltraVnc server, choose "Add New
connection" from menu and give "host name"
192.168.137.131:5500 and "id code" ID:5555. Repeater should now show
something like "Add_server_list(): Server added to list 5555"
- On UltraVnc viewer, write "ID:5555"
on field "VNC Server". Also
mark "Proxy/Repeater" and write "192.168.137.131:5900" on that
line.
- Press "Connect"- button. Ultravnc viewer
should start to show Ultravnc server screen and
Repeater should show something like "Add_viewer_list(): viewer added to
list 5555".
- You can stop repeater with ctrl+c on
terminal window
- Example (Mode 1):
- Repeater is on ip address
192.168.137.131, listening on
port 5500 for servers and 5900 for viewers.
- UltraVnc server is on address
192.168.137.132, listening on port 5900
- On UltraVnc viewer, write
"192.168.137.132:5900" on field "VNC Server". Also
mark "Proxy/Repeater" and write "192.168.137.131:5900" on that line.
- Press "Connect"- button. Ultravnc viewer
should start to show "VNC Authentication" dialog and ask for password.
Repeater should show something like "Add_viewer_list(): viewer added to
list -1".
- Maximum number of active session (server/viewer pair connected):
100, can be changed in repeater.cpp:
- Cleans up inactive (server/viewer pair
"match" not found) connections after 600 seconds, can be changed in
repeater.cpp:
- #define
MAX_IDLE_CONNECTION_TIME 1200 //Seconds
Download
Got a feature request, bug report, bugfix ?
My email