ubuntu uses vsftpd to create FTP service
vsftpd introduction
vsftpd is the abbreviation of "very secure FTP daemon". Security is one of its biggest features.
vsftpd is the most popular FTP server program in Linux distribution. It is characterized by small, light, safe and easy to use.
ubuntu install vsftpd
$ sudo apt-get install vsftpd
Configure vsftpd
...
Posted by mlampard on Sat, 16 Nov 2019 10:53:53 -0800
iptables setting h323 dynamic open port
iptables setting h323 dynamic open port
1. Insert h323 module
In order to support the h323 protocol, the kernel needs to insert the NF conntrack, NF NAT, and h323 modules.
modprobe nf_conntrack_h323
modprobe nf_nat_h323
2. Configure iptables rules
h323 uses 1719, 1720 ports. But mainly use port 1720.
The prototype of ip ...
Posted by bobby317 on Sat, 16 Nov 2019 09:52:19 -0800
Network communication socket: network communication addressing, protocol cluster and socket type finding service information
11.2.1.2 find service information
In addition to the IP address, each socket address includes an integer port number. Many applications can run on the same host and listen to an IP address, but only one socket can use the port of that address at a time. By combining IP address, protocol and port number, a communication ...
Posted by mayanktalwar1988 on Fri, 08 Nov 2019 13:18:31 -0800
vsftpd service configuration in Linux (anonymous, user, virtual user)
vsftpd overview
vsftpd is the abbreviation of "very secure FTP daemon". Security is one of its biggest characteristics. vsftpd is the name of a server running on a UNIX like operating system. It can run on systems such as Linux, BSD, Solaris, HP UNIX, etc. it is a completely free, open source FTP server software that supports many f ...
Posted by Shovinus on Tue, 05 Nov 2019 09:04:01 -0800
Verification and data processing
Verification and data processing
1. URL verification
// 1. verify url
function isURL(str_url) {
var strRegex = "^((https|http|ftp|rtsp|mms)?://)"
+ "?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?" // user@ of ftp
+ "(([0-9]{1,3}\.){3}[0-9]{1,3}" // URL in IP form ...
Posted by backie on Thu, 31 Oct 2019 08:55:24 -0700
FTPClient reads files continuously
Recently, when using FTPClient to continuously read the contents of multiple files on ftp, we encountered two problems:
1. In the for loop, FTPClient can only read the contents of the first file. When reading the second file, it encountered NPE problems.
2. The program is locked.
Next, we will analyze the problems encountered and provide sol ...
Posted by PHPcadet on Fri, 25 Oct 2019 11:16:52 -0700
Complete steps of source code installation of Nginx on centos7 platform
1. install make
yum install gcc automake autoconf libtool make
2. install gcc
yum install gcc gcc-c++
3. Install pcre Library
Download address: https://pan.baidu.com/s/13Kojg2Xcnp06qiw023uHoQ
Upload the downloaded pcre-8.35.tar.gz through ftp to the directory / usr/local/src of centos7.
cd /usr/local/src
# New pcre directory
mkdir /usr ...
Posted by xux on Fri, 25 Oct 2019 09:40:19 -0700
sort and uniq: sorting tools for Shell programming
This article mainly writes some shell script sorting tools.
sort
Summary
Sort is a tool to sort the contents of files in behavioral units, or according to different data types.
usage
sort parameter
-f: ignore case-b: ignore the space before each line-M: sort by month-n: sort by number-r: reverse sort-u: equivalent to uniq, indicating that o ...
Posted by Bluemercury on Wed, 16 Oct 2019 14:01:17 -0700
ACL standard access control list
ACL Access Control List Structure Diagram
Objective of this chapter
Learn TCP and UDP protocolsOverview of access control list, how access control list worksType of access control list.Configuration of standard access control class tableCreate ACLApply ACLy to interfaceConfiguration instance of standard ACL
I. access control list (ACL)
2. ...
Posted by FUNKAM35 on Tue, 15 Oct 2019 06:25:40 -0700
java Foundation (31): Network Communication Protocol, UDP, TCP
1. Network Communication Protocol
Through computer network, many computers can be connected. The computers in the same network need to obey certain rules when connecting and communicating, which is just like the traffic rules when driving on the road. In computer networks, these rules of connection and communication are called network communi ...
Posted by tcsnguy08 on Mon, 14 Oct 2019 02:40:41 -0700