X-IP

Dynamic DNS is a service that allows you to access a remote machine through a domain name instead of knowing it's IP address.
There are many companies providing this service (No-IP, DynDNS, etc...)
Running this application on your phone makes it take advantage of these services and assign a fixed domain name at your phone.

This version comes bundled with an integrated FTP and HTTP server, so you can access all the files in your SD card from anywhere using a FTP client like FileZilla (open-source) or create a custom web page to share your files through an internet connection.

You can download it from google market.






X-IP was rebuilt from the ground up, some bugs where fixed and new features added:
  • Support for multiple services
  • Support for custom services
  • Multiple hosts on each service account
  • Automatic IP change detection to minimize the update requests, thus decreasing the risk of getting banned for abuse.
  • Filter updates on connection type (mobile, wifi)
  • automatic startup on boot
Besides the dynamic DNS update features, there is also an FTP server built in so you can take advantage of your fixed domain name to access your mobile's SD card inside your wifi network or remotely. FTP features include:

  • restrict access through username/password
  • restrict access to some folder inside the sdcard.
To take full advantage of having a DNS service, you also get an HTTP server:
  • restrict acess to username/password
  • make any folder on your SD card as your home directory

 Using X-IP:
When using wifi connection you need to be aware that the IP being updated is the public IP, this means that while you phone has a local IP like 192.168.x.x the public IP is the one assigned to your router from your Internet Service Provider, thus you will be updating your router's IP and not the one in your android.

1- Setup accounts


X-IP supports multiple hosts/services so you need to input your account information and the hosts information.
To create a new account:
On the main screen press options and select Accounts and then press create new account:
  • enabled lets you disable all hosts under this account so you can group your hosts and disable them all at once
  • service provider allows you to select one of the preset services (currently No-IP and DynDNS but this list should grow on the short term)
  • custom url is available when you select a custom service provider. This provider must have an API similar to DynDNS, this means it should respond to a GET request with one of the codes listed in DynDNS (good, nochg, ... ).
    Use the special codes <u>, <p> <h> to provide the information on the update target.
    <h>
    will be replaced by the hostname to be updated
    <u>
    will be replaced by the your account user name (usually not required as X-IP will use a basic authentication scheme in the HTTP request)
    <p>
    will be replaced by the your account password (usually not required as X-IP will use a basic authentication scheme in the HTTP request)
    Example:
    No-IP uses an update url in the format http://username:password@dynupdate.no-ip.com/nic/update? hostname=mytest.testdomain.com This would become http://<u>:<p>@dynupdate.no-ip.com/nic/update?hostname=<h> and in this case, username and password can be omitted (their are sent using a basic authentication scheme) leaving the custom url in the format http://dynupdate.no-ip.com/nic/update?hostname=<h>
press OK and if the data is correct your account is ready.

2- Setup hosts

Once your accounts are setup you can add hosts associated to those accounts, to do so press options on the main screen and then add host

  • account lets you select one of the previously setup accounts
  • enabled lets you activate or deactivate dynamic DNS updates on this host
  • hostname is the hostname you want associated with the public IP
  • use mobile allows updates to be performed while on mobile data connection
  • use wifi allows updates when you are connected through wifi
After setting up the host information press OK and you're ready to go. Your domain name will be associated as soon as you have an internet connection available.

3- FTP

The built int FTP server allows you to access the data on your android device and upload/download pictures or any files of interest. In order to edit settings server must be stopped:

  • enabled starts or stops the FTP server
  • username sets the username required to access the files on your android device when using a client like FileZilla.
  • password sets the password for the user trying to access the files
  • port is the port that the server will be listening to, android imposes this to be a number above 1024 so you cannot use default FTP port (21) instead you should use something like 2121
  • base directory sets the directory to be accessible through FTP clients. So you can limit the files served.

4-HTTP

You can upload html, css, javascript and images to your phone and have the contents rendered in a browser or any other mobile with internet access. In order to edit the settings the server must be stopped first:
  • enabled starts or stops the HTTP server
  • enable basic authentication activates the login request
  • username sets the username required to view pages on your phone
  • password sets the password for the authorized user
  • port sets the port where the HTTP server is accessible, you cannot use port 80 though, you should user something like 8080.
  • Base directory sets the directory on your SD card from where the files will be retrieved

No comments:

Post a Comment