LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2014, 10:48 AM   #1
fxp
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Rep: Reputation: Disabled
question on debugging network stack on CentOS 6.5 machine


Hi,

I've recently installed CentOS 6.5 on a laptop at home to do some Openstack experimentation. (The setup includes downloading and running a Devstack setup). The install includes a dashboard I should be able to connect to with a browser running on my MAC. This connection fails. If I try telneting to the same IP/port I get:

MacBook-Pro:C fxp$ telnet 192.168.1.113 80 Trying 192.168.1.113... telnet: connect to address 192.168.1.113: Connection refused telnet: Unable to connect to remote host

On the host I see via netstat that httpd is listening on 0.0.0.0:80. The firewall INPUT filter looks ok.

I'm looking for some debug commands I can use on the host to see what happens to these packets after arrival.

thanks,
fxp
 
Old 12-29-2014, 02:45 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
As you started the services that make up Devstack, is there anything odd in daemon or service logs?
Can you access the dashboard from the Devstack box itself? As in 'curl -I http://127.0.0.1:80'?
Is SELinux enabled? If so does /var/log/audit/audit.log show something?
Is there any other port on the Devstack box you can successfully test from your MacBook?
What does 'iptables-save' return?
 
Old 01-30-2015, 11:32 AM   #3
fxp
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi all,

I finally got back to this recently. Turns out the problem was an entry in the INPUT chain of iptables. I took a closer look at iptables after running tcpdump and seeing that the server was generating ICMP host prohibited responses.

Thanks,
fxp
 
  


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
Gdb stack frame unable to see on other machine.ARS Santoshkb Linux - Server 0 01-11-2014 01:44 PM
question about centos/rhel with 2 ips on one network and one to be globally visible. Majed17 Linux - Networking 2 03-01-2013 12:46 AM
Basic question: Network stack works as thread? service? softirq? or something else? gilbertjuly Linux - Networking 0 03-18-2012 09:49 AM
debugging madness - user stack mem maps, core files and other wonders kubaPL Programming 1 12-20-2009 07:54 AM
Question: Network Stack in SMP mode zman2245 Linux - Kernel 2 10-09-2009 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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