MESSAGE SENDING METHOD AND APPARATUS
The present invention discloses a packet transmission method and apparatus, which pertains to the field of network technologies. The method includes: obtaining, by a terminal device, a source Internet Protocol IP address in a to-be-transmitted packet and N IP addresses of the terminal device, where...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention discloses a packet transmission method and apparatus, which pertains to the field of network technologies. The method includes: obtaining, by a terminal device, a source Internet Protocol IP address in a to-be-transmitted packet and N IP addresses of the terminal device, where N is an integer; and when the source IP address in the to-be-transmitted packet is different from any one of the N IP addresses of the terminal device, determining that the source IP address in the to-be-transmitted packet is forged, and prohibiting transmitting the to-be-transmitted packet. According to the present invention, the following problem can be solved: An attack packet is randomly transferred on a network because a terminal device itself is used by a virus such as Trojan to transmit the attack packet. The virus such as Trojan in the terminal device may be prevented from forging a source IP address of another device to randomly transfer an attack packet in the network, so as to improve network security. |
---|