| Tor is currently the largest anonymous network in the world,composed of thousands of volunteer nodes from all over the world,and is welcomed by a large number of anonymous network users for its efficient and stable services.In order to conduct research and analysis on the Tor anonymous network,researchers need to conduct a large number of experiments on the Tor network.However,there are a series of problems in the test experiments on the Tor network in the real world.On the one hand,this will cause damage to the performance and anonymity of the Tor anonymous system,and on the other hand,deploying a large number of nodes in Tor will also cost a lot of experimental costs.Researchers often conduct experimental research on the Tor network experimental platform or tools they build.However,the existing experimental tools are often difficult to balance the authenticity and scale requirements of the experimental environment,and at the same time have problems such as high learning costs and insufficient flexibility.In this paper,aiming at the problem of difficult balance between scale and authenticity in simulating a private Tor network in the existing work,combined with the application requirements in the Tor network experimental scenario,this paper studies the application of multi-granularity nodes and container technology in building a private Tor network,and designs a A new method of simulating a private Tor network and implementing a platform system for Tor network experiment verification.The main work of this paper is as follows:(1)Aiming at the difficulty in balancing the scale and authenticity of Tor network simulation in the existing work,a simulation method based on multi-granularity Tor network node hybrid networking is proposed.For the controlled nodes in the network,the container is used as the basic unit of the Tor network node simulation to ensure the authenticity required for the experiment;while for other background nodes,part of its authenticity is sacrificed(for example,it cannot be operated in real time during the experiment)to increase the size of the overall simulated network.Experiments show that this method can effectively balance the requirements of scale and authenticity of Tor network simulation.(2)Aiming at the problem of high learning cost for researchers when building a Tor network experiment environment,a multi-granularity node arrangement and scheduling mechanism is designed,and a Tor network experiment verification platform is built based on Docker container and Kubernetes cluster technology.Its automated Configuration can greatly reduce the learning cost of researchers.(3)Through the Tor network experimental verification platform,the Tor link correlation experiment and the hidden service traceability experiment are reproduced,which verifies the effectiveness and feasibility of the method proposed in this paper,and shows that the experimental platform has certain practical value. |