From c9c3a79b52d1823874f7101e68038fc120a4d96d Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 4 Mar 2005 16:28:58 +0000 Subject: [PATCH] Add ARP information to status display git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1979 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall2/changelog.txt | 2 ++ Shorewall2/releasenotes.txt | 6 ++++-- Shorewall2/shorewall | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Shorewall2/changelog.txt b/Shorewall2/changelog.txt index 4c8c0750b..59f5862f7 100644 --- a/Shorewall2/changelog.txt +++ b/Shorewall2/changelog.txt @@ -10,6 +10,8 @@ Changes in 2.2.2 4) Apply Juergen Kreileder's log/action patch. +5) Add the output of 'arp -na' to the 'shorewall status' display. + Changes in 2.2.1 1) Add examples to the zones and policy files. diff --git a/Shorewall2/releasenotes.txt b/Shorewall2/releasenotes.txt index 46a5a34ae..3e444c528 100755 --- a/Shorewall2/releasenotes.txt +++ b/Shorewall2/releasenotes.txt @@ -9,8 +9,6 @@ Problems corrected in version 2.2.2 2) If A is a user-defined action and you have file /etc/shorewall/A then when that file is invoked, the $TAG value may be incorrect. - This is corrected in the 'firewall' script found in the errata and - the errata/LRP sub-directories. ----------------------------------------------------------------------- New Features in version 2.2.2 @@ -21,6 +19,10 @@ New Features in version 2.2.2 2) Shorewall now clears the output device only if it is a terminal. This avoids ugly control sequences being placed in files when /sbin/shorewall output is redirected. + +3) The output from 'arp -na' has been added to the 'shorewall status' + display. + ----------------------------------------------------------------------- Problems corrected in version 2.2.1 diff --git a/Shorewall2/shorewall b/Shorewall2/shorewall index 7b109fea7..3e75a61ea 100755 --- a/Shorewall2/shorewall +++ b/Shorewall2/shorewall @@ -1026,6 +1026,11 @@ case "$1" in ip route ls table $table done + echo + echo "ARP" + echo + arp -na + if qt which lsmod; then echo echo "Modules"