GithubHelp home page GithubHelp logo

Comments (1)

royhills avatar royhills commented on August 22, 2024

Many thanks for reporting this.

I can see that the files generated on the s390x system are different from the reference file:

rsh@jessie:/tmp$ md5sum pkt-malformed.dat
b29f37cfd4439e4cad653957651c2d84 pkt-malformed.dat
rsh@jessie:/tmp$ md5sum ike-scan-test.12963.tmp
eb32580b5f095837a2646db2072c8e5a ike-scan-test.12963.tmp

Looking at the hex dump, the differences appear to be consistent with an endian assumption:

rsh@jessie:/tmp$ xxd pkt-malformed.dat
0000000: dead beef dead beef dead beef dead beef  ................
0000010: 3932 067f 0000 04d2 0000 0205 0700 01d8  92..............
0000020: 0000 0002 0000 0003 0000 01cc 0104 0408  ................
0000030: 2f6b 0731 0300 0038 0105 0000 8001 0005  /k.1...8........
0000040: 8002 0002 8003 0003 8004 0002 800b 0001  ................
0000050: 000c 0004 0000 0020 800b 0002 000c 0004  ....... ........
0000060: 0000 0040 4000 0004 dead beef 0300 0038  ...@@..........8
0000070: 0205 0000 8001 0005 8002 0001 8003 0003  ................
0000080: 8004 0002 800b 0001 000c 0004 0000 0020  ...............
0000090: 800b 0002 000c 0004 0000 0040 4000 0004  ...........@@...
00000a0: dead beef 0300 0038 0305 0000 8001 0001  .......8........
00000b0: 8002 0002 8003 0003 8004 0002 800b 0001  ................
00000c0: 000c 0004 0000 0020 800b 0002 000c 0004  ....... ........
00000d0: 0000 0040 4000 0004 dead beef 0300 0038  ...@@..........8
00000e0: 0405 0000 8001 0001 8002 0001 8003 0003  ................
00000f0: 8004 0002 800b 0001 000c 0004 0000 0020  ...............
0000100: 800b 0002 000c 0004 0000 0040 4000 0004  ...........@@...
0000110: dead beef 0300 0038 0505 0000 8001 0005  .......8........
0000120: 8002 0002 8003 0003 8004 0001 800b 0001  ................
0000130: 000c 0004 0000 0020 800b 0002 000c 0004  ....... ........
0000140: 0000 0040 4000 0004 dead beef 0300 0038  ...@@..........8
0000150: 0605 0000 8001 0005 8002 0001 8003 0003  ................
0000160: 8004 0001 800b 0001 000c 0004 0000 0020  ...............
0000170: 800b 0002 000c 0004 0000 0040 4000 0004  ...........@@...
0000180: dead beef 0300 0038 0705 0000 8001 0001  .......8........
0000190: 8002 0002 8003 0003 8004 0001 800b 0001  ................
00001a0: 000c 0004 0000 0020 800b 0002 000c 0004  ....... ........
00001b0: 0000 0040 4000 0004 dead beef 0000 0038  ...@@..........8
00001c0: 0805 0000 8001 0001 8002 0001 8003 0003  ................
00001d0: 8004 0001 800b 0001 000c 0004 0000 0020  ...............
00001e0: 800b 0002 000c 0004 0000 0040 4000 0004  ...........@@...
00001f0: dead beef 0000 0007 2030 40              ........ 0@

rsh@jessie:/tmp$ xxd ike-scan-test.12963.tmp
0000000: dead beef dead beef dead beef dead beef  ................
0000010: 3932 067f 0000 04d2 0000 0205 0700 01d8  92..............
0000020: 0000 0002 0000 0003 0000 01cc 0104 0408  ................
0000030: 2f6b 0731 0300 0038 0105 0000 8001 0005  /k.1...8........
0000040: 8002 0002 8003 0003 8004 0002 800b 0001  ................
0000050: 000c 0004 0000 0000 800b 0002 000c 0004  ................
0000060: 0000 0000 4000 0004 dead beef 0300 0038  [email protected]
0000070: 0205 0000 8001 0005 8002 0001 8003 0003  ................
0000080: 8004 0002 800b 0001 000c 0004 0000 0000  ................
0000090: 800b 0002 000c 0004 0000 0000 4000 0004  ............@...
00000a0: dead beef 0300 0038 0305 0000 8001 0001  .......8........
00000b0: 8002 0002 8003 0003 8004 0002 800b 0001  ................
00000c0: 000c 0004 0000 0000 800b 0002 000c 0004  ................
00000d0: 0000 0000 4000 0004 dead beef 0300 0038  [email protected]
00000e0: 0405 0000 8001 0001 8002 0001 8003 0003  ................
00000f0: 8004 0002 800b 0001 000c 0004 0000 0000  ................
0000100: 800b 0002 000c 0004 0000 0000 4000 0004  ............@...
0000110: dead beef 0300 0038 0505 0000 8001 0005  .......8........
0000120: 8002 0002 8003 0003 8004 0001 800b 0001  ................
0000130: 000c 0004 0000 0000 800b 0002 000c 0004  ................
0000140: 0000 0000 4000 0004 dead beef 0300 0038  [email protected]
0000150: 0605 0000 8001 0005 8002 0001 8003 0003  ................
0000160: 8004 0001 800b 0001 000c 0004 0000 0000  ................
0000170: 800b 0002 000c 0004 0000 0000 4000 0004  ............@...
0000180: dead beef 0300 0038 0705 0000 8001 0001  .......8........
0000190: 8002 0002 8003 0003 8004 0001 800b 0001  ................
00001a0: 000c 0004 0000 0000 800b 0002 000c 0004  ................
00001b0: 0000 0000 4000 0004 dead beef 0000 0038  [email protected]
00001c0: 0805 0000 8001 0001 8002 0001 8003 0003  ................
00001d0: 8004 0001 800b 0001 000c 0004 0000 0000  ................
00001e0: 800b 0002 000c 0004 0000 0000 4000 0004  ............@...
00001f0: dead beef 0000 0007 2030 40              ........ 0@

I don't have a big endian system at the moment, having disposed of my last SPARC system a couple of years ago. But I know that earlier versions used to compile and run tests on Solaris / UltraSPARC, so this is either a regression, or a test that's been added since I last tested on a Big Endian system.

from ike-scan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.