rejetto forum

Find external address - many URLs are out of date

f2065 · 7 · 3459

0 Members and 1 Guest are viewing this topic.

Offline f2065

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
The search for an external IP in most cases does not work, writes an error «Can't find external address»
For example, these URLs do not seem to work:
http://www.melauto.it/public/rejetto/ip.php
http://www.mario-online.com/mio_indirizzo_ip.php
http://rejetto.webfactional.com/hfs/ip.php
http://www.whatsmyrealip.com

It is necessary to add the ability to custom external IP search services.
So that the user can place the ip.php script on his website, and HFS would only access it.
Using third-party sites is not reliable.
« Last Edit: November 29, 2019, 11:34:58 AM by f2065 »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 1986
    • View Profile
you can only use on custom personal server (HTTP://)

modify hfs.ini with this example

external-ip-server=http://en.utrace.de/|"text" value="

when external-ip-server is empty then rejetto list is used from line ip-services=


So that the user can place the ip.php script on his website

not available without recompiling the program
« Last Edit: November 29, 2019, 12:01:50 PM by Mars »



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13271
    • View Profile
using external-ip-server as Mars said is the way to go

not available without recompiling the program

i don't understand why you say so, external-ip-server is already working


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 1986
    • View Profile
Quote
So that the user can place the ip.php script on his website

not available without recompiling the program

Code: [Select]
.....
  loadIPservices();
  if IPservices = NIL then
    loadIPservices(getRes('IPservices'));
  if IPservices = NIL then exit;
.....

by that I meant that the services that no longer work are included in the exe to be available in any new configuration, some of these services no longer respond in http but in https, to avoid the error message it is necessary to remove links from sources, a plus would be that the webmaster can create a similar list without having to modify the configuration, currently only the configuration towards a dynamic dns is available.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13271
    • View Profile
yes you have the list in the exe, but then it is updated ASAP from online version.
i cleaned the online version already.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 700
  • Status: On hiatus (unspecified time)
    • View Profile
    • twitter.com/LeoNeeson
Hi everyone! My (very late) happy new year to all the folks here... :)

My 2 cents about this (just in case Rejetto wants to add them on 'ipservices.php' list):

Code: [Select]
http://checkip.amazonaws.com/
http://whatismyip.akamai.com/
http://bot.whatismyipaddress.com/

Those are fast and very reliable servers (with high uptime), which deliver the IP in plain text (raw). The first is from Amazon Web Services (AWS), the second from Akamai (CDN), and the third from WhatIsMyIPAddress.com (a long lasting service, online since 2000).

I'm happy to see Rejetto is back! :) I'm (like everyone else) also eager to see the final 2.4 version released (but I understand it needs a little more testing).

Cheers,
Leo.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.