Jump to content

Linux Help Blog

  • entries
    7
  • comments
    3
  • views
    1,071

Contributors to this blog

About this blog

Hopefully this will grow into a useful "How To" for multiple topics using Linux

Entries in this blog

QNAP files got infected muhstik

My ex is coming after me again for more money so I went to my QNAP drive for my archived records and saw most of the files had this .muhstik at the end of the file.  I tried to open the file and the computer doesn't know what application to open .muhstik type files with. You can't do anything with these files since they are "encrypted" (so just give up trying to rename or use malware or antivirus programs.  I've tried with no success) So somehow the Ransomware has infected the QNAP (wh

rev.dennis

rev.dennis in Tech

Automatically Delete old files from directory

I'm currently using some syslog-ng servers as a collector(destination) for my F5 devices logs and then Splunk reads those syslog-ng servers and ingests the data.  Well as you can imagine, these files get pretty huge on these syslog-ng servers and if you don't keep your eye on it the /logs/ directory/partition gets full on our redhat Linux servers.  So the best solution is to run a job daily to remove files older than two days and how I do that is shown here. First you identify the directory

rev.dennis

rev.dennis in Tech

Customize Ubuntu

First I want to mention I installed Linux Mint 19 on a Mac running Catalina (10.15.5) using Parallels Desktop 15 for Mac Pro Edition and it would not update no matter what we did.  Aptitude repositories would not install no matter what.  After messing with all the suggestions from multiple forums I gave up and went to reliable Ubuntu (the god father of Linux.. lol).  It is always reliable and works no matter if I install it on a laptop, virtual machine or a server.  Reason I don't like Ubuntu is

rev.dennis

rev.dennis in Tech

Using ffmpeg

ffmpeg has been around for a long long long time and its still the tool many choose when wanting to convert video and/or audio especially since its free.  Many of the pretty GUI applications that are out there use ffmpeg in the background but you typically will find yourself paying for the simplicity of using a GUI versus command line. Here are some instructions on for the command line How to reduce the file size of MPEG-4 multimedia format video with ffmpeg Before we begin let's

How to use tcpdump

This is a quick tutorial to help find information quickly using tcpdump.  I'm not going to get into explaining everything just some quick commands to find what you are looking for. Capture HTTPS Traffic tcpdump -nnSX port 443 NOTE: You can use the same command to capture any traffic, just change the port 21:57:41.587391 IP 10.11.24.11.60394 > 146.88.138.28.443: Flags [S], seq 2618307083, win 29200, options [mss 1460,sackOK,TS val 1261029685 ecr 0,nop,wscale 7], length 0     0x

wildweaselmi

wildweaselmi

Test firewall not blocking traffic

In the environment I work in we have multiple firewalls in a path so the likely of your traffic being blocked is high.  Most of us use to troubleshoot using telnet which has many many flaws and not a great method of testing but it was all we had. Here is an example of testing using telnet telnet 10.11.24.11:80 telnet: 10.11.24.11:80: Name or service not known 10.11.24.11:80: Unknown host The telnet results don't really give you anything to tell you if its successful or not.  The

wildweaselmi

wildweaselmi

Resize Linux Host

Been reading about the many different ways to expand your storage on your Linux host.  This is my journey and experience which may work for you or not.  WARNING: I'm no expert and typically just figure my way through it with practice and trying different approaches which many times works and many times gets me into deep doo doo.  I work mainly with Virtual Machines which I backup (when I remember) for failback.  I know many of us don't want to fork out the cash for ESX box or similar... I'v

rev.dennis

rev.dennis

×
×
  • Create New...