Tableutil 0.6
Sponsored Links
Tableutil 0.6 Ranking & Summary
File size:
0.012 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
1306
Date added:
2006-03-27
Publisher:
Henrik Gustafsson
Tableutil 0.6 description
Tableutil is a utility for converting, aggregating and performing operations (currently unions, differences, complements and intersections) on lists of IP-addresses. Tableutils primary use is to convert files into a format pfctl(8) can read, but if you find another use for it Id really like to know about it.
It can read plain-text-files with ranges (12.12.12.12-23.23.23.23), CIDR-style networks (192.168.0.0/24) single addresses (242.242.242.242) or hostnames (one.two.com). It can also read p2b-files, the preferred file-format(s) of PeerGuardian. Tableutil has two modes of operation: Quick mode, which is used for converting files to pfctl-compatible tables and advanced mode, which is used to perform more advanced operations on files, and for greater flexibility of the output format.
For example, if you have three files, block1, block2 and exceptions that is to be used in a table that blocks the hosts in block1 and block2, excepting the ranges in exceptions, create a file looking something like this:
# cat blockspec
$block1 = load(text, "block1"); # The block1-blocklist
$block2 = load(text, "block2"); # The block2-blocklist
$exceptions = load(text, "exceptions"); # List of exceptions
$block = difference(union($block1, $block2), $exceptions);
save(cidr, "blocklist", $block);
Or, if you just want to load a peerguardian blocklist (the text-kind), do something like this:
# cat update-blocklist.sh
#! /bin/sh
URL="http://peerguardian.sourceforge.net/lists/ads.php"
rm -f /tmp/blocklist
ftp -V -o - ${URL} 2> /dev/null | gunzip -c - | sed "s/.*:([0-9.-])/1/" |
tableutil -q text 2> /dev/null > /tmp/blocklist
if [ -s /tmp/blocklist ] ; then
mv /etc/pfdata/blocklist /etc/pfdata/blocklist.old &&
cp /tmp/blocklist /etc/pfdata/blocklist &&
pfctl -f /etc/pf.conf -T load
fi
Enhancements:
- A small lexer fix was made to handle different newlines gracefully.
It can read plain-text-files with ranges (12.12.12.12-23.23.23.23), CIDR-style networks (192.168.0.0/24) single addresses (242.242.242.242) or hostnames (one.two.com). It can also read p2b-files, the preferred file-format(s) of PeerGuardian. Tableutil has two modes of operation: Quick mode, which is used for converting files to pfctl-compatible tables and advanced mode, which is used to perform more advanced operations on files, and for greater flexibility of the output format.
For example, if you have three files, block1, block2 and exceptions that is to be used in a table that blocks the hosts in block1 and block2, excepting the ranges in exceptions, create a file looking something like this:
# cat blockspec
$block1 = load(text, "block1"); # The block1-blocklist
$block2 = load(text, "block2"); # The block2-blocklist
$exceptions = load(text, "exceptions"); # List of exceptions
$block = difference(union($block1, $block2), $exceptions);
save(cidr, "blocklist", $block);
Or, if you just want to load a peerguardian blocklist (the text-kind), do something like this:
# cat update-blocklist.sh
#! /bin/sh
URL="http://peerguardian.sourceforge.net/lists/ads.php"
rm -f /tmp/blocklist
ftp -V -o - ${URL} 2> /dev/null | gunzip -c - | sed "s/.*:([0-9.-])/1/" |
tableutil -q text 2> /dev/null > /tmp/blocklist
if [ -s /tmp/blocklist ] ; then
mv /etc/pfdata/blocklist /etc/pfdata/blocklist.old &&
cp /tmp/blocklist /etc/pfdata/blocklist &&
pfctl -f /etc/pf.conf -T load
fi
Enhancements:
- A small lexer fix was made to handle different newlines gracefully.
Tableutil 0.6 Screenshot
Tableutil 0.6 Keywords
Tableutil 0.6
Tableutil
exceptions
operations
converting
block1
block2
Tableutil 0.6
Networking
System
Bookmark Tableutil 0.6
Tableutil 0.6 Copyright
WareSeeker periodically updates pricing and software information of Tableutil 0.6 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tableutil 0.6 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
snmp4j tableutils
exceptions band
java exceptions
exceptions to octet rule
exceptions to the octet rule
hearsay exceptions
exceptions beethoven
exceptions to performance rights
c++ exceptions
operations manager 2007
converting centimeters to inches
exceptions in java
search warrant exceptions
firewall exceptions
converting measurements
order of operations
exceptions to the exclusionary rule
exceptions to miranda rights
Related Software
std_utils is a small library of utility functions and classes. Free Download
WinGL a is small C++ library designed to help developing portable OpenGL windows-based or fullscreen applications. Free Download
eventxx is a simple, direct, one-header inline C++ wrapper for libevent. Free Download
LightBlue is a cross-platform Python Bluetooth API. Free Download
PowerTab Tools contains a library for accessing PowerTab Tablature files (*.ptb) and utilities for converting .ptb files. Free Download
xtklib provides a simple, complete API to developers who want to create cross-platform software. Free Download
This application is a graphical user interface to OpenSSL, RSA public keys, certificates, signing requests and revokation lists. Free Download
JAdvisor project is a college class scheduler and course planner. Free Download
Latest Software
Popular Software
Favourite Software