LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2008, 03:12 AM   #1
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
Unhappy Used Firewall rules for port 21


I used iptables and blocked port number 21 all ips other than my ip and 209.132.176.30 which is ftp.redhat.com. But i am getting these error messages.
Code:
Nov 12 11:46:30 Server yum-updatesd-helper: error getting update info: failed to retrieve repodata/primary.xml.gz from rhel-i386
-server-5 error was [Errno -1] Metadata file does not match checksum

Nov 12 13:46:12 Server yum-updatesd-helper: error getting update info: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386-server-5. Please verify its path and try again
How do i trouble shoot this? Thank you.
 
Old 11-17-2008, 05:48 AM   #2
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
Are you blocking outgoing connections?
 
Old 11-17-2008, 06:22 AM   #3
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
No, I wrote rule in INPUT chain.
 
Old 11-17-2008, 07:11 AM   #4
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
do you have an "allow established" on the input?
post your script...
 
Old 11-17-2008, 11:40 PM   #5
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
No i don't. What is the rule?
 
Old 11-18-2008, 01:15 AM   #6
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
Here's an explanation...
http://www.kalamazoolinux.org/presen...conntrack.html
 
  


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
firewall rules sulekha Linux - Networking 2 10-09-2008 02:30 AM
DHCP firewall rules mullog Linux - Networking 1 04-24-2005 11:52 PM
Firewall Rules studpenguin Linux - Security 0 07-01-2004 03:14 AM
help with firewall rules please deuce868 Linux - Security 1 06-14-2004 03:18 PM
Firewall rules question 65_289 Linux - Security 1 02-02-2003 07:21 AM


All times are GMT -5. The time now is 09:35 PM.

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