Latest Server related questions

Score: 0
Aridjar avatar
How to have a multiple port app in the same GKE pod (using cli)?
in flag

Presentation

Working on an Elixir Umbrella app (a general app managing multiple app), I included two web app within the main one, each one with its own URL and port (admin.example.com:8081 && www.example.com:8080).

I recently deployed the app onto Google Kubernetes Engine, following this tutorial. Though I've had some problems from times to times, I managed to complete it and have one webs ...

Score: 1
mount nfs as another folder on home
vn flag

I have purchased a WD-Ex2 NAS and am trying to share a folder via nfs with my ubuntu machine.

This folder will be used only by this machine and I want to be able to have execute permissions with my user. I would like it to be treated as one more home folder.

I am mounting the folder as follows

$ sudo cat /etc/fstab
...
#nfs mycloud
192.168.0.151:/nfs/tmp_msigs60 /media/tmp_msigs60  nfs     defaults,user, ...
Score: 0
Apache2 Virtual Host Proxy Forward
kz flag

Hi all I am trying to use a virtual host to forward streaming.fusion.tk to my internal emby server form my webserver.

I have setup a config file called streaming.conf in /etc/apache2/sites-available/

<VirtualHost *>
ServerName streaming.fusion.tk
ServerAdmin fusion@localhost

ProxyRequests off
<Proxy "*">
Order deny, allow
Allow from all
</Proxy>

ProxyPass / http://192.168.0.203:809 ...
Score: 2
Docker Registry pull/push 443 only
dm flag

I've set up a Docker Registry (port 5000), which is then accessible to the internet via Reverse-Proxy (HAproxy) via https (port 443).

My reverse-proxy isn't listening on port 80 (for various reasons) - only 443.

However, when I try to pull/push images to the registry, I get this error:

> docker push dockerreg.mydomain.tld/foo/bar:tag
The push refers to repository [dockerreg.mydomain.tld/foo/bar ...
Score: 1
How to better understand IPv6 to block requests
id flag

With IPv4, whenever I realize any strange requests coming to my server I can easily block the IPv4 from further requests (I can block on my iptablets, or in my .htaccess file...). However with IPv6 it's not that easy because it's pretty simple to change the IP address, or even worse, it's pretty easy to rotate thousands of IPv6 addresses to make thousands of requests in a short time coming all from d ...

Score: 1
zookeeper ssl alert "alert bad certificate"
bd flag

I am using Kafka (version 2.3.0) and Zookeeper (version 3.5.5-3) - the stable version is 3.6.3.

When I test the SSL of my Zookeeper using this command:

openssl s_client -showcerts -connect 127.0.0.1:2280 -CAfile /certs/ca-chain.cert.pem

and I am getting this error:

140371409225024:error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate:../ssl/record/rec_layer_s3.c:1543:SSL alert  ...

Score: 0
Igor Adamenko avatar
How to prevent DHCP IP starvation attack on a wireless interface?
tn flag

It's probably possible to go to any restaurant/cafe/bus with public Wi-Fi Hotspot and flood it with DHCP DISCOVER / REQUEST packets. If this network is created by a router that works as a DHCP server, than such attack should lead to IP starvation, right?

Is there a way to prevent such attacks?

I'm talking about the wireless networks only. The place where every client use the same shared medium and i ...

Score: 0
Pierre Lovergne avatar
How to connect backend to a mongodb docker container
cn flag

I made this docker-compose file as written on docker hub / mongodb then I use the command docker-compose up -d which pretty standard to launch a container.

# Use root/example as user/password credentials
version: '3.1'

services:

  mongo:
    image: mongo
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example

  mongo-express:
    image: mong ...
Score: 0
gokeyforce1 avatar
Kolla-ansible stuck at keystone : Waiting for Keystone SSH port to be UP
ng flag

Deploying a new controller node to the environment, i get stuck at keystone : Waiting for Keystone SSH port to be UP. It looks like there isn't even an attempt to start the keystone-ssh container before this.

Steps to reproduce

kolla-ansible -i multinode bootstrap-servers --limit <new controller>
kolla-ansible -i multinode prechecks 
kolla-ansible -i multinode deploy 

Openstack version is Uss ...

Score: 3
echo %time% duplicate outputs
ch flag

I have a command that adds the timestamp at the beginning and the end (echo %time% & #other command# & echo %time%). However, the %time% will be the same, regardless of how long the command took to execute.

example output:

Time start: 19:48:31.75

Pinging google.com [2a00:1450:400e:80c::200e] with 32 bytes of data:
Reply from 2a00:1450:400e:80c::200e: time=13ms
Reply from 2a00:1450:400e:80c::200e: ...
Score: 0
Building VPN on web site hosted server safe for sites?
us flag

I'm thinking to build a VPN on my WordPress site hosted VPS. My plan is to use this VPN for my personal uses (not allow 3rd parties to use it). Especially access US streaming services and financial sites (PayPal, Payoneer, etc).

This server installed Ubuntu 20.04, Nginx, MySQL, Php7.4. Moreover, it running CSF and Fail2ban. For this VPN my plan is use Outline. This server's RAM usage is below 60% ...

Score: 0
What is the meaning of the parameter bounce="false" in a 553 response from a receiving MTA?
in flag

This a short specific technical question about an exchange between two MTAs. It is derived from this question in Superuser, which is broader and contains some rants about technical support from specific email providers. Below is a highly-sanitized version of log file entries taken from the logs of an outgoing MTA, where 1.2.3.4 is the IP address of the outgoing MTA, and 5.6.7.8 is the IP address of the r ...

Score: 0
postfix not accepting mail from new domain
cn flag

Okay, so I set this mail server up myself on a virtual private server, and it was working, properly receiving mail from three separate domains (for months). Now though, I've tried adding another domain, maintained through resgister.com, and while the other three still work, the new one simply won't work, messages get bounced back with a Relay access denied error! The domain that I'm trying to get t ...

Score: 0
bhanu avatar
Connecting to a database which is on another server for laravel application
ca flag

I am trying to connect a database which is on an openlitespeed digital ocean droplet. Now I have created a new database using phpmyadmin. And I want to use this database for my laravel app which I deployed using there Apps platfrom.

The issue is in connection to the database. On table plus when I use the following credentials

enter image description here

server has the IP address of my openlitespeed server. This works.

But whe ...

Score: 0
Enes Doğan avatar
How to connect to VPN clients on the VPN server of a different machine on the same network
cn flag

I have a cloud infrastructure with 10 servers and I have a local infrastructure and I want to connect them together. I have a VPN server in the cloud and I connected my local machines to the server on the cloud. I can access other machines on the cloud from my local machines but I can only access local machines on my VPN server, I want to be able to use the VPN server as a gateway so that I can connect  ...

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.