Forum Discussion

RayMN's avatar
RayMN
Icon for Nimbostratus rankNimbostratus
Jul 19, 2019

MD5 checksum of an attachment

Is there a way in the F5 (ASM or iRule) to get an MD5 checksum if a file attached to a SOAP Request? I am migrating workload from "another edge product" to the F5 and have the requirement to do this. This is my last stumbling block. I have searched and not been able to find much other than a similar question from 6 years ago that was never resolved.

  • With iRules(LX) anything should be possible. Do you have an example POST request that shows how such a request would look like?

    • RayMN's avatar
      RayMN
      Icon for Nimbostratus rankNimbostratus

      Not really yet. But, it's a normal SOAP request with a file attached. The SOAP message will contain a checksum for the file as part of the data. I just need to know how to get the checksum of the file to match it. I have not really worked with LX yet in the F5 but have done Javascript and node.js programming before so that part should not be a stretch, I just don't seem to be able to find any documentation on how to do it.