Latest Server related questions

Score: 0
Prakash avatar
How Nginx Sends reuests?
mx flag

i am new to nginx and currently i am using nginx as a reverse proxy , we are using nginx to route the request to other urls , For example i have below code ,

location /test/rome/ {

   
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        #remove this line if you application does not depend
        proxy_set_header X-HttpRouter-REMOTEADDR  $remote_addr;

        proxy_pass  ...
Score: 0
In LiteSpeed, where is $VH_ROOT defined?
cn flag

After installing LiteSpeed, the first task when experimenting is often setting up a vhost.

When we look around dashboard at various settings we come across some variables. One of which is $VH_ROOT.

How can the value of $VH_ROOT be discovered?

Also, and more specifically, can the value of $VH_ROOT be discovered from the terminal? If so, how?

Score: 2
Eric avatar
How to ensure throughput from 10GbE network device on ubuntu 20.04 under heavy load
jp flag

I'm having trouble ensuring a required network throughput on a server connected to a Signal Hound spectrum analyzer via a 10GbE network interface. Basically, I can get good throughput when only the radio capture process is running, but when I run other processes, the throughput starts to drop. I'm using an Aquantia PCIe ethernet adapter with a QNAP SFP+ 10GbE Thunderbolt 3 adapter.

When I'm runni ...

Score: 0
Keepalived and HAProxy on 3 VMs
in flag

I have a setup with 3 nodes each has keepalived and HAProxy installed. Keepalived is installed on the VM but HAProxy is running as part of a docker swarm. HAProxy is running on host network mode.

          --VM-1-----------------------------                   
          |                         HAP-1   |
requests  | ___________________    _________| 
=========>| |VIP + Keepalived | => |HAPro ...
Score: 0
Handling all subdomains as the domain itself
cn flag

I'm forwarding all e-mails for a domain owned by a friend to his real e-mail address. This works fine for his example.com itself (with the @example.com virtusertable entry):

% sendmail -C new.cf -bv AE@example.com
AE@example.com... deliverable: mailer relay, host [myrelay], user his@real.address

We'd like to expand the functionality to work for anything.example.com too, and are facing unexpected diff ...

Score: 0
Formats for Attribute Mapping & Attribute Conditioning in the Workload identity
tr flag

I have created an Oauth Server and defined custom scope and claims in the configuration. On the access token (JWT), I see scope is being defined as

"scp": [
    "default_google_scope"
]

I am trying to set an integration between OIDC and GCP workload identity configuration using tutorial : https://cloud.google.com/iam/docs/configuring-workload-identity-federation#oidc_1 https://medium.com/google-cloud/goo ...

Score: 1
JoeBe avatar
Reverse proxy in Apache + CentOS for HTTPS requests to PostgREST webserver
gs flag

I would like to make https requests to my postgREST webserver, which by design doesn't support https. I spend several days now I don't know any further...

My setup

  • My server is running on CentOS 7.9.2009
  • I have a website domain that uses Wordpress to serve my content in home/myuser/public_html
  • I setup PostgREST 7.0.1 on my server which runs on port 3000
  • I am running Apache/2.4.51 (cPanel)

My Pr ...

Score: 0
King David avatar
kafka + Leader none + and kafka broker id not signed in zookeeper
gb flag

we have 3 Kafka brokers on Linux RHEL 7.6 ( 3 linux machines )

kafka version is 2.7.X

brokers ID's are - 1010,1011,1012

from kafka described we can see the following

 Topic: __consumer_offsets       Partition: 0    Leader: none    Replicas: 1011,1010,1012        Isr: 1010
        Topic: __consumer_offsets       Partition: 1    Leader: 1012    Replicas: 1012,1011,1010        Isr: 1012,1011
        Topic: ...
Score: 0
Is there a way to add an SSL certificate to a domain which we don't have control over?
tr flag

something.us.qlikcloud.com has a SSL certificate, but the SSL certificate it has is invalid. However, something.us.qlikcloud.com is not hosted on a server we control. Is there a way to modify the SSL and use a valid one? I was told we could host on a server we control and then redirect it to something.us.qlikcloud.com, but I am not sure how it would solve the issue. It's just a redirection and shouldn't ...

Score: 0
ssh and monitor attached on the server
ru flag

can you please give some advise on a little problem that I'm facing, and maybe some confusion to? I have a file/web server that I use to play with it, and it does not have a graphical desk top, after it boots it stays on a terminal mode waiting for commands. i use ssh (putty) to login on the server from my desktop PC. What i wanted to ask, is it possible to have all the commands that I'm typing on the s ...

Score: 0
Networking.service failed to start - RTNETLINK answers: file exists
pk flag

I've been having an issue with a server after rebooting it. Previously the networking was fine, and I rarely touched it as it's a back up server. Since rebooting it, it's been having issues. The server is running ubuntu 18.04

systemctl status networking.service

Shows the status as failed:

RTNETLINK answers: File exists
Failed to bring up enp5s0f1
Failed to start Raise network interfaces

Restarting t ...

Score: 1
How to configure commands to get executed automatically when AWS ec2 instance cpu utilization goes above certain percentage
ng flag

The commands on the instance that has high CPU like taking java thread dump, checking processes running and upload to s3

Score: 0
Linux bridge doesn't respond to ARP requests after an ip rule is added
cn flag

I have a virtual machine created with libvirt/qemu/kvm attached with a TAP to a Linux bridge (virbr1). Internally the VM has an IP of 10.99.0.9. And has the following routing setup.

default via 10.99.0.1 dev enp1s0 proto static onlink 
10.99.0.1 via 10.99.0.1 dev enp1s0 proto static onlink 

Here 10.99.0.1 is the IP of the bridge

I wanted all the traffic coming from that VM to go to a VPN route (wg0) I ...

Score: 1
Kate avatar
Filtering traffic by MAC address with nftables
in flag

TL;DR: when spoofing MAC addresses, how can I make sure the real addresses won't be leaked to the rest of the network using nftables ?

Context

For network security training purposes I am currently building a network tap consisting of a transparent bridge with two interfaces (the tap).

The tap is a computer is running Debian Bullseye, that has 4 ethernet interfaces as follows:

Interface MAC
Score: 1
rclone quits FTP server after asking for UTF8
lr flag

I need to programmatically copy data from an FTP server with rclone. The config is as simple as:

[exampleftp]
type = ftp
host = ftp.example.com
user = myuser
pass = mypass

If I try to copy anything, I get:

Failed to create file system for "exampleftp:/": NewFs: failed to make FTP connection to "ftp.example.com:21": UTF8 support on

Dumping the protocol exchange shows:

$ rclone --config=rclone.conf ls e ...
Score: 0
How to get Cipher details from .ppk file
cn flag
404

Is it possible to get the Cipher name from .ppk file? For e.g. name like TLS-CHACHA20-POLY1305-SHA256 or ECDHE-ECDSA-AES256-GCM-SHA384

Edit: Based on the responses in answers and comments, it seems I posted an invalid query here. Apologies, I am a newbie so was not aware about the concepts.

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.