CN110445858B - Method, device, equipment and medium for simultaneously connecting server with client - Google Patents

Method, device, equipment and medium for simultaneously connecting server with client Download PDF

Info

Publication number
CN110445858B
CN110445858B CN201910713734.7A CN201910713734A CN110445858B CN 110445858 B CN110445858 B CN 110445858B CN 201910713734 A CN201910713734 A CN 201910713734A CN 110445858 B CN110445858 B CN 110445858B
Authority
CN
China
Prior art keywords
server
pptp
client
connection
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910713734.7A
Other languages
Chinese (zh)
Other versions
CN110445858A (en
Inventor
李小军
吴闽华
孟庆晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN201910713734.7A priority Critical patent/CN110445858B/en
Publication of CN110445858A publication Critical patent/CN110445858A/en
Application granted granted Critical
Publication of CN110445858B publication Critical patent/CN110445858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The application relates to a method, a device, equipment and a medium for detecting simultaneous connection of a server and a client, wherein the method comprises the following steps: creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password; the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped; the server generates a corresponding PPP interface and records the connected data in time, and with the continuous access of different IPs by the same client, if the connection failure times of the new access reach a preset value, the server indicates that the server has reached the maximum access performance, and outputs the connectable data result. By the method, the PPTP server can be conveniently detected and can be simultaneously connected with the client under the condition of low cost of manpower and material resources, so that the detection cost is reduced, and the manpower and material resources for testing are reduced.

Description

Method, device, equipment and medium for simultaneously connecting server with client
Technical Field
The present application relates to the field of embedded drivers, and in particular, to a method and an apparatus for detecting simultaneous connection of PPTP servers to clients, a computer device, and a readable storage medium.
Background
PPTP (point-to-point tunneling protocol) is a VPN (virtual private network) technology, and PPTP has open source code for development and use. The PPTP is divided into client software and server software, the client software is dispersed on each device and terminal, and the server software is only installed on one device.
All clients request the server for connection, and the server needs to maintain a large number of client connections, so that high requirements are imposed on the performance of the server. Because all connection messages are encrypted, the server side must encrypt and decrypt, which consumes CPU computing power and memory.
PPTP, although an open source software, does not see the software and methods for testing its maximum number of simultaneous access clients. In the prior art, if testing is required, it is firstly thought that a large number of clients are used to initiate connections simultaneously, so that networking is complex, otherwise, such a large number of devices are not necessary, cost is high, and it is not necessarily possible to measure how many clients can be supported by PPTP on a certain server at the maximum.
Currently, no relevant test software and scheme exist for testing the maximum simultaneous connection number of the PPTP clients. The most conceivable solution is to use a large number of clients to connect to the server simultaneously. This requires a large number of client devices and also places high demands on networking. Sometimes, such a large number of devices cannot be packed together at all, and the configuration environment is time-consuming and labor-consuming. In the prior art, a good method for detecting that the PPTP server is connected with the client simultaneously does not exist, time and labor are wasted even if the PPTP server is connected with the client, and the detection cost is high.
Therefore, the prior art is in need of improvement.
Disclosure of Invention
The invention aims to solve the technical problem of providing a method and a device for detecting that a PPTP server is simultaneously connected with a client, computer equipment and a readable storage medium.
A method for detecting PPTP server terminals to be simultaneously connected with client terminals, wherein the method comprises the following steps:
creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
the server generates a corresponding PPP interface and records the connected data in time, and with the continuous access of different IPs by the same client, if the connection failure times of the new access reach a preset value, the server indicates that the server has reached the maximum access performance, and outputs the connectable data result.
The method for detecting the PPTP server side to be simultaneously connected with the client side is characterized in that a plurality of PPTP connections are established on the same client side; binding a different IP address each time, and dialing to the server side by using the same account and password, wherein the step of dialing to the server side comprises the following steps:
creating a plurality of PPTP connections on a PPTP client by using a software program;
adding a plurality of IP addresses at a network interface of a PPTP client, then binding a different IP address at each dialing when PPTP dials, and dialing to the PPTP server by using the same account and password.
The method for detecting the PPTP server side to be simultaneously connected with the client side is characterized in that a plurality of PPTP connections are established on the same client side; binding a different IP address each time, and dialing to the server side by using the same account and password, further comprising the following steps:
the PPTP server configures an address pool, only adds a record of an account and a password, but sets the IP allocated to the client to be a dynamic IP number in a specified range, and indicates that an unused IP address is automatically allocated to the newly accessed client.
The method for detecting the PPTP server side and connecting the client side simultaneously is characterized in that the same client side continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the non-stop ping service end comprises the following steps:
the client continuously establishes PPTP connection to generate a corresponding PPP interface;
when a PPP interface is generated, a ping-I PPP (n) uninterrupted ping server is used to make the connection always have data message.
The method for detecting the PPTP server side to simultaneously connect the client side is characterized in that the server side generates a corresponding PPP interface and records the connected data in time, and the steps of indicating that the server side has reached the maximum access performance and outputting the connectable data result include the following steps that the same client side uses different IPs to continuously access, if the connection failure times of new access reach a preset value:
the server continuously generates a corresponding ppp interface and records the connected data in time;
with the continuous access of different IP by the same client, if the connection failure times of the new access reaches a preset value, the service end reaches the maximum access performance, and the connectable data result is output.
The method for detecting the PPTP server side to connect the client side simultaneously, wherein, the method for detecting the PPTP server side to connect the client side simultaneously, along with the continuous access of the same client side by different IPs, if the connection failure times of the new access reaches a preset value, the method indicates that the server side has reached the maximum access performance, and the method outputs the connectable data result further comprises the following steps:
and simultaneously detecting whether the established connection is not disconnected and stably exists.
A probe PPTP server concurrently connected client device, wherein the device comprises:
the dialing starting module is used for establishing a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the connection establishing module is used for establishing PPTP connection continuously by the same client to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
and the record output module is used for generating a corresponding PPP interface by the server and recording the connected data in time, and along with the continuous access of different IPs by the same client, if the connection failure times of the new access reaches a preset value, the record output module indicates that the server has reached the maximum access performance and outputs the connectable data result.
The detection PPTP server is connected with a client device at the same time, wherein the device further comprises:
and the stability detection module is used for simultaneously detecting whether the established connection is not disconnected or stably exists.
A computer device comprising a memory storing a computer program and a processor, wherein the processor when executing the computer program implements any of the probe PPTP server method steps for simultaneously connecting clients.
A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of any of the methods of probing a PPTP server while connecting clients.
Compared with the prior art, the embodiment of the invention has the following advantages:
according to the method provided by the embodiment of the invention, a method for creating a plurality of PPTP connections on one client is provided and is realized by software. On a PPTP client, a plurality of IP addresses are added to one network interface of the PPTP client, then when PPTP dials, a different IP address is bound each time, and the server is dialed by the same account and password. The server configures an address pool, only one record of an account and a password is added, but the IP allocated to the client is set to be an x number, which indicates that an unused IP address is automatically allocated to the newly accessed client.
The client creates PPTP connection continuously, and more PPP interfaces are generated inevitably. Every time a PPP interface is generated, ping-I PPP (n) is used to continuously ping the service end, so that the connection always has data messages, and the expense of the service end is increased.
The server also generates more and more ppp interfaces, and when the client accesses more and more, if the newly accessed connection fails, it indicates that the server has reached the maximum access performance. And simultaneously, observing whether the established connection is not disconnected and stably exists.
By the method, the PPTP server can be conveniently detected and can be simultaneously connected with the client under the condition of low cost of manpower and material resources, so that the detection cost is reduced, and the manpower and material resources for testing are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for detecting that a PPTP server is simultaneously connected to a client according to an embodiment of the present invention.
Fig. 2 is a networking topology diagram of an embodiment of a method for detecting simultaneous connection of PPTP servers and clients according to the present invention.
Fig. 3 is a flowchart illustrating a specific application of a method for detecting simultaneous connection of PPTP server and client according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a test program viewing server generation interface structure in an embodiment of a method for detecting simultaneous connection of PPTP servers and clients according to the present invention.
Fig. 5 is a functional block diagram of detecting that a PPTP server is simultaneously connected to a client device according to an embodiment of the present invention.
FIG. 6 is a functional block diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 illustrates a method for detecting PPTP server and connecting to a client simultaneously in an embodiment of the present invention, where the method includes:
s1, creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
optionally, creating multiple PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password, wherein the step of dialing to the server side comprises the following steps:
creating a plurality of PPTP connections on a PPTP client by using a software program;
adding a plurality of IP addresses to a network interface of a PPTP client, then binding a different IP address to each dialing when PPTP dials, and dialing to a PPTP server by using the same account and password;
and configuring an address pool at the PPTP server, only adding a record of an account and a password, but setting the IP allocated to the client to be a dynamic IP number in a specified range, and indicating that an unused IP address is automatically allocated to the newly accessed client.
S2, the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
optionally, the same client continuously creates PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the non-stop ping service end comprises the following steps:
the client continuously establishes PPTP connection to generate a corresponding PPP interface;
when a PPP interface is generated, a ping-I PPP (n) uninterrupted ping server is used to make the connection always have data message.
S3, the server generates the corresponding PPP interface and records the connected data in time, along with the continuous access of the same client by different IPs, if the connection failure times of the new access reaches a preset value, the server shows that the server has reached the maximum access performance, and outputs the connectable data result.
Optionally, the step of generating a corresponding PPP interface by the server, recording the connected data in time, and following the same client continuously accessing different IPs, if the number of connection failures of the new access reaches a predetermined value, indicating that the server has reached the maximum access performance, and outputting the connectable data result includes:
the server continuously generates a corresponding ppp interface and records the connected data in time;
with the continuous access of different IPs by the same client, if the connection failure times of the new access reaches a preset value, the service end is indicated to reach the maximum access performance, and a connectable data result is output; i.e. the maximum number of clients the output server can connect to.
And simultaneously detecting whether the established connection is not disconnected and stably exists.
The invention is described in further detail below with reference to a specific application example:
referring to fig. 2 and fig. 3, a method for detecting PPTP server and connecting to a client simultaneously in the embodiment of this specific application includes the following steps:
1. in the PPTP connection in the embodiment of the present invention, an account name and a password need to be provided. In implementation, the PPTP server allows one account to be used by different clients at the same time, and allocates the same or different IPs. The server address pool describes each account as follows, the first item is the account name, the second item is the server address, the third item is the password, and the fourth item is the IP address assigned to the client. If the fourth entry is a specific IP, then different clients that dial in each of the same accounts will be assigned the same IP address, which is not desirable. If all are assigned the same IP address, the server-side routing will be messy. Filled directly here, meaning that an unused IP is allocated from the pool of addresses. Thus, different clients that dial in all the same account will be assigned different VPN IP addresses. The address pool only needs to be configured with one record;
#Secrets for authentication using CHAP
#client server secret IP addresses
MU1012017101400042*genew123Nucleus!*
2. the test software uses ip addr add on a network interface eth0 of the client device
N.8. n.m/16 deveth 0 increases IP address configuration.
3. The testing software sets the/etc/ppp/peer/pptppn file as follows
pty"pptp--localbind 10.8.n.m218.108.110.11--nolaunchpppd"
require-mschap-v2
require-mppe-128
name MU1012017101400042
password genew123Nucleus!
remotename pptpvpn。
4. The test software starts a PPTP dialing process, pppd unit i call pptpvpn. Each successful dialing operation generates a ppp interface, wherein the ppp number is i.
5. The test software initiates a ping command, ping-I pppi 10.137.0.1. Where 10.137.0.1 is the private network IP occupied by the PPTP server within the current VPN environment.
6. Repeating the step 2, adding a new local IP address, and dialing to generate a new connection;
until the new connection is rejected by the server or automatically disconnected, and the maximum client access number of the PPTP at the server is reached.
And looking at the ppp interface generated by the server, as shown in fig. 4. And when the test program exits, the test program does not dial any more, and the number of the ppp ports generated by the server is checked, namely the maximum number of the PPTP clients which the server can allow to access.
Therefore, the method can conveniently detect the PPTP server and simultaneously connect the PPTP server with the client under the condition of low cost of manpower and material resources, thereby reducing the detection cost and reducing the manpower and material resources for testing.
In one embodiment, the present invention provides a method for probing PPTP server terminals to connect client devices simultaneously, as shown in fig. 5, the method comprising:
a dial-up starting module 51, configured to create multiple PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
a connection establishing module 52, configured to establish a PPTP connection continuously by the same client, and generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
a record output module 53, which is used for the server to generate the corresponding PPP interface and record the connected data in time, and with the continuous access of the same client using different IPs, if the connection failure times of the new access reaches a predetermined value, it indicates that the server has reached the maximum access performance, and outputs the connectable data result; as described above.
Optionally, the probe PPTP server is connected to a client device, and the device further includes:
a stability detection module 54, configured to detect whether a connection that has been created is not disconnected and exists stably; as described above.
In one embodiment, the present invention further provides a computer device, which may be a terminal, and the internal structure of which is shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for detecting simultaneous connection of PPTP server and client. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the illustration in fig. 6 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the invention provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the following steps:
creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
the server generates a corresponding PPP interface and records the connected data in time, and with the continuous access of different IPs by the same client, if the connection failure times of the new access reach a preset value, the server indicates that the server has reached the maximum access performance, and outputs the connectable data result.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server is not stopped;
the server generates a corresponding PPP interface and records the connected data in time, and with the continuous access of different IPs by the same client, if the connection failure times of the new access reach a preset value, the server indicates that the server has reached the maximum access performance, and outputs the connectable data result.
In summary, compared with the prior art, the embodiment of the invention has the following advantages:
according to the method provided by the embodiment of the invention, a method for creating a plurality of PPTP connections on one client is provided and is realized by software. On a PPTP client, a plurality of IP addresses are added to one network interface of the PPTP client, then when PPTP dials, a different IP address is bound each time, and the server is dialed by the same account and password. The server configures an address pool, only one record of an account and a password is added, but the IP allocated to the client is set to be an x number, which indicates that an unused IP address is automatically allocated to the newly accessed client. The client creates PPTP connection continuously, and more PPP interfaces are generated inevitably. Every time a PPP interface is generated, ping-I PPP (n) is used to continuously ping the service end, so that the connection always has data messages, and the expense of the service end is increased. The server also generates more and more ppp interfaces, and when the client accesses more and more, if the newly accessed connection fails, it indicates that the server has reached the maximum access performance. And simultaneously, observing whether the established connection is not disconnected and stably exists. By the method, the PPTP server can be conveniently detected and can be simultaneously connected with the client under the condition of low cost of manpower and material resources, so that the detection cost is reduced, and the manpower and material resources for testing are reduced.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A method for detecting PPTP server terminals to be simultaneously connected with client terminals is characterized by comprising the following steps:
creating a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the same client continuously establishes PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server end is ceaselessly connected with the PPP interface to enable the connection to have data messages all the time;
the server generates a corresponding PPP interface and records the connected data in time, along with the continuous access of the same client by using different IP addresses, if the connection failure times of the new access reaches a preset value, the server indicates that the server has reached the maximum access performance, and outputs a connectable data result;
the test software starts a PPTP dialing process, a PPP interface is generated every time the PPTP dialing process is successfully dialed, a new local IP address is added, new connection is generated through dialing, and the maximum client access number of the PPTP server is reached until the new connection is rejected by the server or the PPTP server is automatically disconnected;
the test flow exits, and the number of PPP interfaces generated by the server is checked, wherein the number of the PPP interfaces generated by the server is the maximum number of PPTP clients which can be accessed by the server;
the PPTP server configures an address pool, only adds a record of an account and a password, but sets the IP address allocated to the client to be a dynamic IP address in a specified range, which indicates that an unused IP address is automatically allocated to a newly accessed client;
on a network interface eth0 of the client, increasing IP address configuration by using IP addr add 10.8.n.m/16dev eth 0;
the step of indicating that the server has reached the maximum access performance and outputting the connectable data result if the number of connection failures of the new access reaches a predetermined value with the continuous access of the same client using different IP addresses further comprises:
and simultaneously detecting whether the established connection is not disconnected and stably exists.
2. The method for probing PPTP server terminals to connect to client terminals simultaneously as claimed in claim 1, wherein said creating multiple PPTP connections on the same client terminal; binding a different IP address each time, and dialing to the server side by using the same account and password, wherein the step of dialing to the server side comprises the following steps:
creating a plurality of PPTP connections on a PPTP client by using a software program;
adding a plurality of IP addresses at a network interface of a PPTP client, then binding a different IP address at each dialing when PPTP dials, and dialing to the PPTP server by using the same account and password.
3. The method for detecting the PPTP server and connecting the clients simultaneously as claimed in claim 1, wherein the same client continuously creates PPTP connection to generate a corresponding PPP interface; every time a PPP interface is generated, the non-stop ping service end comprises the following steps:
the client continuously establishes PPTP connection to generate a corresponding PPP interface;
when a PPP interface is generated, a ping-I PPP (n) uninterrupted ping server is used to make the connection always have data message.
4. The method as claimed in claim 1, wherein the step of the server generating a PPP interface corresponding to the PPTP server and recording the data of the connection in time, and if the number of connection failures of the new access reaches a predetermined value with the constant access of different IPs by the same client, indicating that the server has reached the maximum access performance, and outputting the result of the data of the connection comprises:
the server continuously generates a corresponding ppp interface and records the connected data in time;
with the continuous access of the same client by different IP addresses, if the connection failure times of the new access reaches a preset value, the service end is indicated to reach the maximum access performance, and the connectable data result is output.
5. A device for probing PPTP servers while connected to clients, the device comprising:
the dialing starting module is used for establishing a plurality of PPTP connections on the same client; binding a different IP address each time, and dialing to the server side by using the same account and password;
the connection establishing module is used for establishing PPTP connection continuously by the same client to generate a corresponding PPP interface; every time a PPP interface is generated, the ping server end is ceaselessly connected with the PPP interface to enable the connection to have data messages all the time;
the record output module is used for the server side to generate a corresponding PPP interface and record the connected data in time, and along with the continuous access of the same client side by using different IP addresses, if the connection failure times of the new access reaches a preset value, the record output module indicates that the server side has reached the maximum access performance and outputs the connectable data result;
the test software starts a PPTP dialing process, a PPP interface is generated every time the PPTP dialing process is successfully dialed, a new local IP address is added, new connection is generated through dialing, and the maximum client access number of the PPTP server is reached until the new connection is rejected by the server or the PPTP server is automatically disconnected;
the test flow exits, and the number of PPP interfaces generated by the server is checked, wherein the number of the PPP interfaces generated by the server is the maximum number of PPTP clients which can be accessed by the server;
the PPTP server configures an address pool, only adds a record of an account and a password, but sets the IP address allocated to the client to be a dynamic IP address in a specified range, which indicates that an unused IP address is automatically allocated to a newly accessed client;
on a network interface eth0 of the client, increasing IP address configuration by using IP addr add 10.8.n.m/16dev eth 0;
and the stability detection module is used for simultaneously detecting whether the established connection is not disconnected or stably exists.
6. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the method steps of the probing PPTP server concurrently connecting clients as claimed in any one of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of probing PPTP servers to simultaneously connect clients as claimed in any one of claims 1 to 4.
CN201910713734.7A 2019-08-02 2019-08-02 Method, device, equipment and medium for simultaneously connecting server with client Active CN110445858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910713734.7A CN110445858B (en) 2019-08-02 2019-08-02 Method, device, equipment and medium for simultaneously connecting server with client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910713734.7A CN110445858B (en) 2019-08-02 2019-08-02 Method, device, equipment and medium for simultaneously connecting server with client

Publications (2)

Publication Number Publication Date
CN110445858A CN110445858A (en) 2019-11-12
CN110445858B true CN110445858B (en) 2022-02-01

Family

ID=68433113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910713734.7A Active CN110445858B (en) 2019-08-02 2019-08-02 Method, device, equipment and medium for simultaneously connecting server with client

Country Status (1)

Country Link
CN (1) CN110445858B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177203B (en) * 2019-12-18 2023-08-15 中国平安财产保险股份有限公司 Method for dynamically adjusting size of database connection pool, server and storage medium
CN115529206A (en) * 2022-09-30 2022-12-27 上海地面通信息网络股份有限公司 Remote and mobile office cooperative control system and access method based on dial-up cloud VPN

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431447A (en) * 2008-11-26 2009-05-13 福建星网锐捷网络有限公司 Method and apparatus for testing capacity and performance of virtual special network server
CN102244689A (en) * 2010-05-13 2011-11-16 华为技术有限公司 Method and equipment for obtaining remote IP address
CN103391234A (en) * 2013-08-01 2013-11-13 厦门市美亚柏科信息股份有限公司 Method for realizing multi-user fixed port mapping and PPTP VPN server side
CN103490950A (en) * 2013-09-03 2014-01-01 深圳市迈腾电子有限公司 Router PPTP conversation capacity simulation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375128B (en) * 2016-09-14 2019-07-02 网宿科技股份有限公司 Acceleration access method, device and equipment based on PPTP VPN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431447A (en) * 2008-11-26 2009-05-13 福建星网锐捷网络有限公司 Method and apparatus for testing capacity and performance of virtual special network server
CN102244689A (en) * 2010-05-13 2011-11-16 华为技术有限公司 Method and equipment for obtaining remote IP address
CN103391234A (en) * 2013-08-01 2013-11-13 厦门市美亚柏科信息股份有限公司 Method for realizing multi-user fixed port mapping and PPTP VPN server side
CN103490950A (en) * 2013-09-03 2014-01-01 深圳市迈腾电子有限公司 Router PPTP conversation capacity simulation method

Also Published As

Publication number Publication date
CN110445858A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN105430108B (en) Test environment access method and proxy server
US11438421B2 (en) Accessing resources in a remote access or cloud-based network environment
CN107623698B (en) Method and device for remotely debugging network equipment
CN110990205B (en) Interface call testing method, device and computer readable storage medium
CN110224860B (en) Load balancing application creation method and device, computer equipment and storage medium
CN110445858B (en) Method, device, equipment and medium for simultaneously connecting server with client
US20120166647A1 (en) Apparatus for configuring virtual network using network virtualization technique and method thereof
CN108664395A (en) Applied program testing method, device, equipment and storage medium
US11570035B2 (en) Techniques for accessing logical networks via a virtualized gateway
WO2020232890A1 (en) Load balancing application creation method and device, computer device and storage medium
US11595306B2 (en) Executing workloads across multiple cloud service providers
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN110278092A (en) Router long-range control method and system based on MQTT agreement
CN111787105B (en) File transmission method, device, computer equipment and storage medium
CN110072235B (en) Networking method and device for intelligent equipment, electronic device and storage medium
CN104570967A (en) Android system based remote control method and system
CN111786932A (en) Account login method and device, electronic equipment and computer storage medium
CN109379378A (en) Sending method, device, server, system and the storage medium of internet short message
CN114915565A (en) Method and system for debugging network
JP5680508B2 (en) Network system, proxy server, and proxy method
CN111884837A (en) Migration method and device of virtual encryption machine and computer storage medium
CN111953742A (en) Page redirection method, terminal equipment, intermediate equipment and server
US20230388296A1 (en) System and method for providing rdp client based rdp services through a zero trust cloud environment
CN115514798A (en) Multi-device multi-port connection method, system, electronic device and storage medium
CN117032905B (en) Method and system for associating container cluster with block storage and virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant