Company Logo  

Download

Free software

During the years we have written a lot of software. Now we have decided to make some of the utilities aviable to the public. First, read the legal stuff!

Legal terms

Our legal advisor made us write this:

All free software is provided free of charge, however additional cost for Internet connection, computer time, storage space etc may exist at your location. LANTech Sweden AB can at any time discontinue to provide the software free of charge.

The software is provided for individual usage free of charge. The software still belongs to LANTech Sweden AB and it continues to be the copyright owner of the software. The software may not be redistributed without a written permission.

The software is provided as is. There is no further support available. There is no charge and there is no guarantee. Every individual must determine the software’s usefulness and ability to solve a given problem. LANTech Sweden AB should under no circumstances be held responsible for any direct or indirect damage the software or a malfunction of the software might cause.

Any individuals that choose to download or use the software do this by their own free will. By downloading or using the software you agree to the terms above. If you don’t like the terms, don’t use the software!


 

Content

RLOOK.EXE - Reverse Lookup Utility
FLOOK.EXE - DNS Lookup Utility
ETRN.EXE - Mailserver Que Release Utility
TCPCHK.EXE - TCP Connection Check Utility
SRVCHK.EXE - Windows/NT Service Check Utility
POPGET.EXE - A command line POP3 reader utility
FAQ - Frequently Asked Questions
 

The Software

Reverse lookup utility

This software will help you do reverse lookups of IP-adresses. Have you ever received an e-mail that you wanted to trace? Have you wanted to know wich machines are on a given network? RLOOK is the tool for you!
Syntax:
       RLOOK <ip-address1> [<count>|<ip-address2>] [<stepping>]
      
Where <ip-address1> is the address to lookup. Given either a <count> representing a number of continues addresses to process or a <ip-address2> specifying the last address to process, RLOOK.EXE will do a reverse lookup of contiguous ip-address ranges. If a value for <stepping> is given, this is used as an increment.
Example:
       RLOOK 192.168.0.0
       RLOOK 192.168.0.0 128
       RLOOK 192.168.0.0 192.168.0.255 2
      
The first alternative just do a reverse lookup of 192.168.0.0.
The second starts with address 192.168.0.0, lookup this adress and the continues with the next 128 addresses.
The last alternative starts with address 192.168.0.0 and stops at address 192.168.0.255 and looksup every second address.

Screen shot

 

DNS lookup utility

This is the squal to the RLOOK utility....
This software was originally created for a VPN environment where the clients didn't have access to the internal DNS Servers and still wanted to be able do use hostsnames. The solution to the problem was to create a central hosts file and download it to the cleints upon connect. This was when we created this software.
Syntax:
       FLOOK <host> [[<alias>] <default>]
      
Where <host> is the hostname to lookup, <alias> is an alias adress to use and <default> is the default value to use if lookup doesn't succed. <alias> and/or <default> could be an ip-addresses or a hostname.
Example:
       FLOOK myhost.mydomain.com
       RLOOK myhost.mydomain.com yourhost.yourdomain.com
       RLOOK myhost.mydomain.com badhost.mydomain.com 192.168.0.1
       RLOOK localhost 127.0.0.1
      
The first alternative just outputs the ip-adress for myhost.mydomain.com and the hostname myhost.mydomain.com.

The second outputs the ipaddress for yourhost.yourdomain.com and the hostname myhost.mydomain.com.

The Third tries to lookup the ip address for badhost.mydomain.com. If it succeeds it outputs the ipaddress for badhost.mydomain.com and the hostname myhost.mydomain.com. If the lookup of badhost.mydomain.com fails, it will output the ipaddress 192.168.0.1 and the hostname myhost.mydomain.com.

The last alternativ outputs the ipaddress 127.0.0.1 and the hostname localhost. There is actually no DNS lookup done

All output is sent to std-oud. This makes it easy to use this utilityn in a script. This script can the be started at regular intervals producing a hosts file for thos machines not able to use DNS. If the lookup succeeds errorlevel 0 is returned. upon failure errorlevel 1 or greater is returned.

Screen shot

 

Mail Server Que Release Utility

This utility sends a ETRN command to a chosen mailserver releasing a specified que. This is one of the standards dequing mail during dialup connections.
Syntax:
       ETRN <mailserver> <quename>
      
Where mailserver specifies the ip-address or the FQDN for a mailserver and quename specifies the name of the que to release.
Example:
       ETRN mailbox.dom.org [192.168.0.1]
      
This will send an ETRN command to the server mailbox.dom.org telling it to release the que with internal name [192.168.0.1].

Screen shot

 

TCP Service Check

This utility makes a TCP connection to a service on a given server, validate the communication and raise an errorlevel.
This can be used in batch files to monitor server function over a network or over the internet.
Syntax:
       TCPCHK <protocol> <server> [<que name>|<url>|<port>]
      
Where protocol, at the current state, can be one of SMTP, HTTP, HTTP1.1, PROXY, POP3, FTP, NNTP or ETRN.
Server specifies a FQDN or an IP-address of a server. In case of an SMTP command, port can be used to identify non-standard ports other than 25. In case of an PROXY command, server specifies the PROXY server and url is the page to fetch. In case of an ETRN command, que name specifies a que to release.

Example1:

       TCPCHK HTTP www.domain.org
      
This will try to fetch the file robots.txt from the web server www.whitehouse.gov. In case of success or an error 404, errorlevel 0 is returned.

Example2:

       TCPCHK PROXY 192.168.0.1 www.microsoft.com
      
This will try to fetch the default document from microsoft.com via the proxy 192.168.0.1 In case of success (302) errorlevel 0 is returned.

Screen shot

 

Windows/NT Service Check Utility

This ultility makes a connection to the Service Control Manager on a given Windows/NT computer and queries the status of a given service. Depending on the service state an errorlevel is raised
This can be used in batch files to monitor Windows/NT serveices over a network.
Syntax:
       SRVCHK <service> [<server>]
      
Where service is the Windows/NT generic service name.
Server specifies the computer where to query the service. If omitted the local computer is used.
Example:
       SRVCHK lanmanserver
      
This will connect to the local computers Service Control Manager and query the status of the lanmanserver (server) service.
Returns:
       Errorlevel 0 - The service is running
       Errorlevel 1 - The service is pending continue
       Errorlevel 2 - The service is pending start
       Errorlevel 3 - The service is pendign pause
       Errorlevel 4 - The service is pending stop
       Errorlevel 5 - The service is paused
       Errorlevel 6 - The service is stopped
       Errorlevel 101 - Unable to connect
       Errorlevel 102 - Unable to open service
       Errorlevel 103 - Unable to query
       Errorlevel 200 - syntax error
      

Screen shot

 

Command line POP3 reader

Current version 0.6.0 Beta
 
This command line utility reads POP3 mail from a POP3 server. The mail is sent to standard output (stdout) device making it possible to pipe the mail to a file or read it on screen.
Syntax:
       POPGET <server> <username> <password> [#msg] [-delete] [-nodisplay] [-header]
      
Where server is the hostname or the ip-address of the POP3 server to read from.
Username is the POP3 login username.
Password is the POP3 password for the username specified as the second parameter.
#msg specifies the message number to read. If this is omitted the first message is read.
-delete deletes the message after it's read.
-nodisplay doesn't read the message. Used to delete unwanted messages.
-header doesn't read the message just dispaly the headers.

Example:
       POPGET my.mailserver.com john.smith secret 3 -delete >message3.txt
      
This will connect to the POP3 server my.mailserver.com with thew username john.smith and the password secret. Then it will retreive the third message. The output will be piped to the file message3.txt.
Returns:
       Errorlevel 0 - The message was retreived
       Errorlevel 1 - Error retreiving message
      

Screen shot

 

Version history

0.3 - Original release
0.5 - BugFix. Can now handle faulty emails containing NULL
0.6 - New parameter -header added
 
 

FAQ

Frequently asked questions
  • Yes, we are giving the programs away for free.
  • There is no what so ever warranty.
  • There is no support.
  • The source code is not available.

Last Updated: Thursday October 03 2002

Contact with questions or problems about this service.
Return to LANTech Home Page
Copyright © 1996 - 1998 LANTech Sweden HB
Copyright © 1998 - 2002 LANTech Sweden AB