# IPFilter

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/IPFilter
> Markdown URL: https://mediated.wiki/source/IPFilter.md
> Source: https://en.wikipedia.org/wiki/IPFilter
> Source revision: 1340540280
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Packet filtering software}}
{{Multiple issues|
{{more citations needed|date=November 2019}}
{{notability|Products|date=November 2019}}
}}

{{Infobox software
 |name = ipf
 |logo = 
 |caption = 
 |screenshot = 
 |developer = Darren Reed
 |latest release version = 5.1.2
 |latest release date = {{Start date and age|2012|07|22|df=yes}}
 |operating system = [FreeBSD](/source/FreeBSD), [NetBSD](/source/NetBSD), [Solaris](/source/Solaris_(operating_system)), [illumos](/source/illumos) ([OpenIndiana](/source/OpenIndiana)), [Linux](/source/Linux), [HP-UX](/source/HP-UX)
 |genre = Packet filtering
 |license = Before 4.1.35 and 5.1.1: IPFilter License ([BSD-like](/source/BSD_license)); Since 4.1.35 and 5.1.1: [GNU GPLv2](/source/GNU_GPLv2){{NoteTag|The full license text can be found from ''IPFILTER.LICENCE'' file of its source directory. The author later also licensed version 5.1.2 under the previous BSD-like license for use in [FreeBSD](/source/FreeBSD) project.<ref>{{cite web|url=https://svnweb.freebsd.org/base?view=revision&revision=254219|title=FreeBSD base Revision 254219|access-date=9 Jun 2020}}</ref>}}
 |website = {{URL|https://www.phildev.net/ipf/}}
}}
'''IPFilter''' (commonly referred to as '''ipf''') is an [open-source software](/source/open-source_software) package that provides [firewall](/source/Firewall_(computing)) services and [network address translation](/source/network_address_translation) (NAT) for many [Unix-like](/source/Unix-like) operating systems. The author and software maintainer is Darren Reed.  IPFilter supports both IPv4 and IPv6 protocols, and is a [stateful firewall](/source/stateful_firewall).

IPFilter is delivered with [FreeBSD](/source/FreeBSD),<ref>{{cite web
| url=https://www.freebsd.org/doc/handbook/firewalls-ipf.html
| title=IPFILTER
| work=FreeBSD Handbook
| publisher=[FreeBSD](/source/FreeBSD)
| access-date=2019-11-10}}</ref> [NetBSD](/source/NetBSD),<ref>{{cite web
| url=https://netbsd.gw.com/cgi-bin/man-cgi?ipf
| title=ipf - alters packet filtering lists for IP packet input and output
| publisher=[NetBSD](/source/NetBSD)
| access-date=2019-11-10
| archive-date=2020-06-25
| archive-url=https://web.archive.org/web/20200625215028/https://netbsd.gw.com/cgi-bin/man-cgi?ipf
| url-status=dead
}}</ref> [Solaris 10 through 11.3](/source/Solaris_(operating_system)),<ref>{{cite web
| url=https://docs.oracle.com/cd/E23824_01/html/821-1453/eupsq.html
| title=IP Filter in Oracle Solaris (Overview)
| date=2012-03-01
| work=Oracle Solaris Administration: IP Services
| publisher=[Oracle](/source/Oracle_Corporation)
| access-date=2019-11-10}}</ref> [illumos](/source/illumos)<ref>{{cite web
| url=https://illumos.org/docs/about/features/#firewall
| title=Features
| quote=illumos uses ipfilter for firewalling. Using ipfilter you can create firewalls not just for the host system, but also for zones and hardware virtualized systems.
| publisher=[illumos](/source/illumos)
| date=2019-10-02
| access-date=2019-11-10}}</ref> ([OpenIndiana](/source/OpenIndiana)<ref>({{cite web
| url=https://wiki.openindiana.org/oi/4.3+Firewall
| title=System Administration: Firewall
| work=OpenIndiana Handbook
| first=Adam
| last=Števko
| date=2012-02-08
| access-date=2019-11-10
| archive-date=2019-11-11
| archive-url=https://web.archive.org/web/20191111014249/https://wiki.openindiana.org/oi/4.3%2BFirewall
| url-status=dead
}}</ref>) and [HP-UX](/source/HP-UX).<ref>{{cite web
| url=https://myenterpriselicense.hpe.com/cwp-ui/free-software/B9901AA
| title=HP-UX IPFilter
| date=2020-03-31
| publisher=[HPE](/source/Hewlett_Packard_Enterprise)
| access-date=2019-12-04}}</ref> It used to be a part of [OpenBSD](/source/OpenBSD), but it was removed by [Theo de Raadt](/source/Theo_de_Raadt) in May 2001 due to problems with its license.<ref>{{cite web
| url=https://marc.info/?l=openbsd-cvs&m=99118909527873
| title=Remove ipf
| work=openbsd-cvs
| first=Theo
| last=de Raadt
| author-link=Theo de Raadt
| date=2001-05-30
| access-date=2019-01-31}}</ref> It was subsequently replaced in OpenBSD by [PF](/source/PF_(firewall)), which was developed by OpenBSD's own developers. [DragonFly BSD](/source/DragonFly_BSD) removed its support for IPFilter in May 2011.  [Oracle Solaris](/source/Oracle_Solaris) imported the PF firewall from OpenBSD in the 11.3 release, and removed IPFilter in the 11.4 release. <ref>{{cite web
| url=https://blogs.oracle.com/solaris/post/migrating-from-ipf-to-packet-filter-in-solaris-114
| title=Migrating from IPF to Packet Filter in Solaris 11.4
| work=Oracle Solaris Blog
| first=Alexandr
| last=Nedvedicky
| date=2018-01-31
| access-date=2024-02-23}}</ref>

IPFilter can be installed as a runtime-[loadable kernel module](/source/loadable_kernel_module) or directly incorporated into the operating system [kernel](/source/Kernel_(operating_system)), depending on the specifics of each kernel and user preferences. The software's documentation recommends the module approach, if possible.

==Notes==
{{NoteFoot}}

==See also==
* [ipfw](/source/ipfirewall)
* [iptables](/source/iptables)
* [NPF (firewall)](/source/NPF_(firewall))
* [PF (firewall)](/source/PF_(firewall))

==References==
{{reflist}}

==External links==
* [https://sourceforge.net/projects/ipfilter/ ipfilter]
* [https://www.phildev.net/ipf/ The IP Filter FAQ by Phil Dibowitz] (2007)

{{NetBSD}}
{{Firewall software}}

Category:Internet Protocol based network software
Category:Firewall software
Category:BSD software

{{Unix-stub}}
{{Network-software-stub}}

---
Adapted from the Wikipedia article [IPFilter](https://en.wikipedia.org/wiki/IPFilter) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/IPFilter?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
