Sanity checks for nginx-ironbee module.  Most importantly, don't stop
nginx working if ironbee is loaded but not configured.
Patch contributed by Zhuo Yuan (袁茁) in
https://github.com/ironbee/ironbee/pull/36.patch
revised by niq.
libinjection: Sync up with v1.1.0.
libinjection: Merge v1.1.0 into ironbee 0.7.x.
Squashed 'libs/libinjection/' changes from 85cc4c0..83d4ed0

55ada29 set version to 1.1.0
12fd65e cleanup python extension module
3e94ae3 add new false positive
9b60dc1 Add MS-ACCESS functions
ece15c4 nits
e53dd3c diagnostic script
2cd6ab2 reduce FP of particular type
9d6f2ae add some options for testing
2326e9f reduce false positives of fingerprint "nc"
f81e6f0 Add false positive to the pile due to last change for hpp detection
73897ef update changelog
3e06f64 algorithmic generation of new fingerprints based on equivalence
039f758 ignore python build turds
617f6cb bullet-proofing python extension
5b9731a update changelog
d0596aa Add fingerprints for hpp attacks
2403a17 Add quicy way to force install python module for testing
81ff0be fix up sqlmap tester
68132d3 add helper script for ModSecurity
f979a0c Giving thanks to those to filed bug reports
cc1e379 add __version__ to python extention
c3a7fca Issue #23: remove cut-n-paste weirdo CURRENT_DATECURRENT_TIME
7201f90 Markdownify changelog
93e7420 add 2013 in comments
7271e29 add version number
f705fef add change log
e58d6ab add fingerprint due to improved sql parsing
8c8888b treat user_id as a none type, not a function
d9630e7 make fingerprint more accurate
87a6594 Add all microsoft transaction-sql functions
2158992 Add all microsoft transaction-sql functions
24448d9 fix typo of mysql PERIOD_DIFF function
0850e18 more pgsql functions
bbbdf2d add more function
38cd5ef more makefile cleanups
00c7eaf Merge branch 'master' of https://github.com/client9/libinjection
32149a1 cleanup readme
7a0d41a more ignores
04d924c remove old python junk
d6f77a7 Fix performance test
2bc9265 Remove unneeded dependency for unit test driver
d6046dd Remove unneeded dependency for unit test driver
144d222 Remove BSD version of memmem and replace with optimized, customized version.  Also fixes any potential licensing problems
7f59703 add some nested comments test
2acb95e fix detection of nested pgsql mssql c-style comments
84a949d fix up unit test
b5ab6a0 add test to catch special case of nested comments
a5f3201 Add python module!
ccc2e3a improve documentation
d117a16 purge sqli_normalize -- deprecated
b0a3fe6 move function from private api to public api to help embed in scripting languages

git-subtree-dir: libs/libinjection
git-subtree-split: 83d4ed0fa2a840b19b9b605cf95bd047605fe7e1
libinjection: Update module to remove normalization, which is no longer required.
libinjection: Move to v1.2.0 per recommendation from Nick Galbreath.
Squashed 'libs/libinjection/' changes from 83d4ed0..63a49dc

53985a5 Version 1.2.0
174b294 issue #29: take 2 on fixing false negative
f8ca9c1 issue #29: fix regression in false_positive, false_negative
3fc757c issue #29: fix regression of type 1c
e531f4b remove code that checked magic 6th token.. not needed anymore
1f0e77c non-functional change: invert logic to make code easier to read
145a7c7 test of removing functions from private include
72d3eb9 comments
acbc012 and this is why we have tests
33253f6 fix build
7bc989d simply a few functions to make them more clear
aace91d fix order to functions to please gcc gods
6dacc0c fix comment
96763d9 documentation, whitespace, comments only
6fd2347 fix sample code in README.md
2f94fee cleanup readme
00af153 update changelog for v1.1.0

git-subtree-dir: libs/libinjection
git-subtree-split: 63a49dcee3d3ae5f2443b2473a15189cbcc3ff19
libinjection: Sync with v1.2.0 per recommendation from Nick Galbreath.
Numeric comparison operators: Work around a bug in string to numeric field conversion
Added a comment to document the work around in 7fd95c800e6991ef333eebb4fd92087ad7793479
Squashed 'libs/libhtp/' changes from 8b63363..685b183

685b183 Tidy up.
e89af12 Ensure that the connection parser state is RES_IDLE after response is complete in hybrid mode.
9ffad16 Do not supply request line line endings in the test.
b82ce4b Fix REQUEST_COMPLETE being called twice in hybrid mode, when connection parser is destroyed.
a0b154e Add a test case for the bug that calls RESPONSE_COMPLETE twice. [Nick LeRoy]
a2ab3c3 Add functions to retrieve active inbound and outbound transactions from a htp_connp_t instance. Closes #41.
690064f Docs.

git-subtree-dir: libs/libhtp
git-subtree-split: 685b183f1e2859410d8203438eed77afd5cf30c9
libhtp: Sync with upstream 0.5.x branch.
modhtp: Try both the inbound and outbound transactions when fetching ironbee txdata from libhtp.
modhtp: Better handle cases in which the libhtp parser gives up
libhtp: Sync with upstream 0.5.x branch.
Squashed 'libs/libhtp/' changes from 685b183..700fb5e

700fb5e Tidy up.
73392c4 Fix HTP_MULTI_PACKET_HEAD when processing requests with trailers.
f77579c Change all hooks to use htp_tx_t references (instead of htp_connp_t references).
86024a1 Add more tests for invalid requests.
1c31149 Do not stop processing request headers if C-L is invalid. Processing will now stop after the REQUEST_HEADERS hook. New flags: HTP_REQUEST_INVALID and HTP_REQUEST_INVALID_C_L.
9184921 Fix TRANSACTION_COMPLETE not being invoked in hybrid mode.
9bbe5a9 Do not allow incomplete transactions to be destroyed.
559f74d Do not forget to complete a successful CONNECT request.
2380dfe New callback TRANSACTION_COMPLETE.
a373fbd Tidy up.
f539985 Split htp_tx_t::progress into two fields, one for requests and one for responses. This allows us to track progress separately (which is sometimes needed).

git-subtree-dir: libs/libhtp
git-subtree-split: 700fb5e64c39cbe0999bd01e1f0cdcc36066c17f
modhtp: Update callbacks due to libhtp API changes.
modhtp: Update added/renamed parser flags.
Squashed 'libs/libhtp/' changes from 700fb5e..5c1c5ad

5c1c5ad Fix memory leak on a partially processed response.
4c813c3 Fix memory leak.
369fa3f Fix memory leak in a test.
34376e8 Fix invalid read.
f88103e Fix invalid read.
3f5ef21 Fix memory leak in a test.
6c421f4 Fix a memory leak.
28bc0d6 When destroying an entire connection, destroy transactions even when they are incomplete.
dfb6836 Fix off-by-one invalid read.
88ddac0 Fix endless loop in htp_decode_path_inplace and htp_decode_urlencoded_inplace.
b5307aa Tidy up.
73e7931 Fix removing htp_tx_t references from htp_connp_t on transactions where responses complete first.
d861071 Do not access transaction data after transaction has been destroyed.

git-subtree-dir: libs/libhtp
git-subtree-split: 5c1c5ad773b0bfa9855fa3f3635062aa08f3a7d8
libhtp: Sync with upstream 0.5.x branch.