SHA256
1
0
forked from pool/scapy

8 Commits

Author SHA256 Message Date
c752b000dc Accepting request 1221432 from security
OBS-URL: https://build.opensuse.org/request/show/1221432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scapy?expand=0&rev=6
2024-11-05 15:45:27 +00:00
30606d980f scapy 2.6.1
OBS-URL: https://build.opensuse.org/package/show/security/scapy?expand=0&rev=22
2024-11-05 13:03:59 +00:00
edb95bcb2d Accepting request 1206311 from security
OBS-URL: https://build.opensuse.org/request/show/1206311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scapy?expand=0&rev=5
2024-10-08 15:25:27 +00:00
32e6ace749 scapy fixup
OBS-URL: https://build.opensuse.org/package/show/security/scapy?expand=0&rev=20
2024-10-08 12:13:53 +00:00
04c471705f Accepting request 1205220 from security
OBS-URL: https://build.opensuse.org/request/show/1205220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scapy?expand=0&rev=4
2024-10-02 19:35:12 +00:00
98f579f668 Move sed call to fix reproducible builds (boo#1231253)
OBS-URL: https://build.opensuse.org/package/show/security/scapy?expand=0&rev=18
2024-10-02 14:27:47 +00:00
a4fa3de10b Accepting request 1204886 from security
OBS-URL: https://build.opensuse.org/request/show/1204886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scapy?expand=0&rev=3
2024-10-01 15:19:46 +00:00
b0a3e31b3e scapy 2.6.0
OBS-URL: https://build.opensuse.org/package/show/security/scapy?expand=0&rev=16
2024-10-01 07:05:34 +00:00
4 changed files with 78 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97c3f6c9258eeaa609e3ccab62531670b425713dd17c0415f512201c2b8cc82e
size 6082895

3
scapy-2.6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a580a4cf6bbbaf72e64e082d3ee8e5afd4e06becb21eecd24c22d1ef2da58ef3
size 7048560

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Tue Nov 5 12:53:13 UTC 2024 - Robert Frohl <rfrohl@suse.com>
- Update to 2.6.1
* On linux machines with IPv6 disabled, Scapy would crash on startup
* The scapy.1 manpage was no longer installed
* Upon the first startup, there could be a crash related to the creation of
Scapy's XDG-* related folders.
* other small bugs that could lead to issues during packaging.
Thanks to the downstream package maintainers for their help.
-------------------------------------------------------------------
Mon Oct 7 14:01:07 UTC 2024 - Robert Frohl <rfrohl@suse.com>
- Fix load of embedded manufdb, by explicitly targeting non-executable-scripts
- Fix /etc paths to point to /usr/etc in published rpm.
- Enable unit tests to find issues earlier.
-------------------------------------------------------------------
Wed Oct 2 14:11:00 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Move sed call to fix reproducible builds (boo#1231253)
-------------------------------------------------------------------
Mon Sep 30 12:31:33 UTC 2024 - Robert Frohl <rfrohl@suse.com>
- Update to 2.6.0
* support for RFC6874-like scope identifiers. This is very useful for
multicast IPs as one can now do the following on L3:
sr(IP(dst="224.0.0.1%eth0")/..., multi=True)
* using the iface= argument is deprecated on level3 functions (send, sr, sr1),
as its behavior was undefined. It remains in use for level2
functions (sendp, srp, srp1). RFC6874-like scope identifiers should be used.
* the internals that read the routes and interfaces configuration have been
rewritten on Linux and BSD:
- on linux, to use RTNETLINK. (this should help on machines that have huge BPG tables)
- on *BSDs, to use PF_ROUTE.
- on Linux, NetBSD and FreeBSD, link-local and multicast routes should now properly be loaded
* new Windows protocols:
- DCE/RPC: DCERPC_Client and DCERPC_Server with support for NCACN_IP_TCP and NCACN_NP
- SMB2/3:
* Protocol refactor, many more SMB2/3 structures supported
* Server (class + 'simple' util smbserver()) (2.0.2 to 3.1.1)
* Client (class + interactive CLI smbclient()) (2.0.2 to 3.1.1)
* SMB socket, RPC over SMB socket, etc.
- Kerberos:
* KerberosSSP to use in SMB/RPC clients/servers, [MS-KILE] variants, SFU and more
* Crypto: use cryptography, latest RFC8009, GSS_WrapEx support, typing, etc.
* Util functions krb_as_req, krb_tgt_req, kpasswd (both modes), etc.
* Ticketer++: ccache support, ask/renew/resign/edit tickets, etc
- NTLM:
* refactor, clean SSP
- Extensive GSSAPI / SPNEGO support
- LDAP
* Fixes, ASN.1 Windows variation support
* dclocator, answering machine for "LDAP PING", etc.
* add a (very) basic LDAP_client (support for various binding mechanisms, encryption, etc.)
- More features, bug fixes and updated protocol support as listed in:
https://github.com/secdev/scapy/releases/tag/v2.6.0
-------------------------------------------------------------------
Thu Dec 14 11:13:45 UTC 2023 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package scapy
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: scapy
Version: 2.5.0
Version: 2.6.1
Release: 0
Summary: Interactive Packet Manipulation Tool
License: GPL-2.0-only
@@ -25,10 +25,9 @@ Group: Productivity/Networking/Security
URL: https://scapy.net
Source: https://github.com/secdev/scapy/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: python-rpm-macros
BuildRequires: python3-base >= 3.7
BuildRequires: python3-setuptools
# Testing requirements: (require root permission and a fully functional network stack)
#BuildRequires: tcpdump
Requires: python3-cryptography
Recommends: python3-PyX
Recommends: python3-ipython
@@ -49,8 +48,11 @@ arpspoof, firewalk, irpas, tethereal, tcpdump, etc.
%prep
%setup -q -n scapy-%{version}
# Fix non-executable-script rpmlint issue:
find scapy -name "*.py" -exec sed -i "/#!/d" {} \;
# In (open)SUSE /etc/protocols and /etc/services
# moved to /usr/etc/
sed 's|%{_sysconfdir}/protocols|%{_prefix}%{_sysconfdir}/protocols|g' -i scapy/data.py
sed 's|%{_sysconfdir}/services|%{_prefix}%{_sysconfdir}/services|g' -i scapy/data.py
%build
%python3_build
@@ -58,18 +60,16 @@ find scapy -name "*.py" -exec sed -i "/#!/d" {} \;
# redistribute it (sr#172834):
rm -r doc/scapy
# In (open)SUSE /etc/protocols and /etc/services
# moved to /usr/etc/
sed 's|%{_sysconfdir}/protocols|%{_prefix}%{_sysconfdir}/protocols|g' -i scapy/data.py
sed 's|%{_sysconfdir}/services|%{_prefix}%{_sysconfdir}/services|g' -i scapy/data.py
%install
%python3_install
# Fix non-executable-script rpmlint issue:
# WARN: Using simple globbing (*.py) will break manufdb loading
find %{buildroot}%{python3_sitelib} -name "pdu.py" -exec sed -i "/#!/d" {} \;
find %{buildroot}%{python3_sitelib} -name "doip.py" -exec sed -i "/#!/d" {} \;
%fdupes %{buildroot}%{python3_sitelib}
rm -Rv %{buildroot}%{python3_sitelib}/test/
#%%check
#cd test && ./run_tests
%check
cd test && ./run_tests -c configs/linux.utsc -K ci_only -K scanner -K netaccess
%files
%license LICENSE