Manage kernel modules and their parameters

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this exercise, you need to modify a kernel module to provide more information.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Enable nf_conntrack time stamping in the running kernel.

Check to see if the module is loaded:

lsmod | grep nf_conntrack

View the parameters available for the nf_conntrack module:

modinfo nf_conntrack

Verify the current setting of the timestamp parameter:

cat /sys/module/nf_conntrack/parameters/tstamp

Stop the firewall and unload the module:

systemctl stop firewalld
modprobe -r nf_conntrack

Load the module with timestamping enabled:

modprobe nf_conntrack tstamp=1

Verify the current setting of the timestamp parameter:

cat /sys/module/nf_conntrack/parameters/tstamp
Make the change persist through a restart.

Make the change persist through a reboot:

echo "options nf_conntrack tstamp=1" > /etc/modprobe.d/nf_conntrack.conf

Additional Resources

You have been asked to enable connection tracking timeflow stamping in the Linux kernel of a particular host. This change should take effect immediately, as well as persist upon reboot.

The kernel module to change is nf_conntrack, you need to modify the parameter that enables time stamping.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?