Latest Server related questions

Score: -1
Thomas P avatar
Change IP address from 192.x.y.z to 10.u.v.w for whole network with Powershell
br flag

Out Network moves from 192.x.y.z to 10.u.v.w and I don't want to readdress 250 Computers by hand. My idea is to use a powershell script (test for a single pc):

$oldIp='192.168.100.1'
$newIp='10.11.12.13'
$newGw='10.11.12.254'
$newLen='24'

$adminCred = Get-Credential -UserName ourdomain\myAdminAccount -Message 'Enter Password'

ForEach ($Adapter in (Get-WmiObject Win32_NetworkAdapter -Filter "NetEn ...
Score: 0
Modsecurity failed to load configuration
it flag

Evening, i got some problem here. I compiled modsecurity into standalone mode and using haproxy too. I ran in -p 81 -f crs-setup.conf -d then it works. But, when i adding "Include /etc/..../rules/*.conf" it becomes 1639122879.787949 [00] ModSecurity load configuration failed. The reason i adding include etc because the modsecurity run, detect the traffic but can't block the traffic or request. Without inc ...

Score: 0
How to get CRL IP address during TLS handshake in air gap environment
cn flag

Is there any way how to get the IP address of CRL during the TLS handshake in air gap env?

Example:

  • Do a simple curl request over HTTPS against app.contoso.com:

curl -v https://app.contoso.com listening on 20.20.10.1 which is whitelisted. But To allow communication by default we need to whitelist CRL (for example GoDaddy).

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Curr ...
Score: 0
Why does Traefik renew with the expired Let's Encrypt certificate path?
br flag

We run Ubuntu Server 20.04 LTS with a Traefik Docker container. Back in September when the Let's Encrypt DST Root CA X3 certificate expired we didn't really find much actual information on how to remedy this but eventually got it working again by updating Traefik to 2.5 and adding preferredChain: 'ISRG Root X1' to the configuration.

Last week the certificates got renewed and the invalid certificate path ...

Score: 0
How to partition disks in Debian 10 installer for RAID5 on UEFI machine?
ec flag

Installing Debian 10. I have 3 disks I want to use as RAID5 on a UEFI machine.
I have tried several configurations that either led to failure to install grub or failure to boot (stuck in grub-rescue and not able to find /boot).

Did anyone managed to do this?
With what set of partitions (EFI, swap, ext4)?

Score: 0
Edvinas avatar
RIPE inetnum and route objects
aq flag

As i know the route object is a mandatory thing for successful prefixes advertising to the ISPs. But do the route object can be bigger than the actual prefix my DC is advertising ? for example if route object is 8.8.0.0/16, do everything is ok, if i will advertise smaller prefix 8.8.8.0/24 ? or i need to create the equal size route objects as prefixes I will advertise ?

Also the netnum object. As ...

Score: 1
NGINX getting an application in a subfolder to work with redirects
cn flag

I've installed Mautic in a subfolder like: example.com/m
Most of Mautic is working fine with my configuration (admin panel, using Mautic etc.) but for some redirects in my subfolder, I get a 404:

example.com/m 200
example.com/m/form/9 200
example.com/m/form/generate.js?id=9 404

(/form doesn't exist - it should be redirected/generated by Mautic dynamically)

All files on the file system belong to www-data. ...

Score: 1
PanelMaker avatar
Does increasing cpu affect load average?
mp flag

for example I have a 16 core cpu with load average 10. If I upgrade cpu to 32 core and if ( same traffic , same load , same everything ) , should load average drop or will it stay the same ?

Score: 0
LVM can not create lv exceeds maximum metadata size
us flag

I used LVM on top iscsi, but I got error when I running lvcreate as image, exceeds maximum metadata size (we're not using lvm-thin so somehow there's a metadata warning), Has anyone had a similar error?enter image description here

Score: 0
Jeremy avatar
Centos 7 OpenVPN - FirewallD keeps putting tun0 in the wrong zone on reboot
cn flag

I have a fresh install of Centos 7 and I have several things running on it. One of them is OpenVPN. Everything works fine, I have tun0 in the trusted zone and my nic (eno1) is public. Server is behind a router/firewall so I do not need to setup anything complicated and all traffic goes over eno1. tun0 has a masquerade to public (eno1). VPN Clients work fine. If I reboot, FirewallD puts the tun0 interfac ...

Score: 1
MegaBrutal avatar
NFS server disrespects anonuid, anongid
id flag

I exported an NFS share from a server and mounted it from a client. I got permission denied errors when I tried to access it, wondered why. Made the export world-writable, created a file there, and it turned out that the client accesses it with a different user than I would expect.

My export:

/export             fd48:2b50:6a95:a6db::4(ro,no_subtree_check,fsid=0,all_squash)
/export/backup-fs   fd48:2b5 ...
Score: 0
IPtables rules to bypass squid proxy
it flag

I Think I just need a sanity check on some iptables rules. (spoiler alert its not good.)

The basic issue. We have a Squid Proxy server that is interfering with Various internet resources. I am remote and want to update the IPTable rules on the proxy server so that traffic never actually reaches the Proxy service. This is a temporary fix while I work on migrating the network to actual network hard ...

Score: 0
Linux and XKB workaround for additional Control_L event when pressing AltGr on Linux desktop over VMWare Horizon
de flag

I'm trying to find a fix for a keyboard issue when connecting to a Linux desktop using VMWare Horizon View. The issue seems to be known, and was described in 2012 on VMWare's knowledge base, available on archive.org. I have to add that I don't know much about how XKB works, so digging into this has been a learning experience.

The workarounds listed on the VMWware KB aren't satisfactory. I can confi ...

Score: 0
Export "Failed to export: Internal error encountered."
in flag

I am receiving an error when trying to export and save a query to a CSV (Google Drive) sheet.

The error "Failed to export: Internal error encountered."

Score: 0
Cloud-init expire true issue
ve flag

After add expire: true in the cloud-init script, I can log in via key to the server, but it says You must change your password now and login again! I want if I set the password, the password expires after the first login and if I set a key, the system does not ask for the current password. Is there any solution?

This is my script

#cloud-config password: {$password} chpasswd: {literal}{expire: True}{ ...

Score: 0
How to configure DHCPv6 in Proxmox without bridge?
tr flag

(crosspost: Network stack exchange)

I have a setup with Proxmox connected via WiFi. Everything works for my needs and IPv4 connectivity too.

Now, I want to see if it is possible to do some DHCPv6 setup so that my virtual machines have IPv6 addresses as well. I'd prefer a setup without NAT, but it's not mandatory that it is so.

I'm taking a few options into consideration for IPv6 connectivity:

  • NDP P ...

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.