Latest Server related questions

Score: 0
Alex Trivel avatar
Rewrite POST variable using modsecurity
in flag

Exists some way to rewrite POST form variables using modsecurity? This must be done before proxypass to backend. I was trying some rules unsuccessful. The test request is curl -i -X POST -d "name=Pepe" http://localhost:8080/pepe The idea is to be able to alter de "name" variable from "Pepe" to "PepeAltered". I appreciate who can shed some light on this.

Score: 0
AbreQueVoy avatar
Kubernetes Dashboard not reachable (error 404)
in flag

What I'm trying to do is launching the Kubernetes Dashboard on my cluster.

The Dashboard was installed using Kubespray, so I'm pretty sure it's installed correctly (at least its pods run without errors).

Cluster's setup overview is the following:

$ kubectl get svc --all-namespaces
NAMESPACE     NAME                        TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                  AGE
default      ...
Score: 0
sav1sav avatar
What is the best & safe & fastes way to backup a large mysql database?
it flag

I have a mysql server running on a Debian server. I have a mysql database wich is 150GB... What is the best way to take a backup of it?

I'll say: screen then mysqldump -u user -p database > database.sql?

Any suggestions?

Score: 0
BPas avatar
Costraint group creation in Active Directory
us flag

I have an Active Directory deployment and I want to delegate to Site Admins the administration of their OUs. The Site Admins must be able to create AD groups and user; but my understanding is that the CNs of the Groups (and Users) is global, so two different OUs cannot include groups (and users) with the same CN.

I would like to constraint Site Admins to create groups or users whose name matches  ...

Score: 0
Debug third-party authentications in localhost with docker and nginx
kr flag

We have a website where we just added third-party authentications such as Google, Twitter. I'm trying to test these authentications in localhost (MacOS).

I'm running a docker to run nginx, here is docker-compose-dev.xml

version: "3"
services:
  https:
    image: bitnami/nginx:latest
    restart: unless-stopped
    ports:
      - 443:443/tcp
    volumes:
      - ./conf.d/dev.conf:/opt/bitnami/nginx/ ...
Score: 0
KB1RCC avatar
Docker macvlan with second interface
im flag

I currently have two NICs ens192 10.0.0.0/24 and ens224 10.10.0.0/24. Currently docker is using ens192. I have a few containers that I would like to use ens224 so their traffic would be routed through a different gateway.

I have attempted using macvlan using the 10.10.0.0/24 subnet with the parent interface set as ens224. I then attach it to the container but am unable access anything on that sub ...

Score: 0
Asmodean avatar
How to move existing docker-compose created outside of portainer into portainer?
us flag

I created the nginxproxymanager docker compose file and volume mount points outside of portainer.

/home/user/docker/nginxproxymanager/data, letsencrypt, docker-compose.yaml

And portainer, while being able to start and stop the service, display IP and gateway IP, add networks, I still would want full control over this container.

For example I cannot go into CLI (please correct me if the cause is not  ...

Score: 1
Printers Sharing Ubuntu Server
ma flag

I need to share 3 USB printers on a network, I installed a Raspberry Pi4 with Ubuntu Server 20.04 LTS with CUPS e smb services configured. From windows 10 I'm able to access \ip of the server and I see all the printers. The issue is when I try to connect to the printer, Windows show me this error " No more connections can be made to the remote computer now because the maximum number of connections that  ...

Score: 0
Error: (CLI:144) Invalid drive(s) specified when trying to add a removed unit (initial goal was migrate JBOD into single)
za flag

concerning the already asked question (Error: (CLI:144) Invalid drive(s) specified when trying to rebuild 3ware RAID) I have an similar issue at my server. My goal is to change the UnitType for all to single (the original state looked like the current state but with one more line for unit 4 similar to unit 5). Therefore I already removed u4 by the command:

tw_cli /c4/u4 remove noscan
Removing /c4/u4 ...
Score: 0
mahyard avatar
Strange ERROR: Could not find a version... during pip install
ru flag

Any idea about this strange error:

ERROR: Could not find a version that satisfies the requirement pycrypto==2.6.1 (from versions: 2.0.1, 2.1.0, 2.2, 2.3, 2.4, 2.4.1, 2.5, 2.6, 2.6.1)
ERROR: No matching distribution found for pycrypto==2.6.1

It is strange because I've never seen a situation like this in which the unfounded version, is being included between available versions.

As you can see 2.6.1 ...

Score: 1
Creating a custom filter for fail2ban
cn flag

I'm trying to create a custom jail and filter in fail2ban for motion stream http authentication. The log directory is /var/log/motion/motion.log and a failed login attempt generates:

[0:ml1] [ALR] [STR] [Nov 02 16:47:57] handle_basic_auth: motion-stream - failed auth attempt from 192.168.0.65

My custom jail in /etc/failban/jail.local looks like this:

[motion-auth]

enabled = true
port     = 8010
filt ...
Score: 0
chewie avatar
EC2 Instance connection to an RDS instance accessible only via VPN
fr flag

I have a Laravel application (API) that I am trying to move to AWS, however, the DB sits privately in AWS and is only accessible to me through a VPN.

The database is an RDS instance.

How can I provide my EC2 instance with access to the RDS Database?

Score: 1
What happens when a FSMO holder goes down?
us flag

Let's say I have 2 DCs and one of them which happens to hold all FSMO Roles goes down.

Please correct me if I'm wrong but from what I understand:

No Schema Master = no updating user details, no creating new users\computers\groups\group policies.
No RIF Master = no applying altering or adding new permissions to files\users\groups.
No Domain Naming Master = no adding new domains to the forest.
No PDC Em ...
Score: 1
load balancer mark "unhealty" new group member instance (ubuntu) after dist-upgrade
tl flag

I've a some VMs (working as web server) behind an instance group on my GCloud.

As usual maintenance I've update (apt dist-upgrade) my "vm-source-image", created a new template and add it to my group.

The new members using this template never receive any real working request from the load-balancer and it is up and running but unemployed.

Temporary patch

I do only a partial update (the security ones

Score: 1
user2956477 avatar
802.1q vlan naming in Debian 10
es flag

Upgrading router and facing problem VLAN interfaces does not go up (error "Unknown interface" if perform 'ifup vlanxxx') if vlans are defined in following manner:

auto vlanxxx
iface vlanxxx inet static
vlan-raw-device eno1
address 192.168.0.1
netmask 255.255.255.0

but it does load if I change VLAN names definition in following manner:

auto eno1.xxx
iface eno1.xxx inet static
address 192.168.0.1
n ...

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.