Latest Server related questions

Score: 0
iptables redirect udp traffic from one interface to another, or from one host to another on the same interface
jp flag
iptables -t nat -A PREROUTING -p udp -m udp --dport 1197 -j DNAT --to-destination 1.2.3.4:8081

On eth0 I am receiving udp packes destined for port 1197. I want to emit those packets on another interface and change the destination ip and port. This doesn't seem to be working according to wireshark. I have ip forwarding enabled

My longer term goal is to split two udp streams that are arriving on the sam ...

Score: 0
Eng7 avatar
CentOS: Redis max client connection limitation
um flag

I am using Redis caching server on CentOS, where Redis accepts clients connections on the configured listening TCP port. I am trying to figure out the limits applied by the operating system to the number of connection allowed to the single configured port for redis.

The user being used is root as shown:

[root@server-001]# ps -ef | grep -i redis 
root     19595     1  9 Jun26 ?        09:43:07 /usr/ ...
Score: 0
DSAILAB USR1 avatar
VM Instance Resource Allocation in GCP Console
fo flag

We are trying to teach GCP services for college students. So, I have created the VM instance in particular project. We need to know how to manage resource allocation for every user in GCP console.

For example, 5 students are accessing 1TB VM instance. We need to ensure that, every student must be allocated with 200GB of memory. Is it possible in GCP console.? If so, how it is possible?

Score: 0
Google nearline, coldline, what is the media use to store data
tr flag

We want to know if we are subscribing to the Nearline or Coldline offering, what type of media is use to store the data?

  1. Hard Disk 7200rpm
  2. Tape - LTO7 or 8
  3. Blu-Ray disk
Score: 0
How to use virsh attach-device without knowledge of target dev name
us flag

Is there a way to use virsh attach-device without using a target?

For example, I attach a disk by using an xml file which includes the target "sdc".

<disk type='block' device='disk'>
    <source dev='/dev/disk/by-label/mydisk' />
    <target dev='sdc' bus='scsi' />
</disk>

To speed the process I'd like to not specify a target device, only the bus. The reason for this is so I don' ...

Score: 5
bayman avatar
How can I override a playbook var if it's set in host_vars in Ansible?
us flag

server1 is in the group it_servers, but I'd like to use ansible_connection: local. How can this be done if ansible_connection is defined in the playbook and the host_vars?

--
- hosts: it_servers
  vars:
    ansible_connection: aws_ssm
  roles:
    - nginx
    - mysql

My host_vars/server1.yml file

ansible_connection: local
Score: 1
Owl avatar
Weird upload speed in Debian
cn flag
Owl

I have a SG VPS with roughly 1Gbps upload & download, and this is confirmed through speedtest-cli to multiple server, and my ISP's max download speed is 20Mbps

However me and other users facing a very slow download speed (when downloading a file from the server). After some investigation, I found a weird upload speed behavior on my server.

The scenario is:

  1. Start downloading one file, the speed  ...
Score: 1
NAPTR DNS record pointing to a data URI?
af flag

Do web browsers consider NAPTR records in DNS resolution? If so, could you set one up to point a domain name to a data URL e.g. data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==? Is there any way to do this?

Score: 2
Carlos Sosa avatar
How to solve error 503 in Kubernetes NGINX Ingress
cn flag

I'm trying to access Kubernetes Dashboard using NGINX INGRESS but for some reason I'm getting a 503 error.

I'm running Kubernetes locally in my macbook with docker desktop.

First thing I did was apply/install NGINX INGRESS CONTROLLER

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.47.0/deploy/static/provider/cloud/deploy.yaml

Second thing I did was to appl ...

Score: 7
Henry avatar
Base64 encoded MX records in TXT records
fr flag

A lot of domains hosted by Namecheap contain strange DNS TXT records that appear to be base64 encoded, that when decoded look like a weird kind of MX record - having the structure of both a priority and then a domain. What are these for? There does not appear to be any documentation anywhere regarding these. There are tens of thousands of examples of these, yet there is no clear purpose or documentation ...

Score: 0
Uber Sholder avatar
AWS ECS persistent storage solution
in flag

I have one container with Gitlab and i need it to have safe and better if external data volume. I though about EFS as the best one but, if my container will fail will the data be in EFS? And maybe there are better solutions then EFS. Main key is persitant and HA but not very expensive. Also will be thankful for any guides about mounting EFS.

Score: 3
jrwren avatar
e2fsck cleans a filesystem and then a few minutes later (after a lot of reads) there are errors
us flag

The filesystem is on an LVM RAID5. It appears to be working correctly:

$ sudo pvs
[sudo] password for jrwren: 
  PV         VG     Fmt  Attr PSize    PFree 
  /dev/sda2  datavg lvm2 a--    <7.28t  2.80t
  /dev/sdb2  datavg lvm2 a--    <3.64t     0 
  /dev/sdc2  datavg lvm2 a--    <7.28t <7.28t
  /dev/sdd2  datavg lvm2 a--    <7.28t     0 
  /dev/sde2  datavg lvm2 a--    <7.28t 73. ...
Score: 0
Vowneee avatar
Kubernetes clusters should not grant CAPSYSADMIN security capabilities
br flag

In Our AKS, found high severity alerts related to this in Azure Security Center.

What is CAPSYSADMIN meant for? Is the pods by default enabled with this property? Because we didnt specifically enabled it in our AKS? Then what will be the reason for this alert ? And how can we remediate this alert?

Score: 0
Disable Clipboard Mapping and Remote Drive Mapping for RDP
by flag
Jon

Running a Windows Server 2016 instance (standalone) and I'm trying to figure out how to disable clipboard mapping and remote drive mapping while over remote desktop. I know there are options to disable this on the client side, but I want to enforce the restrictions on the server side. The goal is to prevent data exfiltration from this particular server.

And yes, I realize there are other methods, ...

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.