Unix-kraplinka is my personal blog where I write about IT. I share code snippets and tips, but not only. I share opinions and passions on other personal topics too.
Unix-kraplinka is my personal blog where I write about IT. I share code snippets and tips, but not only. I share opinions and passions on other personal topics too.
paroie des morgans, salève 74 “pas mal le malpas” 6a, Rocher du Malpas 74
I have been looking for some time to find out the proper syntax out to shutdown a pool in a cloudflare loadbalancer via api request. As you can find different syntaxes regarding authentication bearer versus keys in their documentation, that seems not up to date at the moment.
You have to set the 2 following line in unit file: LimitCORE=infinity # unlimited core file sizeEnvironment=”GOTRACEBACK=crash” example: In case of panic core files will be stored in /home/toto. You can load them in a debugger for analysis. Go offers this nice feature out of the box: when you send it SIGQUIT signal, it exits with…
When you’re using Hashicorp Nomad + Consul Connect the docker extra_hosts argument is not propagated to containers.Here is a quick workaround to append custom values to /etc/hosts of your containers.Add the following task in your group, task will start first and exit (0). Reference of the bug that will soon be fixed, I hope https://github.com/hashicorp/nomad/issues/11056
log every requests to stdout (mostly for containerized environment)
Here is an overview of the bikes I owned, from newest to oldest
list services / restart a service rcctl ls all / rcctl restart configure an interface sh /etc/netstart wg1 equivalent to netstat -lpentu on linux netstat -f inet -t show routing table netstat -rn -f inet dump pf traffic tcpdump -lenvvvi pflog0 Show logs paquet for a specific port (443) tcpdump -n -e -ttt -r /var/log/pflog…
Proxify web browser via ssh tunnel (SOCKS proxy) ssh -ND 1080 my-endpoint-ssh-server.comchromium –proxy-server=”SOCKS5://localhost:1080″
I am running Freebsd Current on my personal computer because I am interested in the development of the OS. Naturally, this brings its share of worries sometimes. One day, my X server refuses to start following an upgrade of the AMD graphics kernel module. So I decided to rollback on the previous version which worked…
To quickly introduce it, airlock is a reboot manager that manages the possibility for a server to request its auto reboot in order to apply an update. It is able to manage a lock on a fleet of machines and give the green light (or not), to Zincati, Airlock is developed by the Coreos team.…
Want to get in touch ?