shiibaryu / ip_address_anonymizer

only for our research usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ip_address_anonymizer

ip address anonymizer only for our research usage (for linux, iproute2)

ip_route.cc

Compile & run "./main ip_route_file"

Input: ip route, Output: anonymized_ip_address output_interface weight

ip_6_route.cc

Compile & run "./main ip_6_route_file"

Input: ip -6 route, Output: anonymized_ip_address output_interface weight

ip_j_addr.cc

Compile & run "./main ip_j_addr_file"

Input: ip -j addr, Output: interface INET addr prefixlen scope

How to run

  1. Collecting IPv4/IPv6 FIBs & Interface information on each node by running ip_get.sh
  2. Running "bash run.sh" to anonymize all information
  3. All reulting files are stored in "ano_data" repository

Requirement

Json library: https://nlohmann.github.io/json/
Install: https://www.howtoinstall.me/ubuntu/18-04/nlohmann-json-dev/

How to anonymize

Applying XOR to ip address using randimized bit sequences (*only for our research usage, not generalized)

About

only for our research usage


Languages

Language:C++ 95.0%Language:Shell 5.0%