Hello community, here is the log from the commit of package perl-NetPacket for openSUSE:Factory checked in at 2019-07-22 17:18:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-NetPacket (Old) and /work/SRC/openSUSE:Factory/.perl-NetPacket.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-NetPacket" Mon Jul 22 17:18:50 2019 rev:17 rq:717518 version:1.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-NetPacket/perl-NetPacket.changes 2019-06-12 13:17:42.980601684 +0200 +++ /work/SRC/openSUSE:Factory/.perl-NetPacket.new.4126/perl-NetPacket.changes 2019-07-22 17:18:51.609936029 +0200 @@ -1,0 +2,13 @@ +Sun Jul 21 11:45:09 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 1.7.2 + see /usr/share/doc/packages/perl-NetPacket/Changes + + 1.7.2 2019-07-20 + [ DOCUMENTATION ] + - fix typos. (GH#14) + + [ STATISTICS ] + - code churn: 7 files changed, 121 insertions(+), 42 deletions(-) + +------------------------------------------------------------------- Old: ---- NetPacket-1.7.1.tar.gz New: ---- NetPacket-1.7.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-NetPacket.spec ++++++ --- /var/tmp/diff_new_pack.fPLiN0/_old 2019-07-22 17:18:52.129935614 +0200 +++ /var/tmp/diff_new_pack.fPLiN0/_new 2019-07-22 17:18:52.133935611 +0200 @@ -17,7 +17,7 @@ Name: perl-NetPacket -Version: 1.7.1 +Version: 1.7.2 Release: 0 %define cpan_name NetPacket Summary: Assemble/disassemble network packets at the protocol level ++++++ NetPacket-1.7.1.tar.gz -> NetPacket-1.7.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/Changes new/NetPacket-1.7.2/Changes --- old/NetPacket-1.7.1/Changes 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/Changes 2019-07-21 02:59:56.000000000 +0200 @@ -1,5 +1,12 @@ revision history for NetPacket +1.7.2 2019-07-20 + [ DOCUMENTATION ] + - fix typos. (GH#14) + + [ STATISTICS ] + - code churn: 7 files changed, 121 insertions(+), 42 deletions(-) + 1.7.1 2019-06-08 [ BUG FIXES ] - fixes inverted ethernet ports (reported by sanyacomua) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/META.json new/NetPacket-1.7.2/META.json --- old/NetPacket-1.7.1/META.json 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/META.json 2019-07-21 02:59:56.000000000 +0200 @@ -59,51 +59,51 @@ "provides" : { "NetPacket" : { "file" : "lib/NetPacket.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::ARP" : { "file" : "lib/NetPacket/ARP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::Ethernet" : { "file" : "lib/NetPacket/Ethernet.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::ICMP" : { "file" : "lib/NetPacket/ICMP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::ICMPv6" : { "file" : "lib/NetPacket/ICMPv6.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::IGMP" : { "file" : "lib/NetPacket/IGMP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::IP" : { "file" : "lib/NetPacket/IP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::IPX" : { "file" : "lib/NetPacket/IPX.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::IPv6" : { "file" : "lib/NetPacket/IPv6.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::TCP" : { "file" : "lib/NetPacket/TCP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::UDP" : { "file" : "lib/NetPacket/UDP.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" }, "NetPacket::USBMon" : { "file" : "lib/NetPacket/USBMon.pm", - "version" : "v1.7.1" + "version" : "v1.7.2" } }, "release_status" : "stable", @@ -118,7 +118,7 @@ "web" : "https://github.com/yanick/netpacket" } }, - "version" : "1.7.1", + "version" : "1.7.2", "x_authority" : "cpan:YANICK", "x_contributor_covenant" : { "version" : 0.01 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/META.yml new/NetPacket-1.7.2/META.yml --- old/NetPacket-1.7.1/META.yml 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/META.yml 2019-07-21 02:59:56.000000000 +0200 @@ -22,40 +22,40 @@ provides: NetPacket: file: lib/NetPacket.pm - version: v1.7.1 + version: v1.7.2 NetPacket::ARP: file: lib/NetPacket/ARP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::Ethernet: file: lib/NetPacket/Ethernet.pm - version: v1.7.1 + version: v1.7.2 NetPacket::ICMP: file: lib/NetPacket/ICMP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::ICMPv6: file: lib/NetPacket/ICMPv6.pm - version: v1.7.1 + version: v1.7.2 NetPacket::IGMP: file: lib/NetPacket/IGMP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::IP: file: lib/NetPacket/IP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::IPX: file: lib/NetPacket/IPX.pm - version: v1.7.1 + version: v1.7.2 NetPacket::IPv6: file: lib/NetPacket/IPv6.pm - version: v1.7.1 + version: v1.7.2 NetPacket::TCP: file: lib/NetPacket/TCP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::UDP: file: lib/NetPacket/UDP.pm - version: v1.7.1 + version: v1.7.2 NetPacket::USBMon: file: lib/NetPacket/USBMon.pm - version: v1.7.1 + version: v1.7.2 recommends: Net::Pcap: '0' Net::PcapUtils: '0' @@ -72,7 +72,7 @@ bugtracker: https://github.com/yanick/netpacket/issues homepage: https://github.com/yanick/netpacket repository: https://github.com/yanick/netpacket.git -version: 1.7.1 +version: 1.7.2 x_authority: cpan:YANICK x_contributor_covenant: version: 0.01 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/Makefile.PL new/NetPacket-1.7.2/Makefile.PL --- old/NetPacket-1.7.1/Makefile.PL 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/Makefile.PL 2019-07-21 02:59:56.000000000 +0200 @@ -32,7 +32,7 @@ "IPC::Open3" => 0, "Test::More" => 0 }, - "VERSION" => "1.7.1", + "VERSION" => "1.7.2", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/README.mkdn new/NetPacket-1.7.2/README.mkdn --- old/NetPacket-1.7.1/README.mkdn 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/README.mkdn 2019-07-21 02:59:56.000000000 +0200 @@ -4,7 +4,7 @@ # VERSION -version 1.7.1 +version 1.7.2 # SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/SIGNATURE new/NetPacket-1.7.2/SIGNATURE --- old/NetPacket-1.7.1/SIGNATURE 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/SIGNATURE 2019-07-21 02:59:56.000000000 +0200 @@ -16,29 +16,29 @@ SHA1 7d9ba9e46d6d5e79245c1d203595df77727385ef CODE_OF_CONDUCT.md SHA1 33cba30129cb74e88826f28fa478b0cc07b5abeb CONTRIBUTORS -SHA1 5d7e738b23c93edcf20dc4e1e86cac53abf97097 Changes +SHA1 aef29b2ff8be93be9a4f08b2e41cc52c4becd4f6 Changes SHA1 293b69ba3817a41b4bdf1bd3e6f41167d5968899 INSTALL SHA1 72832ad015dadb7d5df745c4b2b3638a06970d9f LICENSE SHA1 fe805eed8def86242acf9aef12c02548b428a22c MANIFEST -SHA1 d03578234d10143a7b0fcc8af9642e032950ffc4 META.json -SHA1 68fd2a464a72d877f7d02ead08421672edfa813a META.yml -SHA1 e755eb0829350dc31f0dcb58a0623a8cb2ecf73f Makefile.PL +SHA1 68906feda83b5d806ad95eef82c7c9934eaa1d3c META.json +SHA1 4b582ecc920f5cb43c8716088ca1044c995ad8bb META.yml +SHA1 3f9f3ed3f11c2a5431ff6427b6908fb33f13f3b2 Makefile.PL SHA1 1ad83396aa0864c474877ffe53c6d1055d32e261 README -SHA1 2a9fdd8814d6c34a7984173b60e4d600b6e79391 README.mkdn +SHA1 0d8c2314e3e186710ef22561a679a6319b6bff58 README.mkdn SHA1 ee307d9117553ce0b1a0c0599cf14cdc8e3cc726 cpanfile -SHA1 b44f2c5342fc6f36b0455827654da3bad4516ddc doap.xml -SHA1 0f268b4718f095261e562a056dc819b0e31fbd12 lib/NetPacket.pm -SHA1 2cb56cf7457b64f9dd2c58e1a7ce3f38f3439efa lib/NetPacket/ARP.pm -SHA1 b897842f3c4a6f8fd00fbd482dff9385c5ef2858 lib/NetPacket/Ethernet.pm -SHA1 7f7b007e4cb3b5fb1ed9f45ffbb201fc0a93b214 lib/NetPacket/ICMP.pm -SHA1 5a97f086320bba6c9dbfe71749c5ad984a35c36c lib/NetPacket/ICMPv6.pm -SHA1 ad9e742c8dd00f70ec2b14f04f00014d5c02c097 lib/NetPacket/IGMP.pm -SHA1 a1a8a1680a004ba87567ef50e544c54544a93747 lib/NetPacket/IP.pm -SHA1 3719959d847ee5cff22f537457544e5f136b52aa lib/NetPacket/IPX.pm -SHA1 0ee76e3aaeb308ce4200306b5a44d919ebfd29b0 lib/NetPacket/IPv6.pm -SHA1 7f02cac06cf59881dbf84a4a778b0ea28371255a lib/NetPacket/TCP.pm -SHA1 ebc2f74ad2fc1bba82909a1dd5875a5964c66cbf lib/NetPacket/UDP.pm -SHA1 d0e33c66b9266d2aaab57cb12b26c65030d84b64 lib/NetPacket/USBMon.pm +SHA1 04190a2bb5c5044df46c3701849245cf2202983f doap.xml +SHA1 ea3ea2ef0a2e794ff16083cf27caaeca9f63600a lib/NetPacket.pm +SHA1 ba1bb644354f211393259175e7a2ecbe743e67e4 lib/NetPacket/ARP.pm +SHA1 b0599285151ffefbd4b567eb49b33208283d26f9 lib/NetPacket/Ethernet.pm +SHA1 f19a1e93ea88030120ede991f46f0e17755e4f9f lib/NetPacket/ICMP.pm +SHA1 8808d3d1a922bf45491787f68a971b538bb5e832 lib/NetPacket/ICMPv6.pm +SHA1 e236f543f90217071acf7d98116c4e00001e282c lib/NetPacket/IGMP.pm +SHA1 55e5daf1ac33e2a4ec774f73e260b30e67cfa78b lib/NetPacket/IP.pm +SHA1 cb0e08d9899042ca98475deff7a141769afe8066 lib/NetPacket/IPX.pm +SHA1 7364fb1e26fedec37a803f4bb2a49f4f85601d1f lib/NetPacket/IPv6.pm +SHA1 d6f0751ee1d12d06025287cc8f43615fc0c1c6be lib/NetPacket/TCP.pm +SHA1 70bc28214d91248582b03ecc77f324449e290708 lib/NetPacket/UDP.pm +SHA1 91d28ead051bf85e7736e8a164e9bce86c049cf5 lib/NetPacket/USBMon.pm SHA1 e73071cec5aee169354426839ff7746a1182f235 t/00-compile.t SHA1 72aaf28e5dfd60d333eb38c4743dc995fc87dd7f t/00-report-prereqs.dd SHA1 6348689eee69681210251892bd47cbfbb7507d7d t/00-report-prereqs.t @@ -59,7 +59,7 @@ SHA1 d1fe7d94b3edc7847eb187d4ee41f66e19cf8907 xt/release/unused-vars.t -----BEGIN PGP SIGNATURE----- -iEYEARECAAYFAlz717gACgkQ34Hwf+GwC4wQZgCgs4f1C/rzZOQBuW1gHMtvS3Z+ -GKwAmwV2kmNZIarhaBA4IREdRp1jPA1B -=JDfR +iEYEARECAAYFAl0zuQsACgkQ34Hwf+GwC4zPwQCfTcwmCCrRj/cSvEK6v1Vv7LO+ +bDMAoLVNPW+O55nq5yf4d7YO5NYJYK9V +=+N52 -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/doap.xml new/NetPacket-1.7.2/doap.xml --- old/NetPacket-1.7.1/doap.xml 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/doap.xml 2019-07-21 02:59:56.000000000 +0200 @@ -281,5 +281,11 @@ <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2018-12-30</dc:issued> </Version> </release> + <release> + <Version> + <revision rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1.7.1</revision> + <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2019-06-08</dc:issued> + </Version> + </release> <programming-language>Perl</programming-language> </Project> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/ARP.pm new/NetPacket-1.7.2/lib/NetPacket/ARP.pm --- old/NetPacket-1.7.1/lib/NetPacket/ARP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/ARP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::ARP; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble ARP (Address Resolution Protocol) packets. -$NetPacket::ARP::VERSION = '1.7.1'; +$NetPacket::ARP::VERSION = '1.7.2'; use strict; use warnings; @@ -128,7 +128,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/Ethernet.pm new/NetPacket-1.7.2/lib/NetPacket/Ethernet.pm --- old/NetPacket-1.7.1/lib/NetPacket/Ethernet.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/Ethernet.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::Ethernet; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble ethernet packets. -$NetPacket::Ethernet::VERSION = '1.7.1'; +$NetPacket::Ethernet::VERSION = '1.7.2'; use strict; use warnings; @@ -138,7 +138,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/ICMP.pm new/NetPacket-1.7.2/lib/NetPacket/ICMP.pm --- old/NetPacket-1.7.1/lib/NetPacket/ICMP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/ICMP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::ICMP; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble ICMP (Internet Control Message Protocol) packets. -$NetPacket::ICMP::VERSION = '1.7.1'; +$NetPacket::ICMP::VERSION = '1.7.2'; use strict; use warnings; @@ -209,7 +209,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/ICMPv6.pm new/NetPacket-1.7.2/lib/NetPacket/ICMPv6.pm --- old/NetPacket-1.7.1/lib/NetPacket/ICMPv6.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/ICMPv6.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::ICMPv6; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble ICMPv6 (Internet Control Message Protocol for IPv6) packets. -$NetPacket::ICMPv6::VERSION = '1.7.1'; +$NetPacket::ICMPv6::VERSION = '1.7.2'; use strict; use warnings; @@ -294,7 +294,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/IGMP.pm new/NetPacket-1.7.2/lib/NetPacket/IGMP.pm --- old/NetPacket-1.7.1/lib/NetPacket/IGMP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/IGMP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::IGMP; our $AUTHORITY = 'cpan:YANICK'; -# ABSTRACT: Assemble and disassemble IGMP (Internet Group Mangement Protocol) packets. -$NetPacket::IGMP::VERSION = '1.7.1'; +# ABSTRACT: Assemble and disassemble IGMP (Internet Group Management Protocol) packets. +$NetPacket::IGMP::VERSION = '1.7.2'; use strict; use warnings; @@ -28,7 +28,7 @@ IGMP_MSG_HOST_MREPORTv2 IGMP_MSG_HOST_LEAVE IGMP_MSG_HOST_MREPORTv3)], group_addrs => [qw(IGMP_IP_NO_HOSTS IGMP_IP_ALL_HOSTS - IGMP_IP_ALL_ROUTERS)] + IGMP_IP_ALL_ROUTERS)] ); # @@ -95,16 +95,16 @@ if (defined($pkt)) { my $tmp; - ($tmp, $self->{subtype}, $self->{cksum}, $self->{group_addr}, + ($tmp, $self->{subtype}, $self->{cksum}, $self->{group_addr}, $self->{data}) = unpack('CCnNa*', $pkt); - + # Extract bit fields - + $self->{version} = ($tmp & 0xf0) >> 4; $self->{type} = $tmp & 0x0f; - + # Convert to dq notation - + $self->{group_addr} = to_dotquad($self->{group_addr}); } @@ -115,7 +115,7 @@ } # -# Strip header from packet and return the data contained in it. IGMP +# Strip header from packet and return the data contained in it. IGMP # packets contain no encapsulated data. # @@ -145,11 +145,11 @@ =head1 NAME -NetPacket::IGMP - Assemble and disassemble IGMP (Internet Group Mangement Protocol) packets. +NetPacket::IGMP - Assemble and disassemble IGMP (Internet Group Management Protocol) packets. =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS @@ -162,7 +162,7 @@ =head1 DESCRIPTION C<NetPacket::IGMP> provides a set of routines for assembling and -disassembling packets using IGMP (Internet Group Mangement Protocol). +disassembling packets using IGMP (Internet Group Management Protocol). =head2 Methods @@ -243,7 +243,7 @@ IGMP_VERSION_RFC998 IGMP_VERSION_RFC1112 IGMP_HOST_MQUERY IGMP_HOST_MREPORT IGMP_IP_NO_HOSTS IGMP_IP_ALL_HOSTS -IGMP_IP_ALL_ROUTERS +IGMP_IP_ALL_ROUTERS =item tags @@ -313,7 +313,7 @@ Copyright (c) 2001 Tim Potter. -Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of +Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of the participants in the CRC for Advanced Computational Systems ('ACSys'). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/IP.pm new/NetPacket-1.7.2/lib/NetPacket/IP.pm --- old/NetPacket-1.7.1/lib/NetPacket/IP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/IP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::IP; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble IP (Internet Protocol) packets. -$NetPacket::IP::VERSION = '1.7.1'; +$NetPacket::IP::VERSION = '1.7.2'; use strict; use warnings; @@ -331,7 +331,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/IPX.pm new/NetPacket-1.7.2/lib/NetPacket/IPX.pm --- old/NetPacket-1.7.1/lib/NetPacket/IPX.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/IPX.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::IPX; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble IPX packets -$NetPacket::IPX::VERSION = '1.7.1'; +$NetPacket::IPX::VERSION = '1.7.2'; use strict; use warnings; @@ -137,7 +137,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/IPv6.pm new/NetPacket-1.7.2/lib/NetPacket/IPv6.pm --- old/NetPacket-1.7.1/lib/NetPacket/IPv6.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/IPv6.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::IPv6; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble IPv6 (Internet Protocol version 6) packets. -$NetPacket::IPv6::VERSION = '1.7.1'; +$NetPacket::IPv6::VERSION = '1.7.2'; use strict; use warnings; @@ -218,7 +218,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/TCP.pm new/NetPacket-1.7.2/lib/NetPacket/TCP.pm --- old/NetPacket-1.7.1/lib/NetPacket/TCP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/TCP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::TCP; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble TCP (Transmission Control Protocol) packets. -$NetPacket::TCP::VERSION = '1.7.1'; +$NetPacket::TCP::VERSION = '1.7.2'; use strict; use warnings; @@ -24,7 +24,7 @@ our %EXPORT_TAGS = ( ALL => [@EXPORT, @EXPORT_OK], - strip => [qw(tcp_strip)], + strip => [qw(tcp_strip)], ); # @@ -40,7 +40,7 @@ my $tcp_obj = NetPacket::TCP->decode($pkt); return $tcp_obj->{data}; -} +} # # Decode the packet @@ -61,17 +61,17 @@ if (defined($pkt)) { my $tmp; - ($self->{src_port}, $self->{dest_port}, $self->{seqnum}, - $self->{acknum}, $tmp, $self->{winsize}, $self->{cksum}, + ($self->{src_port}, $self->{dest_port}, $self->{seqnum}, + $self->{acknum}, $tmp, $self->{winsize}, $self->{cksum}, $self->{urg}, $self->{options}) = unpack("nnNNnnnna*", $pkt); # Extract flags - + $self->{hlen} = ($tmp & 0xf000) >> 12; $self->{reserved} = ($tmp & 0x0f00) >> 8; $self->{flags} = $tmp & 0x00ff; - + # Decode variable length header and remaining data my $olen = $self->{hlen} - 5; @@ -81,7 +81,7 @@ $olen *= 4; - ( $self->{options}, $self->{data} ) + ( $self->{options}, $self->{data} ) = unpack( 'a' . $olen . 'a*', $self->{options}); } @@ -246,8 +246,8 @@ # timestamp # next byte is length, set to 10 # next 4 byte is timestamp, 32 bit unsigned int - # next 4 byte is timestamp echo reply, 32 bit unsigned int - $options{ts} = unpack('N', join '', @bytes[2..5]); + # next 4 byte is timestamp echo reply, 32 bit unsigned int + $options{ts} = unpack('N', join '', @bytes[2..5]); $options{er} = unpack('N', join '', @bytes[6,7,8,9]); shift @bytes; shift @bytes; @@ -282,7 +282,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS @@ -295,7 +295,7 @@ =head1 DESCRIPTION C<NetPacket::TCP> provides a set of routines for assembling and -disassembling packets using TCP (Transmission Control Protocol). +disassembling packets using TCP (Transmission Control Protocol). =head2 Methods @@ -310,13 +310,13 @@ =item C<NetPacket::TCP-E<gt>encode($ip_obj)> -Return a TCP packet encoded with the instance data specified. +Return a TCP packet encoded with the instance data specified. Needs parts of the ip header contained in $ip_obj in order to calculate -the TCP checksum. +the TCP checksum. =item C<$packet-E<gt>parse_tcp_options> -Returns a hash (or a hash ref in scalar context) contaning the packet's options. +Returns a hash (or a hash ref in scalar context) containing the packet's options. For now the method only recognizes well-known and widely used options (MSS, noop, windows scale factor, SACK permitted, SACK, @@ -507,7 +507,7 @@ Copyright (c) 2001 Tim Potter and Stephanie Wehner. -Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of +Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of the participants in the CRC for Advanced Computational Systems ('ACSys'). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/UDP.pm new/NetPacket-1.7.2/lib/NetPacket/UDP.pm --- old/NetPacket-1.7.1/lib/NetPacket/UDP.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/UDP.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::UDP; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: Assemble and disassemble UDP (User Datagram Protocol) packets. -$NetPacket::UDP::VERSION = '1.7.1'; +$NetPacket::UDP::VERSION = '1.7.2'; use strict; use warnings; @@ -53,7 +53,7 @@ sub strip { return decode(__PACKAGE__,shift)->{data}; -} +} # # Encode a packet @@ -61,7 +61,7 @@ sub encode { my ($self, $ip) = @_; - + # Adjust the length accordingly $self->{len} = 8 + length($self->{data}); @@ -74,7 +74,7 @@ } -# +# # UDP Checksum # @@ -108,7 +108,7 @@ $packet .= "\x00" if length($packet) % 2; - $self->{cksum} = NetPacket::htons(NetPacket::in_cksum($packet)); + $self->{cksum} = NetPacket::htons(NetPacket::in_cksum($packet)); } @@ -124,7 +124,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS @@ -137,7 +137,7 @@ =head1 DESCRIPTION C<NetPacket::UDP> provides a set of routines for assembling and -disassembling packets using UDP (User Datagram Protocol). +disassembling packets using UDP (User Datagram Protocol). =head2 Methods @@ -153,8 +153,8 @@ =item C<$udp_packet-<gt>encode($l3_obj)> Return the encoded version of the UDP packet object. Needs -part of the IP header contained (src_ip and dest_ip specifically) in $l3_obj, -in order to calculate the UDP checksum. The length field will also be set +part of the IP header contained (src_ip and dest_ip specifically) in $l3_obj, +in order to calculate the UDP checksum. The length field will also be set automatically based on values provided. =back @@ -278,9 +278,9 @@ Net::PcapUtils::loop(\&process_pkt, FILTER => 'udp'); -The following is an example use in combination with Net::Divert -to alter the payload of packets that pass through. All occurences -of foo will be replaced with bar. This example is easy to test with +The following is an example use in combination with Net::Divert +to alter the payload of packets that pass through. All occurrences +of foo will be replaced with bar. This example is easy to test with netcat, but otherwise makes little sense. :) Adapt to your needs: use Net::Divert; @@ -318,7 +318,7 @@ Copyright (c) 2001 Tim Potter. -Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of +Copyright (c) 1995,1996,1997,1998,1999 ANU and CSIRO on behalf of the participants in the CRC for Advanced Computational Systems ('ACSys'). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket/USBMon.pm new/NetPacket-1.7.2/lib/NetPacket/USBMon.pm --- old/NetPacket-1.7.1/lib/NetPacket/USBMon.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket/USBMon.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket::USBMon; our $AUTHORITY = 'cpan:YANICK'; #ABSTRACT: Assemble and disassemble USB packets captured via Linux USBMon interface. -$NetPacket::USBMon::VERSION = '1.7.1'; +$NetPacket::USBMon::VERSION = '1.7.2'; use 5.10.0; use strict; use warnings; @@ -145,7 +145,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NetPacket-1.7.1/lib/NetPacket.pm new/NetPacket-1.7.2/lib/NetPacket.pm --- old/NetPacket-1.7.1/lib/NetPacket.pm 2019-06-08 17:43:52.000000000 +0200 +++ new/NetPacket-1.7.2/lib/NetPacket.pm 2019-07-21 02:59:56.000000000 +0200 @@ -1,7 +1,7 @@ package NetPacket; our $AUTHORITY = 'cpan:YANICK'; # ABSTRACT: assemble/disassemble network packets at the protocol level -$NetPacket::VERSION = '1.7.1'; +$NetPacket::VERSION = '1.7.2'; use strict; use warnings; @@ -88,7 +88,7 @@ =head1 VERSION -version 1.7.1 +version 1.7.2 =head1 SYNOPSIS
