Latest Server related questions

Score: 1
Someone Sometime avatar
Different output of parted and fdisk
nl flag

I have a strange CentOS behaviour, When I type parted -l command on my server I got following results :

Model: DELL PERC H730P Adp (scsi)
Disk /dev/sda: 5758GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  3146kB  2097kB                        bios_grub
 2      3146kB  1077MB  1074MB  ext4
 ...
Score: -1
mouchin777 avatar
Cant ssh into my server from the outside when using a ddns
us flag

So I create a vpn server at home and pointed to it with a cloudflare domain that is updated every 5 minutes with my homes ip. Now i can access the server, but I think i messed up something with iptables, because I still can only ssh when im in my LAN network, but I want to be able to ssh from outside

When I try to ssh into the domain that works when using the vpn, I get Connection closed by myip port ...

Score: 0
Where do the IP's for TURN Servers Come From?
sg flag

I'm just very curious but this question is two fold. If you have an App that's using WebRTC for example and it requires ICE connectivity to reach the other party... Does the app developer maintain the TURN/STUN servers? Are they part of their network? Or do TURN Servers exist in the public to use?

If they own the TURN servers, where do the candidate IP's come from? You can't just set up a server  ...

Score: 0
Ariser avatar
Spanning Tree Protocol: How are ports selected to be designated or non-designated?
tc flag

I have read a lot about STP now. Perhaps not enough yet, but it starts to get difficult to get details.

I have understood the mechanism how all bridges select their root port. After having exchanged enough BPDUs containing information about potential root bridges, the information about the real root bridge will have seeped through the network providing each bridge with path cost information to th ...

Score: 0
Privacy-friendly Postfix bounce messages for remote rejects
br flag

The topic of handling bounce message for remote rejects has been brought up at least three times (1, 2, 3), and it looks as if there is no real solution. I wonder, though, if the bounce template can be modified to not include the reject message from the remote server (which contains information about the final recipient address I would rather not send to a spammer).

Thanks in advance for any hint, Jan ...

Score: 0
Is port 25 enough for running a mail server?
ye flag

A simple question, is it enough to open port 25 to internet for running a mail server that only send and recieves email, and don't have any external "clients" (imap,pop3)?

(all clients are internal)

Score: 0
math avatar
How to send a single parent ZFS filesystem snapshot and all its descendents' same snapshot to a new pool?
es flag

If we zfs snapshot -r tank@20220129, all sub-filesystems also get that snapshot.

How to send that single snapshot of tank with all sub-fs's to a new pool (no historical base of snapshots)?

While zfs send -R tank@20220129 will send all sub-fs's, it will also send all snapshots.

(We could later delete all of those snapshots, but that could be a massive amount of extra sending just to delete upon completi ...

Score: 0
Architect Jamie avatar
Debian Redirect Single Port of Outbound Connection
eg flag

I have a Debian 11 VM on a Windows machine. It has 3 network adapters. One is external (WAN), one internal (LAN) and another private (experimental).

I am using the box as a router which in turn uses my DSL router back through via the WAN NIC which is actually connected to the Hyper-V box. Everything works routing-wise.

What I'm trying to achieve, and having read many articles have failed this far, i ...

Score: 1
Raja avatar
How to use ext4magic in LVM?
cn flag

I'm trying to recover using ext4magic.my partition was LVM.

try to execute command

ext4magic /dev/sda1  -J -f -s 2048  imges/

error

/dev/sda2 Error 2133571347 while opening filesystem 
ext4magic : EXIT_SUCCESS
Score: 0
How can I make postgres startup on connection - and shutdown after a period of being out of use?
bd flag

In the day time I do software development where I use Postgres via Django on Ubuntu.

In the evening the computer is my personal laptop (still running Ubuntu).

How can I make Postgres startup when it receives a connection, and shut down if there is no activity for a while ?

I use systemd run services - so I imagine the startup part must be relatively straightforward ?

Score: 1
How can I run docker container in existing network namespace?
sn flag

I have an existing network namespace:

dewi@dewiserver:~$ ip netns list
dewinetns235 (id: 0)

How can I get a docker container to use and run inside this network namespace?
e.g. run something like

docker run --rm curlimages/curl:7.81.0 --namespace dewinetns235 -L -v https://curl.haxx.se 

So in this instance I want the curl command to exist within the dewinetns235 network namespace

Many thanks

Score: 3
Postfix incorrectly accepts mail for any destination
br flag

I have a fairly standard Postfix configuration to forward mail to several domains (the setup includes postsrsd and spamassassin/spamass-milter, which works fine):

myhostname = mail.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0 ...
Score: 2
Why does SSH think I still have a 'known_hosts2' file?
in flag

While trying to clean up my SSH config and key files on my iMac (macOS Monterey 12.1), I tried to SSH using the verbose flag (-v). This generated output including the following lines:

...
debug1: load_hostkeys: fopen /Users/clint/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_kno ...
Score: 0
How to get K8S node networking tags for Autopilot cluster?
es flag

I'm trying to set up GKE with Standalone NEG (avoiding Ingress, and using Terraform for Load Balancer setup instead). Everything works fine, but so far I've been using Firewall Rules from another Ingress.

But to create a proper Firewall Rule, I need GKE_NODE_NETWORK_TAGS. But I cannot set them when creating an Autopilot cluster. I cannot list nodes as listed in the docs as well, as Autopilot node ...

Score: 0
Send all traffic from one IP address to another IP and port
cn flag

I have a UDM PRO 192.168.1.1 running ShadowSocks on 192.168.1.1:1080.

Here is what I am trying to do.

  1. I would to know the IPTABLES rules for a computer on my network 192.168.1.100 to route all traffic to the ShadowSocks Server. Eg. All traffic from my computer should only go to the ShadowSocks Server.

  2. I would like to send traffic on a particular port say 5036 to the ShadowSocks Server. This means that a ...

Score: 0
lewisxy avatar
nginx reverse proxy with subpath
in flag

I built a web app that will listen on a port and handle HTTP requests. For example, if I run it locally at 127.0.0.1:3000. I can access it with http://127.0.0.1:3000/path/within/app on my browser. I would like to deploy it on one of my servers, which is configured with nginx to handle all incoming requests (and TLS) and forward them to different applications (listening at http://127.0.0.1:xxx). Normal ...

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.