LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-15-2014, 04:33 PM   #1
edashcraft
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
iptables and symantec remote agent


i'm running the symantec remote agent for linux on a rhel 4 box. the media server is a windows server running symantec backupexec 2010. my backup jobs had been running flawlessly for years. about a month ago they started failing with an error message could not connect to remote host. symantec uses port 10000 to communicate with to the ralus agent on rhel 4. that stopped working and we cannot determine why. if i stop iptables, the connection returns and i can run my backup jobs again. i have tried adding the allow line in iptables which did not work. not sure if it was the syntax i used or where in iptables i placed the line. i'm still at a loss as to why the connection stopped working. i made no changes to the server in any way.

here is my current iptables:
# Generated by iptables-save v1.2.11 on Sun Apr 13 08:41:42 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [526:72198]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-crypt -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-auth -j ACCEPT
-A RH-Firewall-1-INPUT -d 224.0.0.251 -p udp -m udp --dport 5353 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Sun Apr 13 08:41:42 2014

i have an open ticket with both redhat and symantec. unfortunately, we have gone nowhere fast.

if anyone can shed some light on this i would greatly appreciate it.

thank you
ed
 
Old 04-15-2014, 05:31 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
First question: so what happened about a month ago? Should be something: updates, re-configuration, anything. Check for mtimes / log contents. If nothing make it log more verbosely. That said the single best way to troubleshoot iptables rule sets is to use "-j LOG" rules to actually log what traffic gets dropped / rejected. In your case it's kind of odd since you have a default filter table INPUT chain policy of "accept", but anyway:
Code:
# Generated by iptables-save v1.2.11 on Sun Apr 13 08:41:42 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [526:72198]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-crypt -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-auth -j ACCEPT
-A RH-Firewall-1-INPUT -d 224.0.0.251 -p udp -m udp --dport 5353 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT
-A RH-Firewall-1-INPUT -j LOG --log-prefix "REJECTED "
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Sun Apr 13 08:41:42 2014
then check your /var/log/messages.
 
Old 04-16-2014, 08:18 AM   #3
edashcraft
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
thank you

thank you. i agree, it is very, very strange. i am the admin on this box and i can say without hesitation or doubt that i made no changes. this is a production server that is in use 24/7. any changes/modification/updates are done in a very narrow time time window. there has been no time window in the past year. that being said, this is not the first time, or the only rhel4 box i have that has done this. the other rhel4 box started working as mysteriously as it stopped. anyway, thank you for your reply. i will try the log output and let you know the results.
 
  


Reply



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
[SOLVED] where to get compat-libstdc++-33 and libstdc++.so.5 files for Symantec Backup Agent ? albertwt Linux - Newbie 4 09-09-2010 09:02 AM
Backup Remote Agent Keeps Stopping spangler Linux - General 6 12-27-2007 02:39 PM
veritas remote agent spangler Linux - Software 2 12-17-2007 01:45 PM
LXer: Symantec Unveils Linux Supported Remote Control Solution LXer Syndicated Linux News 0 07-01-2006 09:33 AM
Veritas remote agent telnet issue how_wood Linux - General 1 01-11-2006 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 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