Latest Server related questions

Score: 0
How to blacklist the "prefix" of IPv6
id flag

With IPv4 it is pretty easy to blacklist IPs since it's not cheap to get new IPs and they are limited. However, with IPv6 it's pretty easy/free to generate a huge amount of unique IPs and it's pretty hard to blacklist some user based on his/her IPv6.

After researching about this, I discovered that there is some part in the IPv6 that is not very easy to the user to change (/64) and there is some p ...

Score: 0
Manually update GKE autopilot version in GCP?
ae flag

I have a GKE autopilot cluster which was initially configured to use STABLE updates channel. It is using version 1.18.20-gke.900 of Kubernetes engine right now.

However, I need a minimum version of 1.19 to use the ingress feature.

I can see that STABLE channel supports the following versions:

  • 1.19.12-gke.2100
  • 1.19.11-gke.2101
  • 1.18.20-gke.900

With 1.18.20-gke.900 being the default.

However, I don't see a ...

Score: 0
Inigo avatar
Why can't I connect to my Amazon Lightsail instance using {ip-address}+{port-number} in my browser? Firewalls seem to be set correctly
ru flag

I have set up a new Amazon Lightsail instance with the intention of running a few things such as a VPN and Resilio Sync server. I have also set up an instance (or "droplet") with Digital Ocean to compare the two services. So far, although DO has generally been easier to set up and use, they seem to have sold me a blacklisted IP address which will cause issues for me; and Lightsail seems to have better s ...

Score: 0
Scott Morgan avatar
Integrate google workspaces and GCP Virtual desktops for user access to GCP DaaS
cl flag

I want to connect my google workspaces (G Suite) to my GCP virtual desktops (windows 10) for user authentication. I understand I can use my google workspaces domain controller (I use loosely) to manage access to virtual desktops (like AWS workspaces). The use case. I create a user in google workspace and then select the user for the virtual desktop. Then a virtual desktop will spin up for the user to lo ...

Score: 1
Mila avatar
Why is php-fpm getting the wrong client ip address?
jp flag

Good day!

I have two docker containers php-fpm and nginx I need to get the real ip address of the client, but instead of 127.0.0.1 (localhost) I get 172.0.0.1 what could be the problem?

Below I have indicated the configuration that I am using, as well as a picture so that you could understand me better.

how i see interaction. Smile-client

version: "3.9"

services:
    nginx:
        build: ./nginx
   ...
Score: 0
King David avatar
what are the risks when mixing different DELL servers and how to know supported rhel versions
gb flag

we are using the following DELL servers and this server is part of the cluster

SERVER - R730

we want to add new servers as R740 to our cluster ( R740 is with Intel Xeon Silver 4110 8c Processor)

so regarding that we have 2 question

how to know the supported rhel versions for this new HW - R740

can we mix both HW as R730 and R740 ?

Score: 0
user3827608 avatar
The rights of an Azure AD admin on a machine enrolled in organization
in flag

The question is short, what can the Azure administrator (with active directory) do in my machine? Is the same answer for an OSX machine?

I work for a company that wants to make our computers fully managed. We work remotely and suddenly I have questions in terms of privacy. From what I understand the admin can run commands as root, so potentially do whatever he wants. Is it true ? If so I will jus ...

Score: 0
Error 500 on Digital Ocean while using SwiftMailer to send email
vn flag

I am trying to send an email to myself from my seconday email address to my primary email address when a contact form is submitted to my website. I am using Swiftmailer to achieve this. The code works perfectly when I use it offline on my XAMPP server on my computer, but when I try to run it on my Digital Ocean Droplet running a LAMP stack, which is almost identical to my offline setup, it doesn't work ...

Score: 0
james avatar
RAID 5 Data Recovery (Missing Partition)
cn flag

I really need help.

I am running an XCP-NG server, with an LSI MegaRAID 9260-8i card installed. I have a RAID 5 virtual disk with one partition on said disk that takes up all the space. That partition is now mysteriously gone. Here is what I had done before I noticed this:

Ran the following command:

sudo yum install -y tar bzip2 make automake gcc gcc-c++ pciutils
elfutils-libelf-devel libglvnd-devel
Score: 2
minhng99 avatar
Huge CPU usage when enable rsyslog TLS
ru flag

We currently using rsyslog for gathering logs from ~1M IoT devices, we used to use plain-text UDP syslog and our server handling those just fine with minimal system load, but now because we need to send some sensitive data inside the syslog so we decided to enable TLS but after tried it with just 20k devices, our server keeps dropping logs because all the CPU cores are loaded at 100%.

It looks li ...

Score: 0
peppy avatar
Apache / Websockets: Direct Sockets to Different (Or To Both) Ports Based On Path - ProxyPass
gb flag

I am running a website on Apache. I have two apps that use web sockets, one is based on Node, which uses port 3000 and the other is based on Phoenix, which uses port 4000. Both apps also use a reverse proxy. For example, I have something like this:

  <Location /node/>
    ProxyPass http://127.0.0.1:3000/
    ProxyPassReverse http://127.0.0.1:3000/
  </Location>

  <Location /phoenix/ ...
Score: 0
Why Volume Bytes Used become so high on AWS Aurora RDS MySQL cluster?
lk flag
Jai

Billed volume storage on our Aurora RDS MySQL cluster went up from 70GB to 1200GB within few hours and it is just not getting down. enter image description here

AWS premium support seems to be clueless. They made us increase version of Aurora RDS MySQL 5.7 from 2.09.1 to 2.10.0 saying that there is some bug in currently used version and that space should become free on reboot. We did the upgrade, manually rebooted the cluster pos ...

Score: 0
Britt Well avatar
Removing httpd built from tarball
cn flag

I need help to remove httpd that I built from source ball, the instructions for installation are written from this blog

yum remove can't delete installed httpd but httpd -v command still showed that httpd still exist on my server

[root@localhost httpd-2.4.28]# httpd -v
Server version: Apache/2.4.28 (Unix)
Server built:   Aug 15 2021 09:21:05`

After doing some google search, I read I need to delet ...

Score: 0
Can I create host-specific users in Postgres? (ex: postgres@localhost)
gl flag

My Question

Can I set permissions on a user (ex: postgres) such that that user is only allowed to login from TCP localhost, but not the Internet?

Trusted Sockets vs Passwords for Remotes

I get that you can initialize postgres to allow local users to login without a password, and remote hosts to login with a password:

initdb \
            -D "$POSTGRES_DATA_DIR/" \
            --username postgres --pwfi ...
Score: 0
Tai avatar
how to allow POST to php file in apache only from same-origin?
jp flag
Tai

I have a website with a HTML form that, when submitted, successfully sends a POST request to a .php file on the server (Apache 2.4.48).

However, when I let Javascript handle the submitting through a JS fetch(), the server responds with a 405 error.

So I analysed the request and response headers for the two POST and they are almost identical, so I am confused on why the first method works and the oth ...

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.