Latest Server related questions

Score: 0
Unable to connect to stunnelled RTSP stream using VLC mediaplayer
cn flag

This problem has been plaguing me for quite a while. I've setup Stunnel (v5.59) on my Windows10 desktop. Certificates were generated with Certbot (beta1.15.0) for my internal network.

Stunnel configuration is as follows:

socket= l:TCP_NODELAY=1
socket= r:TCP_NODELAY=1
output= stunnel.log 
debug= 7 

[rtsp]
cert= fullchain1.pem
key= privkey1.pem
sslVersion= TLSv1.2 
options= NO_SSLv2
options= NO_SSLv3
 ...
Score: 0
Hosting multiple applications behind Nginx reverse proxy
cn flag

We're moving to an approach where several app instances are created for multiple use cases. In front of the whole stack, we use Nginx as a reverse proxy.

We define it like this:

    location /admin {
        rewrite /admin/(.*) /admin/$1  break;
        proxy_pass http://localhost:3000;
        proxy_set_header Connection "";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $rem ...
Score: 0
Kyle Calica-St avatar
DigitalOcean Droplet ssh to use a named key
bd flag

It's been a while since I've done this and configured ssh keys.

I generated an ssh key with a different file name than id_rsa

I have a DigitalOcean Droplet where I placed a named ssh key pair on creation.

Then I created a ~/.ssh/config on my local machine where I configured my Host to use the proper identity file.

I made my hostname the IP of the droplet. I believe I can do that.

~/.ssh/config:

Host mul ...
Score: 0
When using port monitoring for packet capture, capture machine gets messed up IPv6 addresses
in flag

I'm using the "port monitoring" aka "port mirroring" feature of a managed switch to do Wireshark packet captures of network traffic. The traffic I'm monitoring is on a separate sub-net (a separate VLAN configured on the switch).

I have discovered, in this configuration, the Wireshark machine picks up new IPv6 addresses that are on the monitored sub-net. It makes sense how it's happening—the Wir ...

Score: 0
iptables and Nginx reverse proxy for localhost
pk flag

Summary

I use Nginx as a reverse proxy and in particular its functionality proxy_bind in order to send the real client IP to the backend. I followed this documentation from nginx.com.
It works well, both when the HTTP server is hosted on another machine or directly on the one of the reverse proxy, except in the second case if the HTTP server listens on localhost.

=> I can't get this configurat ...

Score: 0
AJP failing rewriting urls
jp flag
cp.

I had an Apache-ajp-tomcat(app:mysite) configuration working and somehow I changed something and it is now not working. The urls are being rewritten mysite.net/mysite/login When before it was working it was rewriting it as mysite.net/login. I have the fw rules in place, I have the connector for TC configured as shown. In the mods_enabled there is both proxy.load and proxy_ajp.load. What am I missing?

Score: 0
Calicoctl rejecting certificate on fresh k3s install
de flag

I have a fresh install of Ubuntu, a fresh install of k3s, and a fresh download of calicoctl. I have installed it the following way.

curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644"\
        INSTALL_K3S_EXEC="--flannel-backend=none --cluster-cidr=192.168.0.0/16\
        --disable-network-policy --disable=traefik" sh -

kubectl create -f https://docs.projectcalico.org/manifests/tigera-operato ...
Score: 0
Is this possible with Sendmail?
om flag

We are migrating to a new SMTP host, and have found some issues with some of the sendmail instances I have inherited. The new SMTP host requires all "from" addresses to be from domains we are verified owners of.

I have spent a couple of days trying countless results from google without any results, so thought I would make a post since this seems too specific.

The situation: We have a sendmail instan ...

Score: 0
RemainAfterExit in Upstart
bd flag

Is there an Upstart equivalent to systemd's RemainAfterExit?

I have an upstart task that exec's a script that completes quickly when the task is started. However, I would still like that task to report as active so that I can subsequently 'stop' the task and have it execute a cleanup script.

In systemd, I would do the following:

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/local/bin/my_scri ...
Score: 0
Apache ErrorDocument subject to Rewrite Rules?
sa flag
mdb

We are working on an AEM dispatcher configuration, and are trying to correctly configure our ErrorDocument settings in conjunction with rewrite rules. In short - it's unclear whether ErrorDocument will run through rewrite rules or be processed instead of them.

We have a multi-tenant configuration on the dispatcher, with each vhost normalizing inbound requests to the correct path on the publisher ...

Score: 0
systrigger avatar
Supplying hosts value to Ansible playbook via Jinja conditionals
cn flag

I have an Ansible role that I want to execute on particular hosts based on a certain conditions.

I want to populate the hosts from Ansible Tower survey. Here's my playbook:

- name: HTTP Response Deploy Automation
  hosts: "{% if geo == 'LHR' %}'dblhr002' {% elif geo == 'SJC' %}'dbsjc003' {% endif %}"
  gather_facts: true
  roles:
    - http-response-deploy

I'm getting the following error when choosing ...

Score: 0
Selonianth avatar
Would getting an Access Point potentially help fix my NAT?
cn flag

Not too long ago we switched internet providers to T-Mobile Home Internet and the speed has been a huge improvement, but recently a problem has risen to my attention of the NAT type on my family's Nintendo Switches being fairly restrictive for playing with other people.

Unfortunately while I have been assured by their service that it is getting worked on being added, currently they lack required  ...

Score: 1
Blason R avatar
My elastic search is not showing any data using elastic-agent
eg flag

Surprisingly my elastic version 7.15 with basic license have installed the fleet server and then configured windows-policy with elastic-endpoint and windows integration. Have enabled all the rules; however I am not seeing any logs security app. I am specifically using feet server to enroll agents and collecting windows logs. Have added windows agent on my Domain controller as well as ADC but still not s ...

Score: 1
Mysql server not starting error 13 Ubuntu 20.04
lr flag

My mysql server doesn't start it gives an error 13 (Permission denied)

i just changed the mysql data directory (to be honest I am not sure if I did that correctly)

I have made sure the new directory has mysql as its group and owner

systemctl status mysql:

● mysql.service - MySQL Community Server
     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
     Active: failed  ...
Score: 0
DrTeeth avatar
Is it possible to not buffer docker compose output when a health check is used?
vn flag

Re-introduction of health checks with depends_on in docker compose is amazing. Seriously was tired of writing health checks into every downstream container, especially things like a database initialization container.

That said, it seems as soon as I enable a health check/depends on, all output from those containers is buffered until the health check succeeds. Worse - if the container fails to s ...

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.