Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More secure kernel settings #250

Merged
merged 2 commits into from
Dec 2, 2020
Merged

More secure kernel settings #250

merged 2 commits into from
Dec 2, 2020

Conversation

mcgege
Copy link
Member

@mcgege mcgege commented Dec 2, 2020

Following Telekom security requirement linux-15

Signed-off-by: Michael Geiger <info@mgeiger.de>
Signed-off-by: Michael Geiger <info@mgeiger.de>
@mcgege mcgege merged commit c1ee949 into master Dec 2, 2020
@mcgege mcgege deleted the linux-15 branch December 3, 2020 08:41
@mvisonneau
Copy link

mvisonneau commented Dec 22, 2020

👋 hey @mcgege, thanks for these improvements. I ran onto a situation when using net.ipv4.conf.all.arp_ignore=2 in conjunction with Cilium. I believe it could still be interesting to have the capability to keep it to net.ipv4.conf.all.arp_ignore=1 if necessary 🤔

~$ nsenter --net=/var/run/netns/cni-b8b6dc33-1875-e32d-c730-f3da8f2c21f9 tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
22:03:48.297180 IP ip-10-16-38-213.eu-west-1.compute.internal.47022 > ip-10-16-96-50.eu-west-1.compute.internal.https: Flags [S], seq 2712694359, win 62727, options [mss 8961,sackOK,TS val 1199655564 ecr 0,nop,wscale 7], length 0
22:03:48.297963 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28
22:03:49.327777 IP ip-10-16-38-213.eu-west-1.compute.internal.47022 > ip-10-16-96-50.eu-west-1.compute.internal.https: Flags [S], seq 2712694359, win 62727, options [mss 8961,sackOK,TS val 1199656595 ecr 0,nop,wscale 7], length 0
22:03:49.327888 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28
22:03:50.351809 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28
22:03:51.343794 IP ip-10-16-38-213.eu-west-1.compute.internal.47022 > ip-10-16-96-50.eu-west-1.compute.internal.https: Flags [S], seq 2712694359, win 62727, options [mss 8961,sackOK,TS val 1199658611 ecr 0,nop,wscale 7], length 0
22:03:53.713681 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28
22:03:54.735780 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28
22:03:55.471780 IP ip-10-16-38-213.eu-west-1.compute.internal.47022 > ip-10-16-96-50.eu-west-1.compute.internal.https: Flags [S], seq 2712694359, win 62727, options [mss 8961,sackOK,TS val 1199662739 ecr 0,nop,wscale 7], length 0
22:03:55.759789 ARP, Request who-has ip-10-16-38-213.eu-west-1.compute.internal tell ip-10-16-41-160.eu-west-1.compute.internal, length 28

@mcgege
Copy link
Member Author

mcgege commented Dec 26, 2020

@mvisonneau Sorry for the problems with this change ... we have some discussion now on this here, please be patient

@mcgege
Copy link
Member Author

mcgege commented Dec 27, 2020

@mvisonneau Will bring back the old default of 1 with #256

@mvisonneau
Copy link

awesome, thanks a lot @mcgege 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants