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

We're using pyroute2 in a script that prints JSON output to stdout and were having some trouble with another tool parsing that JSON, due to some garbage characters being inserted....

bug

Apologies if this is a known issue/feature ... We've found that if you create an instance of IPRoute and this instance is later destroyed, the code "leaks" socket/pipe file descriptors....

fr
docs

Function "pyroute2.iproute.linux.RTNL_API.get_filters" returns an incorrect TCA_U32_HASH value. The filter ID should match the ID returned in the CLI. In this case, the filter ID is 800::800. The value returned by...

bug

After a recent change (https://github.com/svinota/pyroute2/commit/b69999ec82667828816fa2a7b19d0a4f2fe06a83), trying to run unit tests that previously passed (via mock.patch-ing pyroute2.NetNS or pyroute2.NSPopen) will fail because they can't mock something that wasn't imported. It's possible...

When I use `ipdb = IPDB()` `interfaces = ipdb.interfaces` I can't get data about bond from interfaces, such as bond mode, so I add this in ipdb/interface.py in line 270...

On latest Ubuntu bionic kernels 4.15.0-29 and 4.15.0-30, we get these Exceptions a lot of the time: ``` test_ipdb.TestExplicit.test_ipv6_dummy ... Exception in thread IPDB main event loop: Traceback (most recent...

bug

Hi, I am using pyroute2 (0.4.5) on an RPi about 10% of time when I quit my app with ^C I get: Exception in thread Netlink async cache: Traceback (most...

I have a system with two WiFi cards. `iw dev` returns this: ``` $ iw dev phy#1 Interface wlan1 ifindex 5 wdev 0x100000001 addr 40:a5:ef:40:57:2f ssid ies050000290 type AP phy#0...

bug

When I put my existing interface to new namespace I notice that his ARP entry is not removed from host side. So when new interface is up and have the...

fr

Have a 32b chroot on a 64b (ARM) machine. Pyroute2 doesn't seem to play ball with network namespaces when inside a chroot. `ip netns exec ` works fine either way....