Latest Server related questions

Score: 0
Unable to connect to Lightsail, is there a way to fix it?
bq flag

After configuring and rebooting a Debian 10 with internal ip address as static I cannot connect with it.

The only strange thing that I've found was:

enter image description here

The internal ip address was 172.26.5.8/20

I cannot reach in anyway but if I ping even not responding, there is an entry in cache arp:

enter image description here

I wonder if there is a way to fix it or if there is an alternative way of reaching the instance.

Score: 0
Linux: Reserving a loopback port to a user with no authentication. Is this possible?
nl flag

I want the user who starts the listening process on the port on the loopback interface to be the only user who can connect to this port. Reserving the port. No authentication.

I want other users to be able to be able to do the same on any available loopback ports.

Is there any mechanism such as selinux or apparmor capable of achieving this?

[EDIT] Just to clarify, the scenario is cntlm on a multi-user mac ...

Score: 0
manifestor avatar
Zabbix log monitoring: Do not send "resolved" messages
mp flag

I use Zabbix to scan my logs for certain keywords. This is my item (configured as an active check, type of information "log"):

logrt["/var/log/syslog(\.[0-9])?$","(error|fail|failed)",,,skip]

And the corresponding trigger:

{HOSTNAME:logrt["/var/log/syslog(\.[0-9])?$","(error|fail|failed)",,,skip]
.iregexp("(error|fail|failed)")}=1
and {HOSTNAME:logrt["/var/log/syslog(\.[0-9])?$","(error|fail|fail ...
Score: 0
haproxy regrep usage to insert to path
ru flag

I have a haproxy service running on localhost:8090 with a backend service running on localhost:8080 and I want to transform GET request such as:

curl http://127.0.0.1:8090/api/v1/pods  (received by haproxy)
to
curl http://127.0.0.1:8080/api/v1/tenants/all/pods (received by backend)

I see a "Bad Request" response from 127.0.0.1:8080 . Haproxy config:

...
frontend operator_proxy
        bind 127.0. ...
Score: 0
What is a VM image offer with regards to a VM image ? In other words, what is the difference between `az vm image list` and `az vm image list-offers`?
au flag

The only apparent difference between the az vm image list and az vm image list-offers commands is that the --publisher and --location options are required for list-offers, but they are also available options to the list subcommand. Furthermore, they give different results for the same parameters.

Can you explain what microsoft means by "vm image offers" compared to normal vm images ?

Score: 0
Maximun amount of IP-addresses per load balancer in Google Cloud
us flag

What is the maximum amount of Ip addresses (SSL enabled domains) per Google Cloud load balancer? I'm trying to find out how much we can scale our application on one load balancer setup. Or will the load balancer slow down because of a large number of different domains (with SSL certificates) attached to it?

I noticed that there is a limitation of 15 SSL certificates / Ip-address and a limit of 10 ...

Score: 0
syncrepl_message_to_entry: rid=002 mods check (objectClass: value #1 invalid per syntax)
cn flag

I have a problem with my master master config database replication (i will add the data replication after this one). I am running on each master, openldap and freeradius. To have freeradius working with openldap, I created ldif schema on each server.

For info : rid=001 is the master n1 and rid=002 is the master n2

When starting slapd on both servers, I get on the master n1 this error : syncrepl_message_ ...

Score: 0
acgbox avatar
how to run .war with java to execute inside dir from desktop shortcut
ng flag

This is my case. I have a .war that I execute with java and it only works inside its folder:

cd /opt/myappdir/
java -jar myapp.war

Note: It does not work like that:

java -jar /opt/myappdir/myapp.war

I have created a bash script (sudo /opt/myappdir/run.sh) to launch this command

#!/usr/bin/env bash
cd /opt/myappdir/
java -jar myapp.war

So far everything works. Now the problem:

I want to launch it from ...

Score: 0
Linz avatar
Inspecting FTPs traffic
in flag

I have researched the possibility for securing / inspecting FTPs traffic with a sandbox to do malware filtering.

There are a lot of vendors offering WAFs (Fortinet, Cloudflare, Check Point, and so on) for HTTPs-Services, but I could not find any vendor, that offers the inspection of FTPs services.

Is there any advice how to secure a internal FTPs-Server beside Layer-4 filtering from a firewall perim ...

Score: 0
iceburn_pt avatar
PlanLaGa 1.2 failing on fresh install under Windows 10
us flag

This program is not updated since 2011 but the authorities still make it mandatory. I've got by by using a older JRE (1.6) but now I get an error in a fresh install. This is the stack tracke I get in workspace.metadata.log:

!ENTRY org.eclipse.osgi 4 0 2022-01-17 15:19:53.523
!MESSAGE Application error
!STACK 1
com.soluziona.coim.excepciones.CoimException: No se pudo instanciar el DAO: class com.sol ...
Score: 0
redirecting to a different domain via haproxy
in flag

Using haproxy 2.1.4

I am having an issue with ACL's and redirect.

I want to ACL on ww.abcdomain.com/x/aa and redirect that to www.defdomain.com/aa

Apart from these, there are the following operations:

"www.abcdomain.com/x/aa >> www.defdomain.com/aa"

"www.abcdomain.com/x/bb >> www.defdomain.com/bb"

"www.abcdomain.com/x/cc >> www.defdomain.com/cc"
Score: 1
Why is a system sending "ICMP time exceeded in-transit" messages when forwarding packets?
ch flag
WoJ

I have the following setup

| laptop A connected via Wireguard to a server - 192.168.20.3 |
  
| server B with Wireguard (192.168.20.0) and connected to a LAN (192.168.10.2). Forwarding is enabled |
  
| server C connected to LAN (192.168.10.3) | 

The routing table on B is:

# ip r
default via 192.168.10.1 dev enp3s0 proto static
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
17 ...
Score: 0
Theo Racle avatar
Running an OpenVPN server in Docker on Ubuntu 20.04?
cn flag

I'd like to run an OpenVPN server on my Ubuntu 20.04 server. There are plenty step-by-step guides as to how to do so (like here or there), this seems fairly straightforward process.

However instead of running the VPN server 'directly' on the server, I'd prefer to run it in a Docker container.

Is this possible, and is there a guideline on how to set this up, or perhaps some pointers in the right direc ...

Score: 0
Juliusz Wysocki avatar
add local users to GPP managed groups
in flag

I (hopefully:) understand the usage of GPP management of restricted groups. I do it with Item-Level targetting but have one problem which I have no clue why it is not working.

When using Local Group Member dialog box I can link any domain user I want. Also, pressing F3 shows a list of possible variables, using which I want to point to local user on the server to be included in local Administrator ...

Score: 0
Multidimension Tools avatar
Nginx add_header header not capitalized
in flag

I am running nginx in ubuntu 20.04

I'm trying to set Cache-Control header to no-cache as well as Access-Control-Allow-Origin to * in nginx.

Here is the configuration for my server location

location / {
  gunzip on;
  add_header 'Cache-Control' 'no-cache' always;
  add_header 'Access-Control-Allow-Origin' *;
  root /home/user/apps/client/wwwroot/;
  try_files $uri $uri/ /index.html =404;
}

But wh ...

Score: 0
Host Header Redirect to another domin when Host is changed to another domina in HTTP Request
cn flag

Click for the image of issue for HOST Header Redirect

Please Refer to the image

The issue arise only on 302 and 301 Redirect request On Apache Server. What i did is selected one 302 and 301 redirect request and then change the Host to another domain, and after forwarding the request the application redirect the user to the listed domain mention in HOST Header, I want the application to give either an ...

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.