chaos-mesh / chaos-tproxy

33 stars 15 forks source link

fix network on route #37

Closed Andrewmatilde closed 2 years ago

Andrewmatilde commented 2 years ago

Use netlink base route api in network instead of iproute2 called ip command api.

Restrict logs just print logs inside the code in chaos-tproxy.

Delete some auto-generated kernel route like 10.244.2.0/24 dev eth0 scope link src 10.244.2.103 : Since this route cannot lead ip package to request mac from gateway ,this will block network to 10.244.2.0/24.

Signed-off-by: andrewmatilde davis6813585853062@outlook.com