Latest Server related questions

Score: 0
unusualsuspect avatar
Is Intel Software Guard Extensions the same as a Trusted Execution Enviroment?
in flag

I'm trying to follow this ServerFault solution, but the information used is 13 years old. My Dell XPS 15 9500 has an Intel i7-10750H has support for virtualization and it's enabled. My UEFI parameters no longer has "Trust Execution Environment", the only similar options are TPM and Software Guard Extensions.

The end goal is to get KVMs running in Ubuntu 20.04.3 in VMware Workstation 16 Pro.

starl ...
Score: 0
Configure local services to run within the same domain with Nginx
cn flag

There are 2 different web servers that are deployed under the same domain (example.com and api.example.com)

I want to use httpOnly cookie shared across these 2 sites.

There is such local configuration:

  1. https://local.example.com + IIS Express + ASP MVC
  2. https://localhost:8888 or https://api-local.example.com:8888 + .net core

Eventually, there are lots of limitations that can not be passed:

  • change dom ...
Score: 1
lepe avatar
spamassasin unable to read Japanese when it is html encoded
ug flag

I would like to block some emails which contains certain Japanese words, but spamassassin fails to detect such words when the email is HTML encoded, for example:

This is a multi-part message in MIME format.
--------------050206070005060005050706
Content-Type: text/plain; charset=ISO-2022-JP; format=flowed
Content-Transfer-Encoding: quoted-printable

こんにち& ...
Score: 0
Ansible playbook - defining var based on condition
cn flag
Sam

I want to create a var based on condition so I created the below :

hosts: test

vars: vtarget_backup_folder_in_progress: "{{ "{{ folder }}/{{ target }}/test{{ hostvars['localhost']['tstamp'].stdout }}{{ type }}" if node_type == "master" else "{{ folder }}/{{ target }}/prod{{ hostvars['localhost']['tstamp'].stdout }}_{{ type }}" }}"

but it fails with me with below error :

We could be wrong, but this one ...

Score: 0
Jetto Martínez avatar
502 on redirects from http to https on GCP
fr flag

I'd like to start by saying that I know there are quite literally hundreds of topics about this, which I've followed before to get things working. Yet, this configuration, which I had working for months, its not working in a different environment.

The requirements is pretty straightforward: Take users from site on port 80 to the same site on port 443.

We have said site, with Apache as front and with ...

Score: 0
jwbensley avatar
Can't chain more than one network namespace together
de flag

Problem Statement

With the below configuration a veth pair is created between the default/main net namespace and a netns called ns1.

The config also creates a second veth pair: veth2 is in netns ns1 and veth3 is in netns ns2, this joins ns1 to ns2 creating the chain: default netns-veth0 <-> veth1-ns1-veth2 <-> veth3-ns2.

sudo ip link add veth0 type veth peer name veth1
sudo ip -6 addr ad ...
Score: 0
Ejabberd won't start anymore
gr flag

I've had ejabberd running for several months with NO issues. In the last few days, it started to crash with out of memory errors in dmesg. Now, it simply won't start.

When I try to start it, I see this in the log:

2021-11-17 16:48:21.808 [notice] <0.120.0>@lager_file_backend:154 Changed loghwm of /opt/ejabberd/logs/ejabberd.log to 100
2021-11-17 16:48:22.043 [info] <0.106.0>@ejabberd_con ...
Score: 0
Google cloud loadbalancer health checks cause a load on servers
kr flag

I have configured a load balancer https on google cloud with a health check having following parameters:

healthcheck :

Interval : 30 seconds
Timeout : 15 seconds
Healthy threshold:  1 success
Unhealthy threshold : 2 consecutive failures

I have noticed that the health check cause a lot of requests and the server scale to 6VM without a real traffic from user. Is the health check cause an internal traffic  ...

Score: 0
Leopoldo Vasquez avatar
nginx reverse proxy doesn't work with POST request returning 404 error
vn flag

nginx reverse proxy doesn't work with POST request returning 404 error

the rule is

location /mio-bff {
    rewrite ^/mio-bff(.*)$ $1/ break;
    proxy_pass http://mio-bff.cl-milugar:80;
    proxy_redirect off;
}

and when try the URL with a POST request

https://milocation/mio-bff/pingfed/token

the response is 404:

{
    "code": "ResourceNotFound",
    "message": "/pingfed/token/ does not exist"
}
 ...
Score: 0
Nodnarb3 avatar
Front Door Standard/Premium (Preview) - Unable to Add Wildcard Custom Domain with SSL Certificate
ar flag

I've got an Azure FrontDoor (preveiw) Premium endpoint setup and I'm trying to add a custom wildcard domain (*.example.com) so that I can use the Rule Set to direct traffic between server environments setup as origin groups.

I am using Azure DNS, and Azure KeyValut to hold the secret.

The problem I'm facing is that when adding the *.example.com custom domain, it will not let me select the wildcard c ...

Score: 0
Rohac avatar
HTTP Streaming - Number of flows
sa flag

I'm currently doing a research about simple HTTP Streaming without dinamic adaptation in terms of debit and I came across one exercice.

The topology would consist in a Server, streaming a video to several Clients through VLC. One of the Clients would be using VLC, the other Firefox by creating an HTML page with the video on it and the last one using ffmeg.

It then asks that we start with the VLC Cli ...

Score: 0
PowerShell - Get-Printer for remote computer will not return shared printers
eh flag

I am trying to get a list of shared printers running on the organization PCs I am using the following with is working great when running it locally (Win10 or 2019): Get-Printer the results are:

PS H:\> Get-Printer |
    fl Name
  1. Name : OneNote (Desktop)
  2. Name : OneNote for Windows 10
  3. Name : Xerox AltaLink C8045 PCL6 - A3 Color
  4. Name : WorkCentre 5330
  5. Name : Microsoft XPS Document Writer
  6. Name : Micros ...
Score: 0
francois P avatar
What is equivalent of taskset on powershell?
in flag

What is equivalent of taskset on powershell ?

I mean if you don't know what is taskset, the command to start a process/application on dedicated pool of CPU cores.

I didn't find anything similar, does it exist that possibility ? sorry for so basic question but I m out of Windows knowledge.

regards

Score: 0
GKE build extremely slow
no flag

I have a build that typically requires 2.5 hours to redeploy now been running for the last 20 hours.

There are some disk operations on it. In particular, each NFS read/write appears 10,000 times slower than normal.

When looking at the Google Console Status for Google Cloud, I see that Google had many breaks in their infrastructure over the last couple of days, but I cannot relate any of them to my c ...

Score: 0
Perl array of arrays in loop
br flag

How can I add array to list of arrays ( 2D array ) in perl ? This option not working / example:

my @db;
my $i = 0;
my @random;
while($i < 10) {
    @random = genNum(49, 6);
    @db[$i++] = @random;
}

print $db[3][1] . "\n";

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.