net ipv4

Learn about net ipv4, we have the largest and most updated net ipv4 information on alibabacloud.com

[Go] 4 ways to improve socket performance on Linux and accelerate network applications

Original link: http://www.ibm.com/developerworks/cn/linux/l-hisock.htmlUsing the Sockets API, we can develop client and server applications that can communicate on the local network or on a global scale over the Internet. As with other APIs, you can

How does one defend against SYN attacks in linux?

  It was slow to log on to the company's official website this morning. log on to the server and check the website access information: [Root @ web ~] # Netstat-anp | awk '{print $6}' | sort | uniq-c | sort-rn 172 ESTABLISHED 59 CONNECTED 589

Anti-DDOS settings of IPTABLE

# Make sure NEW tcp connections are SYN packets Iptables-N syn-floodIptables-a input-p tcp -- syn-j syn-floodIptables-A syn-flood-m limit -- limit 1/s -- limit-burst 4-j RETURNIptables-A syn-flood-j DROPIptables-a input-I eth0-p tcp! -- Syn-m state -

Kernel-mode basic socket programming

1. Establish a listener and Connection Service The code for creating a TCO listener on the server is as follows: Struct sockaddr_in locaddr; struct socket * sock; struct socket * newsock; int RC; int backlog = 0; int shutdown; char * server_ip = "19

Centos 6 ulimit modification and sysctl Configuration

Cat /etc/security/limits. conf * Soft nofile 65536 * Hard nofile 65536 * Soft nproc Unlimited * Hard nproc Unlimited EOF Cat /etc/security/limits. d/90-nproc.conf * Soft nproc Unlimited Root soft nproc Unlimited EOF Log on to the

Lnmp installation document

Environment: OS: centos5.532-bit server address: 192.168.1.101 software version: small cdpcre-8.12./c... Environment: Operating system: centos 5.5 32-bit server address: 192.168.1.101 Software version: pcre-8.12.zip nginx-1.0.5.tar.gz

LVS-DR model Configuration

LVS-DR model with placed650) this.width=650; "height=" 231 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ 6sggek03v34b7f8vyowsczwg39ue.2nqhqodflwuh*k!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgloaaaaaaadaou! &su=0265905921&tm=1481868000

) HTTP persistent connection 2 million attempt and Optimization

Original in: http://rdc.taobao.com/blog/cs? P = 1062 Many TCP adjustment parameters are introduced here, which is very exciting. For a server, we generally consider the QPS that it can support, but for an application, we need to focus on the number

Added the connlimit module when rhel5.1/rhel5 does not compile the kernel.

Added the connlimit module when rhel5.1/rhel5 does not compile the kernel. System environment and related software packagesOperating System: Red Hat Enterprise Linux Server Release 5 (2.6.18-53. EL5)Kernel source code path:/usr/src/kernels/2.6.18-53.

Exclusive: in-depth introduction to how the Linux kernel works

Exclusive: this topic describes how the Linux kernel works-general Linux technology-Linux programming and kernel information. For more information, see the following. Source: http://news.csdn.net/n/20090327/124513.html [Csdn March 27 compilation]

Keepalived + Lvs + Mysql master-master replication _ MySQL

1. Keepalived43; lvs43; master-master replication of mysql is a common Mysql high-availability solution. lvs provides read load balancing and Keepalived implements automatic failover through virtual vip drift, although Mysql is configured to

How to defend against SYN attacks in Linux

It was slow to log on to the company's official website this morning. log on to the server and check the website access status: [root @ web ~] # Netsta It was slow to log on to the company's official website this morning. log on to the server and

LVS + keepalived configuration memo

There are many LVS + keepalived configuration memo LVS + keepalived documents for implementing load balancing. Here we will not repeat the description, but only record what is easy to forget during the configuration process. 1. make sure that the IP

Lnmp installation document

Environment: Operating System: centos 5.5 32-bit server address: 192.168.1.101 Software Version: pcre-8.12.zip nginx-1.0.5.tar.gz mysql-5.1.55.tar.gz php-5.3.6.tar.gz 1. Install pcre Unzip pcre-8.12.zip Cd pcre-8.12 ./Configure Make & make

Nginx explanation, configuration and deployment, and high concurrency Optimization

Nginx explanation, configuration and deployment, and high concurrency Optimization I. Common Nginx commands: 1. Start Nginx/usr/local/nginx/sbin/nginxPoechant @ ubuntu: sudo./sbin/nginx2. Stop NginxPoechant @ ubuntu: sudo./sbin/nginx-s stopPoechant @

Linux keepalived + LVS implements mysql slave database load balancing and keepalivedlvs

Linux keepalived + LVS implements mysql slave database load balancing and keepalivedlvsPrerequisites: Reference link: Http://www.osyunwei.com/archives/7464.html Ps: the above are the main references for this operation. I am very grateful for the

Nginx optimization configuration

: This article mainly introduces the Nginx optimization configuration. if you are interested in the PHP Tutorial, you can refer to it. Cat nginx. conf ## User webroot; Worker_processes 8; Worker_cpu_affinity 00000001 00000010 00000100 00001000 000100

Best security practices for 20 Nginx Web Servers

Best security practices for 20 Nginx Web ServersNginx is a lightweight, high-performance Web server/reverse proxy and email proxy (IMAP/POP3) that can run on UNIX, GNU/Linux, BSD variants, mac OS X, on Solaris and Microsoft Windows. According to the

Configure Linux as a gateway

Reprinted: Http://blog.csdn.net/zhangyang0402/archive/2010/06/25/5695050.aspx  I. Network Topology     2. Configure the network   1.Network Configuration of A, gw1, gw2, and B   A: Eth0: Ipaddr: 192.168.1.2 Netmask: 255.255.255.0 Gateway: 192.168.1

Linux LVS + heartbeat

Linux Cluster- LVS (DR) + heartbeat LVS + heartbeat   Lvs1AndLvs2The configuration script is the same for the same job. The only difference is thatHeartbeatConfiguration FileHa. cfThe heartbeat address is different.

Total Pages: 15 1 .... 7 8 9 10 11 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.