pyroute2
pyroute2 copied to clipboard
Python Netlink and PF_ROUTE library — network configuration and monitoring
I am seeing this issue with pyroute2 library: File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python2.7/site-packages/pyroute2/netns/nslink.py", line 141, in NetNServer Server(cmdch,...
Hello, pyroute2.tc offers support for u32 filter. However, is there a way I can provide negative offset value (eg: for destination MAC address matching) ? Providing negative offset in the...
``` >>> import win_inet_pton >>> import pyroute2 Traceback (most recent call last): File "", line 1, in File "\path\to\prefix\lib\site-packages\pyroute2\__init__.py", line 73, in loaded = entry_point.load() File "\path\to\prefix\lib\importlib\metadata.py", line 77, in...
We have routers with thousands of routes populated by OSPF. Using get_default_routes takes about one second of 100% load of one CPU core, because get_default_routes iterates through all routes to...
Hello, Recently MPTCP configuration was added to iproute2. https://man7.org/linux/man-pages/man8/ip-mptcp.8.html It would be useful to have this in pyroute2. Please let me know if there is anything I can do to...
Hi, We are hitting an issue with pyroute2. Any help to resolve is appreciated. 2021-08-10 21:53:48,367 INFO [cntnr_lifecycle:] [Getcntnr_lc] Error messagg e Traceback (most recent call last): File "xxxxxxxxxxxxxxxxx", line...
Hello, thank you a lot for creating pyroute2, it is incredibly useful. I use it to get information about established TCP connections. I noticed that the INET_DIAG_INFO attribute sometimes doesn't...
Hi, I'm trying to add an nftable rule to mark IPv6 traffic using pyroute2, something like this: ``` nft add rule ip6 testing testing_chain0 iifname eth1 udp dport 4655 mark...
I'm using latest from git in a Debian 10.10 docker image and getting the following error after initializing ndb = NDB(log='debug'): 2021-06-28 00:54:51,683 DEBUG pyroute2.ndb.140402672892896.sources.localhost: init init 2021-06-28 00:54:51,684 DEBUG...