-1

Can someone please help me with this? I'm attempting to follow the below guide on installing LMD (Linux Malware Detect) on CentOS.

https://www.tecmint.com/install-linux-malware-detect-lmd-in-rhel-centos-and-fedora/

The issue that I am having is that whenever I attempt to use "wget" on the specified link to LMD, it always pulls an HTML file instead of a .gz file.

Troubleshooting: I've attempted HTTPS instead of HTTP, but that results in an "unable to establish SSL connection" error message (see below). I've already looked around the internet for other guides on installing LMD on Cent and every one of them advised to "wget" the .gz at the below link. I'm hoping that someone can help me to work through this.

http://www.rfxn.com/downloads/maldetect-current.tar.gz

SSL error below

If you need further information from me, please let me know. Thank you.

Best, B

wget --spider: enter image description here

Jesse C.
  • 1
  • 3
  • Please add wget command which are you using and version of wget you are using (output of `wget --version`) – Daweo Jul 04 '22 at 07:38
  • I'm just using regular `wget`. Sorry if that's not really answering the question. I'm fairly new at this and am struggling. And the `wget` version I'm using is `GNU Wget 1.14 built on linux-gnu`. Let me know if you need further information. Thank you again for your help. – Jesse C. Jul 05 '22 at 12:29
  • okay, please run `wget --spider http://www.rfxn.com/downloads/maldetect-current.tar.gz` and add output of that to your question – Daweo Jul 05 '22 at 13:26
  • Okay, believe me when I say that I've been trying for the past 1.5 days to successfully setup an email client on my CentOS machine so that I could email myself a .txt of the output, but suffice to say I've been unsuccessful at that. Therefore, I had to take a picture with my phone. See the picture I added to my initial message. – Jesse C. Jul 06 '22 at 18:17

3 Answers3

0

You replace in command http with https. Try wget as it is mentioned in the manual:

wget http://www.rfxn.com/downloads/maldetect-current.tar.gz

Here is what I get with --spider option:

# wget --spider http://www.rfxn.com/downloads/maldetect-current.tar.gz
Spider mode enabled. Check if remote file exists.
--2022-07-06 22:04:57--  http://www.rfxn.com/downloads/maldetect-current.tar.gz
Resolving www.rfxn.com... 172.67.144.156, 104.21.28.71
Connecting to www.rfxn.com|172.67.144.156|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1549126 (1.5M) [application/x-gzip]
Remote file exists.
Romeo Ninov
  • 6,538
  • 1
  • 22
  • 31
  • That's what I initially tried. The 'http' attempt just pulls a .html file. – Jesse C. Jul 05 '22 at 12:27
  • @JesseC., it work perfect for me. Do you use proxy? – Romeo Ninov Jul 05 '22 at 12:34
  • I don't believe so. I've been following the directions at this link: https://www.tecmint.com/things-to-do-after-minimal-rhel-centos-7-installation/ – Jesse C. Jul 06 '22 at 18:21
  • @JesseC., seems like you have problem with your network/internet access. I get clear access to the host – Romeo Ninov Jul 06 '22 at 19:06
  • That's the conclusion I'm beginning to draw as well. I'm going to troubleshoot my network. Thanks for responding! – Jesse C. Jul 06 '22 at 19:18
  • Okay, I can ping google.com just fine, and I can surf the web with links. Is it possible for my ISP to be blocking certain ports? – Jesse C. Jul 06 '22 at 19:23
  • @JesseC., have you try to access some host with only http protocol? This can reveal if ISP block ports (at least port 80). – Romeo Ninov Jul 06 '22 at 19:29
  • 1
    Bro, it WAS MY ISP. I called them and they're like "yeah we're blocking your Linux computer." I said, "please stop." Now we're good :D Thank you! – Jesse C. Jul 06 '22 at 20:20
0

wget --spider: enter image description here

This is interesting, you requested asset from http://www.rfxn.com but was redirected finally to https://block.charter-prod.hosted.cujo.io which seems to page with text like

Let's stop for a moment

This website has been blocked as it may contain inappropriate content

I am unable to fathom why exactly this happend, but this probably something to do with your network, as I run wget --spider and it did detect (1,5M) [application/x-gzip].

Daweo
  • 31,313
  • 3
  • 12
  • 25
  • Thank you for responding so quickly. Could this possible be an ISP issue? – Jesse C. Jul 06 '22 at 19:13
  • It WAS MY ISP. I called them and they're like "yeah we're blocking your Linux computer." I said, "please stop." Now we're good :D Thank you! I kept thinking "what the -bleep- am I doing wrong!?" :P – Jesse C. Jul 06 '22 at 20:21
0

It was my ISP. They had router-based software preventing Linux extra-network commands from getting past the gateway.

Jesse C.
  • 1
  • 3
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 14 '22 at 23:18