The invention provides a network access
authentication method based on a security protocol, and relates to the technical field of network access, and the method comprises the following steps: S1, initializing and configuring a port, setting a special limited port, and configuring an ACL rule matched with
ONVIF, OBCP and HK protocols; s2, sending a device search message, and sending a device search message of a related protocol to the special limited port; s3,
processing the received response message, and performing
protocol verification and
message processing; s4, MAC re-
authentication and
timeout processing are carried out,
timeout equipment is processed, and the port white
list is updated; s5, authenticating the equipment, and confirming the network access authority of the equipment through the
MAC address; and S6, performing port interchange
processing, automatically updating port configuration and performing re-
authentication. According to the method and the
system, the security and the efficiency of network access authentication are improved, multiple security protocols are supported, the method and the
system are suitable for multiple equipment access scenes, and
machine learning and block chain technologies are introduced, so that dynamic optimization and data non-tampering are realized, and the security and the applicability of the
system are enhanced.