All Questions
313,088
questions
0
votes
0
answers
25
views
SSH Tunnel don't work with localhost but work with server's IP destination
I'am using ssh tunnel to connect to consul or vault UI on my dev local machine.
My classic ssh command don't work if I use this command
ssh -L 8500:127.0.0.1:8500 user10.3.10.150
SSH tunnel works ...
0
votes
0
answers
7
views
What is anonymous huge pages in node exporter?
Prometheus' node exporter has 2 metrics named as node_memory_AnonHugePages_bytes and node_memory_AnonPages_bytes. What do these measure?
For a object detection flask app that ran across a bare metal ...
0
votes
0
answers
18
views
In Nginx config - are statements after a 301 redirect acted on?
I want to perform a 301 redirect on port 80
to https 443
The config currently looks like this:
server {
listen 78.34.163.12:80;
server_name example.com *.example.com;
return 301 ...
0
votes
0
answers
15
views
Editing Scan profiles
I am currently checking the remote machine using the command oscap-ssh login@host 22 xccdf eval -- profile xccdf_org.ssgproject.content_profile_standart --report name.html .
But ready-made templates ...
0
votes
0
answers
15
views
Certbot with Nginx in Docker
I am trying to serve a website on HTTPS for the past 2 days. I have gone through a lot of blogs to figure out the solution but to no avail and therefore decided to ask the community about this.
...
0
votes
0
answers
22
views
Squid config for minimal setup to connect to bitbucket
I'm trying to set up a very minimal squid config. I have one host machine (lets call it B) and to it attached is a machine (A). B is connected to the internet, A is not, but B and A are connected over ...
0
votes
0
answers
36
views
how force a website to run on port 80 with reverse proxy?
I have a website in a private subnet, which is working on apache 2.4 on port 8090 with reverse proxy to nginx 1.18 on port 80, meaning all static content operating nginx, and all dynamic - apache.
I ...
4
votes
1
answer
181
views
What does "if in location" context mean in Nginx?
In the Nginx documentation, context for some directives (error_page directive for example) is given as follows:
Context: http, server, location, if in location
My question is, what does "if in ...
0
votes
1
answer
17
views
Can I trigger events off of outbound HTTP requests from an EC2 instance?
Imagine an old app. Let's say, hypothetically, that it is 9 or 10 years old, it has enormous amounts of tech debt. It makes thousands of API calls to 3rd party APIs, and stores some of the data in the ...
0
votes
1
answer
18
views
How to set RabbitMQ logging format to single line?
I want to have RabbitMQ log entry to single line instead of multiline. How could I do that?
I have set log.file.formatter.single_line = true in rabbitmq.conf, but then RabbitMQ fails to start. In ...
0
votes
0
answers
24
views
Difference in mapping a network drive by IP or name
I have a FreeBSD machine running Samba service. I've created a shared folder and put some X86 binaries. I later mapped a network drive on a Windows machine and execute the program. I found an ...
-2
votes
0
answers
14
views
Dell t620 dc power supply wiring
I recently got a poweredge t620 from my last job, was bound for the trash and it works great for my home lab. I'm wanting to go solar with battery backup and power some other things with the panels as ...
0
votes
0
answers
8
views
AWS instance choice for running JSON-SIMD intensive task
A program is bottlenecked by its ability the parse JSON; what should I look for when selecting an AWS instance for running SIMD libraries?
The specific library is Rust's SIMD-JSON library, but I ...
0
votes
0
answers
19
views
Nginx Location Redirect
I'm sorry for the beginner question but I've spent a long time trying to get this to work properly with no luck.
I have a location block to redirect https://my.domain.com/foo to https://192.168.1.25, ...
-2
votes
0
answers
14
views
Cannot set Powershell ExecutionPolicy "the shell will keep your RemoteSigned's current effective execution policy." [closed]
Here is what shows when i try the command
CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell....
0
votes
1
answer
25
views
LAN / vLAN security implementation to allow limited internet access
I am a programmer with limited knowledge of network administration so please bear with me.
In our office, we have two vLANs, vLAN10 and vLAN20
WAN > [Router] > [Cisco Switch] > [vLAN10 and ...
0
votes
0
answers
13
views
USB Serial Communication With Docker
So I'm trying to create a docker container to run my python script that reads serial data from an RFID reader. The scripts are as follows:
read0.py:
import serial
import time
arduino = serial.Serial('...
0
votes
0
answers
41
views
Damaged volume group on Ubuntu
Ran into a problem with FDISK/LVM: needed to add an additional new disk to Ubuntu Server 20. This has a storage setup using LVM/VG using the default setup configuration.
Used fdisk /dev/mapper/ubuntu--...
0
votes
1
answer
36
views
Can I extract the GPG public key if I have an encrypted file, the private key pgp file, and the pass phrase?
I am working on a project where I have been provided with a GPG private key in armor text format, the pass phrase, and a file that was encrypted with the public key. The public key is not available ...
0
votes
1
answer
18
views
How does the random delay option work?
I create a scheduled task that runs every 5 hours and enabled the "Delay task for up to (random delay)" option for 2 hours. A found a few problems with this but before I start making changes ...
0
votes
0
answers
11
views
Navigating to a host on the other side of a site-to-site vpn [from EC2 instance to a host on the local network]?
Hey gang! First question on serverfault so dig in wherever you can. Also relatively new to networking in general.
The issue I believe I'm running into
IP routing isn't bringing me across the VPN (...
-1
votes
0
answers
33
views
How do i make my webserver redundant so if one fails there's a backup
So as of now, I have one apache server running and I would like it so that if that server goes down (hardware or something) I have another server to take its place. How would I have to set up my extra ...
0
votes
0
answers
11
views
Backup of my website is not happening
I have a website for which I choose google cloud to create its back up. Till now the backup was occurring fine. As I selected the daily back up option. But after I today submitted a new post it ...
0
votes
0
answers
16
views
Mikrotik CCR1009 ROS 7 dual WAN configuration
i have a CCR1009 (ROS 7.2.3) configured with the COMBO port as WAN_1 and the eth1 to eth5 ports as LAN, VOIP, and 3 SERVER with different subnets.
The ISP is fastweb (mixed fiber 100/100) which ...
0
votes
0
answers
24
views
how i can block spam website using nginx or cloudflare
How i can block website that is using some method to show my site on their spam domain
IE My site url x.com/canon-pixma-mg2170-driver/
The spam domain is; y.com/host-x.com/canon-pixma-mg2170-driver/
I ...
0
votes
1
answer
33
views
Red Hat 7 XFS partition could not be mounted (can't read superblock)
I have a problem with several mounts. Can't read superbock is the error as reported below as example. I tried xfs_repair with/without -L but still got issue. Could someone advice?
# mount /dev/lvm02/...
0
votes
0
answers
10
views
AWX/Ansible Tower - unable to resolve Module Dependency - "No module named 'azure.cli.core.auth' "
I'm trying to install the Azure.Azcollection module on an AWX server, but encountering the following dependency error:
TASK [List all keys in specific key vault] *************************************
...
0
votes
1
answer
37
views
Add self-made certificate as trusted
I have a locally generated root certificate (Company_CA.pem) used to sign PDF files.
The signing process works fine and, after installing the public key on Adobe, I'm able to verify signatures and ...
0
votes
0
answers
12
views
Clustered Scheduled Task
I want to create a clustered schedule task in Windows Failover Clustering, as you know those tasks appear in Task Scheduler GUI under Failover Clustering folder. Is there any way to specify the folder ...
0
votes
0
answers
17
views
Not able to navigate to network share using DNS however other DNS aliases work
We have a network share that is presented to our Windows environment from a NetApp storage array. Our environment also utilizes multiple DNS aliases for the share.
We went through a storage migration ...
0
votes
0
answers
13
views
brotli on apache with proxy_fcgi for PHP-FPM is not used
I'm running an apache 2.4.54 with broti enabled.
brotli configuration as seen below and loaded before default deflate configuration.
$ cat /etc/apache2/mods-available/brotli.conf
<IfModule ...
0
votes
0
answers
13
views
DFS Namespace Direct Access to SubFolders
I am trying to setup DFS-N which will allow mapping of existing network locations to new Azure File Shares.
We are aware that the real "fix" is to rewrite our in house application to use the ...
0
votes
1
answer
11
views
Configuring Exim to relay messages to an Office 365 server in Debain
Our company recently migrated from an on-site exchange server to Office 365. As a result of this, I need to update our proxy server to relay emails generated by our applications to Office 365. We are ...
0
votes
1
answer
30
views
How do I get postfix to log the Helo/ehlo responses?
I need to get access to the Helo responses in order to make sure everything is set up correctly on the mail server.
0
votes
1
answer
22
views
How to configure multi-tenant webapp on Apache where I need to add each customer domain certificate separately?
On our server (Apache/Ubuntu18) we have a web app running which is a multi-tenant web app. So for every new client there will be a new tenant setup and it will create a new subdomain. So:
Webapp/Vhost:...
0
votes
0
answers
20
views
Network Shares mapped to DFS namespace. On boot PC cant see the path
OK i have been scouring the internet to find the issue but i cant seem to figure this out. About 2 weeks or so we started to have an issue where on boot user drives wont map correctly.
We have the ...
0
votes
0
answers
13
views
Assign elastic ip address to ec2 fleet instances
I am creating multiple EC2 instances using EC2 Fleet service in cloudformation, I want to assign elastic IP addresses to newly created instances from EC2 Fleet,
below is my template,
can anyone help ...
0
votes
1
answer
32
views
sshfs is no longer maintained any alternative?
sshfs is no longer maintained. I searched on Google, but I found not a real alternaitve for sshfs. I found https://rclone.org/sftp/ but this is note the same.
Look at the project status
https://github....
0
votes
0
answers
7
views
use sytemd-networkd forcerenew on a wifi network to renew that DHCP leases of connected clients
I am trying to use networkctl forcerenew on a wifi network to renew that DHCP leases of connected clients, but it does not seem to work
What I am trying is
update wlan1.network to have a new subnet
...
0
votes
0
answers
44
views
Removing removed disk from Raid-1 in MDADM
I have a server where 2 disks were in Raid-1. Disk-1 went faulty and due to some reasons I had to take reboot of the server and below is the current status after that. Now, I am unable to remove the ...
-1
votes
0
answers
23
views
Redirect subdomain directory to main domain
Is it possible to redirect a subdomain directory to the main URL? e.g. visiting https://example.com/ would show the contents of https://example.com/subdomain
0
votes
0
answers
10
views
Is the community edition of DBeaver slower than its PRO edition? [closed]
I currently have a DBeaver community edition and retrieving data from a data lake, but it's extremely slow. 2.9M rows would take 26 hours to finish. Has anyone tried their PRO edition? I did a quick ...
0
votes
0
answers
11
views
How to set encoding in editor joe based on file type
I want Java properties files (*.properties) to be opened in ISO8859-1 encoding on my otherwise UTF-8 using linux. Found the ftype.rc, but cannot found out how to configure it.
0
votes
1
answer
19
views
iptables wont let me connect to mysql from remote server
I have 2 servers, DB_server (1.1.1.1) and app_server (2.2.2.2)
created a user on DB_server for app_server (with 2.2.2.2 as hostname)
But I am not able to connect from app_server to db_server.
When I ...
0
votes
0
answers
24
views
Access control rely on nftables, WireGuard and Reverse Path Forwarding only
I have an idea to host a web app that without built-in authentication on my server. And protect it by nftables, WireGuard and Reverse Path Forwarding only. The web server will listen to the server's ...
0
votes
0
answers
11
views
S2D cluster not recognizing new phisical drive
I have a cluster of three ProLiant DL380p Gen8 servers with Windows Server 2019 OS. After Predictive failure warning on one of the physical drives, I retired it (Set-PhysicalDisk -Usage Retired) and ...
1
vote
0
answers
35
views
writing your own openscap scan profile
I am currently checking the remote machine using the command oscap-ssh login@host 22 xccdf eval -- profile xccdf_org.ssgproject.content_profile_standart --report name.html.
But the test templates don'...
0
votes
0
answers
8
views
cyrus imap: folder subscriptions lost after upgrade - how to get them back?
I upgraded my system from Ubuntu 18.04 to 20.04 and as part of that, cyrus-imap was upgraded to 3.0.13-5.
Unfortunately, all users lost their folder subscriptions and thus, the subfolders to not ...
0
votes
1
answer
25
views
How to notify administrators of an Active Directory pwd change?
I don't know much about AD or Windows security. As in this question, I understand that pwd change notification can be useful for both users and for system administrators.
As an AD administrator on ...
0
votes
1
answer
17
views
How to hide page name in rewrite rules in Nginx
I am trying to hide page name from url using rewrite rules in Nginx. but its not working, please see the below example
Actual url: https://super30.net/referal.php?uid=999999
Needed url: https://...