chunkrepeater.pl is a modified version of ultravnc_repeater.pl
chunkrepeater.pl is very easy to use and run. Just make it executable (4) and double click it to run in default mode!
Complete how-to:
I use console to explain the process, because there may be differences in different OS builds, but console stays quite the same.
You can basically copy-paste those commands to your console.
Open your console/terminal and write:
1)Download script
Code: Select all
wget http://www.chunkvnc.com/extras/lall/chunkrepeater.tar.gz
2)Unpack it:
Code: Select all
tar xvfz chunkrepeater.tar.gz
Tip! Use TAB to finish your commands.
Code: Select all
mv chunkrepeater/ /path/you/want-it-to-be/
4)Make it executable!
Code: Select all
sudo chmod +x chunkrepeater/chukrepeater.pl
Code: Select all
sudo chmod +x /path/to/script/chunkrepeater.pl
###########################
How to use the script:
Code: Select all
sudo /path/to/script/chunkrepeater.pl [-b -w] [-r] [server port] [viewer port]
-w runs script in whitelist mode
-b runs script in blacklist mode
-r refuses existing IDs
To kill/stop the script:
Code: Select all
sudo killall -p chunkrepeater.pl
/var/log/chunkrepeater.log
Download:
http://www.chunkvnc.com/extras/lall/
Changes:
script has IP logging
script runs always as system daemon (no need to use CHUNKREPEATER_LOOP=BG)
script always creates log file to /var/log/ (no need to use CHUNKREPEATER_LOGFILE=/pathtologfile.log)
script has three operating modes - normal, whitelist and blacklist.
Tips:
edit chunkrepeater.pl with any text editor and change 10101 and 10102 ports as you need them to be! with so, you can simply start the script without entering your server and viewer ports! (chunkrepeater -w 5900 5901)
To switch between operating modes you must kill the script first and then run it in different mode.
Still working on other mods and security.