Latest Server related questions

Score: 0
Query on Apache MPM Worker Module (mpm_worker.conf and worker.conf)
in flag

We have Apache/2.4.18 (Ubuntu) of Apache on Ubuntu 16. We generally maintain our configuration in Puppet and use Worker MPM.

Yesterday we started facing connection drops on our application and port 443 started flapping. The error log of Apache was pointing to MPM.

We checked the mods-enabled directory and found that we have 2 files there, mpm_worker.conf and worker.conf. File worker.conf had meagre  ...

Score: 0
Trying to understand S3 Lifecycle rule
br flag

I am working on an e-commerce website.

I store product photos in an s3 bucket. Once the product is deleted, I also delete the photos from s3 bucket.

I have S3 bucket versioning enabled. I am not entirely sure how does versioning wortk?

Here are my assumptions:

  1. If a product photo is modified, the old photo is kept with an old version (so the old photo is never deleted)
  2. If a photo is deleted, AWS still ke ...
Score: 0
dinstar avatar
Ports are shown as openedin firewall-cmd, but nmap scans shows they are closed
gs flag

I am using OpenSuse Leap 15.3, with vicibox v10. I have surfed vicidial fourms, but it seems to be an issue with OpenSuse. I have opened ports with firewall-cmd, following are the output.

vicibox10:~ # sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0 home
  sources: 
  services: apache2 apache2-ssl asterisk dhcpv6-client rtp ssh
  ports: 1 ...
Score: 0
Paritosh Potukuchi avatar
Using iptables for SSH brute force protection
it flag

10: Limit new TCP connections per second per source IP

53 /sbin/iptables -A INPUT -p tcp -m conntrack --ctstate NEW -m limit --limit 60/s --limit-burst 20 -j ACCEPT

54 /sbin/iptables -A INPUT -p tcp -m conntrack --ctstate NEW -j DROP #This works as it is

How does one perform the same thing, but without using the recent module, or even the limit module and just using conntrack at max.

Score: 0
samtech 2021 avatar
AWS CLI Usage Issue
th flag

In our scenario, We previously had some AWS keys. The IAM interface show/showed no usage for it but the employee has been able to upload resources. Could anyone advise how to check if the interface is just erring or if they were perhaps not using these credentials?

The ATHENA Queries I was tried

SELECT eventTime, eventName, userIdentity.principalId,eventSource
FROM athena-table
WHERE useridentity.acce ...
Score: 1
What is the difference between S3 Multi-Region Access Points and AWS CloudFront?
de flag

Can anyone explain the difference between S3 Multi-Region Access Points and AWS CloudFront?

The documentation for a multi-region access point states:

Multi-Region Access Points offer a global S3 hostname that provides access to multiple S3 buckets across AWS Regions with automatic routing and failover between buckets.

The documentation for CloudFront states:

Content delivery networks provide a globall ...

Score: 3
garethhumphriesgkc avatar
Only one TCP socket (via nc) able send data to the same host/port at once
in flag

Simple repro - in one window watch processes in top, in the other run: nc -lkp 10000 > /dev/null & ( head -50000000 /dev/urandom | nc -N 127.0.0.1 10000 ) & ( head -50000000 /dev/urandom | nc -N 127.0.0.1 10000 )

Observe that only one head and nc process are actively using CPU.

Attach strace to the head that isn't active - see it's stalled on a write, e.g.:

strace: Process 589084 attached
wr ...
Score: 0
Harry Stuart avatar
Query User rule blocking packet despite Windows Firewall Exemption
ng flag

I have created a Windows Firewall exemption via an Inbound Rule allowing UDP traffic through local port 51820 from any remote port.

I have validated via the Windows Event Viewer that my simple PING test is being dropped and I corresponded the filter-run-time-id to the Windows Firewall rule, Query User.

I read that other people fixed the issue by modifying Group Policy to apply local firewall rule ...

Score: 0
Yevgeniy Afanasyev avatar
Log in failed CLIENT_UNAUTHORIZED [769] on Web terminal of AWS LightAail
my flag

I'm using AWS LightAail on Ubuntu.

Initially Web based Terminal was working fine, but when I did

$ sudo apt-get update
$ sudo apt-get upgrade

I got an error

Log in failed. If this instance has just started up, try again in a minute or two.
CLIENT_UNAUTHORIZED [769]
Score: 1
Ritmo2k avatar
Programmatically grant a user the ability to log on using remote desktop
pl flag

I have several Windows Server 2022 hosts that I need to manage the user rights assignment through automation.

When I manually grant a domain user SeRemoteInteractiveLogonRight rights, they cannot log on using remote desktop, they receive an error stating they are not authorized. If I grant them membership in the local Remote Desktop Users group, they can log on successfully.

The Remote Desktop Use ...

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.