摘要:
This application provides a device identifier ID obtaining method, a terminal, and a network device. The method includes: sending, by a terminal to a network device, a first message used to obtain a device ID, where the device ID is used to globally identify the terminal uniquely; receiving, by the terminal, an encrypted key pair sent by the network device, where the key pair includes a first public key and a first private key; receiving, by the terminal, information sent by the network device, where the information is used to identify that the first public key is the device ID of the terminal; and determining, by the terminal, that the first public key is the device ID. The method can effectively avoid device ID repetition, simplify a configuration process, reduce system overheads, and improve security and availability of an overall device ID obtaining scheme.
摘要:
The present invention provides a message processing method and device. The method includes: receiving a message from external equipment; encapsulating the message with a virtual local area network VLAN label, where the VLAN label corresponds to a user equipment that sends or receives the message; and determining a virtual home gateway that corresponds to the VLAN label, so that the virtual home gateway processes the message that is encapsulated with the VLAN label, where the virtual home gateway corresponds to the user equipment. The device includes: an interface board and a service board. With the method and device in the embodiments of the present invention, a received message is encapsulated with a VLAN label, where the VLAN label corresponds to a user equipment and a virtual home gateway, that is, through the VLAN label, identification and isolation of the virtual home gateway can be implemented, and therefore, a limited resource can be used to virtualize a large number of virtual home gateways that provide a home gateway function, and a requirement of high performance, miniaturization, and low power consumption can be satisfied.
摘要:
Embodiments of this application relate to the field of network security technologies, and provide a method and a device for detecting a network attack. The method includes: collecting characteristic information of each of N sessions in a network, where N is an integer greater than 1; obtaining a statistical result, where the statistical result is a result obtained by collecting statistics on the characteristic information of the N sessions by using each of the N sessions as a sampling unit and by using the characteristic information as a sample value; and if a difference between the statistical result and a reference result exceeds a preset condition, determining that the network is under a network attack. According to this application, the following technical problem is resolved: because it is difficult to collect, by using a packet random sampling technology, sufficient network attack packets that occupy a relatively small proportion in data traffic, it is difficult to detect this type of network attack. In the embodiments of this application, a session-type network attack can be effectively detected because instead of a packet, a session is used as a sampling unit.
摘要:
The present invention provides a distributed cluster processing system and a packet processing method thereof. The distributed cluster processing system includes at least one external interface unit, multiple processing units, and a switching unit, where each of the at least one external interface unit is connected between a corresponding processing unit of the multiple processing units and an external network element, and is configured to receive a packet from the external network element, forward the packet to a corresponding processing unit of the multiple directly connected processing units, and send a processed packet to the external network element; and each of the multiple processing units performs specified service processing and is respectively connected to the switching unit, so that the multiple processing units and the switching unit form a star topology structure. According to the distributed cluster processing system and the packet processing method thereof of the present invention, through a logical combination between the processing units, end-to-end high performance may be achieved, thereby meeting a demand of an operator, cloud computing, and a large data center.
摘要:
This application provides a certificate obtaining method, an authentication method, and a network device, to improve control over operation permission of an APP on an API. According to the method, a network device sends certificate application information including an APP to a certificate generation device, and the certificate generation device generates a certificate according to the APP and sends the generated certificate to the network device. The certificate is used for permission authentication when the APP accesses an API of a controller. The certificate includes one or more of (a) to (c): (a) information about operation permission of the APP on N application programming interfaces APIs of the controller, (b) identifiers of L APIs that are of the N APIs and that the APP has permission to operate, and (c) identifiers of R APIs that are of the N APIs and that the APP has no permission to operate, where N is a natural number greater than or equal to 1, L is a natural number greater than or equal to 1, L is less than or equal to N, R is a natural number greater than or equal to 1, and R is less than or equal to N.
摘要:
Disclosed are a method and an apparatus for trusted measurement, where the method includes: obtaining, when start-up of a system is completed, a first processing result by performing a first-manner processing on a code segment in a memory, and using a result obtained by performing a second-manner processing on the first processing result as a reference value (101); obtaining, at a first moment when the system is running, a second processing result by performing the first-manner processing on the code segment in the memory, and obtaining a first measurement value by performing the second-manner processing on the second processing result (102); and determining whether the first measurement value and the reference value are equal, and if the first measurement value and the reference value are equal, the system is trusted (103), where the code segment in the memory is a code segment that does not change with normal running of the system during one start-up and a running process of the system.
摘要:
The present invention discloses a network dial-up method and apparatus which relate to the field of Internet technologies for accessing mass user terminals in the condition of limited network resources. The method includes: when more than one dial-up request is received, performing a negotiation in a Point-to-Point Protocol (PPP) discovery stage for each dial-up request respectively; creating a virtual PPP interface for each dial-up request; configuring the virtual PPP interfaces; coupling the virtual PPP interfaces to a physical PPP interface, where the physical PPP interface is coupled to more than one of the virtual PPP interfaces, and the physical PPP interface performs round robin processing for the virtual PPP interfaces; and performing negotiations in a PPP session stage by way of the virtual PPP interfaces, thereby succeeding in dial-up after completing the negotiations in the PPP session stage. The present invention is mainly applied in the broadband access field.