Xinetd service
Tftp service
Tftp-0.49-2.i386.rpm Client
Tftp-server-0.49-2.i386.rpm Server
Configuration file directory/etc/xinetd. d/tftp
Service tftp
{
Socket_type = dgram ----------------------- socket type (udp) stream (tcp)
Protocol = udp
Wait = no
User = root
Server =/usr/sbin/in. tftpd ------------- start the program
Server_args =-s-c/tftpboot ---------------- pass the parameter-c to the process to allow Creation
Disable = no-------------------------- whether to enable the Service. yes, it is disabled.
Per_source = 11 ----------------------- Number of connections to each ip Address
Cps = 100 2 --------------------------- stop for 2 seconds when the connection reaches 100
Flags = IPv4
}
Chmod 777/tftpboot
Service xinetd restart
View udp ports
Netstat-anplu | grep: 69
Add-c to upload
Tftp 192.168.1.113
Put
The downloaded directory will be downloaded from tftpboot)
Tftp 192.168.1.113
Get
Bytes ------------------------------------------------------------------------------------------
Telnet Service
Telnet-0.17-39.el5.i386.rpm Client
Telnet-server-0.17-39.el5.i386.rpm Server
Port: 23
Configuration file/etc/xinetd. d/telnet
Isable = no open the service
Check whether the port is enabled
Netstat-anplt | grep: 23
--------------------------------
Use xinetd service proxy ftp
Service vsftp stop: stop vsftp first
Cd/etc/xinetd. d/
Cp tftp
Vim ftp file editing
Service ftp this service corresponds to the vim/etc/services service, so you must write the ftp
{
Socket_type = stream
Wait = no
User = root
Server =/usr/sbin/vsftpd-this corresponds to the usr/sbin/vsftpd program.
Disable = no
}
Netstat-anplt | grep: 21 view vsftp Port
-----------------------------
This article is from the "history_xcy" blog, please be sure to keep this http://historys.blog.51cto.com/7903899/1296693