Configuring firewalls and packet filters