Latest Server related questions

Score: 0
Will Taylor avatar
Enforce VPN access to restricted area of our SaaS
us flag

Our Enterprise clients for our SaaS have sensitive data inside their account, and would like to make sure their team are only accessing their accounts on our platform via their existing VPN solutions.

How do we enforce this?

  • IP whitelisting
  • Allow them somehow to set up a VPC to avoid connections going onto the internet? Is this something like AWS PrivateLink?

This is where I quickly get out of my dep ...

Score: 0
nginx reverse proxy 404 with two servers
va flag

I have a problem with my NGINX configuration. I have two webservers running on windows servers. Which one is called from outside with 443 and then should be forwarded to the server with 41001. The second server block should be called the FQDN and nginx should forward this to FQDN.com/test. Internal and external.

On the first server block this takes forever to load and nothing seems to work. With  ...

Score: 0
How to secure my server with UFW (presumed under attack)
in flag

I am running Apache on Debian.

Below is a sample of entries in my apache error log. Question 1: Is the server under attack (I see about a 30-40 such entries every hour). I am presuming that these are attacks on or at least probes into my server.

[Sun Feb 13 16:37:54.013622 2022] [:error] [pid 16071] [client 106.193.114.87:19356] PHP Notice: Undefined variable: error_msg in /var/www/example.com/ ...

Score: 0
cvetan avatar
Mariadb using all cpu on Ubuntu VPS and makes server unresponsive
bd flag

I have couple of ecommerce websites on one Ubuntu VPS with 4 CPU cores and 16GB of RAM.

Nothing really intensive it ran perfectly fine even on shared hosting.

However now I am having issue with mariadb. Once mysql service is started it begins poping more and more processes until it takes whole CPU and then web page is taking forever to open.

I haven't touched anything in configuration, I am backend dev ...

Score: 0
Vincent Teyssier avatar
Letsencrypt certificate works only internally to the instance, but when queried externally cert is not valid anymore
eh flag

I have one instance on Heroku with a auto generated certificate for mysite.com I have created a EC2 instance on AWS and generated a letsencrypt certificate for api.mysite.com

From the EC2 instance, if I execute

curl https://api.mysite.com/

I get the proper response-

From a browser or postman, I get

SSL Error: Certificate is not yet valid

My nginx config:

server {
    listen 443 ssl; 
    server_name ap ...
Score: 2
Failed instance in google compute engine
in flag

I have an GCE instance which has been running for several years. During night, the instance was restarted with following logs:

2022-02-13 04:46:36.370 CET compute.instances.hostError Instance terminated by Compute Engine.
2022-02-13 04:47:08.279 CET compute.instances.automaticRestart Instance automatically restarted by Compute Engine.

However the instance did not restart.

I can connect to the serial cons ...

Score: 1
Della avatar
Apt-Get Update Failing because of Certificate Validation
ke flag

Using Ubuntu Focal fossa. I was trying to install a checkpoint ssl software for VPN, but seems like something messed up all my certificates. Now whenever I try

sudo apt-get update

I get the following errors.

Get:1 file:/var/cudnn-local-repo-ubuntu2004-8.3.1.22  InRelease
Ign:1 file:/var/cudnn-local-repo-ubuntu2004-8.3.1.22  InRelease
Get:2 file:/var/cudnn-local-repo-ubuntu2004-8.3.1.22  Release [ ...
Score: 0
Birdy avatar
ZFS / Zpool with limited disk usage?
ve flag

I have a server with a JBOD of 36 x 14TB disks that have a total usage capacity of 12.7TB (Disks are WUH721414AL5201)

I have created two zpool's:

  • zpool1 which contains 3 vdev's (Each of them having 8 disks and being raidz-1) with the pool having 3 hot-spares.

  pool: zpool1
 state: ONLINE
config:

        NAME                        STATE     READ WRITE CKSUM
        zpool1                      ONL ...
Score: -1
The server has returned the following error: invalid enumeration context
cn flag

This is command i am using... Can anyone help me on this..

Get-ADComputer -Filter * -Searchbase "OU=IN0010,OU=BU-L04-Glass,OU=CIN,OU=L00-SGTS-USS,DC=zl,DC=if,DC=atcsg,DC=net" -Properties * | Sort LastLogon | Select Name, LastLogonDate,@{Name='LastLogon';Expression={[DateTime]::FromFileTime($_.LastLogon)}} | export-csv -path c:\Temp\ADComputer.csv -NoTypeInformation

Score: 1
codechimp avatar
SSHD: Difference between "connection closed..." and "disconnected from..." in log file
es flag

The sshd service on my Ubuntu server is under constant attack for various IP and user id.

According to /var/log/auth.log file, there are three different types of fails from unknown id and IP address:

  • Disconnected from invalid user...
  • Connection closed by invalid user...
  • Connection closed by xxx.xxx.xxx.xxx

What is the difference among the three? Do any of these suggest a successful (unauthorized)  ...

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.