Latest Server related questions

Score: 0
itarill avatar
fail2ban does not work for ssh except on port 22
vn flag

My fail2ban is not working for sshd except for the default port 22/tcp.

My old, working config in jail.local:

[sshd]
enabled  = true
port     = ssh

Tested fail2ban, did ban me after 3 failed attempts as intended.

I explicitly specified a different port afterwards in jail.local; ssh tunnel works on the new port, but when I consciously err with wrong ssh password I do not receive a ban after any num ...

Score: 0
DNS, why is it sometimes doing a PTR lookup before A lookup?
cn flag

When I perform NSLOOKUP -q=a chinaa.cn I get the following result in WireShark:

enter image description here

Why did it FIRST look up the PTR of my ISP DNS before sending an A-request?
And why did the DNS server respond first with with No such name with .home-appended to it?

Score: 0
RevenueNexus RevenueNexus avatar
Suddenly getting SSL handshake errors
ie flag

I have a site https://www.sqeazy.com on a Ubuntu 18.04.1 AWS Lightsail VM running a nginx webserver and using Letsencrypy certbot SSL. The site was running without problems but when I checked it today, client browser returned ERR_TOO_MANY_REDIRECTS and nginx error log shows

[crit] 2707#2707: *768 SSL_do_handshake() failed (SSL: error:14209102:SSL routines:tls_early_post_process_client_hello:unsuppor ...
Score: 0
vaib avatar
Enablement of MIG feature in A100 attached to a VM
vn flag

I have a VM with single A100 attached. VM created with GCP 'çreate instance' method (Singapore region). The instance was not created with gpu-partition-size=1g.5gb

  • NVidia driver v470.57.02
  • OS RHEL7.9
  • CUDA v11.4.1.

The driver is working because nvidia-smi command gives expected output showing a single GPU ID 0 with 40G memory. I want to now enable MIG feature but executing the command gives error ' ...

Score: -2
Rodrigo avatar
Creating a HTTP proxy with user and pass with Squid
jp flag

I want to know if with Squid I can use as a proxy with basic auth, to use with cURL for example:

curl -vvv "https://ifconfig.me" -x user:password@localhost:8000

Where localhost is the Squid instance.

Is it possible with Squid and HTTPS websites?

Score: 1
Boppity Bop avatar
How many SSL certificates you need - aspnet core + Apache reverse proxy?
cn flag

When you deploy aspnet core app on Linux you normally do it through reverse-proxy. I.e. Kestrel hosts the app and Apache handles the public internet traffic talking to Kestrel.

So Kestrel and Apache require SSL certificate for https.

There is also Identity Server 4 feature used in the app which requires a certificate also.

I have used self-signed certificates for Kestrel and Identity Server before.  ...

Score: 0
Dej avatar
Rename a Windows network Adapter based on Description of the adapter
tr flag
Dej

We need to rename the network adapter for a number of devices, however the adapter name can be different on different devices. The identifier is the description of the adapter so wondering if anyone has renamed an adapter name based on the description of the apapter.

Score: 0
Windows Server RAS with diffrent subnet for more adresses
ng flag

we got simple setup with Windows Server and RAS/DHCP/DNS on the same server.

Now we got the problem through covid we ran out of ip adresses on the default subnet.

The main server is currently on

10.10.29.108 /24

We got our default dhcp scope on 10.10.29.0/24. For the new intern devices i defenied a new dhc scope on 10.10.26.0/24 and connected both scopes through a superscope. (This works fine, the dhcp gi ...

Score: 0
port forwarding through a bastion host
in flag

I want to port-forward to a server through bastion host. The way I connect to bastion is why my ssh key after I login to the company network. The connection from the bastion to the server, I want to port-forward, is using a different ssh key (same username). How can I correctly port forward through a bastion to a server. I tried the -J (proxy jump) option but it is not working. I have only access to the ...

Score: 1
Luthing avatar
Cannot install virt-manager, python dependencies
eg flag

I have a debian 11 machine, I installed KVM on it, and I would like to also install virt-manager, but I got :

The following packages have unmet dependencies:
python3-libxml2 : Depends: libpython3.7 (>= 3.7.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

And when I try to install libpython3.7 I got this :

Package libpython3.7 is not available, but is r ...
Score: 1
Milad Habibian avatar
How could I found net.exe activity log in windows server 2019?
br flag

I have Windows Server 2019. it is a database server(MSSQL Server) in the intranet environment. I monitor Its Process and I found sometimes the below process runs automatically without any cause.

"C:\Windows\system32\cmd.exe" /c "net localgroup administrators" "net localgroup administrators"

I check my user's list and group list and I don't see any new users. I don't know why net.exe runs with this c ...

Score: 0
strange file in public_html folder wordpress
cv flag

I found some strange file named as "zi1mQiuH" inside of public_html folder. the file size is 5GB Inside that file the code is like below format PK "¥R .well-known/UT ðk’`Üaux Ás Ás PK BDS .well-known/pki-validation/UT ,ÐZa Üaux Ás Ás PK Î9ESbªû¹ó • index.phpUT Ä]\a]>raux Ás Ás }ÁJÄ0†ï}йEËnû +èÁŠ‚ÂâVöÒf¶ ¦IL¦»øÃ ...

Score: 0
Why does this EFI-based Linux host keep booting to the second drive?
ls flag

I have several servers with the same basic setup: primary drive with VFAT /boot/efi, XFS /boot, and XFS / on LVM; and secondary drive with exactly the same thing, each partition rsynced nightly.

I also have a script that makes sure (theoretically) that grub and EFI and so on are set up so that when the server is rebooted, it boots from the primary drive. Normally this works, but on this particul ...

Score: 0
Thomas avatar
Redirect or alter specific registry key under HKEY_LOCAL_MACHINE based on the logged in user
uz flag

We would like to run an application under Terminal Server that's typically designed to run on a single client machine connected via network to a local server. This will mean multiple users logged on to one terminal server where based on the application's design it's really expecting one user sitting on one desktop PC.

As part of this, there are some settings under a specific key for the applicati ...

Score: 0
user6721496 avatar
OpenVPN network on the client side
ca flag

I have the following configuration.

VPS with Windows Server 2019 and with public IP. I have OpenVPN server installed on it and TUN adapter with 10.8.0.1 IP Here my OpenVPN server configuration

port 1194
proto tcp
dev tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\issued\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\private\\se ...

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.