Network Tuning

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
21 hours 25 minutes
Difficulty
Intermediate
CEU/CPE
21
Video Transcription
00:01
>> Hey, there Cyberians.
00:01
Welcome back to the Linux Plus course here at Cybrary.
00:01
I'm your instructor Rob Gaus,
00:01
and in today's lesson,
00:01
we're going to discuss network tuning.
00:01
Now upon completion of today's lesson,
00:01
you're going to understand the purpose of this
00:01
sysctl.conf file and you're going to
00:01
know why you would need to modify this file if
00:01
you needed to play around with network configuration.
00:01
The sysctl.conf file is used to
00:01
set persistent kernel parameters.
00:01
You can use the sysctl command
00:01
to play with kernel parameters, but it's non-persistent.
00:01
In other words, you would use this sysctl to
00:01
tune kernel parameters that you wanted to change.
00:01
Then once you're sure that you'd like those changes,
00:01
you persist the changes by
00:01
making modifications to sysctl.conf.
00:01
The kernel settings in sysctl.conf are enabled on boot.
00:01
In other words, as the system boots up,
00:01
it reads from sysctl.conf to ensure that the files
00:01
are put in place and
00:01
the settings are put in place from this file.
00:01
The sysctl.conf is mentioned in this module
00:01
specifically because it contains
00:01
tuning settings for networking.
00:01
If you wanted to disable ping,
00:01
if you wanted to disable responding to ping,
00:01
make sure that your system doesn't respond to pings and
00:01
maybe fall prey to an attack, ping flood attack.
00:01
You can set icmp_echo_ignore_broadcasts = 1.
00:01
If you had to enable bridging or NAT or masquerade,
00:01
you would set ip_forward = 1 and we'll talk more
00:01
about masquerade when we get to Module 19,
00:01
towards the tail end of the course.
00:01
If you had to persist bonding,
00:01
you can set a bond inside of sysctl.conf using the
00:01
alias <bond name> or the
00:01
option <bond name> and saying the mode,
00:01
remember we talked about the different
00:01
bond modes in an earlier lesson.
00:01
But with that being said in this lesson,
00:01
we covered the purpose of sysctl.conf and some of
00:01
the modifications you might want to make
00:01
to the sysctl.conf for networking.
00:01
Thank you so much for being here and I look
00:01
forward to seeing you in the next lesson.
Up Next