Latest Server related questions

Score: 0
salvorla avatar
Network monitor group by process on linux system
bv flag

I'm developing a client into a Raspberry hardware with an IoT sim with limited data traffic.

My software architecture consist in more processes and each of these send log to a remote server.

During the normal use there are traffic usage spike( that I can see into provider webapp).

I would like to understand what process use the traffic improperly.

I found tools like nload but not split traffic data by  ...

Score: 0
brainee48 avatar
Reverse Proxy to Outside URL-IIS
fr flag

IIS 8

Windows 2012

ARR and URL Rewrite installed

We host a website on behalf of a vendor on one of our servers with the Specs above. That site currently has 3rd party content created by one of their contractors, which we currently host through a subfolder/virtual folder. The contractors now want to host this content securely, but want to use a reverse proxy with a token to do so. Basically they're look ...

Score: 0
versatile avatar
Prevent varnish from caching cookie response
kr flag

When varnish returns a cache, does it also return the cookie generated on the backend or only the css, images and html returned to the frontend? I had users tell me that they kept getting the wrong cookies, so I am thinking because the cookies are based on geolocation data that the reason was the varnish cache. If it is so, is there a way to prevent varnish to return any cached data for cookies?

 ...
Score: -1
How does a client find the DHCP server on network if DHCP is disabled on the router?
uy flag

I am an acting, self-taught network administrator, so please excuse me if this should be obvious. I have a Windows network with domain controllers running DHCP. My gateway/router is a Meraki MX67 that is also running DHCP. I want to disable the DHCP server on the router so that DHCP is handled by my domain controllers. If I do this, how do my clients find the DHCP server on the network when the IP addre ...

Score: 0
Don R avatar
How to prevent a SFTP user from seeing other directories?
cn flag

I'm setting up a Windows Server 2019-based web server. One of our vendors needs to be able to upload files. I have

  • Added sshd
  • Created a login for them to use
  • Created a group for that login
  • Added that login to the group, and removed the login from all other groups
  • Created an upload directory
  • Given the group Write and Modify permissions in that directory
  • Added the line ForceCommand internal-sftp -d ...
Score: 0
Ajax21 avatar
Disable LAN Access without disabling WAN on a Hyper V VM
sa flag

I have a Hyper V virtual machine running on windows server 2019 that will be used to run a guest OS (Windows 10). How do I allow access to the internet, but block it from accessing LAN, network shared folders, printers, etc.

Score: 0
apt-get does not seem to be reading /var/cache/apt/archives
id flag

I am trying to upgrade Ubuntu in stages, I want to first download all the required packages and only then start the upgrade.

So, I downloaded required debian packages and copied them to /var/cache/apt/archives (before doing a dist-upgrade). But still, I see that apt tries to Get: (download) the packages.

If the cache were hit, it should have shown Hit: correct ? Is there any way to know if apt is look ...

Score: 0
wavedeck avatar
Can someone explain what those incrementing ports after 127.0.0.1:XXXXXX are
bg flag

I stumbled upon a strange looking incrementing port-number right after my loopback ip when using the PHP development server, that i am unfamiliar of and can't really find information on the web about it.

$ php -S 127.0.0.1:3000 which logs requests like this:

[Tue Aug 17 16:18:19 2021] 127.0.0.1:65533 [200]: GET /
[Tue Aug 17 16:18:19 2021] 127.0.0.1:65533 Closing
[Tue Aug 17 16:18:19 2021] 127.0.0. ...
Score: 0
versatile avatar
cancel varnish cache so that it goes to the backend on the homepage only
kr flag
if (req.url == "/") {
  return(pass);
}

Does this allow us to cancel the varnish only on the homepage (ex: www.prism.com) and not other pages like www.prism.com/product?

I was thinking this would also work, but I am not sure, and is the above the better option?

if (req.url ~ "") {
  return(pass);
}

I just want it to skip caching on the homepage, because we're using it to set a cookie for all users ...

Score: 0
Windows server 2016 - Add a user that will have the same programs and settings like my user
in flag

I have my admin user account and it has some programs installed and IIS with all the configured websites.

How can I add another user to this server that will have all the programs that are already installed for my user + IIS configuration?

So far I tried to add another user using the add a new user account but when I logged in with that user it had no programs installed and IIS wasn't configured the ...

Score: 0
Different DNS answer from 2 local servers configured the same way
cn flag

I have 2 servers setup to forward request for prod.example.com and example.com to GCP. When doing DNS resolution from the same client but using the 2 servers, both of them give me the same answer but one has more things in the answer than the other one: command used: dig test.prod.example.com @server1 or @server2 server 1 answer:

 <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.5 <<& ...
Score: 0
lampstackxyz avatar
Apache ignores Options -Indexes
pk flag

I want to disable Indexes server-wide. I tried the following:

In /etc/var/apache2/conf-available/security.conf:

<Directory />
Options +SymLinksIfOwnerMatch -Indexes -ExecCGI -Includes
AllowOverride None
Require all denied
</Directory>

I know that security.conf is active, other directives in the file are working. But indexes are still shown. Then I edited /etc/apache2/sites-available/000-defau ...

Score: 0
Rohini avatar
How to collect and consolidate application health across instances in aws
gr flag

We deploy several applications across EC2 instances. They are jar files, war files on Tomcat, npm based UI applications and python scripts.

Each has a different way of validation. For war files under Tomcat webapps I can check the swagger UI. For UI projects I can check the application link. For standalone jar and python scripts I check the process, if running.

Is there a way I can place checks(on t ...

Score: 0
Troubleshooting LDAPS/TLS/HAproxy, wrong SSL cert being used
jp flag

Ok so I've got two servers.. one old (Ubuntu 16) and one new (Ubuntu 20).

They both Have Haproxy and within the config they are bound to the same port and same .PEM cert. When I test the SSL cert using OpenSSL's s_client from a Windows host.. I see the expected cert when testing the old server.. but the new server for some reason is sending the backend server's certificate which is an internal c ...

Score: 1
Iceape avatar
Are Samsung B-Die and C-Die Compatible?
sd flag

I am building a NAS (running TrueNAS/FreeNAS) using a SuperMicro A2SDi-8C+-HLN4F motherboard. I ordered 2 sticks of this Samsung C-Die RAM from a supplier but they could only send me 1 as it was the last they had in stock. I ordered the same RAM from another supplier but instead received this Samsung B-Die RAM. I found out this was not a mistake as the C-Die is EOL and the B-Die is its replacement.

 ...

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.