Contribute Media
A thank you to everyone who makes this possible: Read More

Exploiting network namespaces for fun and profit

Description

What are namespaces? What network namespaces do? How containers use namespaces? What can we do with this?

Eventually, we will be able to write this:

with Tor():
  # all code in here will be routed through the Tor container's network
  # namespace, even subprocesses!
  requests.get('http://jsonip.com/')

Details

Improve this page