Three different implementation methods of LVS-DR

1. Implementation of VIP and DIP in the same network segment Network topology Configuration environment Configure RIP1 of Client gateway pointing to route [root@client ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.22.27.20 0.0.0.0 UG 100 ...

Posted on Mon, 04 Nov 2019 13:42:44 -0500 by Baseball

Gorang as the server, C (unity) as the client, Socket communication problems

Server datalen + message ----- > packagedata ----- > network transmission ([] byte) ---- > client ----- > unpackedata ----- > datalen + message To write network program with Soket, you need to customize the protocol yourself. {len+data} len parses the length of data, and data parses the data to be transmitted Message on server ...

Posted on Mon, 04 Nov 2019 11:53:47 -0500 by fukas

Talk about discovery plugin of elastic search

order This paper focuses on the discovery plugin of elastic search DiscoveryPlugin elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/plugins/DiscoveryPlugin.java public interface DiscoveryPlugin { /** * Override to add additional {@link NetworkService.CustomNameResolver}s. * This can be handy if you want to provide your ...

Posted on Sun, 03 Nov 2019 15:19:47 -0500 by xbuzzx

[HTTP API] a simple http signature algorithm

In the common CS architecture, the client often needs to request the public network interface provided by the server. As the interface is exposed to the public network, there are several problems as follows The interface is easy to be used by others, and even the brushed interface may affect the service availability. ...

Posted on Sun, 03 Nov 2019 11:58:44 -0500 by derrick1123

Basic control of Flutter

There are many UI controls in Flutter, and text, pictures and buttons are the most basic controls in Flutter. These three basic controls are basically used to build views Text control Text is a common control in view system, which is used to display a specific style string. In Flutter, text display is realized by text control Text display types ...

Posted on Sun, 03 Nov 2019 09:14:00 -0500 by kaszu

Get real ip through multi-layer agent

1. When using wechat payment, some mobile ip can't get the Internet ip, which leads to the failure of payment. Prompt: the network environment fails to pass the security verification. Please try again later 2. The method used before is only rough, and can not be applied to all cases, all mobile phones. After a variety ...

Posted on Sun, 03 Nov 2019 05:37:38 -0500 by chadu

hexo blog yili topic personalized custom tutorial -- learning from reference, initial recognition of yili topic

Reproduced in: hexo blog yili topic personalized custom tutorial (1) -- learning from reference, initial recognition of yili topic This blog has been stumbling for many days, because I don't know what's going on with the Next topic, I'm playing it badly. So I changed the subject.The famous yilia theme, advocating simplicity and elegance, and u ...

Posted on Sun, 03 Nov 2019 04:48:36 -0500 by teckn1caLity

Brief introduction and basic commands of Linux

I. Linux Linux command base Linux command help Basic operation of directory and file Linux family Redhat three certifications (open source but not free) --- community (system developer) --- Centos (server side) Ubuntu's best client system, open source and free (software developers) Debian --- "kali Linux (special tools take little reso ...

Posted on Sun, 03 Nov 2019 01:47:33 -0400 by BoostinZX

Huawei's single arm routing -- actual combat

Single arm routing DefinitionSingle arm routing (router-on-a-stick) refers to the interconnection and interworking between different VLAN s (virtual LANs) isolated from each other by configuring a sub interface (or "logical interface", there is no real physical interface) on one interface of the router.ExperimentIn ensp, draw the top ...

Posted on Sun, 03 Nov 2019 01:04:16 -0400 by michaelh613

Learn from scratch how to deploy wordpress in dockersswarm mode

This time, we deploy a slightly negative and complex application--wordpress. Before we used docker run to create two containers, one is wordpress and the other is mysql. Because they are connected to the same network, they can communicate with each other. In this section, we deploy to the cluster in the form of service. First of all, we do n ...

Posted on Sun, 03 Nov 2019 01:44:38 -0400 by Nilpez