ipfw is an IP firewall and traffic shaper control program.

The term "me" appears on ipfw statements like below:

ipfw add 02050 allow tcp from me to any out

I would like to know exactly what "me" means here.

A man page defines "me" as

me: matches any IP address configured on an interface in the system.
The address list is evaluated at the time the packet is analysed.

Regarding the phrase "configured ... in the system", which system is it talking about? Is it talking about the local computer that contains the current directory in which the ipfw command is running, as opposed to a remote computer?

Regarding the phrase "configured on an interface in the system", what does it mean by an "interface"? Examples of interfaces familiar to me are keyboards, mice, and display monitors. However, I do not think that the man page is talking about keyboards, mice, or monitors.

  • 4
    why would "me" refer to a separate system? – schroeder Mar 1 '18 at 11:09
  • Do you know what an IP address is? That might clear up a lot of things. – schroeder Mar 1 '18 at 11:13

"me" means the system ipfw is running on. "Itself". The thing that ipfw affects.

"interface" means "network interface", not "user interface". Network interfaces get IP addresses, not keyboards.

  • I'm sure one of these days keyboards will start getting IP addresses as well... – a CVn Mar 1 '18 at 15:41
  • @MichaelKjörling and then that will be connected to a networking interface – schroeder Mar 1 '18 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.