Latest Server related questions

Score: 0
Do ephemeral port numbers run in sequence for the whole system, per process or per listening port?
in flag

We have an application and we use the ephemeral port number to identify the connection. We listen on two different ports, one for normal connections and one for SSL connections. I want to avoid the situation where the port numbers clash because the OS is assigning the ephemeral port numbers per listening port instead of per process or across the system as whole.

We are hosting on Windows but woul ...

Score: 0
Sr. Schneider avatar
nginx: Location block for all URIs without extension
cn flag

I know how to process URIs that match a certain pattern.

Example

The following configuration will add an Cache-Control http-header to all files ending with .css or .js:

location ~* \.(css|js)$ {
  add_header Cache-Control "public, max-age=31536000, immutable" always;
}

Question

How can I process all URIs without extension?

Something like www.domain.tld/my-article.

(I use nginx as an reverse-proxy an ...

Score: 0
Using DNSMasq, how do I provide a single static route for an IPv6 network?
mx flag

Assuming I am running two Dual stack IPv4/IPv6 networks:

  • Network 1: Internet connected
    • IPv4 - 192.0.2.0/24 provides a default route via 192.0.2.1
    • IPv6 - 2001:db8::0/64 provides a default route via 2001:db8::1
  • Network 2: Static assets
    • IPv4 - 198.51.100.0/24 provides a route via 198.51.100.1 to 203.0.113.0/24
    • IPv6 - 2001:db8:1::0/64 provides a route via 2001:db8:1::1 to 2001:db8:2::0/64

In a pure IP ...

Score: 0
questionador avatar
Access POP3 content from other computer
cn flag

I have a tough mission, that I have no idea how to accompish it. In our company, all the e-mail accounts are configured as IMAP accounts, therefore we can access the e-mail from wherever. However, there are 2 e-mail accounts configured as POP3 account. I REALLY have to make it possible for one of these two accounts to access all the e-mail content from home. We do not have remote access (neither a way t ...

Score: 1
kex_exchange_identification: read: Connection timed out when trying to ssh to a laptop on LAN
jp flag

So I've got a laptop running Pop! OS (20.04 LTS), I've just installed openssh-server via sudo apt-get install openssh-server and I'm attempting to SSH into it from my Windows 10 desktop PC but I get the following error:

PS C:\Users\enricojr\.ssh> ssh -vvv 192.168.254.203
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug1: Reading configuration data C:\\Users\\enricojr/.ssh/config
debug3: Failed to open f ...
Score: 0
TravelWhere avatar
Nginx conflicting server name for reverse proxy
cn flag

I've created a reverse proxy config for my subdomain but when I ran nginx -t it gave warn [warn] conflicting server name "img.somedomain.com" on 0.0.0.0:80, ignored

proxy_cache_path /root/cache-proxy levels=1:2 keys_zone=pximg:10m max_size=10g inactive=7d use_temp_path=off;

server {
    server_name  img.somedomain.com;
    listen 80;
    access_log off;

    listen 443 ssl http2;
    listen [::]:443 s ...
Score: 2
JellicleCat avatar
Gmail is blocking email from my IP
us flag

I've had a virtual private server for close to 6 months, and I'm going to start sending emails to users from [email protected]. My handful of email tests so far have all resulted in a bounce because of "an unsual rate of unsolicited mail originating from your IP address." That's a strange reason because it suggests that my IP address has been sending a lot of emails, not just one or two, and I did ...

Score: 0
Dpkg: error processing package with sendmail-bin mailutils and sensible-mda
mx flag
bux

I have an error when I try to install sendmail ou mailutils on Debian 9.13:

Setting up sendmail-bin (8.15.2-8+deb9u1) ...

You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.

I am creating a safe, default sendmail.mc for you and you can
run sendmailconfig later if you need to change the defaults.

Failed to stop ...
Score: 0
Nyquillus avatar
Disk parameters for kubernetes
za flag

I'll be setting up some baremetal machines to form a k8s cluster. They each have 2 disks to be configured as RAID1, my question is what is the optimal values for stripe size, read and write policies to get the best performance?

Score: 0
How to clear last 5 ipmi sel logs when sel memory is full?
sl flag

I'm running ipmievd to send sel logs to syslog. But ipmievd will not collect and send log to syslog when sel memory is full.

Hence i would like to delete the last 5 sel logs instead of deleting entire logs.

Is there any option available to delete last few logs alone ?

expecting any command like below: ipmitool sel clear --last 5

Score: 0
koyamashinji avatar
Benefit(s) of having servers ( or specifically, API Servers) in different locations for a single domain?
ie flag

I am very new to this field, so my wording may not be spot on.

My crypto exchange offers an API, and I stumbled upon the question when I was playing with it on AWS Cloud9 where I can change client's regions by switching EC2 instances.
I was measuring latency(*1) of several REST API requests from different client's regions.

(*1) I measured a time difference between when a client request.get/post and ...

Score: -2
Rabinpro avatar
Ubuntu Firewall blocking DNS requests to VMWARE guest with outbound traffic rules added and stateful matching done
th flag

This is a unique problem related to DNS queries(tcp/udp 53) even with correct UFW/iptables rules and does not relate to /etc/resolv.conf

I can ping google DNS 8.8.8.8 but cannot resolve google.com after turning on the host ufw. Tried searching everywhere and updated ufw and iptables accordingly to allow DNS queries and allow established connection.

My numbered ufw status related to DNS is

Screenshot ...

Score: 0
Владимир Смирнов avatar
SCGI vs FastCGI - Which one is faster?

I want to use one of servers - libscgi and libfcgi - with dynamic content. Which one seems to be faster?

Score: 8
liewl avatar
Somebody created projects on Google Cloud in my account without my knowledge
cn flag

When I access Google Cloud, I see some projects that I haven't created. It seems I can't delete them too, I lack permissions to manage them. I am not using anything from Google Cloud at the moment and want to get rid of all of them. Also one of these projects are listed on Firebase as well, where I also don't have permission to delete it.

I haven't seen any evidence that my Google account has bee ...

Score: 0
TRH avatar
Configure network namespace of rootless containers
uz flag
TRH

Let's say I created a new custom network namespace with admin rights:

$ ip netns add container
$ ip link add wg0 type wireguard
$ ip link set wg0 netns container
$ ip -n container addr add 192.168.4.33/32 dev wg0
$ ip netns exec container wg setconf wg0 /etc/wireguard/wg0.conf
$ ip -n container link set wg0 up
$ ip -n container route add default dev wg0

From the perspective of an unprivileged user (e.g ...

Score: 0
kfsone avatar
Is it possible to enable RFC2136 DNS updates for a samba-AD domain?
do flag

I'm experimenting with a Synology NAS that's running bind9 and samba to host a local subdomain with an AD realm of the same name, e.g. domain : sub.x.notcom, realm : sub.x.notcom ... I'll substitute my actual domain for this in the question.

I wanted the ability to do RFC2136 updates of the zone, so I created a HMAC-SHA512 key stored in named/etc/key and told bind about it:

./named/etc/conf/named.key. ...

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.