All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] firewall or ...?
@ 2013-01-23 15:22 Jenkins, Lee
  2013-01-23 15:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Jenkins, Lee @ 2013-01-23 15:22 UTC (permalink / raw)
  To: buildroot

I have successfully included apache into buildroot. Everything builds correctly and lands on the target and httpd loads when the target boots. Awesome.

I can wget from localhost on the target and download index.html, so httpd seems to be working. However, the web server does not respond to requests from external network clients. I wondered if the problem was on my LAN, but I was able to ping and even ssh into the target from those network clients. So the network seems to be OK.

In my admittedly limited experience this seemed like a firewall problem. But... there is no /etc/sysconfig/iptables and here's what iptables reports:

[root at buildroot sysconfig]# iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root at buildroot sysconfig]#

It looks open to me. Can anyone suggest why the web server is only serving requests from localhost?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130123/ef0f10e0/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] firewall or ...?
  2013-01-23 15:22 [Buildroot] firewall or ...? Jenkins, Lee
@ 2013-01-23 15:30 ` Thomas Petazzoni
  2013-01-23 15:40   ` Jenkins, Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-01-23 15:30 UTC (permalink / raw)
  To: buildroot

Dear Jenkins, Lee (ISS Houston),

On Wed, 23 Jan 2013 15:22:56 +0000, Jenkins, Lee (ISS Houston) wrote:

> It looks open to me. Can anyone suggest why the web server is only
> serving requests from localhost?

It might be configured explicitly to listen only on localhost, or it
might bind itself only on the interfaces that are up at the moment the
web server is started.

Do you get a "Connection refused", or does your HTTP client times out?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] firewall or ...?
  2013-01-23 15:30 ` Thomas Petazzoni
@ 2013-01-23 15:40   ` Jenkins, Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Jenkins, Lee @ 2013-01-23 15:40 UTC (permalink / raw)
  To: buildroot

Oops. It may be the LAN after all. I tried from a 3rd client and it works. Not sure why I can ssh from the other two clients, but for now I can see there is no firewall problem.

Thanks for the quick reply, Thomas!

-----Original Message-----
From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com] 
Sent: Wednesday, January 23, 2013 9:30 AM
To: Jenkins, Lee (ISS Houston)
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] firewall or ...?

Dear Jenkins, Lee (ISS Houston),

On Wed, 23 Jan 2013 15:22:56 +0000, Jenkins, Lee (ISS Houston) wrote:

> It looks open to me. Can anyone suggest why the web server is only
> serving requests from localhost?

It might be configured explicitly to listen only on localhost, or it
might bind itself only on the interfaces that are up at the moment the
web server is started.

Do you get a "Connection refused", or does your HTTP client times out?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-23 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 15:22 [Buildroot] firewall or ...? Jenkins, Lee
2013-01-23 15:30 ` Thomas Petazzoni
2013-01-23 15:40   ` Jenkins, Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.