logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

firehol-mac - ensure source IP and source MAC address match

Authors

FireHOL Team. FireHOL Reference Built 13 Apr 2025 firehol-mac(5)

Description

Any mac commands will affect all traffic destined for the firewall host, or to be forwarded by the host. They must be declared before the first router or interface. Note There is also a mac parameter which allows matching MAC addresses within individual rules (see firehol-params(5)). The mac helper command DROPs traffic from the IP address that was not sent using the macaddr specified. When packets are dropped, a log is produced with the label “MAC MISSMATCH” (sic.). mac obeys the default log limits (see [LOGGING][] in firehol-params(5)). Note This command restricts an IP to a particular MAC address. The same MAC address is permitted send traffic with a different IP.

Examples

mac 192.0.2.1 00:01:01:00:00:e6 mac 198.51.100.1 00:01:01:02:aa:e8

Name

firehol-mac - ensure source IP and source MAC address match

See Also

firehol(1) - FireHOL program • firehol.conf(5) - FireHOL configuration • firehol-params(5) - optional rule parameters • FireHOL Website • FireHOL Online PDF Manual • FireHOL Online Documentation

Synopsis

mac IPmacaddr

See Also