TCP Port Mapper in Proxy mode: how redirect all traffic to the specified host:port.

by Vitaly, Friday, July 31st, 2015

When TCP Port Mapper (tcpportmap) acts as a proxy (ProxyMode has one of the values: HTTP, CONNECT, SOCKS4 or SOCKS5), then MapToHost and MapToPort can be used to forward all traffic to the specifed host:port.

For example, let ProxyMode=CONNECT and TCP Port Mapper has received this command from the client:

CONNECT www.google.com:80 HTTP/1.1
  1. If MapToHost=127.0.0.1, MapToPort=8080 then TCP Port Mapper will establish connection to 127.0.0.1:8080.
  2. If MapToHost=127.0.0.1, MapToPort is not specified (or zero) then TCP Port Mapper will establish connection to 127.0.0.1:80.
  3. If MapToHost is not specified (or empty), MapToPort=8080 then TCP Port Mapper will establish connection to www.google.com:8080.
  4. If the both MapToHost and MapToPort are not specified then TCP Port Mapper will establish connection to www.google.com:80.

Tags: ,


IMAP Checker

by Vitaly, Thursday, July 30th, 2015

IMAP Checker 1.1 has been released.

This tool allows to count e-mails in the Inbox and Spam folders.
It uses IMAP protocol to access mailboxes and it has multi-threaded architecture.

On the IMAP Servers tab you need to fill in the IMAP settings for different e-mail domains.

Aol IMAP Settings

Domain(s): aol.com, aol.co.uk
Host: imap.aol.com
Port: 143
SSL/TLS: No SSL Support
Authentication Type: User/Password
Inbox Folder: INBOX
Spam Folder: SPAM

Gmail IMAP Settings

Domain(s): gmail.com, googlemail.com
Host: imap.gmail.com
Port: 993
SSL/TLS: Implicit SSL
Authentication Type: User/Password
Inbox Folder: Inbox
Spam Folder: [Gmail]/Spam

Hotmail/Outlook IMAP Settings

Domain(s): hotmail.com, outlook.com
Host: imap-mail.outlook.com
Port: 993
SSL/TLS: Implicit SSL
Authentication Type: User/Password
Inbox Folder: Inbox
Spam Folder: Junk

Yahoo IMAP Settings

Domain(s): yahoo.com, yahoo.co.uk
Host: imap.mail.yahoo.com
Port: 993
SSL/TLS: Implicit SSL
Authentication Type: User/Password
Inbox Folder: Inbox
Spam Folder: Bulk Mail

Tags:


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: , , ,