Searched hist:f0297f121aee3ff9ae6de9d445fc4a7981385d05 (Results 1 – 3 of 3) sorted by relevance
/freebsd/tests/sys/netpfil/pf/ |
H A D | CVE-2019-5597.py | diff f0297f121aee3ff9ae6de9d445fc4a7981385d05 Sat Oct 26 23:19:55 CEST 2019 Bjoern A. Zeeb <bz@FreeBSD.org> Upgrade (scapy) py2 tests to work on py3.
In order to move python2 out of the test framework to avoid py2 vs. py3 confusions upgrade the remaining test cases using scapy to work with py3. That means only one version of scapy needs to be installed in the CI system. It also gives a path forward for testing i386 issues observed in the CI system with some of these tests.
Fixes are: - Use default python from environment (which is 3.x these days). - properly ident some lines as common for the rest of the file to avoid errors. - cast the calculated offset to an int as the division result is considered a float which is not accepted input. - when comparing payload to a magic number make sure we always add the payload properly to the packet and do not try to compare string in the result but convert the data payload back into an integer. - fix print formating.
Discussed with: lwhsu, kp (taking it off his todo :) MFC after: 2 weeks
|
H A D | CVE-2019-5598.py | diff f0297f121aee3ff9ae6de9d445fc4a7981385d05 Sat Oct 26 23:19:55 CEST 2019 Bjoern A. Zeeb <bz@FreeBSD.org> Upgrade (scapy) py2 tests to work on py3.
In order to move python2 out of the test framework to avoid py2 vs. py3 confusions upgrade the remaining test cases using scapy to work with py3. That means only one version of scapy needs to be installed in the CI system. It also gives a path forward for testing i386 issues observed in the CI system with some of these tests.
Fixes are: - Use default python from environment (which is 3.x these days). - properly ident some lines as common for the rest of the file to avoid errors. - cast the calculated offset to an int as the division result is considered a float which is not accepted input. - when comparing payload to a magic number make sure we always add the payload properly to the packet and do not try to compare string in the result but convert the data payload back into an integer. - fix print formating.
Discussed with: lwhsu, kp (taking it off his todo :) MFC after: 2 weeks
|
/freebsd/tests/sys/netpfil/common/ |
H A D | pft_ping.py | diff f0297f121aee3ff9ae6de9d445fc4a7981385d05 Sat Oct 26 23:19:55 CEST 2019 Bjoern A. Zeeb <bz@FreeBSD.org> Upgrade (scapy) py2 tests to work on py3.
In order to move python2 out of the test framework to avoid py2 vs. py3 confusions upgrade the remaining test cases using scapy to work with py3. That means only one version of scapy needs to be installed in the CI system. It also gives a path forward for testing i386 issues observed in the CI system with some of these tests.
Fixes are: - Use default python from environment (which is 3.x these days). - properly ident some lines as common for the rest of the file to avoid errors. - cast the calculated offset to an int as the division result is considered a float which is not accepted input. - when comparing payload to a magic number make sure we always add the payload properly to the packet and do not try to compare string in the result but convert the data payload back into an integer. - fix print formating.
Discussed with: lwhsu, kp (taking it off his todo :) MFC after: 2 weeks
|