Latest Server related questions

Score: 0
Timothy Fisher avatar
How can I use iptables to forward port 15672 to the same port on a proxmox virtual machine?
ca flag

I have a virtual machine that contains a service that listens on port 15672. The server that the VM is on is set up to use iptables to forward requests to the virtual machines. Here are the relevant lines that forwards requests to the VM:

-A PREROUTING -d <server-ip> -i ens3 -p tcp -m tcp --dport 443 -j DNAT --to-destination <local-vm-ip>
-A PREROUTING -d <server-ip> -i ens3 -p tc ...
Score: 0
AcidRaZor avatar
OneDrive for Business permissions?
gr flag

Junior here, so please be gentle.

I'm tasked to figure out how to suppress the "Share", "View Online", "Version History" and "Move to Drive" options on context menu for users who we have Synced our Sharepoint Online folders to their OneDrive (On-demand). We can push a registry setting change, but this removes all options, including "Always keep on this device" and "Free up space".

I've tried finding ...

Score: 0
Apache HTTP Header - Security and Understanding
cn flag

I have now read through the handbook of Apache and tips in online forums. But unfortunately I don't understand it at all.

https://httpd.apache.org/docs/current/mod/mod_headers.html

The optional argument condition determines which internal table of response headers this directive works with: onsuccess (default, can be omitted) or always. The difference between the two lists is that the headers containe ...

Score: 0
tiger_groove avatar
iptables REDIRECT to Kubernetes NodePort causes request to hang
us flag

I am attempting to direct client traffic to a kubernetes cluster NodePort listening on 192.168.1.100.30000 (https port).

Client's needs to make a request to 192.168.1.100.8000 so I added the following REDIRECT rule in iptables:

iptables -t nat -I PREROUTING -p tcp --dst 192.168.1.100 --dport 8000 -j REDIRECT --to-port 30000
iptables -t nat -I OUTPUT -d 192.168.1.100 -p tcp --dport 8000 -j REDIRECT --t ...
Score: 0
Steve A avatar
MySQL on AWS Aurora Workbench Timeout
cu flag

Running Aurora with mySQL in AWS and accessing from a management machine in the same VPC. If I run the query from the command line (management machine) it finishes in about 2 minutes. If I run the same query on MySQL Workbench it gives this error after a couple minutes:

Error Code: 2013. Lost connection to MySQL server during query

I guess the difference would be that the command line mysql is exe ...

Score: 1
figl avatar
Unexpected Upgrade: websocket (expecting n/a)
in flag

https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html clearly states that proxying a websocket is as simple as

ProxyPass "/ws2/"  "ws://echo.websocket.org/"

yet no matter what I do I keep getting

==> /var/log/apache2/domain.com-access_log <==
192.168.240.1 - - [29/Mar/2022:20:46:40 +0000] "GET /url-to-proxy/?query-stuff HTTP/1.1" 502 2554

==> /var/log/apache2/domain.com-error_log  ...
Score: 0
boardrider avatar
If I want to use dig/nslookup to query about machines in a VLAN, how can I find which name server to use?
ao flag

If I want to use dig/nslookup to query about machines in e.g., 38.102.145.0/24, how can I find the name server to use that could resolve machines in that VLAN?

Score: 0
kenske avatar
Istio ingress gateway cannot connect to more than one replica for a service
in flag

I'm setting up Istio in a new AWS EKS cluster and created a basic nginx deployment to test. When the deployment only has one replica, it works perfectly, responding in less than 100ms. When I add one replica, the new pod's response time goes up like crazy, averaging around 10 seconds.

Based on suggestions from elsewhere, I updated the mesh config to disable automatic retries:

meshConfig:
   default ...
Score: 1
How can I remove an accept-encoding request header in nginx?
in flag

The recent update to zlib due to a security hole appears to cause a major problem when serving PHP-FPM 8.0 via nginx on Ubuntu focal. Any requests with a gzip encoding fail right at the start of the response, though nginx logs the requests as successful and the correct size. If I make requests without an Accept-Encoding header, it works perfectly. As a workaround, I'm trying to disable all gzip s ...

Score: 0
Adamski2505 avatar
Browsable Disk Not Shown in Win10 Explorer
us flag

Out of ideas myself so hoping someone has seen this or can throw ideas at it.

I have a Win10PRO x64 21H1 with latest monthly updates installed

  • C, D, E, F Drives - all Internal
  • F Drive not shown in "This PC" or down the side bar - it was until 1 week ago appx.
  • Entering F:\ in address bar works
  • Can browse Disk
  • Applications dependent on F working

I've tried

  • Re-install Disk
  • Re-letter to G, at which point  ...
Score: 0
Warning: iptables-legacy tables present, use iptables-legacy-save to see them
cn flag

I am calling some iptables rules from a docker container that runs with NET_ADMIN which means iptables commands from the container are applied on the host (yes, I need them this way).

When checking the host with iptables-save I see no rules being added but I also see a Warning: iptables-legacy tables present, use iptables-legacy-save to see them and, when running iptables-legacy-save I can see my rules t ...

Score: 0
how to properly remove DFS Replication without data loss
us flag

I am not going to use the DFS replication any more. All of the servers are virtual and running Server 2012R2. We have about 40TB data. Also There are 5 volumes.

BTW , But those shares will run. already users will access them. My file server will run standalone.

In our original configuration, we had a setup like this: HQ Site(.1.x subnet): --DFSSRV01 (DFS) DR Site(.20.x subnet): --DFSSRV02

My workflo ...

Score: 1
iptables: different rules for different current gateway IPs
au flag

Suppose I have Machine A as a gateway. Machine A has one interface with 2 IPs.

The netplan config for Machine A is like this:

  renderer: networkd
  ethernets:
    eth0:
      dhcp4: no
      addresses:
        - 192.168.1.1/24
        - 192.168.1.2/24

Now I want the iptables's REDIRECT rules behave differently depending on whether Machine B set its gateway as 192.168.1.1 or as 192.168.1.2

This is ...

Score: 0
Centos Httpd logroate not compressing files
mx flag

Currently logrotate with httpd isn't writing to any of the log files and only writing to the old files that haven't been zipped with datestamps. Not sure what steps to take next.

-rw-r--r--.  1 root root          0 Feb 27 03:06 access_log
-rw-r--r--.  1 root root    1351248 Feb 15 19:00 access_log-20220206.gz
-rw-r--r--.  1 root root     505153 Feb 18 14:52 access_log-20220216.gz
-rw-r--r--.  1 roo ...

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.