Latest Server related questions

Score: 0
Ravi Kumar CH avatar
hotlink protection blocking valid referrers also
br flag

Having an issue with valid referrers not being considered in the nginx config. I have domaina.com calling images from domainb.com. The issue is that the domainb.com images are being hotlinked. so i have created a page rule like this in cloudflare.

https://domainb.com/images/*
Cache Level: Bypass

Then placed this code in the domainb.com nginx config.

location /images/ {
           valid_referers n ...
Score: 0
Ubuntu mate ip_forwarding
au flag
epx

Unable to fix net.ipv4.ip_forward = 1. The displayed result is always 0. I make a change to sudo nano /etc/sysctl.conf, everything is saved. Then sysctl -p /etc/sysctl.conf or /etc/init.d/network restart. The total is still 0. Constant value 1 is required. I'm using ubuntu mate20.04lts. If you enter the temporary value sysctl -w net.ipv4.ip_forward = 1, then everything is ok. With sysctl net.ipv4.ip_for ...

Score: 0
김남진 avatar
Setting linux command limit per user
in flag

I need to perform security settings on the server now. Linux server and DB server access restrictions and permission settings for each user are in progress.

For this purpose, a separate solution was introduced, and the solution can set the user's command line, Logon/off, DB Query logging and limit settings for each server.

I checked the servers required for work by user, and set SSH and DB access co ...

Score: 0
leo avatar
How can I find out which program is executed through a PID which is ended
ru flag
leo

I found there is a program that killed my Apache regularly, according to the log information, I understand there is a program using "/etc/init.d/apache2 stop" to stop apache, since this process is gone, how can I find out this PID belongs to which program?

journalctl -o verbose _PID=16630
-- Logs begin at Thu 2021-10-28 ... 
    [s=b8b9ba8c0b3a434ab134b8e39ad9a421;...]
    SYSLOG_FACILITY=3
    PRI ...
Score: 0
Kurento rtp receiver tutorial not working on Windows
do flag

I am following Kurento's rtp receiver tutorial on Windows. I have managed to setup KMS using the following Docker command:

docker run --rm -p 8888:8888/tcp -p 5000-5050:5000-5050/udp -e KMS_MIN_PORT=5000 -e KMS_MAX_PORT=5050 -d kurento/kurento-media-server:latest

I am sending a RTP stream using ffmpeg with the following command:

ffmpeg -f gdigrab -framerate 30 -i title="Some window" -c:v h264_nvenc -f r ...
Score: 0
ehammer avatar
Windows Server 2019 install to intel RST Raid 1 volume not showing up in installer
us flag

I have an asrock rack Z490D4U-2L2T motherboard (working with a Intel 11700K) that supports Intel RST (BIOS reports driver version as 18.31.0.5166). I have two Samsung 870 evo SSDs that I want to put in RAID 1 and install Windows Server 2019 to them.

In the bios, I have switched the SATA mode selection to Intel RST Premium with Intel Optane System Acceleration (RAID Mode). Both drives do show up in the b ...

Score: 5
rgb255_255_255 avatar
How to confirm who is responsible for serving reverse DNS (PTR) requests an IP block?
gb flag

Before anyone answers "ask your ISP" or "ask your hosting provider", please read in full.

Scenario:

  • I own a domain name mydomain.example, and a publically routed IP block (say 192.0.2.0/28)
  • The NS records (GLUE) for this domain are configured at my registrar - ns1.mydomain.example and ns2.mydomain.example which point to my servers (self-hosted DNS servers)
  • Reverse DNS for my publically routed IP ...
Score: 0
networking default gateway, default route
ua flag

in ipv4 cidr notation you can have an ip address like 10.10.20.0/24

it's expanded to

network  : 10.10.20.0
first ip : 10.10.20.1
last ip  : 10.10.20.254
broadcast: 10.10.20.255
netmask  : 255.255.255.0

That means I have a usable ip range from 10.10.20.1-.254 on this subnet.

would 10.10.20.0 be the default gateway for this subnet?

Score: 0
Allowing a single user or domain to relay through Postfix
cn flag

I'm running Postfix on a RHEL7 server. I've started to use a new iPhone to send email, and I'm seeing this in mail.log:

Oct 30 20:15:56 kyushu2 postfix/smtpd[31145]: warning: hostname ue.tmodns.net does not resolve to address 172.58.200.63
Oct 30 20:15:56 kyushu2 postfix/smtpd[31145]: connect from unknown[172.58.200.63]
Oct 30 20:15:56 kyushu2 postfix/smtpd[31145]: NOQUEUE: reject: RCPT from unkno ...
Score: 0
chqrlie avatar
wget does not recurse when piping the output to stdout
jp flag

I want to download webpages recursively and pipe the output to a filter. I am using:

wget -qm -O- http://mywebsite.com/initialpath.php | ./filter

But wget stops downloading after the first page and waits for input instead of parsing the webpage and downloading linked files. It works if I save the output to a file with -O filename but I want to handle the webpages on the fly with a filter.

How can  ...

Score: 0
Sunny J. avatar
GCP site-to-site VPN traffic through Palo Alto
jp flag

I'm looking for some directions. Has anyone implemented the use case described in this lab [Palo Alto Networks: VM-Series Advanced Deployment with site-to-site vpn to onprem?

Question. Which vpc did you terminate the vpn traffic for both the inbound and outbound traffic to pass through the firewall?

I terminated in a vpc other than the firewall in a peered gcp hub and spoke, now both inbound and outbou ...

Score: -1
xbeta avatar
Is Gitlab the only vendor support subgroups level git repos?
br flag

Try to evaluate a few SaaS Git providers (e.g., Github, Bitbucket) other than Gitlab, but I don't think any of them support a subgroup level repo

mycompany/backend/core.git
mycompany/devtools.git
mycompany/security/scanner.git
mycompany/mobile/ios/consumer.git
mycompany/mobile/ios/enterprise.git

I don't want to sign-up for Github/Bitbucket in order to test this out, does anyone knows the answer to thi ...

Score: 0
Daniel Quinn avatar
How to properly setup Mullvad VPN with a Synology Diskstation
kz flag

There's lots of howtos out there for this, and I've even (successfully!) followed them in the past to get my VPN setup on my Synology but for some reason, since I reset the box and wiped everything (currently running DSM 6.2.4-25556 Update 2) VPN setup just does not work.

What I do

  1. Via the web UI, on a freshly installed Synology, go to Control Panel → Network → Network Interface → Create → Crea ...
Score: 0
the_floor avatar
More than one mime-type for intype of mod_ext_filter (text/css and application/javascript)
cn flag

I have built a substituion filter that is already working as I expect it. It adds a timestamp to the end of a html file (EOF).

ExtFilterDefine testfilter mode=output intype=text/html cmd="/usr/bin/perl -pe 's|^|qq(\/*) . time() . qq(\*/)|e if eof'"
SetOutputFilter testfilter

My goal is, to get this run for more than one mime-types. Is there a way to specify the intype of the filter and assign two mime ...

Score: 0
haher avatar
401 Authorization Required on Apache 2.2 when curling leads to 500 varnish error
cn flag
[centos@staging03 ~]$ sudo netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 127.0.0.1:80                0.0.0.0:*                   LISTEN      3600/httpd          
tcp        0      0 127.0.0.2:80                0.0.0.0:*                   LISTEN      1574/varnishd       ...

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.