{"action":"created","issue":{"url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/206","repository_url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf","labels_url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/206/comments","events_url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/206/events","html_url":"https://github.com/p0pr0ck5/lua-resty-waf/issues/206","id":176500632,"number":206,"title":"pre-compiled libraries ?","user":{"login":"mtourne","id":214840,"avatar_url":"https://avatars.githubusercontent.com/u/214840?v=3","gravatar_id":"","url":"https://api.github.com/users/mtourne","html_url":"https://github.com/mtourne","followers_url":"https://api.github.com/users/mtourne/followers","following_url":"https://api.github.com/users/mtourne/following{/other_user}","gists_url":"https://api.github.com/users/mtourne/gists{/gist_id}","starred_url":"https://api.github.com/users/mtourne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtourne/subscriptions","organizations_url":"https://api.github.com/users/mtourne/orgs","repos_url":"https://api.github.com/users/mtourne/repos","events_url":"https://api.github.com/users/mtourne/events{/privacy}","received_events_url":"https://api.github.com/users/mtourne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T22:23:45Z","updated_at":"2016-09-13T00:57:02Z","closed_at":null,"body":"Hi, I'm checking out this project but I have mixed feelings about the .so (Linux compiled ?) for libinjection.so and libac.so.\r\nI doubt this would work on my mac, but I haven't yet encountered a failure because of them.\r\n\r\nCould you describe what's a failure case, and how to obtain/compile these libraries for other platforms ?"},"comment":{"url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/comments/246541732","html_url":"https://github.com/p0pr0ck5/lua-resty-waf/issues/206#issuecomment-246541732","issue_url":"https://api.github.com/repos/p0pr0ck5/lua-resty-waf/issues/206","id":246541732,"user":{"login":"p0pr0ck5","id":4625425,"avatar_url":"https://avatars.githubusercontent.com/u/4625425?v=3","gravatar_id":"","url":"https://api.github.com/users/p0pr0ck5","html_url":"https://github.com/p0pr0ck5","followers_url":"https://api.github.com/users/p0pr0ck5/followers","following_url":"https://api.github.com/users/p0pr0ck5/following{/other_user}","gists_url":"https://api.github.com/users/p0pr0ck5/gists{/gist_id}","starred_url":"https://api.github.com/users/p0pr0ck5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0pr0ck5/subscriptions","organizations_url":"https://api.github.com/users/p0pr0ck5/orgs","repos_url":"https://api.github.com/users/p0pr0ck5/repos","events_url":"https://api.github.com/users/p0pr0ck5/events{/privacy}","received_events_url":"https://api.github.com/users/p0pr0ck5/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T00:57:01Z","updated_at":"2016-09-13T00:57:01Z","body":"Hi,\r\n\r\nYes, these are compiled on x64 Linux environments (Ubuntu Trusty). Yeah frankly the inclusion of these libs is just laziness on my part. We do need to change these such that we aren't relying on precompiled libs, either through git submodules or some other method.\r\n\r\n* *libinjection* comes from client9: https://github.com/client9/libinjection\r\n* *libac* comes from cloudflare's implementation of Aho-Corasick: https://github.com/cloudflare/lua-aho-corasick\r\n\r\nYou should be able to compile these yourself, but if you run into hiccups during the compilation process please contact the upstream devs (I remember having to fiddle with the lua-aho-corasick makefile a while ago, I think due to the defined include path for Lua header files). I will retool the make process for lua-resty-waf to avoid having to recompile these for our next tagged release (planning on tagging v0.8.2 within the next two weeks).\r\n\r\nAs for failure case, have a go at running the unit tests, that should tell you if things are working properly or not."}}
{"actor":{"display_login":"p0pr0ck5"}}