[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unix/sockets.



In message <9707241310.AA09684@avoda.jct.ac.il> you write:
|hi,  i'd like to get some info or a programme on how to read what 
|an other user is writing on his terminal
|i know that i have to open a socket (socket, connect, bind,...
|) and to listen to the packets that are going out from 
|his keyboard.

:-) You remind me the guy we cought at HUJI CS one day trying to copy
our Sparc server's /vmunix - he was planning to run it on his PC (that
was way before Linux days...).  You can't even use the right terms but
you want to write a sniffer?

|what is the structure of those packets.

Read any of the RFC's which define IPv4 and TCP and the books on the
subject - Steven's "TCP/IP Illustrated" series, especially Volume 1:
"The protocols", is my recommandation.

--Amos

--Amos Shapira                    | "Of course Australia was marked for
133 Shlomo Ben-Yosef st.          |  glory, for its people had been chosen
Jerusalem 93 805                  |  by the finest judges in England."
ISRAEL        amos@gezernet.co.il |                     -- Anonymous


References: