Network Authentication via Function Transformation on SYN Parameters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing network authentication methods for preventing DDoS attacks, such as SYN Flood, require storing acknowledgment values, leading to resource occupation and inefficiency during network congestion or flood attacks.

Innovation Solution

A network authentication method that calculates a check value using a function transformation on network parameters in the SYN and RST data packets, eliminating the need to store acknowledgment values and reducing resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the gateway stores acknowledgment values (SEQ) in a white list for authentication, then the server can be protected from DDoS attacks, but storage resources are occupied and the system becomes less efficient during network congestion

Engineering Contradiction:
ImproveDDoS attack protectionVSAvoidstorage resource occupation
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The gateway performs function transformation on network parameters (IP address, port, protocol) to generate the acknowledgment value SEQ in advance when sending SYN_ACK packets. This preliminary calculation eliminates the need to store SEQ values during authentication, as they can be regenerated on-demand using the same transformation function applied to the client's network parameters.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication system uses the client's own network parameters (source IP, destination port, protocol type) as input to the function transformation. The client effectively authenticates itself by providing parameters that the gateway can transform to verify the ACK value in returned packets, eliminating the need for external storage of authentication data.

Inventive Principle:
Principle #25Self-service

2Reliability

If the gateway sends SYN_ACK and RST packets for authentication, then fake IP address forgery can be detected, but network resources are consumed due to multiple packet transmissions

Engineering Contradiction:
Improvefake IP detectionVSAvoidnetwork resource consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The gateway sends a SYN_ACK packet with a calculated SEQ value based on the client's network parameters. The client is expected to return an RST or ACK packet with the same SEQ value. This feedback mechanism allows the gateway to verify whether the returning packet originates from the same entity that sent the SYN, detecting IP forgery without requiring additional packet exchanges beyond the standard TCP handshake.

Inventive Principle:
Principle #23Feedback

3Productivity

If the gateway maintains a white list of authenticated IPs with aging time, then repeated connections can be accelerated, but the system complexity increases due to list management

Engineering Contradiction:
Improveconnection processing speedVSAvoidwhite list management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Instead of storing complete authentication records with multiple fields (IP, port, timestamp, SEQ values) in a complex white list structure, the system stores only the essential network parameters (source IP, destination port, protocol) that are needed to regenerate the authentication data. The SEQ values are copied on-demand through function transformation rather than being stored, significantly simplifying the data structure and management logic.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8800001B2Network authentication method, method for client to request authentication, client, and device
Publication Date: 2014.08.05 HUAWEI TECH CO LTD
  • US8800001B2 patent drawing
  • US8800001B2 patent drawing
  • US8800001B2 patent drawing

AI summary

A network authentication method, a client and a device are provided. The method includes: receiving SYN data sent by a client, where the SYN data includes a sequence number SEQ1 and a network parameter comprising an ID in the header of the SYN data; sending SYN_ACK data to the client, where the SYN_ACK data includes an acknowledgment number ACK2 obtained by carrying out a function transformation according to the network parameter; receiving RST data sent by the client, where the RST data includes a sequence number SEQ3 or an acknowledgment number ACK3, and the RST data further includes a network parameter the same as that of the SYN data; carrying out the function transformation according to the network parameter of the RST data to obtain a check value CHK; and passing the authentication of the client if CHK matches SEQ3 or ACK3.