pyroute2 icon indicating copy to clipboard operation
pyroute2 copied to clipboard

Python Netlink and PF_ROUTE library — network configuration and monitoring

Results 174 pyroute2 issues
Sort by recently updated
recently updated
newest added

Is there any way to parse conntrack netlink updates to the NFCTAttrTuple, JSON or dictionary? ``` #!/usr/bin/env python3 from pyroute2.netlink import nfnetlink from pyroute2 import conntrack ct = conntrack.Conntrack() ct.bind()...

Hello pyroute2 team, This PR was created to propose a solution to a behavior in the cake tc plugin wherein tc pops off the 'parent' key from kwarg and onto...

Hello team, Due to the behavior of ipr.tc() popping the 'parent' key from kwarg and onto msg, this creates a situation where when fix_msg() in sched_cake.py runs, it overwrites the...

Fixes the repo test by switching dependencies from setuptools._vender.packaging to packaging.version. Please let me know if this is the wrong approach or if I have missed something.

I run my python app from command line as 'sudo python3 myapp' and I get (logged in with su gives same results): [Errno 9] Bad file descriptor at: File "/usr/local/lib/python3.11/site-packages/pyroute2/netlink/rtnl/iprsocket.py",...

bug

pyroute2 version 0.7.12 Please help me find out what the error is. Thank you. ![image](https://github.com/user-attachments/assets/9a453dc6-399c-48ec-986a-d2ee7711ab7d)

Browsing the [ip command docs](https://man7.org/linux/man-pages/man8/ip-route.8.html) I have noticed three different commands for route bulk manipulation: `ip route flush`, `ip route save` and `ip route restore`. Sadly, it seems like only...

See #1065 neither `IPRoute.flush_addr(altname='some-alt-name')` nor `IPRoute.flush_addr(alt_ifname='some-alt-name')` does not work (just ignores this kwarg) Moreover, `IPRoute.flush_addr(random_kwarg='anything')` does not fail (that's another story).

The pyroute2.org certificate expired on the 15th of this month, it is now the 17th. Presumably your automatic renewal is broken, otherwise I'd suggest setting it up ;)

Hello! I've run into some issue with drop NEWNEIGH netlink events. ## What is going on I'm running latest master branch of pyrotue2, Python 3.9.19 I have instantiated NDB instance...