|
|
#1 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 13156
Join Date: Feb 2011
Device: Kindle Paperwhite
|
Browser and localhost
|
|
|
|
|
|
#2 |
|
Cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 440
Karma: 1301118
Join Date: Jan 2012
Location: Away For a Month
Device: Kindle touch (hacked to the core) 5.3.2
|
Try 0.0.0.0 instead of localhost
__________________
Useful Command: : (){ : | : & } ; : |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,110
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
The "any address, any interface" setting?
Why not just use the primary address of one of the machine's interfaces? The kernel stack will recognize that as "local" and send it over the "localhost" path even though it isn't 127.0.0.1
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#4 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 13156
Join Date: Feb 2011
Device: Kindle Paperwhite
|
Okay, it appears that 0.0.0.0 works. Addresses of interfaces don't; it doesn't give me the popup, just hangs and refuses to load. Thanks for the help.
|
|
|
|
|
|
#5 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,110
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Then list the open sockets and see what address/interface it is using - then use that setting. Using just 0.0.0.0 will result in some other interesting problems with other things that "hang" after your application claims their address.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#6 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 13156
Join Date: Feb 2011
Device: Kindle Paperwhite
|
Unfortunately, it appears that the address it's using (per netstat) is 127.0.0.1, which's failure was the original reason for this post. I think that the browser is special-casing on that to disallow, well, this. If there's a better idea available, I'm open to suggestions.
|
|
|
|
|
|
#7 | |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,294
Karma: 4929663
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,110
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Ah, but is it coded to disallow the entire 127.0.0.0/8 address range that is localhost? Try some of the other 2^24 (-3) addresses on lo if there is any chance they don't special case the entire range. 2) Do you have the network bridging available? Put up a single destination bridge to somewhere in 127.0.0.0/8 Assign an address to the bridge outside of 127.0.0.0/8 Try that. 3) Do you have the dummy interface available? Put that up, give it an address outside of 127.0.0.0/8 Try that.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#9 |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,294
Karma: 4929663
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
You could try with some other IP (like 127.0.0.2), but you will need to change the iptables configuration first, because by default, the firewall will reject such packets.
|
|
|
|
|
|
#10 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,110
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
But in general, 127.0.0.0/8 should be allowed, not just one address. I have an "iptables day" in my near future to fill out the other choice not yet described in my "exploring a new Kpw" thread. PS: ixtab - if you want to move these communication controls posts out of your thread and into mine (where they better belong) - go for it!
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Browser That Does All? | ratkity | Kindle Fire | 12 | 12-09-2011 01:53 PM |
| Browser Gone | Raygun7 | Kobo Reader | 1 | 10-24-2011 08:10 AM |
| how to browse localhost with wifi off? | bsdcpp | Kindle Developer's Corner | 2 | 05-15-2011 03:43 PM |
| Browser? | mesand | Erste Hilfe | 2 | 06-03-2010 02:15 PM |