<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 1, 2019, at 2:27 PM, Eric Urban <<a href="mailto:eurban@umn.edu" class="">eurban@umn.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">That pcre is present in detect-engine-event.c (<a href="https://github.com/OISF/suricata/blob/16643befe7bebb9736d44f3a02efdf71135a7b84/src/detect-engine-event.c#L45" class="">https://github.com/OISF/suricata/blob/16643befe7bebb9736d44f3a02efdf71135a7b84/src/detect-engine-event.c#L45</a>), so the error is likely coming from detect-parse.c at <a href="https://github.com/OISF/suricata/blob/b51e4a395978889fabba99287261a616aa8cd37a/src/detect-parse.c#L2286" class="">https://github.com/OISF/suricata/blob/b51e4a395978889fabba99287261a616aa8cd37a/src/detect-parse.c#L2286</a>.</div><div dir="ltr" class=""><br class=""></div><div class="">At a glance it looks like this could happen without signatures loaded, but am not positive.</div><div dir="ltr" class=""><br class=""><div class=""><div class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><span style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; white-space: nowrap;" class="">-- </span></div><div dir="ltr" class=""><span style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; font-weight: bold; white-space: nowrap;" class="">Eric Urban</span><br class=""></div><div dir="ltr" class=""><span style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; line-height: 17.29px; white-space: nowrap;" class="">University Information Security | Office of Information Technology | </span><a href="http://it.umn.edu/" style="color:rgb(17,85,204);font-family:"Helvetica Neue",Helvetica,sans-serif;font-size:small;line-height:17.29px;white-space:nowrap" target="_blank" class="">it.umn.edu</a><br style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; line-height: 17.29px; white-space: nowrap;" class=""><span style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; line-height: 17.29px; white-space: nowrap;" class="">University of Minnesota | </span><a href="http://umn.edu/" style="color:rgb(17,85,204);font-family:"Helvetica Neue",Helvetica,sans-serif;font-size:small;line-height:17.29px;white-space:nowrap" target="_blank" class="">umn.edu</a><br style="font-family: "Helvetica Neue", Helvetica, sans-serif; font-size: small; line-height: 17.29px; white-space: nowrap;" class=""><a href="mailto:eurban@umn.edu" style="color:rgb(17,85,204);font-family:"Helvetica Neue",Helvetica,sans-serif;font-size:small;line-height:17.29px;white-space:nowrap" target="_blank" class="">eurban@umn.edu</a><font face="verdana, sans-serif" style="color:rgb(136,136,136);font-size:12.8px" class=""><br class=""></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br class=""></div></div></div></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Jan 1, 2019 at 8:40 AM MATT DOUgherty <<a href="mailto:doughertysnp@gmail.com" class="">doughertysnp@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Thank you for the reply Peter.<div class=""><br class=""></div><div class="">Yes, Same results.</div><div class=""><br class=""><div class=""><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@newfw ~]# /usr/bin/suricata -c /etc/suricata/suricata.yaml -S /dev/null -i eth1</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(159,160,28);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">1/1/2019 -- 04:33:29</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class=""> - <</span><span style="font-variant-ligatures:no-common-ligatures" class="">Notice</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">> - </span><span style="font-variant-ligatures:no-common-ligatures" class="">This is Suricata version 4.1.2 RELEASE</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(180,36,25);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">1/1/2019 -- 04:33:29</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class=""> - <</span><span style="font-variant-ligatures:no-common-ligatures" class="">Error</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">> - [</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)" class="">ERRCODE</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">: </span><span style="font-variant-ligatures:no-common-ligatures" class="">SC_ERR_PCRE_COMPILE</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">(</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)" class="">5</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">)] - </span><span style="font-variant-ligatures:no-common-ligatures" class="">pcre compile of "\S[0-9A-z_]+[.][A-z0-9_+.]+$" failed at offset 12: POSIX collating elements are not supported</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class="">Offset 12 seems to indicate the plus character so I changed every instance to {1,} and still get the same basic error.</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@newfw ~]# /usr/bin/suricata -c /etc/suricata/suricata.yaml -S /dev/null -i eth1</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(159,160,28);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">1/1/2019 -- 04:33:29</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class=""> - <</span><span style="font-variant-ligatures:no-common-ligatures" class="">Notice</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">> - </span><span style="font-variant-ligatures:no-common-ligatures" class="">This is Suricata version 4.1.2 RELEASE</span></div><div style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:"Andale Mono";color:rgb(180,36,25);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)" class="">1/1/2019 -- 04:33:29</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class=""> - <</span><span style="font-variant-ligatures:no-common-ligatures" class="">Error</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">> - [</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)" class="">ERRCODE</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">: </span><span style="font-variant-ligatures:no-common-ligatures" class="">SC_ERR_PCRE_COMPILE</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">(</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(159,160,28)" class="">5</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)" class="">)] - </span><span style="font-variant-ligatures:no-common-ligatures" class="">pcre compile of "\S[0-9A-z_]+[.][A-z0-9_+.]+$" failed at offset 12: POSIX collating elements are not supported</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Thanks for thought. Maybe multiple python regex libraries? I know it must be me because no one else seems to have this issue.</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Matt.</span></div><div class=""><br class=""></div><blockquote type="cite" class=""><div class="">On Jan 1, 2019, at 4:14 AM, Peter Manev <<a href="mailto:petermanev@gmail.com" target="_blank" class="">petermanev@gmail.com</a>> wrote:</div><br class="gmail-m_8527614825359492696Apple-interchange-newline"><div class=""><div dir="auto" class=""><br class=""><div dir="ltr" class=""><br class="">On 30 Dec 2018, at 16:57, MATT DOUgherty <<a href="mailto:doughertysnp@gmail.com" target="_blank" class="">doughertysnp@gmail.com</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" class=""><div class="">I get a PCRE compile error that prevents any other interesting log data. Does anyone have an idea of that the could be?</div><div class=""><br class=""></div><div class="">This is a clean install from source on CENTOS 6.10 with several versions of Suricata. I have snort installed. Is the existing snort install messing it up?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[root@newfw suricata-4.1.2]# /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth1</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">30/12/2018 -- 04:51:07 - <Notice> - This is Suricata version 4.1.2 RELEASE</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">30/12/2018 -- 04:51:07 - <Error> - [ERRCODE: SC_ERR_PCRE_COMPILE(5)] - pcre compile of "\S[0-9A-z_]+[.][A-z0-9_+.]+$" failed at offset 12: POSIX collating elements are not supported</span></div></div></div></blockquote><blockquote type="cite" class=""><div dir="ltr" class=""><span class="">____</span></div></blockquote><div class=""><br class=""></div><div class="">Do you have the same error if you start/load with 0 rules ? (You can try adding “-S /dev/null” to the starting line, could be rule related I was thinking )</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><span class="">___________________________________________</span><br class=""><span class="">Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org" target="_blank" class="">oisf-users@openinfosecfoundation.org</a></span><br class=""><span class="">Site: <a href="http://suricata-ids.org/" target="_blank" class="">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" target="_blank" class="">http://suricata-ids.org/support/</a></span><br class=""><span class="">List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" target="_blank" class="">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a></span><br class=""><span class=""></span><br class=""><span class="">Conference: <a href="https://suricon.net/" target="_blank" class="">https://suricon.net</a></span><br class=""><span class="">Trainings: <a href="https://suricata-ids.org/training/" target="_blank" class="">https://suricata-ids.org/training/</a></span></div></blockquote></div></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">
Suricata IDS Users mailing list: <a href="mailto:oisf-users@openinfosecfoundation.org" target="_blank" class="">oisf-users@openinfosecfoundation.org</a><br class="">
Site: <a href="http://suricata-ids.org/" rel="noreferrer" target="_blank" class="">http://suricata-ids.org</a> | Support: <a href="http://suricata-ids.org/support/" rel="noreferrer" target="_blank" class="">http://suricata-ids.org/support/</a><br class="">
List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users" rel="noreferrer" target="_blank" class="">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users</a><br class="">
<br class="">
Conference: <a href="https://suricon.net/" rel="noreferrer" target="_blank" class="">https://suricon.net</a><br class="">
Trainings: <a href="https://suricata-ids.org/training/" rel="noreferrer" target="_blank" class="">https://suricata-ids.org/training/</a></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>