Repeater Linux port (version 0.12)
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 optionalinifilepathandname
- Command-line options: optionalinifilepathandname (all other settings are stored in uvncrepeater.ini file)
- If ini file path and name is not given, by default /etc/uvncrepeater.ini is used (needs to be readable by repeater process).
- uvncrepeater.ini: A normal Windows- style INI file, (kind of) well commented.
- 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 via uvncrepeater.ini)
- By default, listens to port server_port
= 5500 for servers (can be overridden via uvncrepeater.ini)
- 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/BSD 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. This danger can be decreased via
setting "runasuser" that allows repeater start as root, then drop root
privileges after binding ports and running as normal user after that.
- 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
lots of info about new connection, including "addServerList(): 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 lots of info, including "addViewerList(): 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 "addViewerList(): viewer added to
list -1".
- Maximum number of active session (server/viewer pair connected):
1000, can be changed via ini file setting maxSessions
- 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