A method and system for user access network under web authentication

A technology for accessing the network and users, applied in the field of communication, can solve problems such as the inability to intercept network packets, and achieve the effect of high interception rate and high safety factor

Inactive Publication Date: 2021-11-09
北京力鼎创软科技有限公司 +1
View PDF0 Cites 0 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
  • A method and system for user access network under web authentication
  • A method and system for user access network under web authentication
  • A method and system for user access network under web authentication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] This embodiment provides a processing flow of a method of accessing a network in web authentication. figure 1 As shown, it is based on network driver interface specification NDIS writes to the driver, which includes the following steps:

[0037] Step 11, capture the network data packet requesting Web authentication;

[0038] In this embodiment, the following statement is used to realize network packet capture, specifically,

[0039] Strint = ncsi_text_url, strretponse = * # ** # *;

[0040] HttpClient-> GET (Strurl, strretsponse);

[0041] Step 12, parse the network packet, acquire 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_easy_perform (cu...

Embodiment 2

[0074] This embodiment provides a system for users accessing the network under WEB authentication, and the structure is specifically implemented figure 2 As shown, the drive module 20, which runs the drive program written based on the network driver interface specification NDIS, the drive module including:

[0075] Capture Components 23: It is used to capture network packets for users to request Web authentication;

[0076] Resolution Component 24: It is used to resolve the network packet to obtain the source IP address of the user;

[0077] Judgment assembly 25: It is used to determine if the source IP address of the user is in a whitelist in the release;

[0078] Executive component 26: It is used to release the user access after the WEB authentication time is expirated when the source IP address in the packet is in the white list of the web.

[0079] When the source IP address in the data packet is not in the white list of the release, the user access is rejected after the WEB ...

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 present invention provides a method and system for a user to access the network under web authentication. Based on the network driver interface specification NDIS, the driver is written, and the driver is used to: capture the network data packet that the user requests for web authentication; analyze The network data packet obtains the source IP address of the user; judges whether the source IP address of the user is in the white list of release; if so, still releases the user access after the valid time of web authentication expires, If not, deny the user access after the valid time of the web authentication expires. It can intercept relatively low-level data packets, the interception rate of data packets is relatively high, and it can intercept almost all data packets, so it has a high safety factor.

Description

Technical field [0001] The present invention relates to the field of communication technology, and more particularly to a method and system of user access networks under WEB authentication. Background technique [0002] When accessing the network in the prior art, the interception and parsing of the data packet is primarily established based on the transmission driver interface TDI (TRANDPORT DRIVER Interface) based on the transmission driver interface TDI (TRANDPORT DRIVER Interface). TDI refers to the interface layer between the various transportation layer protocols used in the Windows system and the application layer. The filter driver working on the transport layer can be directly associated with the existing network layer driver by creating a new device object, and the application or other driver can be mapped to the transport layer by using this device object. The custom filter driver is passed to the original device object by the driver. [0003] When developing TDI filte...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
CPCH04L63/0227H04L63/10H04L63/102
Inventor 刘培万民
Owner 北京力鼎创软科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products