1. How can I get the IP address from a NIC (network interface controller) in Python

    How can I get the IP address from a NIC (network interface controller) in Python

  2. How can I get a "clean" list all currently banned IPs on fail2ban One line per IP

    How can I get a "clean" list all currently banned IPs on fail2ban One line per IP