Debian WebServer - [SOLVED]

New to Debian (Or Linux in general)? Ask your questions here!

Re: Debian WebServer

Postby dilberts_left_nut » 2016-01-26 13:49

Polybus wrote:Wonder what UPnP was doing that caused it to not work.
Nothing - it's unrelated.
Likely the browser cache expired or something (maybe someone in Redmond ticked your "allow" box :lol: ).
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4658
Joined: 2009-10-05 07:54
Location: enzed

Re: Debian WebServer

Postby dasein » 2016-01-26 14:58

Confirmed: the site is accessible here too.

Do yourself a favor and back up your working Apache config. Right now. (As in, stop reading and start archiving.)

Polybus wrote:Wonder what UPnP was doing that caused it to not work.

https://en.wikipedia.org/wiki/Post_hoc_ergo_propter_hoc
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Debian WebServer

Postby geekosupremo » 2016-01-26 16:42

This is also good reminder that when checking web stuff either start a private or incognito window to see if the browser cache is interfering with things.
geekosupremo
 
Posts: 154
Joined: 2014-10-30 23:17

Re: Debian WebServer

Postby Polybus » 2016-01-26 22:30

(Config files backed up!!) :P

I'm not planning on contradicting anything from anyone - just want to understand why all this happened.

I accept that this may have been caused by something unrelated to UNPnP, but I've been playing with my router (Oh Oh!!!) and here are my results.

UNpnP off - all working
Switch it back on - No access
Switch it back off - all working
Switch On - No access
Switch off - all working

Anyway - can't say I am absolutely clear in my head what caused this particular issue but I can say I've learned a lot from you guys during the experience - and for that - a big thank you to each and every one of you :)

Polybus
Polybus
 
Posts: 13
Joined: 2016-01-22 01:11

Re: Debian WebServer

Postby ralph.ronnquist » 2016-01-26 22:51

Thanks; it's a bit of a gem to learn that some routers interfere badly in the port 80 traffic when their UPnP is on.
It's then comforting that the prevailing popular view on UPnP has it turned off.
User avatar
ralph.ronnquist
 
Posts: 303
Joined: 2015-12-19 01:07
Location: Melbourne, Australia

Re: Debian WebServer

Postby dasein » 2016-01-26 23:16

Polybus wrote:...here are my results.

UNpnP off - all working
Switch it back on - No access
Switch it back off - all working
Switch On - No access
Switch off - all working

Huh. Well, that's enough to convince me (assuming you did nothing else/made no other changes).

Properly implemented UPnP absolutely "shouldn't" affect this problem at all. But based on these results, there is clearly at least one router out there that missed that memo.

Very glad to hear that you got it sorted out. And a huge thanks for posting back your solution. Speaking of which, for the benefit of others who may have a similar problem in the future, would you please be so kind as to mark your thread as [SOLVED]? (Edit the subject line of your initial post.)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Debian WebServer

Postby geekosupremo » 2016-01-26 23:19

Polybus wrote:(Config files backed up!!)

W00t!

Glad it's working for you! I second dasein
dasein wrote:huge thanks for posting back your solution
geekosupremo
 
Posts: 154
Joined: 2014-10-30 23:17

Re: Debian WebServer

Postby dilberts_left_nut » 2016-01-26 23:35

Hmm...OK.
Probably disables the 'NAT loopback' feature (which is a nasty hack anyway) in order to enable UPnP (which should never be used either).
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4658
Joined: 2009-10-05 07:54
Location: enzed

Re: Debian WebServer

Postby Polybus » 2016-01-27 00:11

Just in case anyone is interested.

Router is:

NETGEAR - Cable Home Network Gateway
CG3100D - 2BPAUS


Issued by Telstra - largest ISP in Australia - for what it's worth - I know they do "something" to them - because they have restricted the Dynamic DNS feature in the router to only one company - who knows what else they play with before giving it to us.

Polybus
Polybus
 
Posts: 13
Joined: 2016-01-22 01:11

Re: Debian WebServer

Postby dasein » 2016-01-27 00:16

Polybus wrote:I'm not planning on contradicting anything from anyone...

Never be shy about being contrary when you have the facts on your side. (I do it all the time. :mrgreen:)

Seriously, as d_l_n points out, and I concur, if PnP is the culprit (and the empirical evidence is pretty compelling that it is), then it's an egregiously flawed implementation. Your perseverance is going to help anyone with similar hardware avoid the grief you've endured.

And as convinced as I was that this was a config problem, I'm happy to be wrong in service of finding a solution. With some routers, URLs apparently are spontaneously munged in transit. Totally bogus (and even deeply disturbing) behavior on the router's part, which is a big part of why this proved so hard to suss out. But everybody learned something. Win-win.

And thanks for posting the details of the offending hardware. That too will help others who encounter this problem.

(And +1 to the backup "w00t"!)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Debian WebServer - [SOLVED]

Postby Debian-Notsonoob » 2017-02-17 09:48

LOL, well what do you expect from telstra???
they block most ip addresses in australia. As in they block the IP from reaching your router, if you go to remote ping and do a traceroute back to your address it will NEVER get there!! it stops about 2 hops from your address.
i have had the same problem for over 3 years, they also dont allow IPv6 over thier network they also block 6in4 tunnels so any hope of using IPv6 to bypass thier blocks is a waste of time.
Debian-Notsonoob
 
Posts: 3
Joined: 2017-02-10 00:43

Re: Debian WebServer - [SOLVED]

Postby Debian-Notsonoob » 2017-02-17 12:15

I see that Telstra has changed things,
I can FINALLY make my website available, I tested nginx, with a basic install and minimal setup, it works first time with NO PROBLEMS at all. even tested from remote and it connects with no problems at all from anywhere in the world.
thanks to dotcom-tools with most responses under a second.
still no IPv6 access though, which sucks badly.
Debian-Notsonoob
 
Posts: 3
Joined: 2017-02-10 00:43

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: stevepusser and 9 guests

fashionable