Skip to content

NetSpectre is a fork of tor-router. This tool provides high anonymity by transparently routing all traffic through Tor. It also supports IPv6 leak blocking, a feature that tor-router does not have.

License

Notifications You must be signed in to change notification settings

Extr3m4R4710/NetSpectre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NetSpectre

Netspectre is an anonymization tool that forces connections across an entire network via Tor SOCKS. It consists of a shell script and works instantly on almost all Linux systems. It requires no additional code or new packages, and no system file changes or modifications. However, it does require Tor to be installed. If Python is not installed on your system, install it. Most modern Linux environments include Python alongside Perl, but not all do (e.g., Minimal Linux distributions). Alternatively, you can replace the "myip" section of the NetSpectre case statement with Perl or other commands (e.g., jq).

case "$1" in
	start)
	    startSpectre
		;;
	stop)
	    stopSpectre
		;;
	restart)
	    restartSpectre
		;;
	myip)
    curl -sL ip-api.com/json | python -m json.tool # <- Use Python json.tool in myip section.
  ;;
*)

install

installation method is common with tor-router.

Note: need bash. no sh

git clone https://github.com/Extr3m4R4710/NetSpectre.git && cd ./NetSpectre && sudo bash install.sh

Stoping

NetSpectra's operation method conforms to Edu4rdSHL/tor-router. NetSpectra has a network anonymization switch called start | stop | restart. You can stop TCP anonymization with the net-spectra stop command. However, if net-spectra.service is enabled on the systemctl side, all TCP will go through Tor. In that case, kill the daemon with systemctl disable net-spectra.service and then restart your computer. In this case, simply killing NetSpectra will not stop it, as the daemon is kept alive by systemctl.

options

Here is an example executed on Arch Linux.

Usage: /sbin/net-spectre {start|stop|restart|myip}

There is an additional option not present in the official tor-router, which allows you to check the status of the IP address using 'myip'. It is formatted using 'python -m json.tool'.

[ root@N2x3ec ~ ]:# net-spectre myip
{
    "status": "success",
    "country": "Poland",
    "countryCode": "PL",
    "region": "14",
    "regionName": "Mazovia",
    "city": "Warsaw",
    "zip": "00-510",
    "lat": 52.2296,
    "lon": 21.0067,
    "timezone": "Europe/Warsaw",
    "isp": "1337 Services GmbH",
    "org": "1337 Services GmbH",
    "as": "AS210558 1337 Services GmbH",
    "query": "45.141.215.21"
}
[ root@N2x3ec ~ ]:#

NetSpectre also blocks IPv6 leaks by default, allowing for more secure communications than tor-router.

[ root@N2x3ec ~ ]:# net-spectre start
 [+] Disabling IPv6 for security reasons ]
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
 [+] Configuring iptables rules to route all traffic through tor 
 [+] Redirectiing DNS traffic through tor 
 [+] Allowing only tor to browse in clearnet
[ root@N2x3ec ~ ]:#

About

NetSpectre is a fork of tor-router. This tool provides high anonymity by transparently routing all traffic through Tor. It also supports IPv6 leak blocking, a feature that tor-router does not have.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages