r71558 - in /trunk/libnetpacket-perl: ./ debian/ lib/ lib/NetPacket/ t/
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Thu Mar 17 19:57:15 UTC 2011
Author: periapt-guest
Date: Thu Mar 17 19:57:03 2011
New Revision: 71558
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71558
Log:
New upstream release
Added:
trunk/libnetpacket-perl/README.mkdn
- copied unchanged from r71557, branches/upstream/libnetpacket-perl/current/README.mkdn
trunk/libnetpacket-perl/t/ethernet.t
- copied unchanged from r71557, branches/upstream/libnetpacket-perl/current/t/ethernet.t
Modified:
trunk/libnetpacket-perl/Build.PL
trunk/libnetpacket-perl/Changes
trunk/libnetpacket-perl/LICENSE
trunk/libnetpacket-perl/MANIFEST
trunk/libnetpacket-perl/META.json
trunk/libnetpacket-perl/META.yml
trunk/libnetpacket-perl/README
trunk/libnetpacket-perl/SIGNATURE
trunk/libnetpacket-perl/debian/changelog
trunk/libnetpacket-perl/lib/NetPacket.pm
trunk/libnetpacket-perl/lib/NetPacket/ARP.pm
trunk/libnetpacket-perl/lib/NetPacket/Ethernet.pm
trunk/libnetpacket-perl/lib/NetPacket/ICMP.pm
trunk/libnetpacket-perl/lib/NetPacket/IGMP.pm
trunk/libnetpacket-perl/lib/NetPacket/IP.pm
trunk/libnetpacket-perl/lib/NetPacket/TCP.pm
trunk/libnetpacket-perl/lib/NetPacket/UDP.pm
Modified: trunk/libnetpacket-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/Build.PL?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/Build.PL (original)
+++ trunk/libnetpacket-perl/Build.PL Thu Mar 17 19:57:03 2011
@@ -21,7 +21,7 @@
'Yanick Champoux <yanick at cpan.org>'
],
'dist_name' => 'NetPacket',
- 'dist_version' => '1.0.1',
+ 'dist_version' => '1.1.1',
'license' => 'artistic_2',
'module_name' => 'NetPacket',
'recommends' => {},
Modified: trunk/libnetpacket-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/Changes?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/Changes (original)
+++ trunk/libnetpacket-perl/Changes Thu Mar 17 19:57:03 2011
@@ -1,4 +1,11 @@
revision history for NetPacket
+
+1.1.1 2011-02-07 19:34:30 America/Montreal
+ * Add the new Ethernet types to the export list.
+ (thanks to Sergey, again :-) ) (RT#64799)
+
+1.1.0 2011-01-15 12:51:13 America/Montreal
+ * Add a few Ethernet types. (thanks to Sergey) (RT#64799)
1.0.1 2010-10-19 20:02:04 America/Montreal
* Make the example verbatim in pod in NetPacket::UDP (rt#62097)
Modified: trunk/libnetpacket-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/LICENSE?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/LICENSE (original)
+++ trunk/libnetpacket-perl/LICENSE Thu Mar 17 19:57:03 2011
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2010 by Yanick Champoux.
+This software is Copyright (c) 2011 by Yanick Champoux.
This is free software, licensed under:
Modified: trunk/libnetpacket-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/MANIFEST?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/MANIFEST (original)
+++ trunk/libnetpacket-perl/MANIFEST Thu Mar 17 19:57:03 2011
@@ -5,6 +5,7 @@
META.json
META.yml
README
+README.mkdn
SIGNATURE
lib/NetPacket.pm
lib/NetPacket/ARP.pm
@@ -17,6 +18,7 @@
t/000-report-versions.t
t/bug-37931.t
t/checksum.t
+t/ethernet.t
t/general.t
t/icmp.t
t/ip_encode.t
Modified: trunk/libnetpacket-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/META.json?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/META.json (original)
+++ trunk/libnetpacket-perl/META.json Thu Mar 17 19:57:03 2011
@@ -4,7 +4,7 @@
"Yanick Champoux <yanick at cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101590",
+ "generated_by" : "Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.101590",
"license" : [
"artistic_2"
],
@@ -42,35 +42,35 @@
"provides" : {
"NetPacket" : {
"file" : "lib/NetPacket.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::ARP" : {
"file" : "lib/NetPacket/ARP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::Ethernet" : {
"file" : "lib/NetPacket/Ethernet.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::ICMP" : {
"file" : "lib/NetPacket/ICMP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::IGMP" : {
"file" : "lib/NetPacket/IGMP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::IP" : {
"file" : "lib/NetPacket/IP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::TCP" : {
"file" : "lib/NetPacket/TCP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
},
"NetPacket::UDP" : {
"file" : "lib/NetPacket/UDP.pm",
- "version" : "v1.0.1"
+ "version" : "v1.1.1"
}
},
"release_status" : "stable",
@@ -86,6 +86,7 @@
"web" : "http://github.com/yanick/netpacket/tree"
}
},
- "version" : "1.0.1"
+ "version" : "1.1.1",
+ "x_authority" : "cpan:yanick"
}
Modified: trunk/libnetpacket-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/META.yml?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/META.yml (original)
+++ trunk/libnetpacket-perl/META.yml Thu Mar 17 19:57:03 2011
@@ -11,7 +11,7 @@
configure_requires:
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101590'
+generated_by: 'Dist::Zilla version 4.102345, CPAN::Meta::Converter version 2.101590'
license: artistic2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,28 +20,28 @@
provides:
NetPacket:
file: lib/NetPacket.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::ARP:
file: lib/NetPacket/ARP.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::Ethernet:
file: lib/NetPacket/Ethernet.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::ICMP:
file: lib/NetPacket/ICMP.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::IGMP:
file: lib/NetPacket/IGMP.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::IP:
file: lib/NetPacket/IP.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::TCP:
file: lib/NetPacket/TCP.pm
- version: v1.0.1
+ version: v1.1.1
NetPacket::UDP:
file: lib/NetPacket/UDP.pm
- version: v1.0.1
+ version: v1.1.1
requires:
constant: 0
vars: 0
@@ -49,4 +49,5 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=NetPacket
homepage: http://search.cpan.org/dist/NetPacket/
repository: git://github.com/yanick/netpacket.git
-version: 1.0.1
+version: 1.1.1
+x_authority: cpan:yanick
Modified: trunk/libnetpacket-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/README?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/README (original)
+++ trunk/libnetpacket-perl/README Thu Mar 17 19:57:03 2011
@@ -1,40 +1,94 @@
-NetPacket version 0.41.1
+NAME
+ NetPacket - assemble/disassemble network packets at the protocol level
-This is a whole bunch of
-Perl modules which I have named NetPacket::*. These modules do basic
-disassembly of network packets of various Internet protocols. NetPacket
-0.01 contained hooks for assembly of packets which have been implemented in
-version 0.04 by Stephanie Wehner <atrak at itsx.com>.
+VERSION
+ version 1.1.1
-I've used these scripts for a variety of little jobs such as snooping
-various TCP services, gathering network traffic statistics by
-source/destination/protocol, and for unpacking the contents of IP
-tunnels. They're actually pretty useful. I recommend fetching and
-installing the Net::Pcap module to actually gather packet data, and
-for writing small scripts based on packet capture, the Net::PcapUtils
-module is also useful.
+SYNOPSIS
+ # NetPacket is a base class only
-At present, decoding for the following protocols has been
-implemented.
+DESCRIPTION
+ "NetPacket" provides a base class for a cluster of modules related to
+ decoding and encoding of network protocols. Each "NetPacket" descendent
+ module knows how to encode and decode packets for the network protocol
+ it implements. Consult the documentation for the module in question for
+ protocol-specific implementation.
- - Ethernet (802.3 and 802.2)
- - ARP
- - ICMP
- - IGMP
- - IP
- - UDP
- - TCP
+ Note that there is no inheritance in the "NetPacket::" cluster of
+ modules other than each protocol module being a "NetPacket". This was
+ seen to be too restrictive as imposing inheritance relationships (for
+ example between the IP, UDP and TCP protocols) would make things like
+ tunneling or other unusual situations difficult.
-It's pretty easy to add new protocols. Just copy one of the existing
-modules and figure out an unpack string which will unpack the
-information in the packet and store the data into fields in the
-namespace of the NetPacket::whatever object. More information can be
-found in the NetPacket(3) manpage, which is the base class module.
+WRITING YOUR OWN "NetPacket::" MODULE
+ You are encouraged to write additional "NetPacket::" modules as well as
+ improve existing ones. Contact the maintainer of the module in question
+ with your suggestions or changes.
-I'd be interested in receiving bug reports, comments or any
-improvements (especially additional protocols) to the NetPacket
-modules.
+ The following sections are a list of suggestions and conventions for
+ writing a "NetPacket::" module.
-Tim Potter
-30th July, 2001
-tpot at samba.org
+ Naming Conventions
+ When creating a module in the "NetPacket::" namespace, it is suggested
+ that you stick to a couple of conventions when naming packet contents.
+ This will hopefully lead to a consistent namespace making the
+ "NetPacket::" easier to use.
+
+ Content names are all lowercase, with underscores separating multiple
+ words. The following abbreviations are recommended:
+
+ Word Abbreviation
+ --------------------------------
+ source src
+ destination dest
+ checksum cksum
+ identifier id
+ version ver
+ protocol proto
+
+ Required Methods
+ encode(), decode(), strip()
+
+ Required Fields
+ Every NetPacket:: object should have the following fields.
+
+ _parent
+ A link to the parent "NetPacket::" object in which this
+ "NetPacket::" object is encaulated. This field is undefined if there
+ is no parent object.
+
+ _frame
+ A copy of the raw data of the packet.
+
+ data
+ This field should contain the data encapsulated in the packet (i.e
+ any headers or trailers stripped off) or undef if the packet
+ contains no data. Note that in this sense, "data" is taken to mean
+ information not relevant to the particular protocol being decoded.
+ For example, an ARP packet contains many header fields but no data.
+ A UDP datagram, however contains header fields and a payload.
+
+SEE ALSO
+ Joel Knight has a patch for NetPacket for IPv6 support available at
+ http://www.packetmischief.ca/code/netpacket/.
+
+COPYRIGHT AND LICENSE
+ Copyright (c) 2001 Tim Potter and Stephanie Wehner.
+
+ Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of the
+ participants in the CRC for Advanced Computational Systems ('ACSys').
+
+ This module is free software. You can redistribute it and/or modify it
+ under the terms of the Artistic License 2.0.
+
+ This program is distributed in the hope that it will be useful, but
+ without any warranty; without even the implied warranty of
+ merchantability or fitness for a particular purpose.
+
+AUTHORS
+ Tim Potter <tpot at samba.org>
+
+ Stephanie Wehner <atrak at itsx.com>
+
+ Yanick Champoux <yanick at cpan.org>
+
Modified: trunk/libnetpacket-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/SIGNATURE?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/SIGNATURE (original)
+++ trunk/libnetpacket-perl/SIGNATURE Thu Mar 17 19:57:03 2011
@@ -14,24 +14,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 8120d3f64baa15b6bc8a7b9e59514da6e8658129 Build.PL
-SHA1 43b3450bb45f07923fa3907948b9d9a06eb5eac4 Changes
-SHA1 269f0026e38d84a1eae530f9a1c5cd79ee06696b LICENSE
-SHA1 afa4203b4424a3b0feef0cf11991ac21982fa1af MANIFEST
-SHA1 8c2c7c0c2fa662ca87596aa5711055c592fc3324 META.json
-SHA1 becb10653de31daf4383442c849f6bd6c5ae195c META.yml
-SHA1 9c591b965be2b805a0a98c4ed58dad6c58fdaa66 README
-SHA1 93a1ab919a12c6bd9122a2ef2b243cbc11ba8136 lib/NetPacket.pm
-SHA1 2c3763036db6278dd5ed9c7b5a527a35c1e5b112 lib/NetPacket/ARP.pm
-SHA1 4f2321ee3ef48aa4586fdb71e228e7ba40f4d9fa lib/NetPacket/Ethernet.pm
-SHA1 23bb8f8453b9563374d9a9f958b29b1f324cd124 lib/NetPacket/ICMP.pm
-SHA1 3d1e2957792ebbf7d2aad83f410b382a298a1374 lib/NetPacket/IGMP.pm
-SHA1 5cc3fe311ac2ffc0dabc95b75ea4695cbb0410ff lib/NetPacket/IP.pm
-SHA1 775b89b9bdb3af5aef6f19ea8f227f6801c8d712 lib/NetPacket/TCP.pm
-SHA1 d4efb9380758bc198bab3eb90a1a8068f8c30d48 lib/NetPacket/UDP.pm
+SHA1 0a7199fb50ef86de8ae605b143ef8a0c641f0c3c Build.PL
+SHA1 2c7b475d50b047276a8f2607b6ec2d521f76c6c4 Changes
+SHA1 fa6e44d3372502992b6f871b615edc033606b2d7 LICENSE
+SHA1 9ab41842507804afb2b78dd5acc97abaec025285 MANIFEST
+SHA1 1af6765ffa7b9b2a95523d0a5076c63ec4c86deb META.json
+SHA1 b42adf2aa231d28c2794ddab961180417718c5e1 META.yml
+SHA1 94695da71065efa32461764e4dc9993bbd701ac7 README
+SHA1 0460a71fcf0be381ec4f4830d74d050c3f75080d README.mkdn
+SHA1 53e55f7958c02a7c6237ab2eb0bd4650f51d375e lib/NetPacket.pm
+SHA1 b5ab96225df5d7c18eed927c476469755c5c1dd4 lib/NetPacket/ARP.pm
+SHA1 ee0e9328196eebe42fa1505ea805048a62399146 lib/NetPacket/Ethernet.pm
+SHA1 28d4be33d7f3683f28312c6e6625c6003df6ddfc lib/NetPacket/ICMP.pm
+SHA1 5f4bb4e826e6b424bfb6fb611d83a65f94053b5a lib/NetPacket/IGMP.pm
+SHA1 8ee7a1707896dad55d70020e79b41acd279ff380 lib/NetPacket/IP.pm
+SHA1 39e2f31ae8fe20045366d10df1c8fe1b11f41f84 lib/NetPacket/TCP.pm
+SHA1 d829bad34a3bde7c5d8f01893b31152d2d472a61 lib/NetPacket/UDP.pm
SHA1 050aa113e828a52db3c86065c0c0ed50198b7ce8 t/000-report-versions.t
SHA1 2f95a288a42eed0173859c5bb9d37caee7e4b26b t/bug-37931.t
SHA1 721a206d861139f8f73081b8d337bfcdce4247e5 t/checksum.t
+SHA1 1a8ee75b43167c0a2d1d6e512743bb56d02ce9e8 t/ethernet.t
SHA1 4ae3b86ce2b7dc5faaf06a566aa0c5c80bb7d326 t/general.t
SHA1 58f7294a0c74eedb982f75b1c8e8bc9fa5395288 t/icmp.t
SHA1 a22909fb4a8ce8621107618ef50c6f92a7a6d36a t/ip_encode.t
@@ -41,7 +43,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-iEYEARECAAYFAky+MYcACgkQ34Hwf+GwC4wBigCgqvzsu3wyuwEVacH6i8z1LWK0
-ozsAoK+EWBSlpxhIXlmeMm8K3YKkTjGH
-=79WV
+iEYEARECAAYFAk1Qj6sACgkQ34Hwf+GwC4wr6ACaAp75h5iTZMADb/ie2ijXGweZ
+sW4An0v6a1PaDCrDDTq7fU3QZFc9zDpK
+=gnqa
-----END PGP SIGNATURE-----
Modified: trunk/libnetpacket-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/debian/changelog?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/debian/changelog (original)
+++ trunk/libnetpacket-perl/debian/changelog Thu Mar 17 19:57:03 2011
@@ -1,4 +1,4 @@
-libnetpacket-perl (1.0.1-1) UNRELEASED; urgency=low
+libnetpacket-perl (1.1.1-1) UNRELEASED; urgency=low
[ Nicholas Bamber ]
IGNORE-VERSION: 1.1.1-1
@@ -16,7 +16,10 @@
[ Ansgar Burchardt ]
* Update my email address.
- -- Nicholas Bamber <nicholas at periapt.co.uk> Wed, 20 Oct 2010 07:50:52 +0100
+ [ Nicholas Bamber ]
+ * New upstream release
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Thu, 17 Mar 2011 19:59:52 +0000
libnetpacket-perl (0.43.2-1) unstable; urgency=low
Modified: trunk/libnetpacket-perl/lib/NetPacket.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket.pm Thu Mar 17 19:57:03 2011
@@ -6,7 +6,10 @@
package NetPacket;
BEGIN {
- $NetPacket::VERSION = '1.0.1';
+ $NetPacket::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::VERSION = '1.1.1';
}
# ABSTRACT: assemble/disassemble network packets at the protocol level
@@ -114,7 +117,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/ARP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/ARP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/ARP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/ARP.pm Thu Mar 17 19:57:03 2011
@@ -1,6 +1,9 @@
package NetPacket::ARP;
BEGIN {
- $NetPacket::ARP::VERSION = '1.0.1';
+ $NetPacket::ARP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::ARP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble ARP (Address Resolution Protocol) packets.
@@ -111,7 +114,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/Ethernet.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/Ethernet.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/Ethernet.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/Ethernet.pm Thu Mar 17 19:57:03 2011
@@ -1,6 +1,9 @@
package NetPacket::Ethernet;
BEGIN {
- $NetPacket::Ethernet::VERSION = '1.0.1';
+ $NetPacket::Ethernet::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::Ethernet::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble ethernet packets.
@@ -10,28 +13,27 @@
BEGIN {
@ISA = qw(Exporter NetPacket);
-# Items to export into callers namespace by default
-# (move infrequently used names to @EXPORT_OK below)
-
- @EXPORT = qw(
+ @EXPORT = qw();
+
+ my @eth_types = qw/ ETH_TYPE_IP
+ ETH_TYPE_ARP
+ ETH_TYPE_APPLETALK
+ ETH_TYPE_RARP
+ ETH_TYPE_SNMP
+ ETH_TYPE_IPv6
+ ETH_TYPE_PPP
+ ETH_TYPE_802_1Q
+ ETH_TYPE_IPX
+ ETH_TYPE_PPPOED
+ ETH_TYPE_PPPOES /;
+
+ @EXPORT_OK = ( 'eth_strip', @eth_types );
+
+ %EXPORT_TAGS = (
+ ALL => [@EXPORT, @EXPORT_OK],
+ strip => [qw(eth_strip)],
+ types => \@eth_types,
);
-
-# Other items we are prepared to export if requested
-
- @EXPORT_OK = qw(eth_strip
- ETH_TYPE_IP ETH_TYPE_ARP ETH_TYPE_APPLETALK
- ETH_TYPE_SNMP ETH_TYPE_IPv6 ETH_TYPE_PPP
- );
-
-# Tags:
-
- %EXPORT_TAGS = (
- ALL => [@EXPORT, @EXPORT_OK],
- strip => [qw(eth_strip)],
- types => [qw(ETH_TYPE_IP ETH_TYPE_ARP ETH_TYPE_APPLETALK
- ETH_TYPE_SNMP ETH_TYPE_IPv6 ETH_TYPE_PPP)],
-);
-
}
#
@@ -46,6 +48,10 @@
use constant ETH_TYPE_SNMP => 0x814c;
use constant ETH_TYPE_IPv6 => 0x86dd;
use constant ETH_TYPE_PPP => 0x880b;
+use constant ETH_TYPE_802_1Q => 0x8100;
+use constant ETH_TYPE_IPX => 0x8137;
+use constant ETH_TYPE_PPPOED => 0x8863;
+use constant ETH_TYPE_PPPOES => 0x8864;
#
# Decode the packet
@@ -123,7 +129,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/ICMP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/ICMP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/ICMP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/ICMP.pm Thu Mar 17 19:57:03 2011
@@ -1,6 +1,9 @@
package NetPacket::ICMP;
BEGIN {
- $NetPacket::ICMP::VERSION = '1.0.1';
+ $NetPacket::ICMP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::ICMP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble ICMP (Internet Control Message Protocol) packets.
@@ -155,7 +158,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/IGMP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/IGMP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/IGMP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/IGMP.pm Thu Mar 17 19:57:03 2011
@@ -4,7 +4,10 @@
package NetPacket::IGMP;
BEGIN {
- $NetPacket::IGMP::VERSION = '1.0.1';
+ $NetPacket::IGMP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::IGMP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble IGMP (Internet Group Mangement Protocol) packets.
@@ -153,7 +156,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/IP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/IP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/IP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/IP.pm Thu Mar 17 19:57:03 2011
@@ -5,7 +5,10 @@
package NetPacket::IP;
BEGIN {
- $NetPacket::IP::VERSION = '1.0.1';
+ $NetPacket::IP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::IP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble IP (Internet Protocol) packets.
@@ -220,7 +223,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/TCP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/TCP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/TCP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/TCP.pm Thu Mar 17 19:57:03 2011
@@ -6,7 +6,10 @@
package NetPacket::TCP;
BEGIN {
- $NetPacket::TCP::VERSION = '1.0.1';
+ $NetPacket::TCP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::TCP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble TCP (Transmission Control Protocol) packets.
@@ -196,7 +199,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
Modified: trunk/libnetpacket-perl/lib/NetPacket/UDP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetpacket-perl/lib/NetPacket/UDP.pm?rev=71558&op=diff
==============================================================================
--- trunk/libnetpacket-perl/lib/NetPacket/UDP.pm (original)
+++ trunk/libnetpacket-perl/lib/NetPacket/UDP.pm Thu Mar 17 19:57:03 2011
@@ -4,7 +4,10 @@
package NetPacket::UDP;
BEGIN {
- $NetPacket::UDP::VERSION = '1.0.1';
+ $NetPacket::UDP::AUTHORITY = 'cpan:yanick';
+}
+BEGIN {
+ $NetPacket::UDP::VERSION = '1.1.1';
}
# ABSTRACT: Assemble and disassemble UDP (User Datagram Protocol) packets.
@@ -144,7 +147,7 @@
=head1 VERSION
-version 1.0.1
+version 1.1.1
=head1 SYNOPSIS
More information about the Pkg-perl-cvs-commits
mailing list