Opensource Security & Cloud

Welcome to my website, I am Wali, a security engineer aiming to transition to be more focused on cloud/Devsecops :D.

  • This space to share my thoughts & learning about all technical topics such as Wazuh, Elastic stack (ELK), Opensearch, K8s, AWS & Linux 🙂
  • Simply, I love to share everything and anything I learn as I believe that sharing more leads to learning more.

Turning my Linux Mint Laptop into A server: Systemd targets & logind

I have been tinkering lately to build a home lab (K8s, Wazuh …) and wanted to turn my old laptop (Running Linux Mint 21) into a server. While going through that process I had issues with configuring RDP (The session immediately closed after connecting) also I needed to be able to close the laptop’s lid while keeping it running. For the first issue, I was able to solve it by running the following and then reboot: ...

February 8, 2025 Â· 1 min Â· Elwali Karkoub

Bluetooth Keyboard keeps dropping out connection

For no specific reason I can tell my bluetooth keyboard SUBBLIM dropped the connection on my linux mint 21 machine. Bluetooth logs shows: bluetoothd[1109]: profiles/input/hog-lib.c:report_reference_cb() Read Report Reference descriptor failed: Request attribute has encountered an unlikely error bluetoothd[1109]: profiles/input/hog-lib.c:info_read_cb() HID Information read failed: Request attribute has encountered an unlikely error I procedded to solve it as follows: Install sudo apt-get install blueman load module modprobe btusb Removed the bluetooth device from the UI or you can use the command bluetoothctl remove 54:46:6E:2F:15:5B ...

January 5, 2025 Â· 1 min Â· Elwali Karkoub

Check connectivity using only CURL

I have had situations where I needed to check the connectivity using telnet but the server did not have it installed nor the possiblity to do so. I’ve found that it can be achieved using only curl: curl -vv telnet://serverIP:port This will use the telnet portocol instead of the known http(s). curl support about 28 protocols that you can find here: https://everything.curl.dev/protocols/curl.html

December 28, 2024 Â· 1 min Â· Elwali Karkoub