da667 / Autosnort3

Make your swine run like it's Divine
MIT License
9 stars 2 forks source link

Error locating PCRE source files #1

Open joncutler opened 2 years ago

joncutler commented 2 years ago

Autosnort3-Ubuntu.sh is giving me an error when trying to pull latest PCRE libraries directly from FTP server. The URL https://ftp.pcre.org/pub/pcre/ is not resolving for me. I did find source at 'https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz' but my shell scripting fu is pretty weak right now. Can this path be substituted in a future update?

joncutler commented 2 years ago

This seems to work for 'pcre-8.45' download from Sourceforge.net/projects/pcre/files/pcre/8.45. Change line 183 to pcre_latest=pcre-8.45

Change line 266 to wget https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz &>> $logfile

da667 commented 2 years ago

Hey Jon,

I was on-break when you sent me this message. First, thanks for reporting this issue. Second, I've resolved the issue and directed the script to pull the latest download for the PCRE 1 library source files from sourceforge. I've tested the script with these new changes, and it appears to be working now. Thanks once again for reporting this problem, and I hope you have a happy holiday.

On Sat, Nov 27, 2021 at 8:01 PM joncutler @.***> wrote:

This seems to work for 'pcre-8.45' download from Sourceforge.net/projects/pcre/files/pcre/8.45. Change line 183 to pcree_latest=pcre-8.45

Change line 266 to wget https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz &>> $logfile

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/da667/Autosnort3/issues/1#issuecomment-980816079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQW672KDLATMTSELALZYSTUOF5PXANCNFSM5I4TYOXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- when does reality end? when does fantasy begin?

joncutler commented 2 years ago

Thank you for your help and also for providing a ‘problem-solving opportunity’ for me to work around the issue…which did work btw. 😊

In my ‘day job’ as CISO, I don’t get a lot of opportunity lately to work at the shell script level, but I have been interested in building out a home lab just to try to be a little more informed. I bought Tony Robinsons’ ‘Building Virtual Machine Labs: A Hands-on Guide’ and bumped into the issue when using the Autosnort3 script.

Kudos to you and your project.

Jon B. Cutler | Chief Information Security Officer | Marshall University | 1 John Marshall Drive, DL-324 | Huntington, WV 25755-2066 | U.S.A. | Office: +1 304 696 3270 | Email: @.**@.> | Twitter: @joncutler

StaySafeOnline https://staysafeonline.org

From: da_667 @.> Sent: Monday, November 29, 2021 10:44 AM To: da667/Autosnort3 @.> Cc: Cutler, Jon @.>; Author @.> Subject: Re: [da667/Autosnort3] Error locating PCRE source files (Issue #1)

Hey Jon,

I was on-break when you sent me this message. First, thanks for reporting this issue. Second, I've resolved the issue and directed the script to pull the latest download for the PCRE 1 library source files from sourceforge. I've tested the script with these new changes, and it appears to be working now. Thanks once again for reporting this problem, and I hope you have a happy holiday.

On Sat, Nov 27, 2021 at 8:01 PM joncutler @.<mailto:@.>> wrote:

This seems to work for 'pcre-8.45' download from Sourceforge.net/projects/pcre/files/pcre/8.45. Change line 183 to pcree_latest=pcre-8.45

Change line 266 to wget https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz &>> $logfile

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/da667/Autosnort3/issues/1#issuecomment-980816079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQW672KDLATMTSELALZYSTUOF5PXANCNFSM5I4TYOXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- when does reality end? when does fantasy begin?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fda667%2FAutosnort3%2Fissues%2F1%23issuecomment-981757556&data=04%7C01%7Cjon.cutler%40marshall.edu%7C7bc146eaa63a41c6e27f08d9b34f0dd3%7C239ab2783bba4c78b41d8508a541e025%7C0%7C0%7C637737975327790117%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=GrqL2LHu25gAuYW%2B2KM1z%2FNae2ssxP%2FTL3FHq9TPvvQ%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALEYCFSVLL3KJLLM3WYPIEDUOONTXANCNFSM5I4TYOXQ&data=04%7C01%7Cjon.cutler%40marshall.edu%7C7bc146eaa63a41c6e27f08d9b34f0dd3%7C239ab2783bba4c78b41d8508a541e025%7C0%7C0%7C637737975327790117%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=2uqyWcMHadK%2FmOIzTWfeiZbymeD0I9S%2BDZOVkvKS5Bk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cjon.cutler%40marshall.edu%7C7bc146eaa63a41c6e27f08d9b34f0dd3%7C239ab2783bba4c78b41d8508a541e025%7C0%7C0%7C637737975327800068%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PiuXyh%2FXxSOjWPkbcgqPvHvCS4pRQgvwUUi8kqsksB0%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cjon.cutler%40marshall.edu%7C7bc146eaa63a41c6e27f08d9b34f0dd3%7C239ab2783bba4c78b41d8508a541e025%7C0%7C0%7C637737975327800068%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pgb8S3C3eAoKXo6cXkj3LE0lRbwz0gSKqPtlECsImoY%3D&reserved=0.