Top 23 Python Networking Projects
OpenSnitch is a GNU/Linux port of the Little Snitch application firewallProject mention: How can we be sure that a FOSS did not hide malware in the binary that it ships? | reddit.com/r/linuxmasterrace | 2022-01-21
With OpenSnitch is really easy. netdata, suricata or similar tools can also help, but are more servers oriented.
Event-driven networking engine written in Python.
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Trio – a friendly Python library for async concurrency and I/OProject mention: Gunicorn | news.ycombinator.com | 2022-01-11
Sounds like you need some structured concurrency. Check out Trio or AnyIO.
It's too bad we got asyncio as the standard library module, though some SC concepts are going to make it into the library in future Python versions.
Good Curio!Project mention: asyncio and concurrent.futures | reddit.com/r/Python | 2021-03-18
If you are doing heavy IO (1k or more tasks), then it makes sense to use asyncio. There is controversy over asyncio so there are alternatives, but they work fundamentally the same, just with different interfaces. Some argue that you're better off with curio or gevent (my preference).
PyZMQ: Python bindings for zeromqProject mention: ZMQ socket options — How do I? | reddit.com/r/learnpython | 2022-01-13
Network recon framework, published by @cea-sec & @ANSSI-FR. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service, collect and analyse network intelligence from your sensors, and much more!Project mention: Any recommendations for network scanner with web UI? | reddit.com/r/selfhosted | 2021-10-31
Crossbar.io - WAMP application routerProject mention: Jupyter data analytics on real-time trading data from crypto exchanges | reddit.com/r/ethereum | 2022-01-12
This works by a WebSocket client written in AutobahnPython, which stores data in zLMDB and published data in WAMP via Crossbar.io. zLMDP is memory mapped from within Jupyter, which allows direct high performance access (millions of rows/sec on PyPy!).
OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
Network Automation and Programmability Abstraction Layer with Multivendor supportProject mention: DevOps for network infrastructure? | reddit.com/r/devops | 2021-09-19
Yes. My team uses ansible/NAPALM to automate network device mgmt and configs. Everything is automated and deployed with CI/CD.
GNS3 Graphical Network SimulatorProject mention: Cannot upgrade GNS3 due to: "Download Request Received Thank you for your interest in the GNS3 software. We are processing your request and will get back to you with download details within 2 business days." | reddit.com/r/gns3 | 2021-10-23
Hi, just download here
automated censorship evasion for the client-side and server-sideProject mention: AdBlocking as a Service | reddit.com/r/dns | 2021-09-12
China just blocks ESNI entirely, possibly Iran too, and I'd assume once ECH becomes popular they'd do just that. The paper points out it's trivial to defeat the blocking, but there needs to be at least a client or server-side modification, which is kinda out of scope for your app & service. Would Cloudflare join the cat & mouse game? Probably not, considering in China they choose to cooperate with the local entity.
Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access.Project mention: ULPT Request: how can I use up as much WiFi as possible while I’m at work? | reddit.com/r/UnethicalLifeProTips | 2021-09-22
Just use netcut(https://arcai.com/ ), or evillimiter(https://github.com/bitbrute/evillimiter ). That way, you can slow down their wifi without affecting your speed at all
Hacking ToolkitProject mention: Awesome Penetration Testing | dev.to | 2021-10-06
Habu - Python utility implementing a variety of network attacks, such as ARP poisoning, DHCP starvation, and more.
a strictly RFC 4510 conforming LDAP V3 pure Python client. The same codebase works with Python 2. Python 3, PyPy and PyPy3
Greenlet-based event I/O Framework for Python (by dieseldev)
GNS3 serverProject mention: Qemu behaving very weirdly as if it were 32 bits | reddit.com/r/linuxquestions | 2021-09-26
Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices.Project mention: Network to Code Nautobot | reddit.com/r/networking | 2021-02-25
First of all: I am not a marketing guy. I'm a Python guy and a network guy, and I've been doing open source for many years with my projects [Trigger](https://github.com/trigger/trigger) and [NSoT](https://github.com/dropbox/nsot).
WireGuard full mesh configuration generator.Project mention: Updated MinIO NVMe Benchmarks: 2.6Tpbs on Get and 1.6 on Put | news.ycombinator.com | 2022-01-04
my experience, i dont know if this is comparable, but from my memory (i have not made any notes on that), i've tried min.io in december and switched to seaweed a weeks ago, because my usecase was transition from local file storage to DFS + also enable our developers to transition from local filesystem to s3. Since my resources are limited (vsphere VM) with 3 hosts + different disks, i tried to set up a 3 vm cluster with minio first, after i did some research on different systems (ceph, longhorn.io, ..) i wanted to have an easy setup-able system, which supports s3. I relied a lot on what people measured and chose min.io first because it supported mount via s3. Then i tried to copy over about 34 million files (mostly few bytes, but can also be 1Gbyte), with a mass of about 4.2TB. I tried different methods, rsync, cp, cp with parallelism,.. and i took me about 3 days to copy over 300GB of data at best. Then i also found out that it was impossible to list files. We have one single folder with over 300k projects (guid) beneath (growing). After that i gave seaweed a shot. Why i did not used it firsthand was documentation was a bit confusing and it did not gave me all the answers i needed as fast as minio did.
Now, my seaweed setup is a 3 vm cluster with 3 disks per vm (1TB) each. I configured a wireguard mesh (https://github.com/k4yt3x/wg-meshconf) between the VMs and configured master and volumes server to talk to each other via wireguard IPs securely. I also configured ufw to only allow communication between http/gRPC ports. I also configured a filer (using leveldb3) to use wireguard IPs (master and volumes) and let it communicate with some specific servers on the outside (ufw).
After that i mounted the filer via weed.mount on that specific server and tried to copy over the same files/folders. after 2 days i copied over about 1.5 TB of the data via rsync. There was also no problem with file listing and accessing the filer from different machines while uploading stuff. But there is a overhead when reading and creating lots of small files. File listing is even faster than local btrfs file listing.
chris is also very nice and fast fixing bugs.
Using network observability to operate and design healthier networksProject mention: Show HN: Netpen.io Visual editor for Linux network scripts generation | news.ycombinator.com | 2021-10-21
Do you mean that you'd create some network setup and it'd visualize it for you? in that case the current tool supports defining the setup as a yaml file and uploading it. maybe some tool can be written to build this yaml automatically for some scenarios.
Or are you referring to something like a network observability tool like https://github.com/netenglabs/suzieq
Network Source of Truth is an open source IPAM and network inventory database
DNXFIREWALL (dad's next-generation firewall), a C/CPython hybrid next generation firewall built on top of Linux and bound to kernel/ netfilter hooks for packet control.Project mention: DNS over TLS Option - Not DoH | reddit.com/r/privacytoolsIO | 2021-08-03
If you are curious you can check out the overarching firewall project (also FOSS) here: https://github.com/DOWRIGHTTV/dnxfirewall
Python implementation of Tribler's IPv8 p2p-networking layerProject mention: Is Tor Browser the only implementation of Onion routing? | reddit.com/r/onions | 2021-12-22
An ansible role to configure networking (by linux-system-roles)Project mention: linux-system-roles/network with WPA Enterprise | reddit.com/r/ansible | 2021-12-08
But where do phase2-auth, autoconnect-priority go? What about PEAP? The readme states, that only tls is supported atm - is this true? https://github.com/linux-system-roles/network How do I configure "ignore certificate" (don't judge me - I didn't set up the network ;-) )
Thread-safe Python RabbitMQ Client & Management library
Python Networking related posts
How can we be sure that a FOSS did not hide malware in the binary that it ships?
1 project | reddit.com/r/linuxmasterrace | 21 Jan 2022
Hardening linux for total newbie
1 project | reddit.com/r/linuxquestions | 20 Jan 2022
2 projects | reddit.com/r/linuxquestions | 17 Jan 2022
ZMQ socket options — How do I?
1 project | reddit.com/r/learnpython | 13 Jan 2022
Firewall Opensnitch easy to used but no privacy - any true secure alternative ?
1 project | reddit.com/r/Ubuntu | 5 Jan 2022
Setting up a VPN
4 projects | reddit.com/r/sysadmin | 4 Jan 2022
Show HN: Picosnitch – a reliable and lightweight security/privacy tool for Linux
4 projects | news.ycombinator.com | 3 Jan 2022
What are some of the best open-source Networking projects in Python? This list will help you:
Are you hiring? Post a new remote job listing for free.