Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for accessing to network by user under web authentication

A technology for accessing the network and users, applied in the field of communication, it can solve the problem of unable to intercept network packets, and achieve the effect of high interception rate and high safety factor

Active Publication Date: 2016-11-16
北京力鼎创软科技有限公司 +1
View PDF10 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that the transport layer filter driver is located on top of the TCP / IP protocol, so it cannot intercept those network packets that can be directly processed through TCP / IP, and Windows must be restarted for the custom transport layer filter driver to take effect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for accessing to network by user under web authentication
  • Method and system for accessing to network by user under web authentication
  • Method and system for accessing to network by user under web authentication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] This embodiment provides a processing flow of a method for a user to access the network under web authentication. figure 1 As shown, it is based on the network driver interface specification NDIS to write the driver, which specifically includes the following steps:

[0037] Step 11. Capture the network data packet requested by the user for web authentication;

[0038] In this embodiment, the following sentences are used to realize network data packet capture. Specifically,

[0039] string strUrl="NCSI_TEXT_URL, strResponse="";

[0040] httpclient-> Get(strUrl,strResponse);

[0041] Step 12. Parse the network data packet to obtain the source IP address of the user;

[0042] CURLcode res;

[0043] CURL*curl=curl_easy_init();

[0044] if(NULL==curl)

[0045] {

[0046] return CURLE_FAILED_INIT;

[0047] }

[0048] curl_easy_setopt(curl,CURLOPT_URL,strUrl.c_str());

[0049] curl_easy_setopt(curl,CURLOPT_CONNECTTIMEOUT,3);

[0050] curl_easy_setopt(curl,CURLOPT_TIMEOUT,3);

[0051] res=curl_eas...

Embodiment 2

[0074] This embodiment provides a system for users to access the network under web authentication, and its specific implementation structure is as follows figure 2 As shown, it includes: a driver module 20, which runs a driver program written based on the network driver interface specification NDIS, and the driver module includes:

[0075] Capture component 23: it is used to capture network data packets for which the user requests web authentication;

[0076] Parsing component 24: it is used to parse the network data packet to obtain the source IP address of the user;

[0077] Judging component 25: it is used to determine whether the source IP address of the user is in the whitelist for release;

[0078] Execution component 26: when the source IP address in the data packet is in the whitelist for release, the user is still released for access after the web authentication valid time expires,

[0079] When the source IP address in the data packet is not in the whitelist for release, the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method and system for accessing to a network by a user under a web authentication. A driver is written in based on a Network Driver Interface Specification NDIS, wherein the driver is used for capturing a network data packet for web authentication requested by the user; parsing the network data packet, and acquiring a source IP (Internet Protocol) address of the user; judging whether the source IP address of the user is in a released white list; if yes, then still releasing the user access after the expiration of web authentication valid time; and if not, rejecting the user access after the expiration of the web authentication valid time. The method and the system for accessing to the network by the user under the web authentication provided by the invention can intercept relatively bottom data packets, the interception rate of the data packets is relatively high, and almost all data packets can be intercepted, so that the method has a higher safety factor.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a method and system for a user to access a network under web authentication. Background technique [0002] In the prior art, when a user accesses a network, the interception and analysis of access data packets are mainly based on the establishment of a filter driver based on the TDI (Trandport Driver Interface). TDI refers to the interface layer between the various transport layer protocols used in the Windows system and the data packet receiving and sending software of the application layer. The filter driver working in the transport layer can be directly associated with the existing network layer driver by creating a new device object. At this time, the application or other drivers can use this device object to first map to the transport layer In the custom filter driver, the driver is then passed to the original device object. [0003] When developing the TDI filter ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06
CPCH04L63/0227H04L63/10H04L63/102
Inventor 刘培万民
Owner 北京力鼎创软科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products