| Blockchain technology is a decentralized transaction network established in a point-to-point manner.Multiple nodes jointly maintain and verify the authenticity of transaction data,realizing decentralized transactions and value exchanges.However,there are routing spoofing attacks in the network layer of the blockchain,which prevent nodes from obtaining normal topology information,which leads to problems such as double-spend attacks and transaction failures.Aiming at the routing spoofing attack on the blockchain network layer,this paper proposes a malicious routing avoidance technology,so that the blockchain nodes can detect the attack and avoid being attacked before being attacked by routing spoofing.Furthermore,this paper implements a DNS seed server hijacking attack against the blockchain and proposes appropriate mitigation strategies.In response to the above attacks,this paper designs and implements a blockchain network layer routing deception attack defense system.The main research content of this paper is as follows:(1)Aiming at the problem of route spoofing attack,malicious route avoidance technology is studied.Before the blockchain node establishes a connection,it is determined whether to establish a connection by calculating the number of overlaps in all external connection paths of the current node.This method can avoid the generation of malicious routes,thereby curbing route spoofing attacks.(2)Aiming at the problem of DNS seed server hijacking,the attack and defense technology of DNS seed server is studied.This paper implements the DNS seed server hijacking attack,and verifies the defense of malicious route avoidance technology against this attack.(3)This paper implements a blockchain network layer routing attack defense system.Analyzed the requirements of the system and designed the message processing module,network layer interaction module and data storage module. |