How dotvrtx/tempmac works
This is a single-file Tor privacy toolkit. Its principal workflow accepts bridge and killswitch options, backs up and updates Tor configuration, restarts Tor, verifies the Tor connection, and monitors for leaks that can trigger a network shutdown. It also includes MAC-address backup, change, and restoration capabilities. The excerpts show some internal calls; README statements support the broader documented workflows. Other implementation details are unsampled, so uncertain connections are omitted.
Main entry points: index.py Bridge injection
Components 18
Command entry
- CLI options
index.py
Tor bridges
- Bridge file
- Bridge injection
index.py - Bridge validation
index.py - Tor config backup
index.py - Tor configuration
- Tor restart
index.py - Tor verification
index.py
Leak protection
- Leak monitoring
index.py - Shutdown decision
index.py - Emergency shutdown
index.py - Logging
index.py
Network identity
- MAC management
index.py - Interface discovery
index.py
Other components
- Operator
- Tor service
- Tor check API
- Network interface
Connections 19
- Operator → CLI options: runs
README.md - CLI options → Bridge injection: starts
README.md - Bridge file → Bridge injection: supplies bridges
README.md - Bridge injection → Bridge validation: validates lines
index.py - Bridge injection → Tor config backup: backs up
README.md - Tor config backup → Tor configuration: saves copy
README.md - Bridge injection → Tor configuration: adds settings
README.md - Bridge injection → Tor restart: restarts
README.md - Tor restart → Tor service: controls
README.md - Bridge injection → Tor verification: verifies
README.md - Tor verification → Tor check API: checks through
index.py - CLI options → Leak monitoring: starts
README.md - Leak monitoring → Tor verification: checks status
index.py - Leak monitoring → Shutdown decision: assesses leaks
index.py - Leak monitoring → Emergency shutdown: triggers
index.py - Shutdown decision → Emergency shutdown: authorizes
index.py - CLI options → MAC management: selects MAC actions
index.py - MAC management → Network interface: changes address
index.py - Interface discovery → Network interface: enumerates
index.py