Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

nc to examine vnc...etc.. traffic ?

 
   Soft32 Home -> Linux -> Networking RSS
Next:  Demise of the solid-state Linux Netbook  
Author Message
no-toppost

External


Since: May 04, 2009
Posts: 5



(Msg. 1) Posted: Wed Jul 15, 2009 11:20 am
Post subject: nc to examine vnc...etc.. traffic ?
Archived from groups: comp>os>linux>networking (more info?)

I want to see what gnus is actually transacting with my ISP - sometimes.
So I'm trying to use nc.
Yes, there are always a thousand better ways, but if I sweep my nc-problems
umder the carpet, I can just as well become another WinTel-twitterer ?

So, using successive refinement, and starting simple, I've confirmed that
I can nc from one VT to another - both as root.
BTW it shouldn't matter that I have to `chroot <otherInstallation> nc` ?
-----> This seems ok
| setup client on one VT == to write to console: nc -l -p 3333
| & server on other VT ==
| nc 127.0.0.1 3333 < LRD {must use file in `pwd` }
| ==!! ok see contents of LRD on VT running: nc -l -p 3333
-----
So, the next step would be to listen on some IP:port which I know/hope
has traffic other than one which is driven by nc.

Without paying to go online via dialup, I understand that vnc also
uses tcp/IP, so nc should be able to inspect the vnc traffic ?

I start with `vncserver`. And then start the vnc-client [on the same box]
which runs under linux-Oberon, and I can do linux stuff in an oberon
display, under vnc.

Now lsof shows:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
linux.obe 2778 root 23u IPv4 13913 TCP 127.0.0.1:1044->127.0.0.1:5901 (ESTABLISHED)
and from the previous painfull vnc investigations I've seen that vnc
talks on 127.0.0.1:5901, so I'd expect nc to detect some traffic there ?

But # chroot /mnt/disk nc -l -p 127.0.0.1:1044
and # chroot /mnt/disk nc -l -p 127.0.0.1:5901
both show no vnc activety, after I've done eg. a `ls` on
the vnc client.

So the vnc clent & server are communicating and nc is hopefully
looking at 127.0.0.1:5901 and/or 127.0.0.1:1044, but detects no traffic.

What am I doing wrong.

I understand that 'X' runs via IP/tcp; so could nc capture that ?

== TIA.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WiFi browsing for Windows, but not for Linux? - That seems to be the problem a colleague of mine is currently experiencing in France. Details here: ..

Setting up iwlwifi and wpa supplicant on Fedora 7 - Could someone give me the steps (script) to setup iwlwifi for WPA. I have iwlwifi installed from the Fedora..

VPN OpenSwan&Xl2tp problem with big udp packets - Hi all, I'm having a problem with my vpn server using openswan et xl2tp on a gentoo linux. All the tcp traffic seems....

Hacked, now trying to disinfect - Yeah, i know, it can't happen in Linux. But it has been happening to our work servers for several months. Due to poor....

Examine user space locks - Hi sometimes user space program hangs forever. In old days i remeber there was unkillable dosemu. May be there are goo...

Traffic - Hallo Gemeinde! Habe vor langer Zeit einen Befehl unter linux gehabt der mir sagte wieviel ich an Traffic schon..
       Soft32 Home -> Linux -> Networking All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]