Skip to contentSkip to conversation

Is iptables available for Mac OS 10.X

DISCUSSION Alex Chen 3 participants 4 messages Jun 19, 2003 – Jun 20, 2003

lore
Share & tools
lore

Alex Chen

author
#0 lore raw

Is there a port of iptables done on Mac OS 10.X anywhere? If not, is it easy to do the port ourselves?

If I understand correctly, there are two parts of iptables, kernel space and user space and what we use in the RPM is only user space. It need the kernel space change compiled into the kernel, e.g. Linux. If so, does anyone know if the Mac OS kernel, based on BSD I believe, supports the user space part of the iptables?

Any help is appreciated.

Alex Chen

#1 lore raw

I would think it may be easier to get ipfw (the BSD firewall equivalent to iptables) since as you say the Mac OSX is a BSD derivative

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Chen
Sent: Thursday, June 19, 2003 3:41 PM
To: [email protected]

Is there a port of iptables done on Mac OS 10.X anywhere? If not, is it easy to do the port ourselves?

If I understand correctly, there are two parts of iptables, kernel space and user space and what we use in the RPM is only user space. It need the kernel space change compiled into the kernel, e.g. Linux. If so, does anyone know if the Mac OS kernel, based on BSD I believe, supports the user space part of the iptables?

Any help is appreciated.

Alex Chen

#2 lore raw

FYI,

You don't need to even 'get' ipfw on Mac OS X. It's there by default (at /sbin/ipfw).

When you enable the firewall under System Preferences -> Sharing -> Firewall, you are using a dumbed down GUI to ipfw.

If you check freshmeat.net or www.versiontracker.com, you'll find a number of GUI frontends available for ipfw on Mac OS X.

Quoted 31 lines · Aldo S. Lagana

Date: Thu, 19 Jun 2003 15:48:22 -0400
From: Aldo S. Lagana <[email protected]>
To: [email protected], [email protected]
Subject: RE: Is iptables available for Mac OS 10.X

I would think it may be easier to get ipfw (the BSD firewall equivalent to iptables) since as you say the Mac OSX is a BSD derivative

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Chen
Sent: Thursday, June 19, 2003 3:41 PM
To: [email protected]

Is there a port of iptables done on Mac OS 10.X anywhere? If not, is it easy to do the port ourselves?

If I understand correctly, there are two parts of iptables, kernel space and user space and what we use in the RPM is only user space. It need the kernel space change compiled into the kernel, e.g. Linux. If so, does anyone know if the Mac OS kernel, based on BSD I believe, supports the user space part of the iptables?

Any help is appreciated.

Alex Chen

author
#3 lore raw

Thanks for the information, Ed.

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Edward Moon
Sent: Thursday, June 19, 2003 5:57 PM
To: Aldo S. Lagana
Cc: [email protected]; [email protected]
Subject: RE: Is iptables available for Mac OS 10.X

FYI,

You don't need to even 'get' ipfw on Mac OS X. It's there by default (at /sbin/ipfw).

When you enable the firewall under System Preferences -> Sharing -> Firewall, you are using a dumbed down GUI to ipfw.

If you check freshmeat.net or www.versiontracker.com, you'll find a number of GUI frontends available for ipfw on Mac OS X.

Quoted 31 lines · Aldo S. Lagana

Date: Thu, 19 Jun 2003 15:48:22 -0400
From: Aldo S. Lagana <[email protected]>
To: [email protected], [email protected]
Subject: RE: Is iptables available for Mac OS 10.X

I would think it may be easier to get ipfw (the BSD firewall equivalent to iptables) since as you say the Mac OSX is a BSD derivative

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alex Chen
Sent: Thursday, June 19, 2003 3:41 PM
To: [email protected]

Is there a port of iptables done on Mac OS 10.X anywhere? If not, is it easy to do the port ourselves?

If I understand correctly, there are two parts of iptables, kernel space and user space and what we use in the RPM is only user space. It need the kernel space change compiled into the kernel, e.g. Linux. If so, does anyone know if the Mac OS kernel, based on BSD I believe, supports the user space part of the iptables?

Any help is appreciated.

Alex Chen