Latest Server related questions

Score: 0
jrd1989 avatar
Windows Server 2019 GPO - "User Policy Update Failed"
cn flag

My clients environment is a mix of Windows 2012, 2016 and 2019 servers. Recently we had a few additional Windows 2019 servers provisioned and added to our domain. When I run gpupdate /force from the command line on these newly provisioned 2019 instances I get the following error - "User Policy Update Failed".

If I run gpresult /h gpo.html and review the results in a browser its showing "No Errors De ...

Score: 1
hommealone avatar
Is it OK to set up a DMARC record with no rua and ruf tags?
de flag

All of my systems ask me to set up a DMARC record, and I want to. It seems to be universally recommended now. However, no one will be monitoring the email performance of the website, or would know how to interpret reports if they were generated. The site does have SPF and DKIM records already.

Is it alright and relatively safe to set up a DMARC record with no "rua" tag and no "ruf" tag? I'm think ...

Score: 0
issue with composer on staging but not production environment
dk flag

Running composer on staging environment gives me a 400 error. I am wondering if there's a quick fix, because it seems like it's a networking issue, but I am not sure if it has to do with Composer's settings or something else.

hub.com/repos/Ocramius/ProxyManager/zipball/0ac0eb3e8e04c7fa75caaf1a43c5405623abf8f5' URL could not be accessed: HTTP/1.1 400 Bad Request

    Now trying to download from sour ...
Score: 0
SiberianGuy avatar
How to block rdp passwords brute-forcing?
in flag

I've noticed there are significant spikes in cpu consumption on my servers due to bots trying to brute force my rdp password. I tried to change an rdp port, it helps for a while but then it resumes. Blocking all ips except mine works reasonably well but it's a mess to maintain as I have to access from multiple machines and I'd like to avoid dealing with vpn. What would be a reasonable solution in this s ...

Score: 0
TheJ avatar
Connecting all vpn clients into a single network
in flag

I have a Ubuntu server with IKEv2 VPN configured. I have 2 (will be more) Windows clients, that can connect to VPN.

I want them all to be "bridged", like they are all physically connected to the same switch, but Strongswan does not create interfaces for the clients, so i have no idea how to do it.

Bonus points for the clues how to connect this "LAN" to the internet.

upd: not bridged, i need layer3 only.

Score: 0
Apache httpd log url of outgoing redirects
sd flag

Is it possible with Apache Httpd to log all urls for outgoing http redirects?

This could help with http type open redirect vulnerability.

Score: 0
Php-fpm is generating too many proccesses
in flag

I am using a VPS with 2 GB of RAM on a 1 core CPU. (Ubuntu 20.04 + nginx1.21.6 + php7.4 + Mariadb10.5)

And run 3 WordPress websites, and the average number of concurrent users is around 10.

But I recently saw the following error in the log of PHP-FPM.

[pool www] server reached pm.max_children setting (20), consider raising it

And I thought there was something wrong with the server, so I checked se ...

Score: 0
Make nginx redirect to HTTPS even with competing location regex
cn flag

I have the following configuration inside a nginx server {...} block:

location /someapp { 
  if ( $https != "on" ) { 
    return 301 https://$server_name$request_uri;
  } 

  location ~ \.php$ { 
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/var/run/php/php-fpm.sock;
  } 
} 

The problem is:

  • when I access http://example.com/someapp/somefile.html (or just /someapp), I'm am redirected t ...
Score: 0
Oleg avatar
Can keepalived have one virtual IPv4 address shared between 2 nodes with IPv6 addresses?
ru flag

I'm in an environment with a serious lack of IPv4 addresses, but a whole lot of IPv6 addresses. I have all sorts of nice services going on on IPv6, among them MySQL replication. Now, I just want the 2 servers to have a single IPv4-address that can be reached by the outside world. I've tried the following config:

Running Keepalived v2.1.5 on Debian 11.

global_defs {
  @server01 router_id server01
  @se ...
Score: 1
Forbidden on everything except for scripts located on subfolders
gr flag

I want to forbid everything coming on a specific domain (e.g. example.com) except for some entry points (here, PHP files) located on a specific path (e.g. example.com/subfolder1/subfolder2/script.php).

Here's a snippet of the configuration I used within my virtual host for this particular domain. I still get a 403 for everything.

For context, I'm using Apache 2.4.41 + FPM 7.2

<VirtualHost *:443& ...
Score: 1
NGINX 502 Bad Gateway error inside Docker container
mx flag

I haven't had any issues with my Docker container or NGINX until today where I am getting a random unexpected 502 Bad Gateway error even though I have made no changes to my configuration files, Docker files, or any other file in my project.

The 502 error from /var/log/nginx/reverse-access.log:

9.160.81.63 - - [25/Mar/2022:20:40:50 +0000] "GET /api/get_info HTTP/1.1" 502 559 "https://example.com:400 ...

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.