Hi Stefan,
On Thursday 05 April 2012 19:54:09 Stefan Baur wrote:
Am 05.04.2012 19:07, schrieb Helmer Teles:
Hello ML.
Any of you guys have any experience in shaping x2go traffic to separate file & printing sharing from normal session traffic?
Any way to identify both print & file tunnels from the rest of the ssh stream?
I'd say that depends on your usage scenario. If you're running VPN connections or dedicated lines between several WAN sites (I'm assuming there's no need for traffic shaping within a LAN), then nothing forces you to use x2go's built-in file and print sharing.
In my particular use case, printing is done by CUPS connecting directly to ports 515 and 9100:
- 515 for LPD on *nix and Windows (yes, Windows has an LPD server as well) and older network-attached printers,
- 9100 for TCP/IP-socket-printing on newer network-attached printers.
Of course, if you're using x2go's SSH connection to avoid a full-blown VPN, that's not going to help you.
It *might* be possible to do throttling on the server side using some iptables magic, but I've never tried that.
-Stefan
I'm trying to evaluate how the traffic flows between x2go and my laptop within a 3g connection, maybe i'm seeing it bad, but it seems that when connected to a rdp server inside a x2gosession both the traffic when watching a youtube video and transfering a 16MB file arrive at the same port, in my case both connection when watched with iftop are receiving all traffic at my port 33349 and being transmitted at :44126 server port. Is this normal ?
I've watched both at the server and at my end.
Thanks for your reply