Resolve External IP

by Vitaly, Wednesday, July 1st, 2015

URL to resolve IPv4 address:

http://ipv4.test-ipv6.com/ip/?callback=_jqjsp&asn=1&testdomain=test-ipv6.com&testname=test_asn4

Response (IPv4):

_jqjsp({"ip":"xxx.xxx.xxx.xxx","type":"ipv4","subtype":"","via":"","asn":"yyyyy","asn_name":"Provider Name,US","asnlist":"yyyyy","padding":""})

Extract IPv4 regular expression:

\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

URL to resolve IPv6 address:

http://ipv6.test-ipv6.com/ip/?callback=_jqjsp&asn=1&testdomain=test-ipv6.com&testname=test_asn6

Response (IPv6):

_jqjsp({"ip":"xxxx:x:xxxx:xxx:xxxx:xxxx:xxxx:xxxx","type":"ipv6","subtype":"Teredo","via":"","padding":""})

Extract IPv6 regular expression:

([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)

Tags: , , ,


IPv6 support for TCP Port Mapper

by Vitaly, Friday, June 26th, 2015

TCP Port Mapper 1.70 released.

Now IPv6 addresses can be used in all settings: ListenIP, MapToHost, MapArray, MapFromFile, MapFromUrl etc.

It is preferred to enter IPv6 addresses, enclosed in square brackets. That allows to extract the Port from the IPv6:Port.
Example of the IPv6 address: [2001:4860:4860::8888].

If the ListenIP setting is not specified (or ListenIP=ANY) you can set SrvIPv6=Yes.
That allows to force listening incoming IPv6 connections.

If the both IPv4 and IPv6 addresses are exist for the destination host, TCP Port Mapper will use IPv4 address. To force using IPv6 address you can set: CntIPv6=Yes.

Tags: ,


IPv6 support for DNS Server

by Vitaly, Friday, June 12th, 2015

DNS Server 1.49 has been released.

  1. Added the ability to send requests to the IPv6 DNS servers. Now DNSHost, DNSHost2 and FromIP settings can contain IPv6 addresses (read Help for more info).
    Example (using Google IPv6 DNS):

    DNSHost=2001:4860:4860::8888
    DNSHost2=2001:4860:4860::8844

  2. Added the ability to listen incoming DNS requests on IPv6. SrvIP and SrvIP2 settings can contain IPv6 addresses.
    If SrvIP is not specified or it contains Any value then you can force using IPv6 by specifying:

    SrvIPv6=Yes

Tags: ,