Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 03, 2013 11:00 pm 
Offline
Senior Newbie

Joined: Tue Sep 03, 2013 9:09 pm
Posts: 5
Hello all,

I'm dealing with a challenging problem on my server that's causing a lot of symptoms. I've narrowed down what I think is the root problem. Here's where I'm at:

1) My Curl is not able to access Port 80. Other ports work no problem. So I can CURL any https URL, but not http URLS.
2) The problem isn't CURL, as when I use SVN, I can use repos that are https, but not http.
3) IP Tables seems to be OK as far as configuration goes, but there does appear to be a problem when I restart it. Here's what happens when I run iptables -;
https://pastebin.linode.com/8064

4) Here's what happens when I issue service iptables restart

Image

As you can imagine, this is all quite frustrating since PHP wraps CURL and pretty much everything is broken. Yum is even broken.

Thank you,


Josh


Last edited by jziering on Wed Sep 04, 2013 12:28 am, edited 1 time in total.

Top
   
PostPosted: Tue Sep 03, 2013 11:11 pm 
Offline
Newbie

Joined: Fri Jun 28, 2013 1:21 pm
Posts: 4
What does iptables -S say? I'm leaning toward your output rules.


Top
   
PostPosted: Tue Sep 03, 2013 11:16 pm 
Offline
Senior Newbie

Joined: Tue Sep 03, 2013 9:09 pm
Posts: 5
Quote:
root@li [~]# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT


Top
   
PostPosted: Tue Sep 03, 2013 11:23 pm 
Offline
Senior Member

Joined: Mon Aug 29, 2011 2:34 am
Posts: 77
jziering wrote:
Hello all,

I'm dealing with a challenging problem on my server that's causing a lot of symptoms. I've narrowed down what I think is the root problem. Here's where I'm at:

1) My Curl is not able to access Port 80. Other ports work no problem. So I can CURL any https URL, but not http URLS.
2) The problem isn't CURL, as when I use SVN, I can use repos that are https, but not http.
3) IP Tables seems to be OK as far as configuration goes, but there does appear to be a problem when I restart it. Here's what happens when I run iptables -;
https://pastebin.linode.com/8064

4) Here's what happens when I issue service iptables restart

Image

As you can imagine, this is all quite frustrating since PHP wraps CURL and pretty much everything is broken. Yum is even broken.

Thank you,


Josh


Pastebin the output of the following when curl is having this problem:

iptables-save

For #4, that is a problem with CentOS not understanding what the security table is. There's a patch for it, but the site hosting it is currently down, and I can't find another copy anywhere.


Top
   
PostPosted: Tue Sep 03, 2013 11:33 pm 
Offline
Senior Newbie

Joined: Tue Sep 03, 2013 9:09 pm
Posts: 5
https://p.linode.com/8065


Top
   
PostPosted: Tue Sep 03, 2013 11:35 pm 
Offline
Newbie

Joined: Fri Jun 28, 2013 1:21 pm
Posts: 4
out of curiosity what are the contents of /etc/sysconfig/iptables?


Top
   
PostPosted: Tue Sep 03, 2013 11:39 pm 
Offline
Senior Newbie

Joined: Tue Sep 03, 2013 9:09 pm
Posts: 5
Here you are:

https://p.linode.com/8066


Top
   
PostPosted: Wed Sep 04, 2013 12:28 am 
Offline
Senior Newbie

Joined: Tue Sep 03, 2013 9:09 pm
Posts: 5
Thanks Linode Support and everyone who responded.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group