Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Linux repeater version 0.13

Post Reply
Jariko
8
8
Posts: 13
Joined: 2005-01-30 20:43
Location: Kajaani, Finland

Linux repeater version 0.13

Post by Jariko »

Hello all,

Just before easter I released version 0.13 and then confused my mbnet homepages access rights with gftp. Oh, well...

Anyway, now mbnet is back and version 0.13 is available. Changelog:

ver 0.13 (Fri Apr 14, 2006):
-Has a new "events" interface. With this, repeater is able to connect to a "event-listener" machine somewhere in network and
send information about various events. These are:
-VIEWER_CONNECT / VIEWER DISCONNECT: Viewer has connected to / broken connection to repeater
-SERVER_CONNECT / SERVER DISCONNECT: Server has connected to / broken connection to repeater
-VIEWER_SERVER_SESSION_START / VIEWER_SERVER_SESSION_END: Vnc session between viewer/server has started/ended
-REPEATER_STARTUP: Repeater has just started
-REPEATER_SHUTDOWN: Repeater has just closed down
-REPEATER_HEARTBEAT: Repeater sends this every 90 seconds to signal "I'm alive and all is well"
-Has a reference implementation of "event listener" made with Java, runs (at least) in Windows / Linux. Look directory "eventlistener". compile with: "javac EventListener.java", run with "java EventListener".
-Event interface message format can be seen in file repeaterevents.cpp
-ini- file has new [eventinterface] section for settings events hostname/address, port etc. and if "events" interface
is used
-ini- file setting "listeneripaddress" is renamed to "ownipaddress"


Because everybody loves screenshots, here is one showing Java event-listener running on Windows Xp listening to "events" from Linux repeater:

http://koti.mbnet.fi/jtko/screenshots/e ... _on_xp.jpg

Download url: http://koti.mbnet.fi/jtko/uvncrepeater/

Cheers,

Jari
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Great,

Good work, the repeater is becoming more and more mature.

Rudi
nu2bart
Posts: 6
Joined: 2004-12-21 09:47
Location: The Netherlands
Contact:

Post by nu2bart »

@Jariko

Hi, does the linux repeater support viewer and server using SSL tunnel (vncviewer_ssl.exe, SCIII_test4.exe) ?
If not will support be added for this?

I now use distributor5.exe running from a BartPE CD as a repeater.
This is running fine, but does not give any feedback and so...
I'm thinking of running the repeater on linux, so I can write a few php pages around it for statistics and stuff...

Regards,
Bart.
- BartPE, admin's best friend -
Jariko
8
8
Posts: 13
Joined: 2005-01-30 20:43
Location: Kajaani, Finland

Post by Jariko »

nu2bart wrote:@Jariko

Hi, does the linux repeater support viewer and server using SSL tunnel (vncviewer_ssl.exe, SCIII_test4.exe) ?
If not will support be added for this?

I now use distributor5.exe running from a BartPE CD as a repeater.
This is running fine, but does not give any feedback and so...
I'm thinking of running the repeater on linux, so I can write a few php pages around it for statistics and stuff...

Regards,
Bart.
Hi Bart,

I have tried to get ssl mode working in Linux, so far to no avail. :(

Viewer_ssl and sc_test4/5 connect to my buggy version just fine and ssl handshake seems to go well, but repeater tunnel so far just is very silent indeed :o

Regards,

Jari
nu2bart
Posts: 6
Joined: 2004-12-21 09:47
Location: The Netherlands
Contact:

Post by nu2bart »

Jariko wrote: I have tried to get ssl mode working in Linux, so far to no avail. :(

Viewer_ssl and sc_test4/5 connect to my buggy version just fine and ssl handshake seems to go well, but repeater tunnel so far just is very silent indeed :o
OK, do you have the distributor5.exe source code to compare with?

Regards,
Bart.
- BartPE, admin's best friend -
Jariko
8
8
Posts: 13
Joined: 2005-01-30 20:43
Location: Kajaani, Finland

Post by Jariko »

nu2bart wrote:

OK, do you have the distributor5.exe source code to compare with?

Regards,
Bart.
Yeah, I have it. However, I tried to be clever and use openssl instead of matrixssl (I thought that openssl is in every linux distro anyway, so it would be easy for folks, just adding -lssl to linker command line). Openssl is good and works well but is obviously a little bit different from matrixssl.

Linux repeater is also fundamentally quite different from windows repeater (windows version is multithreaded throughout, Linux version tries to do mostly with select() and uses fork() sparingly), so things don't always port that smoothly.

However, I hope I will figure it out soon.

Cheers,

Jari
blaise
Posts: 3
Joined: 2006-06-06 19:52

Re: Linux repeater version 0.13

Post by blaise »

Hi

It really look grat, but I have a small problem when I try to compile the listener :

mail:~/Ver013/eventlistener# javac EventListener.java
EventListener.java:100: incompatible types
found : java.lang.Integer
required: int
int eventMeaning = new Integer(slices[1][1]);
^
EventListener.java:104: incompatible types
found : java.lang.Long
required: long
long time = new Long(slices[2][1]);
^
EventListener.java:112: incompatible types
found : java.lang.Integer
required: int
viewerTableInd = new Integer(slices[4][1]);
^
EventListener.java:119: incompatible types
found : java.lang.Integer
required: int
viewerTableInd = new Integer(slices[4][1]);
^
EventListener.java:127: incompatible types
found : java.lang.Integer
required: int
serverTableInd = new Integer(slices[4][1]);
^
EventListener.java:134: incompatible types
found : java.lang.Integer
required: int
serverTableInd = new Integer(slices[4][1]);
^
EventListener.java:143: incompatible types
found : java.lang.Integer
required: int
serverTableInd = new Integer(slices[4][1]);
^
EventListener.java:150: incompatible types
found : java.lang.Integer
required: int
viewerTableInd = new Integer(slices[5][1]);
^
EventListener.java:158: incompatible types
found : java.lang.Integer
required: int
serverTableInd = new Integer(slices[4][1]);
^
EventListener.java:164: incompatible types
found : java.lang.Integer
required: int
viewerTableInd = new Integer(slices[5][1]);
^
EventListener.java:245: cannot access In
bad class file: ./In.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpa th.
In in = new In (clientSocket);
^
11 errors

I am really not a java guru, so I don't understand this messages, ... Do you have a solution?

Best regards and thank you for qour great job
Jariko
8
8
Posts: 13
Joined: 2005-01-30 20:43
Location: Kajaani, Finland

Re: Linux repeater version 0.13

Post by Jariko »

blaise wrote:Hi

It really look grat, but I have a small problem when I try to compile the listener :

I am really not a java guru, so I don't understand this messages, ... Do you have a solution?

Best regards and thank you for qour great job
Hi,

using gcj (or older than version 1.5 of javac) ? I had the same problem with gcj but did not worry because it compiled and ran fine with 1.5 version of sun java (I'm sure I did something stupid in my code, I don't really understand Java that much).

Cheers,

Jari
Alx
Posts: 3
Joined: 2006-04-25 15:18

Post by Alx »

Jariko wrote:
nu2bart wrote:

OK, do you have the distributor5.exe source code to compare with?

Regards,
Bart.
Yeah, I have it. However, I tried to be clever and use openssl instead of matrixssl (I thought that openssl is in every linux distro anyway, so it would be easy for folks, just adding -lssl to linker command line). Openssl is good and works well but is obviously a little bit different from matrixssl.

Linux repeater is also fundamentally quite different from windows repeater (windows version is multithreaded throughout, Linux version tries to do mostly with select() and uses fork() sparingly), so things don't always port that smoothly.

However, I hope I will figure it out soon.

Cheers,

Jari
Hello Jari,

Did you have time to work on ssl on the linux repeater ?

I'm very interested by this feature :)
Last edited by Alx on 2006-06-23 18:16, edited 2 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Linux repeater version 0.13

Post by redge »

modification by [user=9267][/user]
added: https port TCP 443

hope their update based on repeater_linux 0.13 from Jariko and not lower :-)
[post=31723][/post]
Last edited by redge on 2006-11-25 17:50, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Linux repeater version 0.13

Post by redge »

to add to repeater_linux
dyn:5500 -dynhost uvnc.com:5912 -dynname mytestname
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
franc
20
20
Posts: 41
Joined: 2005-06-25 21:57

Re: Linux repeater version 0.13

Post by franc »

Thank you Jari!
I compiled the linux repeater vs. 0.14 easily on suse 10.0 and it works great!
Good work!
franc

Ps.: i added the user uvncrep and removed it from the users group (and added it to nogroup-group).
Last edited by franc on 2006-12-31 01:30, edited 3 times in total.
Post Reply