My UDF for Snort/ACID

2003-08-14 Thread Bryan Miller
Well, under the heading of "If you want it done, do it yourself", I wrote the following UDF this afternoon. I needed something to take the 4-byte integers representing IP addresses from Snort/ACID and turn them into fully qualified domain names for reports. This works under Linux. The examples th

lookup and reverse_lookup UDF problem

2003-08-11 Thread Bryan Miller
I, like others, am having trouble getting the two UDF's mentioned above to work correctly. I successfully compiled MySQL 4.0.14 dynamically with the -rdynamic flag on Linux 8. I have also compiled the udf_example.cc file using the -shared option. Everything seems to go OK when I'm using the CREA