From dda8d45414c4e9d867cd9f6730ae8a9df96ff32c Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Tue, 25 Nov 2008 19:10:16 -0800 Subject: 3.2.0 --- debian/changelog | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/debian/changelog b/debian/changelog index 44675de..7441d1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,124 @@ +vyatta-op (0.13) unstable; urgency=low + + 3.2.0 + [ Mark O'Brien ] + + + [ Mohit Mehta ] + * add 'ppp interface-name' to output of 'show dns forwarding + nameserver' + * add wirelessmodem to interface hash to pick up description from CLI + + [ Stephen Hemminger ] + * Sort interfaces in bonding operational mode commands + * Show correct statistics on slaves + + [ Stig Thormodsrud ] + * Rename "show arp6" to "show ipv6 neighbors". + + [ Stephen Hemminger ] + * need sudo before ethtool -S + * Save/restore command history in configure + + [ Bob Gilligan ] + * Bugfix: 3841: Allow admin level users to run the RAID op mode + commands. + + [ Stephen Hemminger ] + * fix 'show history N' + * Fix references to ethtool + * Better format of output + * Show command history + + [ Robert Bays ] + * move show system usb to vyatta-op + + [ Bob Gilligan ] + * Bugfix: 3744 + + [ Stephen Hemminger ] + * Revert insecure method of displaying configuration + + [ Mohit Mehta ] + * Fix Bug 3763 Configuration is not available to operator in "show + tech-support" + * make sure file has been written to before extracting + + [ Rick Balocca ] + * Recognize aufs + + [ Mohit Mehta ] + * Fix Bug 3609 "show tech-support" does not display open file + information for operator level user + + [ Stig Thormodsrud ] + * Fix 2881: "show tech-support" should limit the output of "show ip + route" + + [ Bob Gilligan ] + * Bugfix: 3333 + * Bugfix: 1725 + + [ Mohit Mehta ] + * Fix Bug 3716 - Dynamic DNS status may incorrectly indicate lack of + configuration + + [ Stig Thormodsrud ] + * Revert "Fix less prompt." + * Fix less prompt. + + [ Stephen Hemminger ] + * remove debug code + * Fix script for bond with no slaves + * Show all interfaces + * Add preliminary operational mode support for bonding + * Add operational mode template for ethtool statistics + + [ Mohit Mehta ] + * change op-mode command 'clear dns forwarding statistics' to 'clear + dns forwarding all' + * add code for op-mode Dynamic DNS commands + + [ Bob Gilligan ] + * Add operational mode commands for RAID. + + [ Mohit Mehta ] + * change command 'clear dns forwarding process' to 'clear dns + forwarding statistics' + * allowed values for dhcp release/renew should show bridges as well if + configured to use dhcp + * add command 'clear dns forwarding process' to restart dnsmasq and + clear all statistics + + [ Stig Thormodsrud ] + * Fix 3540: ssmtp complaining that it's unable to locate mail + + [ Mohit Mehta ] + * better wording for output of 'show dns forwarding nameservers' + + [ Stig Thormodsrud ] + * Fix "show interfaces ethernet" after "clear interfaces counters" + + [ Mohit Mehta ] + * use active config directory base to get config values from op-mode + * code for op-mode command: 'show dns forwarding nameservers' + * dns-forwarding op-mode commands: + * add 'clear dns forwarding cache' command + + [ Stig Thormodsrud ] + * Fix IPv6 help string. + * Add some ipv6 op mode commands. + * The at package pulls in citadel-mta, use small mta. + * Add missing "show reboot". + * Enable "reload at|cancel". + + [ An-Cheng Huang ] + * add openvpn interfaces to "show interfaces" + + [ Mark O'Brien ] + + -- Mark O'Brien Tue, 25 Nov 2008 19:10:16 -0800 + vyatta-op (0.12) unstable; urgency=low 3.1.2 -- cgit v1.2.3 From 1f641ff640b38157fa8bd768d21ed54beb2aee68 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 11 Dec 2008 16:46:52 -0800 Subject: Add option to show counters for multiple interfaces. --- scripts/vyatta-show-interfaces.pl | 20 ++++++++++++++++++++ templates/show/interfaces/counters/node.def | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 templates/show/interfaces/counters/node.def diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl index 02ad8e0..529684f 100755 --- a/scripts/vyatta-show-interfaces.pl +++ b/scripts/vyatta-show-interfaces.pl @@ -56,6 +56,7 @@ my %intf_hash = ( my %action_hash = ( 'show' => \&run_show_intf, 'show-brief' => \&run_show_intf_brief, + 'show-count' => \&run_show_counters, 'clear' => \&run_clear_intf, 'reset' => \&run_reset_intf, ); @@ -312,6 +313,25 @@ sub run_show_intf_brief { } } +sub run_show_counters { + my @intfs = @_; + + my $format = "%-12s %10s %10s %10s %10s\n"; + printf($format, "Interface","Rx Packets","Rx Bytes","Tx Packets","Tx Bytes"); + foreach my $intf (@intfs) { + my ($state, $link) = get_state_link($intf); + next if $state ne 'up'; + my %clear = get_clear_stats($intf); + my %stats = get_intf_stats($intf); + printf($format, $intf, + get_counter_val($clear{rx_packets}, $stats{rx_packets}), + get_counter_val($clear{rx_bytes}, $stats{rx_bytes}), + get_counter_val($clear{tx_packets}, $stats{tx_packets}), + get_counter_val($clear{tx_bytes}, $stats{tx_bytes}) + ); + } +} + sub run_clear_intf { my @intfs = @_; diff --git a/templates/show/interfaces/counters/node.def b/templates/show/interfaces/counters/node.def new file mode 100644 index 0000000..1cef3ee --- /dev/null +++ b/templates/show/interfaces/counters/node.def @@ -0,0 +1,2 @@ +help: Show network interface counters +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --action=show-count -- cgit v1.2.3 From 7bb9e7336f9a9a42053d4dabe86a1e144e6120b9 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 12 Dec 2008 18:07:03 -0800 Subject: update maintainer information --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 80e26d6..22f83b1 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: vyatta-op Section: contrib/net Priority: extra -Maintainer: Tom Grennan +Maintainer: Vyatta Package Maintainers Build-Depends: debhelper (>= 5), autotools-dev Standards-Version: 3.7.2 -- cgit v1.2.3 From fef65a611bc57d4be1cd9458a63f7042f9e496e1 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 12 Dec 2008 18:09:39 -0800 Subject: "files" file should be removed before package build --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 3277be8..4a5a50e 100755 --- a/debian/rules +++ b/debian/rules @@ -61,6 +61,7 @@ install: build # Build architecture-independent files here. binary-indep: build install + rm -f debian/files dh_testdir dh_testroot dh_installchangelogs ChangeLog -- cgit v1.2.3 From 77897e426a293114a1aa830b42cfcd3e860ae860 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Tue, 6 Jan 2009 11:22:07 -0800 Subject: Fix Bug 4022 dynamic dns config fails during system boot if interface does not exist - add information for non-existent interface to show command --- scripts/vyatta-op-dynamic-dns.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/vyatta-op-dynamic-dns.pl b/scripts/vyatta-op-dynamic-dns.pl index d1197c2..3d24c38 100644 --- a/scripts/vyatta-op-dynamic-dns.pl +++ b/scripts/vyatta-op-dynamic-dns.pl @@ -35,12 +35,15 @@ sub print_ddns_stats { if (@ddns_interfaces > 0){ foreach my $configuredinterface (@ddns_interfaces) { + my $no_interface = `ip addr show dev $configuredinterface 2>/dev/null`; my $no_ip = `ip addr show dev $configuredinterface 2>/dev/null | grep "inet "`; my @all_cached_entries = `grep "^atime" $ddclient_cache_dir/ddclient_$configuredinterface.cache 2>/dev/null`; if (@all_cached_entries > 0) { foreach my $each_entry (@all_cached_entries) { print "interface : $configuredinterface"; - if ($no_ip eq ""){ + if ($no_interface eq ""){ + print " [ Interface does not exist ]"; + } elsif ($no_ip eq ""){ print " [ Currently no IP address ]"; } print "\n"; @@ -63,7 +66,9 @@ sub print_ddns_stats { } } else { print "interface : $configuredinterface"; - if ($no_ip eq ""){ + if ($no_interface eq ""){ + print " [ Interface does not exist ]"; + } elsif ($no_ip eq ""){ print " [ Currently no IP address ]"; } else { print " \n[ Status will be updated within 60 seconds ]"; -- cgit v1.2.3 From 905d7d9caf54ea35d789bd202c1dc076a2fa328c Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 8 Jan 2009 09:42:49 -0800 Subject: 0.13.1 --- debian/changelog | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7441d1a..7f459ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,47 @@ +vyatta-op (0.13.1) unstable; urgency=low + + [ Stephen Hemminger ] + * Add commands to display open sockets + * Need full path to ss command + + [ An-Cheng Huang ] + * correct package dependency + + [ Mohit Mehta ] + * add bond interfaces to list of allowed interfaces for dhcp + release/renew + + [ An-Cheng Huang ] + * add support for development build + + [ Mohit Mehta ] + * make changes for submodule moved to VyattaMisc + + [ Stephen Hemminger ] + * Decode bonding modes + * Convert to Vyatta:: + + [ Stig Thormodsrud ] + * "show interfaces" broken. Use new perl hierarchy. + + [ Stephen Hemminger ] + * Get rid of reference to OFR + + [ Stig Thormodsrud ] + * Add option to show counters for multiple interfaces. + + [ An-Cheng Huang ] + * update maintainer information + * "files" file should be removed before package build + + [ Mohit Mehta ] + * Fix Bug 4022 dynamic dns config fails during system boot if + interface does not exist + + [ An-Cheng Huang ] + + -- An-Cheng Huang Thu, 08 Jan 2009 09:42:49 -0800 + vyatta-op (0.13) unstable; urgency=low 3.2.0 -- cgit v1.2.3 From c9a78d8c4a9ea0f6c97989a49e0b8134e133af6c Mon Sep 17 00:00:00 2001 From: Justin Fletcher Date: Tue, 13 Jan 2009 14:04:51 -0800 Subject: Move tcp and udp commands under system/connections --- templates/show/system/connections/tcp/all/node.def | 2 ++ templates/show/system/connections/tcp/node.def | 2 ++ templates/show/system/connections/tcp/numeric/node.def | 2 ++ templates/show/system/connections/udp/node.def | 2 ++ templates/show/system/connections/udp/numeric/node.def | 2 ++ templates/show/tcp/all/node.def | 2 -- templates/show/tcp/node.def | 2 -- templates/show/tcp/numeric/node.def | 2 -- templates/show/udp/node.def | 2 -- templates/show/udp/numeric/node.def | 2 -- 10 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 templates/show/system/connections/tcp/all/node.def create mode 100644 templates/show/system/connections/tcp/node.def create mode 100644 templates/show/system/connections/tcp/numeric/node.def create mode 100644 templates/show/system/connections/udp/node.def create mode 100644 templates/show/system/connections/udp/numeric/node.def delete mode 100644 templates/show/tcp/all/node.def delete mode 100644 templates/show/tcp/node.def delete mode 100644 templates/show/tcp/numeric/node.def delete mode 100644 templates/show/udp/node.def delete mode 100644 templates/show/udp/numeric/node.def diff --git a/templates/show/system/connections/tcp/all/node.def b/templates/show/system/connections/tcp/all/node.def new file mode 100644 index 0000000..6aa1cae --- /dev/null +++ b/templates/show/system/connections/tcp/all/node.def @@ -0,0 +1,2 @@ +help: show all TCP connections +run: /sbin/ss -t -a diff --git a/templates/show/system/connections/tcp/node.def b/templates/show/system/connections/tcp/node.def new file mode 100644 index 0000000..8b6c99b --- /dev/null +++ b/templates/show/system/connections/tcp/node.def @@ -0,0 +1,2 @@ +help: show TCP connection information +run: /sbin/ss -t -r diff --git a/templates/show/system/connections/tcp/numeric/node.def b/templates/show/system/connections/tcp/numeric/node.def new file mode 100644 index 0000000..7df9efe --- /dev/null +++ b/templates/show/system/connections/tcp/numeric/node.def @@ -0,0 +1,2 @@ +help: show TCP connection without resolving names +run: /sbin/ss -t -n diff --git a/templates/show/system/connections/udp/node.def b/templates/show/system/connections/udp/node.def new file mode 100644 index 0000000..ef9e55f --- /dev/null +++ b/templates/show/system/connections/udp/node.def @@ -0,0 +1,2 @@ +help: show UDP socket information +run: /sbin/ss -u -a -r diff --git a/templates/show/system/connections/udp/numeric/node.def b/templates/show/system/connections/udp/numeric/node.def new file mode 100644 index 0000000..cb43a91 --- /dev/null +++ b/templates/show/system/connections/udp/numeric/node.def @@ -0,0 +1,2 @@ +help: show UDP socket information without resolving names +run: /sbin/ss -u -a -n diff --git a/templates/show/tcp/all/node.def b/templates/show/tcp/all/node.def deleted file mode 100644 index 6aa1cae..0000000 --- a/templates/show/tcp/all/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show all TCP connections -run: /sbin/ss -t -a diff --git a/templates/show/tcp/node.def b/templates/show/tcp/node.def deleted file mode 100644 index 8b6c99b..0000000 --- a/templates/show/tcp/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show TCP connection information -run: /sbin/ss -t -r diff --git a/templates/show/tcp/numeric/node.def b/templates/show/tcp/numeric/node.def deleted file mode 100644 index 7df9efe..0000000 --- a/templates/show/tcp/numeric/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show TCP connection without resolving names -run: /sbin/ss -t -n diff --git a/templates/show/udp/node.def b/templates/show/udp/node.def deleted file mode 100644 index ef9e55f..0000000 --- a/templates/show/udp/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show UDP socket information -run: /sbin/ss -u -a -r diff --git a/templates/show/udp/numeric/node.def b/templates/show/udp/numeric/node.def deleted file mode 100644 index cb43a91..0000000 --- a/templates/show/udp/numeric/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show UDP socket information without resolving names -run: /sbin/ss -u -a -n -- cgit v1.2.3 From 4c4a35e055b880ca722b09fd60e5072a83998801 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Tue, 13 Jan 2009 18:15:30 -0800 Subject: test release 0.13.2 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7f459ee..8dcb700 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vyatta-op (0.13.2) unstable; urgency=low + + [ Justin Fletcher ] + * Move tcp and udp commands under system/connections + + -- An-Cheng Huang Tue, 13 Jan 2009 18:15:06 -0800 + vyatta-op (0.13.1) unstable; urgency=low [ Stephen Hemminger ] -- cgit v1.2.3