% Sources, référence, Webographie

# Sources à regarder

[Full Circle Magazine FR](https://www.fullcirclemag.fr/?)


# Magazines à acheter


- [Linux Pratique 139 - LES EDITIONS DIAMOND](https://boutique.ed-diamond.com/home/1665-linux-pratique-139.html#/37-format_du_magazine-magazine_papier)
- Port Knocking: [Gnu/Linux Magazine 199 - LES EDITIONS DIAMOND](https://boutique.ed-diamond.com/completez-votre-collection-d-anciens-numeros/1089-gnulinux-magazine-199.html#/5820-format_du_magazine-kiosk)

## Divers

### force ssh to use CHACHA20 curve25519 ciphers

* [encryption - How to disable weak ciphers in SSH? - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/333728/how-to-disable-weak-ciphers-in-ssh)

### sshd_config several ports

* [How to configure SSH Server to listen on multiple ports](https://www.simplified.guide/ssh/run-multiple-ports)

### Fail2ban

* [fail2ban [Wiki ubuntu-fr]](https://doc.ubuntu-fr.org/fail2ban)
* [fail2ban immediatly ban on given port - Lilo](https://search.lilo.org/?q=fail2ban+immediatly+ban+on+given+port&plugin=lilose&page=1)
* [fail2ban: how to immediately ban those who attempt ssh userid logins - Ask Ubuntu](https://askubuntu.com/questions/750801/fail2ban-how-to-immediately-ban-those-who-attempt-ssh-userid-logins)
* [Tuning Fail2ban - Active Countermeasures](https://www.activecountermeasures.com/tuning-fail2ban/)
* [Configure Fail2Ban for permanent and persistent bans – arno0x0x](https://arno0x0x.wordpress.com/2015/12/30/fail2ban-permanent-persistent-bans/)
* [networking - How to configure fail2ban for both TCP and UDP port? - Ask Ubuntu](https://askubuntu.com/questions/1354213/how-to-configure-fail2ban-for-both-tcp-and-udp-port)
* [iptables - Block IP if it connects to port 22 - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/267006/block-ip-if-it-connects-to-port-22)
* [fail2ban/fail2ban: Daemon to ban hosts that cause multiple authentication errors](https://github.com/fail2ban/fail2ban)

### bannissement automatique

* [ssh - Permanent IP block with iptables after first connection to port - Server Fault](https://serverfault.com/questions/1017533/permanent-ip-block-with-iptables-after-first-connection-to-port)
* [networking - How to auto ban an IP when he access some ports? - Ask Ubuntu](https://askubuntu.com/questions/939471/how-to-auto-ban-an-ip-when-he-access-some-ports)
* [iptables - Block IP if it connects to port 22 - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/267006/block-ip-if-it-connects-to-port-22)
* [SSH Security](https://web.archive.org/web/20160507023855/http://bodhizazen.net/Tutorials/SSH_security#IPT)
* [Permanently ban after N connections in a minute with iptables - Super User](https://superuser.com/questions/1234693/permanently-ban-after-n-connections-in-a-minute-with-iptables)
* [How to add an iptables rule that UFW can't create in Ubuntu? - Server Fault](https://serverfault.com/questions/198398/how-to-add-an-iptables-rule-that-ufw-cant-create-in-ubuntu)
* [UncomplicatedFirewall - Ubuntu Wiki](https://wiki.ubuntu.com/UncomplicatedFirewall)
* [ubuntu - Allow a list of IP addresses to access ports with UFW - Super User](https://superuser.com/questions/1767794/allow-a-list-of-ip-addresses-to-access-ports-with-ufw)
* [Persistent ipset for Ubuntu/Debian compatible with ufw and iptables-persistent](https://selivan.github.io/2018/07/27/ipset-save-with-ufw-and-iptables-persistent-and.html)

### check if a given iptables rule is already set

* [How can I check if an iptables rule already exists? - Super User](https://superuser.com/questions/360094/how-can-i-check-if-an-iptables-rule-already-exists)
* [How to view all iptables tables? - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/639377/how-to-view-all-iptables-tables)
* [openssh - Is there a way for one SSH config file to include another one? - Super User](https://superuser.com/questions/247564/is-there-a-way-for-one-ssh-config-file-to-include-another-one)
* [How To Implement a Basic Firewall Template with Iptables on Ubuntu 20.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-implement-a-basic-firewall-template-with-iptables-on-ubuntu-20-04)
* [shell - How to create a cron job using Bash automatically without the interactive editor? - Stack Overflow](https://stackoverflow.com/questions/878600/how-to-create-a-cron-job-using-bash-automatically-without-the-interactive-editor)
* [ubuntu 16.04 - How to make systemd call my "status" command? - Server Fault](https://serverfault.com/questions/807499/how-to-make-systemd-call-my-status-command/807568)
* [init.d - Can I make systemd show service status after starting or stopping a service? - Server Fault](https://serverfault.com/questions/616303/can-i-make-systemd-show-service-status-after-starting-or-stopping-a-service)
* [ubuntu - Systemd service (calling sh script as services) - how to get updated status - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/648216/systemd-service-calling-sh-script-as-services-how-to-get-updated-status)


### get parent process id linux

* [process - Bash: get location of stderr and stdout - Stack Overflow](https://stackoverflow.com/questions/44685940/bash-get-location-of-stderr-and-stdout)
* [bash - Is it possible for a child script to write output to a parent process? - Server Fault](https://serverfault.com/questions/759569/is-it-possible-for-a-child-script-to-write-output-to-a-parent-process)
* [logging - How can I send a message to the systemd journal from the command line? - Server Fault](https://serverfault.com/questions/573946/how-can-i-send-a-message-to-the-systemd-journal-from-the-command-line)
* [systemd - Interact with Linux service via SSH - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/731051/interact-with-linux-service-via-ssh)
* [Return error message when start-up fails with systemd unit file for playframework - Stack Overflow](https://stackoverflow.com/questions/46173248/return-error-message-when-start-up-fails-with-systemd-unit-file-for-playframewor)
* [boot - How do I figure out why my systemctl service didn't start on CentOS 7? - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/442575/how-do-i-figure-out-why-my-systemctl-service-didnt-start-on-centos-7)

### Systemctl logging

* [logging - systemd process stdout/stderr - Server Fault](https://serverfault.com/questions/1089887/systemd-process-stdout-stderr)
* [linux - send stdout/stderr to console for a systemd service - Stack Overflow](https://stackoverflow.com/questions/40812634/send-stdout-stderr-to-console-for-a-systemd-service)
* [linux - ps: How can i recursively get all child process for a given pid - Super User](https://superuser.com/questions/363169/ps-how-can-i-recursively-get-all-child-process-for-a-given-pid)
* [awk + How do I find duplicates in a column? - Stack Overflow](https://stackoverflow.com/questions/32084888/awk-how-do-i-find-duplicates-in-a-column)

