Tech Home The Bacon

Cowboy IT | Technology Blog

Watchguard Fireware 12.4 – Randomly Open TCP port 50001

I was doing a standard PCI scan from one of the CC vendors. The scan results came back with a port that was open on 50001. This was not a port I normally use, so I did a quick nmap scan from one my VPS providers. Sure enough the port was showing open.

I was puzzled and quickly audited my firewall rules. Nothing pertaining to port 50001 stuck out at me. Nmap was showing that it was open so I tried to telnet to it and sure enough I could connect via telnet.

I decided to contact support and after they looked at my config files, they confirmed this was a bug in 12.4. They suggested we upgrade to 12.4.1 and it would fix the issue.

The 12.4.1 fireware did fix the issue.

Magento 2 – Import Stuck “Please Wait” After SSL/HTTPS Configuration

Problem:

After I configured Let’s Encrypt on a CentOS server. I then configured my Magento 2 installation to use HTTPS on the admin side. Following these changes I could not import CSV files into Magento. The import process would just hang at “Please Wait” while doing a data check on the import file.

I opened the developer tool in Chrome and the console was showing this error:

in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('deny, deny, SAMEORIGIN'). Falling back to 'deny'.
Continue reading

Malwarebytes 3.7.1 Premium Causing PC To Freeze

Problem:

A user running Windows 10 (1803) with Malwarebytes 3.7.1 Premium reported random events where the PC would freeze up. I was able to recreate the problem with network related task.

For example, I could cause it to freeze by printing PDFs from the end-user’s Outlook. The PC would freeze for about 10 minutes exactly and then resume normal operations.

Continue reading

Untangle Firewall Cannot Find Boot Device

Problem:

I sent a u25x on site and the person acting as my eyes and hands used the USB 3.0 ports to hook up the keyboard and mouse.

For some reason this causes the box to not see the hardisk and it won’t boot. It first goes straight to trying to boot from PXE then it will give up and ask you to insert bootable media.

Solution:

Plug the keyboard and mouse into the USB 2.0 ports (not the blue ones).

Errors Compiling OpenVPN on Ubuntu 18.04.2 LTS

You will need to add the missing dependencies before compiling from source.

error: ssl is required but missing

sudo apt-get install libssl-dev

 error: lzo enabled but missing

sudo apt-get install liblzo2-dev

error: libpam required but missing

sudo apt-get install libpam0g-dev

CentOS 7 – WordPress Permissions Cheatsheet

Before Updating – Fix Permissions

Here is the cheatsheet I use to set permissions and SElinux before I update the site. These commands assume your wordpress root directory is /var/www/html.

#Apache Needs To Own The Files
sudo chown apache:apache -R /var/www/html/

#Set wordpress directory permissions
find /var/www/html -type d -exec chmod 755 {} \;

#Set wordpress file permissions
find /var/www/html -type f -exec chmod 644 {} \;

#SELinux - Set Directories To Be Writable
sudo chcon -t httpd_sys_rw_content_t /var/www/html/ -R
Continue reading

Amazon EC2 Instance No SSH After Enabling SELinux – Regain Access

Problem:

I changed the default listening port for OpenSSH. Later on, I forgot that I had SELinux off for testing and when I turned it back on I couldn’t ssh to the EC2 instance.

Continue reading

Use SCP With Different Port Number

Example:

scp -P 30000 index.html  root@ipaddress:/home/user


-P port (Upper Case “P”)
Specifies the port to connect to on the remote host. Note that this option is written with a capital `P’, because -p is already reserved for preserving the times and modes of the file in rcp(1)

Mac OS X Sock Proxy Enabled After Every Reboot

Problem:

Operating System: Mac OS X 10.14.4

The end user was experiencing internet connectivity outages randomly with Mail and Safari apps. Using the terminal I was able to ping google.com while other apps like Safari wouldn’t load any websites.

I noticed in the network settings that a Sock Proxy was enabled with localhost withport 8080. I knew this had to be the reason for the internet connectivity problem so I removed the setting and immediately was able to surf the internet again and receive email on the Mail app.

Continue reading

Magento 2.2 Install On CentOS 7

Objective


Install Magento 2.2 on CentOS 7. The stack will require PHP 7.1, MariaDB 10.2, and Apache 2.4. To see the full system requirements to run Magento 2.2 click here.

  1. Install Apache 2.4
  2. Configure Apache
  3. Install PHP 7.1
  4. Configure PHP
  5. Install MariaDB 10.2
  6. Configure MariaDB
  7. Create Magento File System User
  8. Download & Extract Magento Files
  9. SELinux
  10. Set File Permissions
Continue reading
« Older posts

© 2019 Tech Home The Bacon

Theme by Anders NorenUp ↑