Forum Discussion

Ivan_383532's avatar
Ivan_383532
Icon for Nimbostratus rankNimbostratus
Feb 13, 2019

Loading DLLs within iRules?

Hello,

Is it possible to load DLLs/SOs within I rules using the TCL load command?

Something like

when HTTP_REQUEST {

load [file join [pwd] mylib.DLL]

... call some function from mylib...

}

If it's possible, is there anything special that needs to be done about the functions in mylib.DLL? Would iRules be able to infer the different return types?

If it's not possible to load third-party DLLs, then is there some mechanism to access custom logic outside of the iRules?