We have a need for 2-factor auth on some of our external services, and are looking at alternatives to the current SecurID setup. Would it be possible to have an iiRule to generate a random code, send out via SMS provider, and wait for the user to receive the code on his mobile phone, enter as part of the APM login and compare the codes for accept/deny. Thanks for any feedback!
There isn’t any native support for triggering an SMS from LTM. However, this might make an interesting feature request for APM. What kind of API or protocol do you imagine wanting to use to trigger an SMS?
We are currently using Clickatell for SMS distribution, and the SMS is sent by sending a http request to the provider that includes our login/password and phone number and message (code), I believe many mobile operators support this type of functionallity.
I am not sure how easy it would be to combine the logic from Deb’s article with APM, but it might be possible. If you give it a try and get stuck try replying back here to get help. It would also make an interesting request for enhancement. You could make the request officially by opening a case with F5 Support.
Thank you, Aaron! The HTTP::retry looks very promising. The wiki for HTTP::retry (DevCentral - An F5 Technical Community) had exactly the example I have been looking for. If that works as advertised we only need a random number generator within the irule to complete the job.
Btw. we have opened an RFE with F5, and were told that they were working on getting this functionality into future versions of the APM. For a short-term solution we were asked to use the forums at DevCentral, and they were right