Latest Server related questions

Score: 0
Temitope Akin avatar
How can Freeradius assign a VLAN ID to the device behing the IP phone
br flag

I am able to authenticate the IP phone but the pc port through which the users get to the LAN do not get assigned.I observed the pc is being dropped into the same vlan as the phone.The Lan USERs are set up to authenticate withe the active directory.

Here is what i have tried

post-auth {
          if (%{User-Name}=="DCER=5C=4Chphone2X"){
                update reply {                
                  ...
Score: 0
Damola avatar
Locate and Move files to a destination
ch flag

I intend to locate some files matching a certain pattern. After the files have been located, i want to move them to a new directory.

for i in $(find <search_location> -name '<search_pattern>')
do
    #mkdir -p <new_location_to_be_copied_to>
    mv $i <new_location_to_be_copied_to>
done

Can the above code achieve that. Any better way to achieve that?


UPDATE

After Executing the  ...

Score: 1
How to prevent BIND DNS resolver from querying authoritative DNS in private address space?
cn flag

I have a DNS resolver running BIND that serves clients in private address space (e.g., some of my clients are in 10.1.0.0/24), and separates them into Views.

There are domains on the public internet that have their NS servers resolving to private address space (e.g., example.com's NS is 10.2.0.1) which causes traffic from BIND to 10.2.0.1 in an attempt to resolve it.

How can I prevent BIND from tryi ...

Score: 0
GTP95 avatar
Log arptables dropped frames
bh flag

I have a gateway in the form of a Ubuntu Server VM. To prevent unauthorized devices to connect to the gateway, there is an Access Control List (ACL) on the gateway which is based on arptables: basically to let a device communicate with the gateway the device's MAC address has to be added to the ACL via a script that generates the relevant arptables rules, all traffic from unknown MAC addresses is blocke ...

Score: 1
Will avatar
NFS mounted XFS file systems not visible using xfs_quota
de flag

With CentOS7, I made the leap to XFS (from ext4) and since then I have been unable to query quotas on NFS Clients via the quota or xfs_quota commands. The xfs_quota command also does not report any information relating to the NFS mounted XFS file systems. The CentOS7 NFS Server does enforce those quotas over NFS, which is nice, but that can be even more frustrating when NFS Client users bump up aga ...

Score: 0
Eduardo Andrés Castillo Perera avatar
The Azure region us south central us does not show up when creating a cosmosdb account

dropdown screenshot

dropdown screenshot

enter image description here

As you can see in the screenshots, the region I need does not show up in the dropdown and I cannot select the us south central region (in Texas). The resource group is in Texas tho, and I have some VMs running there.

According to Azure Products by Region | Microsoft Azure cosmos db IS available in south central us.

IDK if this is a bug in the portal.

Score: 1
IGGt avatar
Using Zabbix to record JSON output from REST api? is it possible
us flag

I'm trying to use Zabbix (5.0) to capture the response from a REST API.

If I paste the following into a webbrowser (or wget / curl etc)

http://{username}:{password}@10.1.2.3:8443/api/metadata/

I get the response I expect:

{"items":[{"name":"this_is_my_name"}]}

I am trying to capture the value of name into zabbix.

I have set up a web scenario against my template, and in the steps section I have: ...

Score: 0
Creating a VPN for communicating two different boards
cn flag

Beforehand, I would like to say that I am not experienced in networking and would like to learn more regarding this.

I have two boards that have to send and receive ethernet packets to each other. Let's call them board 1 and board 2. Board 1 is connected to Ubuntu 1 and Board 2 is connected to Ubuntu 2. Both Ubuntu 1 and 2 are connected to a bigger network. The diagram below shows the topology of ...

Score: 1
André M. Faria avatar
BL460c Gen9 "disconnected NIC", not connect until I reset OA
in flag

I have 3 C7000 blades enclosures that we used with BL460c Gen8 without any problems, but we are changing them for BL460c Gen9 and some blades don't connect it network until I reset OA.

All blades are using 536FLB FlexibleLOM with the last SPP (May 2021), I've tested with 3 OA with different version, 4.97, 4.90 and 4.60.

Also, I used HP 6125G switches and 1GbE Pass Through for testing.

Moving the blade  ...

Score: 0
How to make Titra docker image answer https?
gp flag

I've got a test installation of Titra on a local system, and I've got it answering http on port 80 with this docker-compose file:

version: "2.0"
services:
  titra:
    image: kromit/titra
    container_name: titra
    depends_on:
      - mongodb
    environment:
      - ROOT_URL=http://timesheet
      - MONGO_URL=mongodb://mongodb/titra
      - PORT=3000
    ports:
      - "80:3000"
    restart: always
  ...
Score: 0
Sebastian avatar
Deny direct IP access to an application deployed in Kubernetes
ru flag

I have a NodeJS application with express.js as a backend framework deployed on cloud using Kubernetes. The K8s runs on top of an Ubuntu template. The application deployed in Kubernetes is of service type NodePort. This means the app uses the external IP address of the K8s nodes. In my case, it's currently using an external IP address of one of the master nodes.

I then assigned a DNS hostname for the appl ...

Score: 0
iptables: modify output flow
cn flag

When i trace some raw output packets from a specific application, i get the following output where a packets destination address is magically changed from 10.10.20.20 to 127.1.1.1. Is there any way of bypassing this by getting the raw packet "as is" to the output?

trace id fd9543bc ip raw OUTPUT packet: oif "br0" ip saddr 10.10.10.10 ip daddr 10.10.20.20 ip dscp cs0 ip ecn not-ect ip ttl 64 ip id 2 ...
Score: 1
Using URL's with special characters in nginx maps
in flag

When using nginx and maps it is possible to rewrite mutiple URL's with a map file. What is problematic is when the URL contains special characters. I have been breaking my head trying to get this right, and hope this Question / Solution might save others from becoming gray hair.

Let's set the scenario.

A Linux server (Debian/Ubuntu) running standard nginx. DNS pointing to this server that resolves ...

Score: 0
What are use cases for getting an ipv6 /64 subnet per server
mx flag

I am somewhat new to the whole networking topic and am trying to understand why certain things are the way they are.

Right now I am struggling to understand why you get a whole /64 ipv6 subnet for each server when renting one. Is it because the are just enough addresses anyway and we might as well assign them? Or are there actual use cases? I find it hard to imagine that a single server could mak ...

Score: 0
limit memory usage for each php-fpm pool
gd flag

A php-fpm config can limit a script to certain memory usage using memory_limit key. However, it only limits per script execution. What a solution that can limit memory usage for each php-fpm pool.

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.