Re: firewall in python

2021-03-28 Thread Michael Torrie
On 3/28/21 12:33 PM, Quentin Bock wrote:
> Is it possible to create a firewall inside python and then run that instead
> of the windows defender firewall? If so how would that work or how would
> that be made?

Probably not.  The firewall is part of the kernel since it works
directly with the network drivers and the packets in memory (to avoid
copying data).  MS has an API for interacting with it, and controlling
and extending its behavior using an API:
https://docs.microsoft.com/en-us/windows-hardware/drivers/network/windows-filtering-platform-architecture-overview

This is what third-party firewall managers use.

Possibly Python could interact with portions of the firewall engine via
the callout API.
-- 
https://mail.python.org/mailman/listinfo/python-list


firewall in python

2021-03-28 Thread Quentin Bock
Is it possible to create a firewall inside python and then run that instead
of the windows defender firewall? If so how would that work or how would
that be made?
Thanks :)

<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
https://mail.python.org/mailman/listinfo/python-list