Latest Server related questions

Score: 0
S2S Vpn Windows 2019
jp flag

I am trying to set up a S2S VPN with 2 Windows 2019 servers. Lets say we have a Site A and a Site B.

So I've setup two Windows 2019 server with Routing and Remote Access enabled. On both sites I added a Demand-dial interface. Site B is running well. It connects via the Demand-dial interface to Site A. Site A is not able to connect. The error message is "The interface is already connected".

When I di ...

Score: 0
progquester avatar
Is it possible to use a ppp connection rather than a veth to connect docker and host?
tr flag

I know a veth pair can be created to used communicate between docker container and host:

ip link add veth0 type veth peer name veth1 netns test

But I just want to known if there a simple way to make the vitual ethernet to a ppp interface?

Thank you very much.

Score: 0
jozinko9 avatar
How to inspect outgoing traffic from Acess Point
cn flag

I have Access Point which is connecting to VPN and create internal WiFi network of our company everywhere. Now I need to inspect what protocol for VPN is this AP using. I am not able to configure it, so I need to inspect this from packets which is AP sending outside. I would like to run something like wireshark on this AP and watching for outgoing traffic, but it is not so easy and I am not sure how can ...

Score: 1
Rocky avatar
Unable to run python script from PHP
br flag

This particular question has been asked so many times with great suggestions but the sudden abandonment by Askers doesn't really help as they never bothered to return to tell what worked (assuming it must have worked eventually)

I'm trying to run a python script from PHP but haven't been able to. Environment: PHP 7.3, Python 3.8, CentOS 7, Apache 2.4, Bluehost VPS.

  • Tried both exec and shell_exec

Score: 0
Tenders McChiken avatar
What happens if a resolver encounters a DNSSEC algorithm it does not support?
eg flag

Does it refuse to return the requested record, or does it return the record, treating the domain as unsecured?

Score: 0
phantomcraft avatar
How can I forward TPROXY and its UDP port to a sub-net?
by flag

I can forward a transparent proxy to a sub-net with:

iptables -t nat -A PREROUTING -i eth2 -p tcp --syn -j DNAT --to-destination 127.0.0.1:10000

But how can I do the same with TPROXY? I want to forward UDP.

I tried:

ip rule add fwmark 1088 table 100
ip route add local default dev eth2 table 100
iptables -t mangle -A OUTPUT -o eth2 -p udp -j MARK --set-mark 1088 
iptables -t mangle -A PREROUTING -i et ...
Score: 0
Bogdan Stoica avatar
Ansible jinja2 template from JSON format provided as extra-vars
us flag

I have this jinja2 template:

# {{ ansible_managed }}

{% for vhost in nginx_vhosts %}
{%- if vhost.name == item.name -%}

# redirect www to non-www
server {
    listen {{ nginx_port }};
    listen [::]:{{ nginx_port }};
    port_in_redirect off;

    server_name www.{{ vhost.name }};
    return 301 http://{{ vhost.name }}$request_uri;
}
{%- endif -%}
{%- endfor -%}

An ansible role with an yaml file

Score: 0
ohroblot avatar
Cisco GRE routing semantics to ip_gre
ru flag

I am reading this article about setting up a GRE IP Tunnel: https://packetpushers.net/anatomy-of-gre-tunnels/

There's a section about creating a GRE tunnel interface on router A

R1:
interface Tunnel100
tunnel mode gre
ip address 102.1.1.1 255.255.255.0
ipv6 enable                     
tunnel source Loopback0           
tunnel destination 2.2.2.2

I do not have a Cisco router but instead I am trying  ...

Score: 0
hgl avatar
Clients couldn't query DNS server listening on router interface's secondary IP
gt flag
hgl

I have a router where its interface has two IPs

$ ip addr

br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether <MA> brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.1/24 brd 192.168.3.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet 192.168.3.2/24 brd 192.168.3.255 scope global secondary br-lan
       valid_lft foreve ...
Score: 0
No /dev/dri after upgrading to 21.04
us flag

Recently upgraded from 20.04 to 21.04, which installed kernel 5.11. Now it fails to start X with correct screen dimensions, due I assume to this in Xorg log:

[ 23.307] (EE) open /dev/dri/card0: No such file or directory

If I boot the 5.4 kernel, everything works properly.

FWIW:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corp ...
Score: 0
DrTeeth avatar
Accessing EC2 metadata service from CodeBuild instance
vn flag

I'm running a docker container from within AWS CodeBuild inside my VPC. On the host, I have no problem running aws sts get-caller-identity with no credentials. E.g.:

aws sts get-caller-identity
{
    "UserId": "[redacted]",
    "Account": "[redacted]",
    "Arn": "arn:aws:sts::[redacted]:assumed-role/[redacted]"
}

Inside the docker container however, I get an error trying to get my identity:

% aws sts ...
Score: 0
systemd: limit the number of times a service can restart
in flag

I'd like to limit the number of times my service can restart, ever. There are burst limits

StartLimitIntervalSec=60
StartLimitBurst=5

But they limit how many times a service can restart within the specified interval. Is there any way to specify how many times can a service restart in general? As if the interval was set to infinity.

systemd 245 (245.4-4ubuntu3.2)
Score: 0
Creating a sub domain of our public domain for corporate/internal Active directory use. The public domain is also our Office 365 and Azure domain
in flag

Our current internal AD domain is example.local (set up long before I joined our team when this was a best practice)

Our Office 365 domain is a public, registered domain with GoDaddy which we use for email, sharepoint, teams, etc and an Azure tenant, call it example.com. I know it is a best practice these days to set up a subdomain of the public one and we are fine with corp.example.com as our subdoma ...

Score: 0
Derek Edwards avatar
Replaced all mdadm RAID1 drives with new, larger drives. Now can not boot from the RAID1
kr flag

I have simply replaced all of my mdadm array hard drives with some larger drives. I then went to reboot the system and upon booting it comes up with a grub error. I'm not sure what is needed to be done to the mdadm drives to get them to boot properly? I followed all instructions and partitions are all the same, data is all the same, but it still will not boot up properly.

I've attempted to gru ...

Score: 0
application establishes LDAP bind with version 2, when its hardcoded in code to only call version 3
cn flag
Avi

we have a java based application that connects to customer´s LDAP lookup server. Customer wants to get rid of any bind requests to version 2. So our R&D updated the option in the code as per documentation from Oracle (java.naming.ldap.version The value of this property is a string that specifies the protocol version for the provider.) However when this is deployed in production...in tcpdump traces  ...

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.