tcpd?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers tcpd?
# 1  
Old 10-22-2002
tcpd?

telnet stream tcp nowait root /usr/sbin/tcpd telnetd -a

hi, what does the stream above indicates? thanks
yls177
# 2  
Old 10-23-2002
Its the socket type.

stream for TCP &
dgram for UDP

Deepa
# 3  
Old 10-24-2002
how does stream differ from dgram?

this is a straightforward question.. but i tried to search for it, in the web, and etc... but cant get to it....

SO, during your course of sys admin, have u seen any things web sites, books, forums which can relate to my question.


thanks
yls177
# 4  
Old 10-25-2002
THIS IS A TRULY GREAT BOOK THAT STANDS THE TEST OF TIME!!!
The newest 3rd edition, purple cover sells for $70 or so. But you can find the 2nd ed, red cover, in used book stores. or on the web.

Here is a book that has the answer.

"UNIX System Administration Handbook" By NEMETH, SNYDER, SEEBASS, HEIN

FROM THE BOOK page 708-709 by column:

1) service name ( ftp, telnet, etc... )
2) Determines the type of socket, either stream, dgram, or raw. In general, stream is used with TCP, dgram with UDP, and raw is rarely if ever seen.
3) communication protocol
4) user name underwhich the daemon should run. (You could call it BOB if you wanted)
5) The User name it should run as.
6) The remaining fields give the command line and its options.

Remember this entry also needs a companion entry in the /etc/services file for it to run.
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question