PyCon Israel 2018

Monday 4 p.m.–4:30 p.m. in Hall 2

Exploiting network namespaces for fun and profit

Omri Bahumi

Audience level:
Intermediate

Abstract

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/')