Page MenuHomeFreeBSD

Allow loading related kernel modules through ipfw rc script
ClosedPublic

Authored by driesm.michiels_gmail.com on Mar 21 2019, 7:40 PM.

Details

Summary

This adds three switches to the rc script of ipfw to enable loading the ipfw nat64, nptv6 and pmod kernel modules.
This diff also updates the man page of rc.conf documenting the switches.

PR: 234252

Test Plan

Boot with firewall_nat64_enable="YES" and check that ipfw_nat64 module is loaded.
Boot with firewall_nptv6_enable="YES" and check that ipfw_nptv6 module is loaded.
Boot with firewall_pmod_enable="YES" and check that ipfw_pmod module is loaded.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

driesm.michiels_gmail.com retitled this revision from Allow loading of IPv6 kernel modules trough ipfw rc script to Allow loading of IPv6 kernel modules through ipfw rc script.Mar 21 2019, 7:42 PM

I think you may find useful ipfw_pmod module too, it adds support for TCP MSS modification, but, yes, it is not related to IPv6. However, ng_tcpmss does not support TCP over IPv6, but ipfw_pmod does :)

driesm.michiels_gmail.com retitled this revision from Allow loading of IPv6 kernel modules through ipfw rc script to Allow loading related kernel modules through ipfw rc script.
driesm.michiels_gmail.com edited the summary of this revision. (Show Details)
driesm.michiels_gmail.com edited the test plan for this revision. (Show Details)

Thanks for the pointer, this diff was by no means limited to the IPv6 modules :)!
I added a switch for the pmod module in a similar fashion.

This revision is now accepted and ready to land.Mar 22 2019, 10:28 AM
This revision was automatically updated to reflect the committed changes.