TITLE Search cve scanner for coreOs - coreos

I search a scanner for "cve" , to scan coreOS ( host , not containers ).
do you know any ?
Big thanks.

Related

Redhat Linux Network Interface Autostart

We have a PostgreSQL cluster with 2 instances, one of them primary and other one is primary. Both of them are running on Red Hat Enterprise Linux release 8.5 (Ootpa). In order unify connection string we use virtual IP.
We have problem with managing virtual IP. We are managing VIP manually.
On the standby node content of my /etc/sysconfig/network-scripts/ifcfg-eth0:1 :
NAME="eth0:1"
DEVICE="eth0:1"
ONBOOT=no
NETBOOT=no
BOOTPROTO=none
IPADDR=$My-VIP
NETMASK="255.255.255.240"
TYPE=Ethernet
PEERDNS=no
When I reboot this standby server it tries to start "eth0:1" interface even though "ONBOOT=no" parameter and that cause trouble because same VIP, "$My-VIP", is already taken by primary instance.
Is there any other configuration that I should check?
If you need extra information or logs please let me know I will provide it as soon as possible.
Thank you in advance!
According to news that I got from my ex colleagues it is because of base interface, "eth0". After reboot eth0 starts all interfaces that depends on it. Only way to get rid of this commenting IPADDR out for eth0:1.

how to link local IP Address to a domain name in local network, so website can be accessible to any device using the domain name?

I am a NOOB to programming and networking so please forgive me for any mistakes.
I have searched on stack,google for my problem but the solutions
i found didn't went well with me and so please do consider answering my question
even if you consider it is simple or duplicate question.
My Problem - I have a nodeJS server built using express and it can be accessed on
address http://192.168.209.239:8001/ now i want to access server using domain names like normal website say i want to access the server using http://myserver.app/
found Solutions - i found about DNS but i was not able to set it up, then i found that editing the etc/host file can solve this but domain name was only working on my laptop where the app is running, if i connect my phone to same network* and when i type the domain name it does not work.
I found about mDNS. but i was a very old post which told we can use Apple Bonjour but it is not working as i learned that Microsoft has done some implementation of mDNS
so make Bonjour work disable mDNS in registry and i am not willing to do that.
What i ask - please give me step by step guide how to stepup DNS or mDNS on my machine
so if any device connects to my network it can access the NodeJS app thought its browser using domain URL http://myserver.app/
I am using
nodeJS#16.13.2,
express#4.17.2,
Windows 11 version 21H2 build 22000.376
My Network is like I have connected my mobile hotspot to laptop
and any new device to connected to hotspot so may my mobile is kind of a wifi router.
if a different laptop connects to my hotspot i should be able to access the website using the domain name. myserver.app
My Phone is using Android 11
and please do consider
I do not want to use any online DNS providers like easyDns or AWS
i want a local solution which i can run on my laptop
Ideally you need to DNS server for this : but its wont work with dynamic IP as your machine ip can change after reboot
You can add domain as host entry on each machine : this will not work with mobile and also need to change ip as your machine / server ip change
If you have static ip , just go for any dns service provider easydns , aws and as its inetrnall ip will work for all devices which are in network
Found This may work for y https://www.noip.com/support/knowledgebase/how-to-configure-ddns-in-router/
Starting with Android 9 Pie it is possible to change DNS globally, provided they support TLS. Just go in
Settings → Network & internet → Advanced → Private DNS

Which kind of network should i choose to setup a Satndalone Spark Cluster

I have 2 PC (with Windows as default OS), let's say PC_master and PC_slave. Since it is recommended to work with Linux to manage a spark Cluster i created one Virtual Machines with Linux on each of theses PC: VM_master on PC_master and VM_slave on PC_slave.
I would like to setup a Standalone Spark Cluster, so which Networking configuration should i use (NAT, Bridge, HostOnly?) for theses 2VM in order that they own their private IP adress letting me ssh from one to another without the need of port forwarding ?
Edit: My two laptop are linked to the same box, so they have private IP and supposed to be linked to the same router.
Finally it seems that if i want to give each VM its own Ip adress to create a private Network i have to choose Bridge Network which will assign a unique Ip for each VM!

Is it possible to do Seamless RDP connection using node-rdpjs?

Hi I have tried to search on google about how I can seamlessly connect to windows machine through RDP using node-rdpjs but haven't got any hint.
Here is scenario for User :
should be able to connect to multiple software
should be same user name
should same machine
I have seen this video tutorial about who actually it is done in windows.
https://www.youtube.com/watch?v=g30RWJoqONI
Any help / hint is appreciated.
Thank you

How to generate an unique ID for a given linux machine?

My python application running as a daemon in a variety of linux distributions are trying to register to my server using the machine's IP Address and FQDN Hostname(given by "hostname -f" command) as a primary key.
Now I am facing a problem when two machines are having same hostname and IP Address. Eg in case of two VM's running on two seperate machines, the hostname is "localhost.localdomain" and Ip Address is "192.168.0.2" for both of them.
Is there any unique way to differentitate any two machines. (Maybe some other third parameter which will guarantee uniqueness across any linux machine )
the MAC address should be unique per network interface.
maybe you can try a combination of IP, MAC and host name?
another option is to create a UUID and save it on the machine.

Resources