New packages and Updated packages added to
http://leaf.sourceforge.net/pub/oxygen/packages :
ipmask.lrp - display all manner of data about an IP address (now
includes the "obscured" decimal address)
boa.lrp - web server
chkwww.lrp - what kind of web server are they running?
nano.lrp - pico-like editor
oidentd.lrp - identd server
pingx.lrp - "ping" an X server and get version details
rain.lrp - IP packet generator
siege.lrp - web server stress tester
sock.lrp - run arbitrary command as network server
superd.lrp - run arbitrary command as network server
uhttpd.lrp - microhttpd - web server
vrrpd.lrp - Virtual Router Redundancy Protocol (VRRP) server - VRRP is
defined in RFC2338.
ipmask is software I've written, so any comments are encouraged. It is
particularly useful for functions like these:
* Figuring out the IP network given an IP address
* Looking up a name (for a script)
* Translating a CIDR address to a net mask or broadcast address
* Translating those strange reverse hexadecimal codes from martian logs
to IP addresses or names
* Translating those hexadecimal codes from "Reverse Redirect" messages
to IPs or names
* Translating those odd obscure decimal addresses to IPs or names
Here is the usage:
# ./ipmask
ipmask version 0.32, Copyright (C) 2001 David Douthitt
<[EMAIL PROTECTED]>
ipmask comes with ABSOLUTELY NO WARRANTY; for details see the COPYING
file
that accompained this distribution. This is free software, and you are
welcome
to redistribute it under the terms of GNU PUBLIC LICENSE.
Usage: ipmask [ -BbCcinrsxNmopR ] <ip> [ -m netmask ]
<ip> may be a hex IP address, dotted-quad (n.n.n.n), or a CIDR spec
(n.n.n.n/x)
Display Options:
-B Display only broadcast address (BSD - obsolete)
-b Display only broadcast address
-C Display only Cisco wildcard mask
-c Display only CIDR
-i Display only IP
-n Display only network address
-d Display only decimal address
-r Display only range of valid addresses
-s Display subnet mask only
-x Display only hexadecimal IP
Modifiers:
-N No name lookups
-m Use this net mask
-o Official name (do a name lookup)
-p Pretty formatted display of all results
-R Hexadecimal IP address is in reversed order
#
ipmask is designed in particular to be used from scripts; for example:
# ./ipmask -c 172.16.3.40
172.16.0.0/16
# ./ipmask -b 172.16.0.0/16
172.16.255.255
# ./ipmask -m 255.255.0.0 -c 172.16.3.16
172.16.0.0/16
# ./ipmask -o 172.16.3.45
somehost.net.local
# ./ipmask -i somehost.net.local
172.16.3.45
#
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel