Latest Server related questions

Score: 3
seb avatar
nginx config for reverse proxying UDP traffic (minecraft app) - 90 message too long
kr flag
seb

Trying to proxy udp traffic. nginx doesn't throw any error about the configuration. The client connects until half-way (it says it could reach the end server) but the connection then gets stuck and eventually closes out with timeout.

nginx version: 1.21.3 OS: Ubuntu 18.04

nginx.conf:

worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

worker_rlimit_nofile 30000;

events ...
Score: 0
Bhumbar Sonali avatar
Excel Add-ins are not showing in the latest office, how to fix that?
br flag

With 1803 OS Build of windows 10 and office version below 136104-image.png

Here, after I install my add-in using the msi provided by vendor, it is showing in the excel toolbar.

office version 1803

But when I install on 1909 OS Build of windows 10 and office version below.

office version 1909

When I install the same add-in, it is not showing in the excel toolbar above.

Even though, it is showing in ...

Score: 0
Mnemosyne avatar
How to make bind force clients to connect via TCP only?
fr flag

I want to set up an experimental nameserver that asks clients to send requests via TCP only by sending back packets with the TC bit set. For that purpose I tried to work with the rate-limit parameter in the named.conf.options file but I couldnt make it work. I set:

    rate-limit {
            responses-per-second 1;
            slip 0;
    };

But if I make a dig request for an RR, the reply I get  ...

Score: 0
Ubuntu UFW log shows public addresses sending traffic to my RFC1918 private address
mk flag

This is really a routing question but here is the back ground:

I am running Ubuntu 20.04.3 LTS with UFW. My internal network is 10.126.1.0/24. No inbound translations at the Internet edge. If I inspect my UFW logs I see messages similar to this:

Aug 20 17:41:01 XPS-8100 kernel: [ 1964.382883] [UFW BLOCK] IN=enp5s0 OUT= MAC=84:2b:2b:9d:ae:44:02:81:51:8b:22:18:08:00 SRC=142.250.111.109 DST=10.126.1.4 ...

Score: 0
4j0 avatar
Generate file if missing with nginx
ru flag
4j0

Basically what I'm trying to do is to figure out how to check if an image exists and if it does direct it to there, but if the image does not exist run a js file to generate then direct to it.

Score: 0
rsync: is there an option to make rsync stop at first error so i can see what's happening?
bq flag

CONTEXT : rsync with very large number of files to sync

WHAT HAPPENS : rsync encounters errors, but just continues.....

WHAT I DO : rsync -Pav path1 path2

ISSUE : I'm booted in a recovery mode and the recovery drive have no space left...

QUESTIONS : is there an option to make rsync stop at first error so I can see what's happening ?

I TRIED to look man page of rsync, but cannot find any option that would  ...

Score: 0
Access the host's IP or loopback interface from Docker container
ng flag

willnorris/imageproxy is a caching image proxy server that we use in one of our deployments. We typically have a PHP backend that will serve some html or json to a client where the URL would be http://<imageproxy>/200/https://willnorris.com/logo.jpg. Then the client will fetch that image from the proxy. This is fine.

What I cannot get working is doing this in local development using Docker (Com ...

Score: 0
DevShine avatar
SSH connection is broken down when wireguard is connected
in flag

I am going to connect to the vps by ssh and connect to the wireguard vpn service on it.

But as soon as I execute the wireguard client, ssh connection is broken down.

Of course I know this is because routing rules are changed, and fixed those issues in case of OpenVPN, but it doesn't work at the moment.

What is different in wireguard?

This is the client config file.

# TorGuard WireGuard Config
[Interf ...
Score: 0
Access entire lan of openvpn client from another openvpn client
cn flag

I have following setup:

setup

What do I need to do to make 192.168.0.3 connectable from machine 10.8.0.3? I tried openvpn guide but I guess I'm missing something.

vpn server config /etc/openvpn/server.conf

dev tun
server 10.8.0.0 255.255.255.0

ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
crl-verify /etc/openvpn/crl.pem
dh /etc/openvpn/dh2048.pem

client-to-client
daemon

if ...
Score: 0
Google Cloud Project with No Owner
us flag

We have a Google Cloud project on my team and the owner has since left the organization.

We still have access to the project because someone on my team in an editor but editors cannot give others access. She is leaving the team and we are trying to give someone else access.

If there is no owner listed and the editor can't give access does that mean there is no way to give anyone else access or assig ...

Score: 0
Daniel avatar
Executing a PowerShell Script With Spaces in Arguments via Task Scheduler on Windows Server 2012
br flag

I'm attempting to create a scheduled task on Windows Server 2012 that will execute a powershell script that will create an archive of a specific directory once per day.

The arguments to execute the script should be as follows (via command line): .\CreateBackup.ps1 -BackupTarget "D:\SOFT_DIST\Production\_New_Build\Documentation\Windows Build Documentation\" -BackupDestination "D:\SOFT_DIST\Production\ ...

Score: 1
Ronaldo avatar
How to get the remote hostname resolved through DNS when using Nginx and ModSecurity?
br flag

The question mod_security with OWASP CRS: Custom rule for whitelisting googlebot provides the following rule as the answer to verify the client's hostname:

SecRule REMOTE_HOST “@rx google(bot|)\.com$” “id:50000,nolog,allow”

This rule was meant to be used on ModSecurity with Apache and required the directive HostnameLookups On configured on Apache. The MODSECURITY HANDBOOK says:

REMOTE_HOST

Score: 1
Rod Scoville avatar
Relay office 365 email via smtp during migration
us flag

I am about to move users to Office 365 email from an old hosted smtp/pop system.

The domain is configured for 365 with the exception of the mx record.

I would like to create the accounts in 365 ahead of the migration and gradually move users over without impacting their current mailboxes.

For the first two test users I have forwarded the old mailbox to the new mailbox using the onmicrosoft.com alias.  ...

Score: 0
Jim avatar
Can VMs run on raw HW or do they neeed an OS?
cn flag
Jim

I have a general question about Virtual Machines.
It is not clear to me if I need an operating system at the lower level and then install the VM and on top of that the rest or I can install a VM without any OS present.
Could someone clarify?

Score: 1
def750 avatar
Location redirect from domain to another one in nginx
cn flag

I want to redirect locations play.example.com/u/<user id> to example.com/u/<user id> and play.example.com/b/<game id> to play.example2.net/b/<game id>

While having options for website too (webroot and api which i host on same domain). How can I achieve that?

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.