Fedora Linux Support Community & Resources Center
  #1  
Old 10th June 2007, 10:02 PM
jolephoto Offline
Registered User
 
Join Date: Jun 2007
Posts: 6
Outbound port 80 requests being send internally

I'm having a really weird issue with my server (FC6)

Whenever I try to make a request outbound on port 80 to an external server, I get re-routed to myself, and it returns index.html of my own server. What's even odder is that wget report the correct IP address and everything, but sure enough the page it just got was my own homepage.

It's not the router/gateway, as it works fine on a different machine behind the same gateway, and it doesn't apply to other ports. (eg. I can ssh to another host on port 22 or otherwise)

Here's what the wget looks like

# wget google.com
--14:57:53-- http://google.com/
Resolving google.com... 64.233.167.99, 72.14.207.99, 64.233.187.99
Connecting to google.com|64.233.167.99|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3080 (3.0K) [text/html]
Saving to: `index.html.2'

100%[================================================== ================================================== ===================================>] 3,080 --.-K/s in 0s

14:57:53 (59.0 MB/s) - `index.html.2' saved [3080/3080]

Clearly it isn't being downloaded at 59MB/s, but it's getting it's own server's page.

I'm using lighttpd.

Here are the if's on the server.

eth0 Link encap:Ethernet HWaddr 00:10:A7:1A:4F:E0
inet addr:192.168.1.199 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:a7ff:fe1a:4fe0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2394756 errors:1 dropped:0 overruns:0 frame:1
TX packets:2489580 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1320301877 (1.2 GiB) TX bytes:1542817631 (1.4 GiB)
Interrupt:169 Base address:0x6c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28159 errors:0 dropped:0 overruns:0 frame:0
TX packets:28159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10132392 (9.6 MiB) TX bytes:10132392 (9.6 MiB)


Please help
Reply With Quote
  #2  
Old 11th June 2007, 05:22 PM
fancylad Offline
Registered User
 
Join Date: Nov 2006
Location: Hamilton, Ontario
Posts: 33
Hmmm...very interesting problem. I was hoping that somone else would reply as I am very curious as to the reason for this. Are you using some kind of firewall on your server? Perhaps you have a rule that directs all outbound traffic destined for port 80 to either your eth0 or lo interfaces? I'm just taking a stab at this. Have you tried stopping your web server and then trying it? Perhaps there is some kind of configuration change for lighttpd that can help? Good luck.
Reply With Quote
  #3  
Old 11th June 2007, 08:42 PM
jolephoto Offline
Registered User
 
Join Date: Jun 2007
Posts: 6
I am not using a Firewall on the server, and I have restarted lighttpd numerous times. Like I said, I don't think it's the external firewall because other machines seem to work fine.

I suspect there's some sort of problem with the lo adapter, does anyone know of any issues related to that? I guess I can always try the ol' reboot but I have 80 days of uptime already
Reply With Quote
  #4  
Old 19th June 2007, 08:34 AM
jolephoto Offline
Registered User
 
Join Date: Jun 2007
Posts: 6
Sorry guys, I guess my friend had done a bit of mis-diagnosing, it appears it was the router after all. The issue has been resolved.
Reply With Quote
Reply

Tags
internally, outbound, port, requests, send

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send pulses to printer port? vze4p6c2 Programming & Packaging 1 3rd September 2007 09:03 AM
Where to send Feature Requests bradchaus Using Fedora 2 12th July 2006 11:42 AM
Core 4, Sendmail to send on another port EHCanadian Servers & Networking 0 28th February 2006 06:00 PM
Postfix Outbound Port 25 Blocked savage Servers & Networking 0 6th December 2005 02:30 PM
Anyone know how to send feature requests for yahoo messenger? Shadow Skill Wibble 5 4th September 2004 02:18 AM


Current GMT-time: 12:51 (Friday, 25-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat