Latest Server related questions

Score: 0
How to detect log4J on windows server 2016 Datacenter machine
th flag

So I recently got a mail about updating to the latest security update to the Apache software installed on my server (vulnerability (CVE-2021-44228 & CVE-2021-45046) related to Apache Log4j), but how can I detect where this log4j is used?

When I run cmd: java --version I get:

enter image description here

Then I found a github log4j script checker: ./wget.exe https://raw.githubusercontent.com/rubo77/log4j_checker_beta/main/lo ...

Score: 0
Extracting data from Google Analytics GA4 property using AWS Lambda
be flag

I am trying to extract GA4 data and store it in a S3 bucket using AWS lambda function. But I am getting an error.

"<HttpError 400 when requesting https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json returned "Invalid JSON payload received. Unknown name "property_id" at 'report_requests[0]': Cannot find field.". Details: "[{'@type': 'type.googleapis.com/google.rpc.BadRequest', 'f ...

Score: 1
imlepid avatar
Student SSH access directly to container
cn flag

I teach a community college course on linux system administration. Some students in the class do not have ready access to a linux install so the college has an SSH server they can access to complete lab work, experiment etc. Naturally, we don't provide the students with root access etc which has obvious pedagogical limitations.

I've been mulling around in my mind an idea where by the students c ...

Score: 0
Danie de Jager avatar
Block port 22 on specific Docker container
fr flag

I have multiple Docker containers on a Centos 7 host and all their network interfaces are added to the Docker firewalld zone.

I only want to block one of the containers from accepting traffic on port 22, not all the containers.

I added:

iptables -I DOCKER-USER -p tcp -i br-a4faf253d1ff ! -s 10.2.0.4 --dport 22 -j REJECT

but it did not make a difference. How do I block ports on specific interfaces  ...

Score: 0
Jd_mahmud avatar
Dependencies to install Prometheus 2.32.1 in RHEL 7.9
cd flag

I am trying to install prometheus-2.32.1 in RHEL 7.9 in my virtualbox. But I am failing since it says that yum repository does not have the necessary repos. Can anybody tell me what are the dependencies that I should install before installing the aforementioned version of prometheus?

Score: 0
Postfix: Disable SMTP Authentication for specific email addresses?
kr flag

I've got a server running postfix, in my main.cf, I'm using

smtp_sasl_auth_enable = yes
smtp_sender_dependent_authentication = yes

I've got about 30 different email addresses (different domains, mostly Gsuite), and everything is working great. My problem is that some of my clients are constantly changing their email password, causing emails sent from their website to get stuck in the mail queue, becau ...

Score: 0
mlauth avatar
VPN-Connection with 40% package loss
us flag

We have noticed that our VPN connection to our RRAS server has been getting worse over the last 4 weeks.

I noticed that the underlying Internet connection already has packet losses of 2.8%.

Could an internet connection with 2.8% package loss result in a VPN connection with 40% package loss? Is there any way to calculate this?

Score: 0
Daniel Rudy avatar
Windows 10: How do I set a hard disk offline by default?
nl flag

I have a disk that I want to keep in an offline state, even across reboots. It's a backup disk that should remain offline until I'm doing a backup. Short of opening the case and pulling the power/data cables, is there a way to force the disk to be offline by default?

This is for Windows 10 Professional RTM. I figure it's probably a registry hack, but I'm not sure where to look. The disk is in ...

Score: -2
Carlos Andrés del Valle avatar
Management of password disable server
ru flag

This question is just for curiosity. I am studying a bit of server administration and have seen many people saying that having passwords is a bad idea and they should be disabled. But my question is: if the passwords are disabled and the admin creates a new user how is he supposed to upload his new public key? Also, that would create many problems, for example, if the admin somehow loses his key how is  ...

Score: 2
Forward real requestor IP in K3S NGINX ingress
za flag

I've set up a K3S Kubernetes Environment in my private Home-Lab on Raspberry PIs in order to teach myself some Kubernetes (Noob-Alert), using NGINX as Ingress Controller and I'm kind of stuck at passing the real IP of requests to the target Pods, in my case a Nextcloud instance. The Version of K3S is v1.22.5+k3s1.

The K3S was set up using Docker as container runtime and with the --no-deploy traefi ...

Score: 0
Geno Racklin Asher avatar
Proxy on-premises API for access from cloud
va flag

My organisation operates a REST API which is accessible only from within the organisation's internal network; I am working on a separate service hosted on Google cloud which needs to call into the API.

The API exposes an OpenAPI/Swagger specification, which I want to use to create a small (on-premises) proxy application which should forward requests to the internal API (with access from the outsi ...

Score: 0
Gimme the 411 avatar
Does PPK file depend on DNS?
gb flag

I previously used PuTTY to connect to my EC2 instance with a PPK key file.

I let my domain expire, and now I've replaced the domain with the IP address in PuTTY for the host name, but when I try to connect it says "Remote side unexpectedly closed network connection"

Is it possible the PPK file was set up to depend on the DNS somehow?

Do I have to re-purchase the domain in order to connect?

Score: 1
Nico avatar
Nginx redirect to different domain based on subdirectory
br flag

I'm not an expert on nginx but I have been using it for a while. I'm serving multiple web application servers through nginx as reverse proxy.

The problem: I'm serving in a subdirectory a Spring Boot application, nginx is redirecting the user to a totally different domain (server_name) when visiting the subdirectory directly. Let's say that the subdirectory is "/subdir", I'm also serving a wordpress  ...

Score: 0
ERROR: 118 Inconsistent set of NS RRs
in flag

I get this error from my Domain-Registrar.

ERROR: 118 Inconsistent set of NS RRs (IP, NS host names) (ns1.first-ns.de./2a01:4f8:0:a101:0:0:a:1, [ns1.first-ns.de, robotns2.second-ns.de, robotns3.second-ns.com]) : 
ERROR: 118 Inconsistent set of NS RRs (IP, NS host names) (ns1.first-ns.de./213.239.242.238,         [ns1.first-ns.de, robotns2.second-ns.de, robotns3.second-ns.com]) : 
ERROR: 118 Inconsi ...
Score: 0
Why do I routes to containers locally and how can I do better?
fr flag

I'm setting up a new server at a new site. The server is placed behind a router / firewall. The server shall run several LXC containers for various services. The LXC containers are connected to a bridge brlxc. The server furthermore connects to another site using OpenVPN in yet another LXC container bridged to the NIC of the server. Due to issues with the old setup the aim is to put the routing and f ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.