Latest Server related questions

Score: 0
How to route local traffic to a local transparent proxy?
cn flag

I have an application to use multi-ports to send packages. I hope that traffic from some port(e.g.8080) shouldn't be intercepted while traffic from other ports should be redirected to a local proxy( listening on port 15001 ). My iptables commands are as follows:

iptables -t nat -N TEST_OUTPUT
iptables -t nat -A OUTPUT -p tcp -j TEST_OUTPUT

iptables -t nat -A TEST_OUTPUT -p tcp --sport 8080 -j RETU ...
Score: 0
Jonas Metzger avatar
Route all internet traffic through vsock channel
in flag

I can run arbitrary code on both a Linux server instance and a Linux VM inside the server. Both can only communicate to each other through vsock channels. Only the server instance has internet access.

I'd like to run one program on the server and one on the VM that connect to each other through vsock. The VM part intercepts any outgoing internet traffic and sends it to the server part via vsock w ...

Score: 0
Incorrect server identified as a broker when enabling HA for RDS 2019 deployment
fr flag

We've recently deployed a Windows Server 2019 RDS farm and this has all tested out perfectly, we're able to connect to collections without issue via RDWeb and connect to our collections.

So now it's all tested, we've tried to enable HA for the brokers. SQL aspect of it seems fine, the database is part of an AG and the listener is reachable over port 1433 from the brokers (worth noting all servers ...

Score: 0
Yonggoo Noh avatar
WebSocket connection to 'wss://[host]/' failed
ru flag

Environment

First of all, I'm using AWS ALB, EC2 with Route 53. ALB is opened for HTTP, HTTPS and EC2 is also opened for All TCP.

And I'm using ws library to use websocket.

As an HTTPS server

In the EC2 instance, when I run an HTTPS server which shows "hello world" as a text, it works well in a client using https://.

As an websocket server

However when I run an websocket server instead of HTTPS se ...

Score: 0
Ubuntu 18 FTP user can't be restricted to folder using VSFTPD
in flag

I have an Ubuntu 18.04 server and I installed vsftpd.

I created a new FTP user following this tutorial: https://devanswers.co/installing-ftp-server-vsftpd-ubuntu-18-04/

I want to lock the user to the folder: /var/www/html/mydomain.com/ but I am unable, no matter what I set in the /etc/vsftpd.conf file.

I tried for example these suggestions:

write_enable=YES
local_umask=022
chroot_local_user=YES
allow ...
Score: 0
jrd1989 avatar
How to Configure & Use Application Insights - Azure Web App
cn flag

I enabled Application Insights on an Azure Web App so developers can troubleshoot some issues. At the moment the APPLICATIONINSIGHTS_CONNECTION_STRING is the only app setting (configuration) I have added for application insights on this web app.

I'm not receiving any live metrics and the application map feature is only picking up the web app, not other resources we have the app connecting to. Are

Score: 1
Annahri avatar
add_header for certain request_uri
in flag

The app handles all the routing. So this basic configuration block works:

location / {
    try_files $uri $uri/ /index.html;
}

The issue is that I want to add a custom header whenever a visitor requests a certain URI. For example, /content. Well, that must be easy as:

location ~ ^/content {
   try_files $uri $uri/ /index.html;
   add_header X-CUSTOM-HEADER value;
}

But that doesn't work. Nginx is ...

Score: 0
Nginx Proxy pass returns 50x error
in flag

How can I use or configure proxy_pass in NGINX in order to display my react application when someone visits my website?

Below you can read the configuration I am using, but it is not working as I expect and redirecting to website.com:3000.

# For more information on configuration, see:
#   * Official English Documentation: http://nginx.org/en/docs/
#   * Official Russian Documentation: http://nginx. ...
Score: 2
`registry-mirrors` with Harbor as pull-through registry cache
ar flag

I am trying to configure Harbor as a pull-through registry linked to Docker hub.

While I manage to pull images by prefixing them per the doc, I cannot make it work by using the registry-mirrors Docker daemon parameter: Commands such as docker pull mysql still download the layers from docker.io.

Client config

Docker version: 20.10.8

/etc/docker/daemon.log:

{
  "registry-mirrors": ["https://harbor.example ...
Score: 0
Chris9834 avatar
TikiWiki / Apache "security check" problems / CSRF-error
id flag

whenever i try to delete some items from a tracker via the list display, it throws me this error

Error

Request could not be completed due to problems encountered in the security check. There was no security ticket submitted with the

request. For more information in the future, administrators can define the error_log setting in the php.ini file.

list menue "delete selected"

"security check" error

if i delete the item via item contex-menue, it's ...

Score: 0
Proxy www-out reached process FD limit (maxsock=4168). Please check 'ulimit-n' and restart
ca flag

I've compiled haproxy to apply special LUA filters and now haproxy keeps running into the max file open limit. It runs happily along and then suddenly the logs show the following message:

Proxy www-out reached process FD limit (maxsock=4026). Please check 'ulimit-n' and restart.

I have tried increasing this limit by creating a service limits file for haproxy.

cat /etc/systemd/system/haproxy.servi ...
Score: -1
Thaer z avatar
How I can stop the DNS server to transfer directly to my website when access phpmyadmin
in flag

I have 4 web servers on the same domain and when I access 51.32.xx.xx/phpmyadmin It is directly changed to mydomain.com/phpmyadmin how I can stop it to change because I cannot access To another MySQL server

Score: 0
Chang Zhao avatar
getting error while trying ro rsync contents that live inside /etc directory
ua flag

I am making a cron job on my server node that uses haproxy base concated cert file from letsencrypt. however when I am at home I have same dns pointing to the home server which is actually hosting the website so the domain I access is directly via local server IP me being on same shared network. and since the certbot runs on proxy node server on digitalocean, I need to rsync the uncocatenated cert files ...

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.