I found the source code from a freebsd ftp by I'm not sure it's the code that the OSX version. Also I check apple source code web site but did not find it.
Asked
Active
Viewed 940 times
1 Answers
3
ipfw
is inherited from FreeBSD; you can find current FreeBSD ipfw source here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ipfw/, but OS X's ipfw source is here: http://www.opensource.apple.com/source/network_cmds/network_cmds-329.2.2/.

yan
- 20,644
- 3
- 38
- 48
-
IPFW is composed of two parts: a userland utility for controlling firewall functionality and a kernel-level packet filter engine. Link to the later in FreeBSD: http://svnweb.freebsd.org/base/head/sys/netpfil/ipfw/ – Marián Černý Nov 12 '13 at 03:30