Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Support > Guides & Solutions (No Questions)

Guides & Solutions (No Questions) Post your guides here. You can also add your comments to a guide, but don't start a thread to ask a question. Use another forum for that.


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2007-07-26, 02:37 AM CDT
mndar's Avatar
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,047
Get those iptables goodies !!

The iptables packages with Fedora 7 doesn't provide you will all the goodies the kernel has to offer, 'statistic' match support being one of them. Here's how you can get them
Download the kernel and iptables source rpms from
http://download.fedora.redhat.com/pu...94.fc7.src.rpm
http://download.fedora.redhat.com/pu....3.7-2.src.rpm

Install them
rpm -ivh kernel-2.6.21-1.3194.fc7.src.rpm
Use rpmbuild to get the kernel source tree under /usr/src/redhat/BUILD
rpmbuild -bp /usr/src/redhat/SPECS/kernel-2.6.spec
Install the iptables source rpm
rpm -ivh iptables-1.3.7-2.src.rpm

Modify /usr/src/redhat/SPECS/iptables.spec. We have to modify all instances (5 of them) of KERNEL_DIR=/usr to point to the correct kernel source tree. In my case its /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.x86_64 . So I change it to KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.x86_64 . Depending on your architecture, this will be different for you but always under /usr/src/redhat/BUILD/

Use rpmbuild to build to rpms
rpmbuild -ba /usr/src/redhat/SPECS/iptables.spec

Install it
rpm -Uvh --force /usr/src/redhat/RPMS/x86_64/iptables-1.3.7-2.x86_64.rpm

To confirm if you got the 'statistic' match extension, execute
iptables -m statistic --help
Reply With Quote
  #2  
Old 2007-07-26, 02:40 AM CDT
marcelkraan's Avatar
marcelkraan Offline
Registered User
 
Join Date: Jul 2006
Location: Netherlands/Velsen (5km from amsterdam)
Posts: 218
and what is nice about statis then?
why must i install it?
Reply With Quote
  #3  
Old 2007-07-26, 03:03 AM CDT
mndar's Avatar
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,047
Thats why -> http://forums.fedoraforum.org/showthread.php?p=835704 <- To aggregate bandwidth using multiple connections.
I was about to edit my post to provide the link. Never thought someone will reply to a post so quick!!

Go FedoraForum.org !!!
Reply With Quote
  #4  
Old 2007-07-27, 09:09 AM CDT
mndar's Avatar
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,047
Some other netfilter extensions
http://www.netfilter.org/documentati...s-HOWTO-3.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Little Command Line Goodies That You Come Across and Then Can Never Find Again pete_1967 Guides & Solutions (No Questions) 7 2009-03-23 04:40 AM CDT
command #service iptables save changed the original config of iptables kesavulur Security 0 2007-11-27 10:33 PM CST
Oldies but goodies. John the train Wibble 12 2007-11-19 12:12 PM CST
XFCE Goodies n3k0deSoldier Software 0 2006-04-10 04:22 PM CDT
Problems In FC4 W/ Having to Type ./Iptables instead of Iptables eliminate Servers 2 2006-01-16 05:51 PM CST

Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 10:38 AM CDT.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Rules | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2010, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Thanks to NLP-er enjoy automatic translations (vBET 2.3.10)