LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2011, 03:42 AM   #1
elazarik
LQ Newbie
 
Registered: May 2011
Distribution: Ubuntu, Fedora
Posts: 17

Rep: Reputation: Disabled
Question Do iptables options differ on different Linux OS?


Hi

I need to write a GUI for iptables. This GUI needs to create iptables rules.
Potentially this GUI might need to work with different Linux OS (Ubuntu, Fedora, and others)

Are there changes in the iptables command line options between different Linux? Or it is the same package compiled for all ?

Thank you
Karin
 
Old 08-04-2011, 01:48 AM   #2
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
I believe IPtables is standard across the board. The only difference maybe in older versions where it was chains.
 
Old 08-04-2011, 05:04 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by elazarik View Post
I need to write a GUI for iptables. This GUI needs to create iptables rules.
There are quite a few GUIs for iptables already, so it is hard to see why you need to write another one. And, yes, it would need to create iptables rules, if it were to be of any use.

Quote:
Originally Posted by elazarik View Post
Potentially this GUI might need to work with different Linux OS (Ubuntu, Fedora, and others)

Are there changes in the iptables command line options between different Linux? Or it is the same package compiled for all ?
Quote:
The only difference maybe in older versions where it was chains.
I think the only case in which you might see Ipchains, these days, is with one of the really compact distros which has remained faithful to a old 2.4 kernel (or a pre-2.4 kernel), for the sake of extreme space saving (maybe embedded?), or ancient distros which are out of support by 5+ years. It isn't going to be an issue with an even vaguely up-to-date release of any distro that you mention.

More up-to-date distros, in general, will tend to have more up-to-date versions of iptables. I can't think of any changes recently that have changed the command line options available for iptables itself, which was the question that was asked. You are more likely to run into difficulties with other things (modules, for example) than iptables itself, so you could do with researching the availability of modules for the target distro list, before you commit to making the use of any particular module necessary (or, you could take measures to forcibly make any needed modules available, or disable features that require obscure modules...the approach here is up to you, and needs to be thought about in the context of what you are trying to achieve).

Last edited by salasi; 08-04-2011 at 05:04 AM. Reason: typo
 
Old 01-02-2012, 10:00 AM   #4
elazarik
LQ Newbie
 
Registered: May 2011
Distribution: Ubuntu, Fedora
Posts: 17

Original Poster
Rep: Reputation: Disabled
thank you for your answers
I also have yet to find a distro with different iptables options
So for now I will assume they are constant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IMP: How Linux like OS differ kumars.nitin123 Linux - Desktop 2 10-30-2009 08:10 PM
in what ways do the structures of linux distros differ from each other? stabu Linux - General 8 11-22-2008 05:16 AM
differ between linux and solaris in socket programming taureanyang Programming 2 07-06-2005 03:27 AM
kernel options and iptables Y0jiMb0 Linux - Newbie 2 12-01-2003 04:01 AM
FreeBSD & Linux differ widely in view of my HDD Tinkster *BSD 7 04-05-2003 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration