Updated iptstate to 2.0.

2.0
- Released 10/04/06
- Moved man page to section 8
- Significantly re-factored code
- Fix long-protocol-names-break-formatting bug
  (reported by Bill Hudacek <hudaceks@verizon.net>)
- Move all flag bools into a new flags_t struct
- Move format-decisions to end
- Move all counters into a new counters_t struct
- Make the stable vector dynamic instead of a huge pre-allocation
- Move many variables to #defines
- Fix bug in "totals" line (numbers didn't always add up)
- Add display of skipped entries on "totals" line
- Move various char*'s to strings.
- Move most snprintf()s to stringstreams.
- Rewrite and significantly improve dynamic sizing of columns
- Add a new interactive help window
- Add srcpt and dstpt filtering
- Add long options
- Make interactive help scroll-able
- Make main window scroll-able
- Make having the main window be scrollable configurable and if not scrollable
  then use stdscr instead of a pad. Make this togglable interactively.
- Redo command-line options so they match interactive options
- Add ability to change all filters and the refresh rate interactively
- Handle window resizes (SIGWINCH) properly
- If we can't read ip_conntrack, error and exit rather than fail
  silently
- Cleanup nicely if we get killed (SIGINT or SIGTERM)
- Add color-coding of protocols
This commit is contained in:
Roland Illig 2006-10-05 08:15:51 +00:00 committed by Thomas Klausner
parent 3880eac89e
commit 483b086f71
3 changed files with 17 additions and 11 deletions

View file

@ -1,18 +1,23 @@
# $NetBSD: Makefile,v 1.5 2006/05/01 14:20:08 shattered Exp $
# $NetBSD: Makefile,v 1.6 2006/10/05 08:15:51 rillig Exp $
#
DISTNAME= iptstate-1.3
DISTNAME= iptstate-2.0
CATEGORIES= net
MASTER_SITES= http://www.phildev.net/iptstate/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= roland.illig@gmx.de
HOMEPAGE= http://www.phildev.net/iptstate/
COMMENT= Display Netfilter state tables in a "top"-like interface
ONLY_FOR_PLATFORM= Linux-2.4.*-*
ONLY_FOR_PLATFORM= Linux-*-*
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
do-install:
cd ${WRKSRC:Q} && ${INSTALL_PROGRAM} iptstate ${PREFIX:Q}/bin/
cd ${WRKSRC:Q} && ${INSTALL_MAN} man/man1/iptstate.1 ${PREFIX:Q}/${PKGMANDIR}/man1/
cd ${WRKSRC} && ${INSTALL_PROGRAM} iptstate ${PREFIX}/sbin/
cd ${WRKSRC} && ${INSTALL_MAN} iptstate.8 ${PREFIX}/${PKGMANDIR}/man8/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2004/06/06 18:34:07 rillig Exp $
bin/iptstate
man/man1/iptstate.1
@comment $NetBSD: PLIST,v 1.2 2006/10/05 08:15:51 rillig Exp $
man/man8/iptstate.8
sbin/iptstate

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.1 2004/06/06 18:34:07 rillig Exp $
$NetBSD: distinfo,v 1.2 2006/10/05 08:15:51 rillig Exp $
SHA1 (iptstate-1.3.tar.gz) = 96a55dbb0107f3327bc546ef15fffa81a1f1725c
Size (iptstate-1.3.tar.gz) = 13674 bytes
SHA1 (iptstate-2.0.tar.bz2) = 57ea15a6a36250216d48bf178cb6aba521ce75aa
RMD160 (iptstate-2.0.tar.bz2) = 9eabb4165c0693add5287b122fc9120cbec7eaf7
Size (iptstate-2.0.tar.bz2) = 23299 bytes