LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2009, 08:02 AM   #1
Ishkabibble
Member
 
Registered: Aug 2003
Location: Worcester MA
Distribution: Ubuntu 8.04
Posts: 120

Rep: Reputation: 15
Configuring firehol - get-iana.sh


I use dansguardian along with firehol and tinyproxy. When I boot up, I get a message that my ip tables are out of date and I should use the supplied get-iana.sh script to update them. I can't find it, but I found this explanation. Can someone translate that into English for me?
 
Old 08-25-2009, 05:38 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
What the script does is munge output of http://www.iana.org/assignments/ipv4-address-space/ into a format that's usable for the firewall application as apparently it doesn't like it if the reserved ranges aren't available.

Basically a take on running something like [code]curl -s http://www.iana.org/assignments/ipv4-address-space/ | awk -F'/' '/[0-9].*RESERVED/ {print "iptables -A $CHAINNAME -i $DEVICENAME "$1".0.0.0/8 -j DROP"}'[\code] if you don't run what you run.
 
  


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
Firehol Configuration Lawrentium Linux - Security 1 10-29-2007 07:49 PM
FireHOL Not Starting... Spudgun88 Ubuntu 0 11-06-2006 09:45 AM
FireHOL - Bridging Mithrilhall Linux - Networking 5 08-23-2006 05:49 PM
Firehol problem? anti.corp Debian 5 12-30-2005 11:09 PM
firehol and amule/emule Linux_Debian Linux - Security 0 03-19-2005 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration