Compare commits

...

70 Commits

Author SHA1 Message Date
30ed1051c4 Dépôt remis en public. 2024-09-16 17:16:24 +02:00
21426ae082 Merge branch 'main' into test 2024-09-16 17:13:21 +02:00
111174a31e nouveau fichier : bts_annee_2/sisr2/pxe/README.md
nouveau fichier : bts_annee_2/sisr2/pxe/dhcpd.conf
	nouveau fichier : bts_annee_2/sisr2/pxe/isc-dhcp-server
	nouveau fichier : bts_annee_2/sisr2/pxe/nftables.conf
	nouveau fichier : bts_annee_2/sisr2/seance_04/README.md
	nouveau fichier : bts_annee_2/sisr2/seance_04/lvs/haproxy.cfg
	nouveau fichier : bts_annee_2/sisr2/seance_04/lvs/ipvs.sh
2024-09-16 17:11:19 +02:00
0830cade8f Merge branch 'test' of https://gitea.lyc-lecastel.fr/guillaume.emorine/siotp into test 2024-09-12 10:39:39 +02:00
5bfe7e88bc modifié : bts_annee_2/sisr2/seance_03/README.md
renommé :         bts_annee_2/sisr2/seance_03/inst-hb1.sh -> bts_annee_2/sisr2/seance_03/hb1/inst-hb1.sh
	renommé :         bts_annee_2/sisr2/seance_03/inst-hb2.sh -> bts_annee_2/sisr2/seance_03/hb2/inst-hb2.sh
	renommé :         bts_annee_2/sisr2/seance_03/Vagrantfile_bookworm -> bts_annee_2/sisr2/seance_03/vagrant/Vagrantfile_bookworm
	renommé :         bts_annee_2/sisr2/seance_03/Vagrantfile_rsync -> bts_annee_2/sisr2/seance_03/vagrant/Vagrantfile_rsync
2024-09-12 10:38:47 +02:00
638a50ed05 Merge pull request 'Ajout des scripts de la séance 3 de SISR, sur le heartbeat.' (#26) from test into main
Reviewed-on: guillaume.emorine/siotp#26
2024-09-12 10:18:54 +02:00
473d973a41 Merge branch 'main' into test 2024-09-12 10:18:48 +02:00
c296e7bab9 modifié : bts_annee_2/sisr2/seance_03/README.md
nouveau fichier : bts_annee_2/sisr2/seance_03/inst-hb1.sh
	nouveau fichier : bts_annee_2/sisr2/seance_03/inst-hb2.sh
2024-09-12 10:17:14 +02:00
54fed5e7b5 modifié : automate.sh 2024-09-09 17:55:37 +02:00
715d5c66a6 Merge pull request 'Ajout des Vagrantfiles de la troisième séance de SISR.' (#25) from test into main
Reviewed-on: guillaume.emorine/siotp#25
2024-09-09 17:44:26 +02:00
682aee0175 Merge branch 'main' into test 2024-09-09 17:44:14 +02:00
114888cf8d Merge branch 'test' of https://gitea.lyc-lecastel.fr/guillaume.emorine/siotp into test 2024-09-09 17:42:33 +02:00
4c2df61b71 Ajout des fichiers de la troisième séance de SISR 2024-09-09 17:41:04 +02:00
af18ff0a83 Merge pull request 'Modification du dépôt pour la seconde année' (#24) from test into main
Reviewed-on: guillaume.emorine/siotp#24
2024-09-09 17:28:27 +02:00
8f6c06c907 Merge branch 'main' into test 2024-09-09 17:28:00 +02:00
673ea00008 Modification du dépôt pour la seconde année
Modification du dépôt pour la seconde année
	Modification du dépôt pour la seconde année
	Modification du dépôt pour la seconde année
2024-09-09 17:25:59 +02:00
4b1e3eee9a Merge pull request 'Ajout du dossier pour la seconde année de SISR, et d'un README.' (#23) from test into main
Reviewed-on: guillaume.emorine/siotp#23
2024-09-05 14:31:47 +02:00
ba7f858ca4 Création du dossier de seconde année 2024-09-05 14:29:04 +02:00
019f56c5d8 Merge pull request 'Modifications aux fichiers de règles, reflétées dans le README' (#22) from test into main
Reviewed-on: guillaume.emorine/siotp#22
2024-05-06 08:10:38 +02:00
46f42a0d0d Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/README.md
Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_3
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_4
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_5
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_6
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_7
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_8-9
2024-05-06 08:07:26 +02:00
0159744cb3 Merge pull request 'Modifié : automate.sh' (#21) from test into main
Reviewed-on: guillaume.emorine/siotp#21
2024-05-02 14:52:42 +02:00
198e45ce74 Modifié : automate.sh
Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/README.md
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_1-2
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_3
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_4
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_5
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_6
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_7
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_8-9
2024-05-02 14:51:33 +02:00
f782d46c71 Merge pull request 'Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_7' (#20) from test into main
Reviewed-on: guillaume.emorine/siotp#20
2024-05-02 14:03:55 +02:00
81dc0446c6 Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_1-2
Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_3
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_4
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_5
	Modifié :         sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_6
2024-05-02 14:02:56 +02:00
4c75b6e64d Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_7 2024-05-02 13:55:26 +02:00
c37d526260 Merge pull request 'Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_8-9' (#19) from test into main
Reviewed-on: guillaume.emorine/siotp#19
2024-05-02 13:53:21 +02:00
a06eee0235 Modifié : sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_8-9 2024-05-02 13:52:22 +02:00
54c7334231 Merge pull request 'Modifié : sisr1/README.md' (#18) from test into main
Reviewed-on: guillaume.emorine/siotp#18
2024-05-02 13:26:08 +02:00
5f0d3ae723 Modifié : sisr1/README.md 2024-05-02 13:24:46 +02:00
869a33ab65 Merge pull request 'Ajout de fichiers README pour le TP08, et traduction de certains READMEs.' (#17) from test into main
Reviewed-on: guillaume.emorine/siotp#17
Reviewed-by: guillaume.emorine (myself)
2024-05-02 13:17:31 +02:00
9991996dd2 Merge branch 'main' into test 2024-05-02 13:16:50 +02:00
fff61ae587 Merge branch 'test' of https://gitea.lyc-lecastel.fr/guillaume.emorine/siotp into test 2024-05-02 13:13:50 +02:00
f42d7ac77e modifié : sisr1/tp01-02_dhcp_dns/files_dhcp_vm/README.md
Modifié :         sisr1/tp01-02_dhcp_dns/files_dns1_vm/README.md
	Modifié :         sisr1/tp01-02_dhcp_dns/files_dns2_vm/README.md
	Modifié :         sisr1/tp03_reseau_prive_creation/files_admin_vm/README.md
	Modifié :         sisr1/tp03_reseau_prive_creation/files_dns2_vm/README.md
	Modifié :         sisr1/tp03_reseau_prive_creation/files_service_vm/README.md
	Modifié :         sisr1/tp04_reseau_prive_administration/auto_nat/README.md
	Modifié :         sisr1/tp04_reseau_prive_administration/scripts_and_files/README.md
	Modifié :         sisr1/tp08_evolution_infrastructure/README.md
	Nouveau fichier : sisr1/tp08_evolution_infrastructure/rules_original/README.md
	Nouveau fichier : sisr1/tp08_evolution_infrastructure/rules_progressive/README.md
2024-05-02 13:12:20 +02:00
67b8643ae6 Merge pull request 'Ajout d'une base pour empêcher les erreurs de saisie avec un "message" explicite.' (#16) from test into main
Reviewed-on: guillaume.emorine/siotp#16
2024-05-02 10:57:37 +02:00
2f0057abf9 Merge branch 'main' into test 2024-05-02 10:57:12 +02:00
578435a8e4 Modifié : automate.sh 2024-05-02 10:56:08 +02:00
b897a9da89 Modifié : README.md 2024-05-02 10:43:34 +02:00
8d198fadda Merge pull request 'Renommage de dossiers pour être encore plus explicite' (#15) from test into main
Reviewed-on: guillaume.emorine/siotp#15
2024-04-29 11:56:40 +02:00
4c164c6aba Renommé : sisr1/tp01-02/README.md -> sisr1/tp01-02_dhcp_dns/README.md
Renommé :         sisr1/tp01-02/TP01_DHCP_routage.odt -> sisr1/tp01-02_dhcp_dns/TP01_DHCP_routage.odt
	Renommé :         sisr1/tp01-02/TP02_bind.odt -> sisr1/tp01-02_dhcp_dns/TP02_bind.odt
	Renommé :         sisr1/tp01-02/files_dhcp_vm/README.md -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/README.md
	Renommé :         sisr1/tp01-02/files_dhcp_vm/dhcpd.conf -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/dhcpd.conf
	Renommé :         sisr1/tp01-02/files_dhcp_vm/hosts -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/hosts
	Renommé :         sisr1/tp01-02/files_dhcp_vm/interfaces -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dhcp_vm/isc-dhcp-server -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/isc-dhcp-server
	Renommé :         sisr1/tp01-02/files_dhcp_vm/nat.sh -> sisr1/tp01-02_dhcp_dns/files_dhcp_vm/nat.sh
	Renommé :         sisr1/tp01-02/files_dns1_vm/README.md -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/README.md
	Renommé :         sisr1/tp01-02/files_dns1_vm/db.sio1lab.lan -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/db.sio1lab.lan
	Renommé :         sisr1/tp01-02/files_dns1_vm/db.sio1lab.lan.rev -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/db.sio1lab.lan.rev
	Renommé :         sisr1/tp01-02/files_dns1_vm/hosts -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/hosts
	Renommé :         sisr1/tp01-02/files_dns1_vm/interfaces -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dns1_vm/named.conf.local -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/named.conf.local
	Renommé :         sisr1/tp01-02/files_dns1_vm/named.conf.options -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/named.conf.options
	Renommé :         sisr1/tp01-02/files_dns1_vm/resolv.conf -> sisr1/tp01-02_dhcp_dns/files_dns1_vm/resolv.conf
	Renommé :         sisr1/tp01-02/files_dns2_vm/README.md -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/README.md
	Renommé :         sisr1/tp01-02/files_dns2_vm/db.sio1lab.lan -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/db.sio1lab.lan
	Renommé :         sisr1/tp01-02/files_dns2_vm/db.sio1lab.lan.rev -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/db.sio1lab.lan.rev
	Renommé :         sisr1/tp01-02/files_dns2_vm/hosts -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/hosts
	Renommé :         sisr1/tp01-02/files_dns2_vm/interfaces -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dns2_vm/named.conf.local -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/named.conf.local
	Renommé :         sisr1/tp01-02/files_dns2_vm/named.conf.options -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/named.conf.options
	Renommé :         sisr1/tp01-02/files_dns2_vm/resolv.conf -> sisr1/tp01-02_dhcp_dns/files_dns2_vm/resolv.conf
	Renommé :         sisr1/tp03/README.md -> sisr1/tp03_reseau_prive_creation/README.md
	Renommé :         sisr1/tp03/TP03_reseau_prive.odt -> sisr1/tp03_reseau_prive_creation/TP03_reseau_prive.odt
	Renommé :         sisr1/tp03/TP03_reseau_prive.pdf -> sisr1/tp03_reseau_prive_creation/TP03_reseau_prive.pdf
	Renommé :         sisr1/tp03/files_admin_vm/README.md -> sisr1/tp03_reseau_prive_creation/files_admin_vm/README.md
	Renommé :         sisr1/tp03/files_admin_vm/hostname -> sisr1/tp03_reseau_prive_creation/files_admin_vm/hostname
	Renommé :         sisr1/tp03/files_admin_vm/hosts -> sisr1/tp03_reseau_prive_creation/files_admin_vm/hosts
	Renommé :         sisr1/tp03/files_admin_vm/interfaces -> sisr1/tp03_reseau_prive_creation/files_admin_vm/interfaces
	Renommé :         sisr1/tp03/files_admin_vm/nat.sh -> sisr1/tp03_reseau_prive_creation/files_admin_vm/nat.sh
	Renommé :         sisr1/tp03/files_admin_vm/resolv.conf -> sisr1/tp03_reseau_prive_creation/files_admin_vm/resolv.conf
	Renommé :         sisr1/tp03/files_dns2_vm/README.md -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/README.md
	Renommé :         sisr1/tp03/files_dns2_vm/db.monlabo.lan -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/db.monlabo.lan
	Renommé :         sisr1/tp03/files_dns2_vm/db.monlabo.lan.rev -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/db.monlabo.lan.rev
	Renommé :         sisr1/tp03/files_dns2_vm/hostname -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/hostname
	Renommé :         sisr1/tp03/files_dns2_vm/hosts -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/hosts
	Renommé :         sisr1/tp03/files_dns2_vm/named.conf -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/named.conf
	Renommé :         sisr1/tp03/files_dns2_vm/named.conf.local -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/named.conf.local
	Renommé :         sisr1/tp03/files_dns2_vm/named.conf.options -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/named.conf.options
	Renommé :         sisr1/tp03/files_dns2_vm/resolv.conf -> sisr1/tp03_reseau_prive_creation/files_dns2_vm/resolv.conf
	Renommé :         sisr1/tp03/files_service_vm/README.md -> sisr1/tp03_reseau_prive_creation/files_service_vm/README.md
	Renommé :         sisr1/tp03/files_service_vm/db.monlabo.lan -> sisr1/tp03_reseau_prive_creation/files_service_vm/db.monlabo.lan
	Renommé :         sisr1/tp03/files_service_vm/db.monlabo.lan.rev -> sisr1/tp03_reseau_prive_creation/files_service_vm/db.monlabo.lan.rev
	Renommé :         sisr1/tp03/files_service_vm/dhclient.conf -> sisr1/tp03_reseau_prive_creation/files_service_vm/dhclient.conf
	Renommé :         sisr1/tp03/files_service_vm/dhcpd.conf -> sisr1/tp03_reseau_prive_creation/files_service_vm/dhcpd.conf
	Renommé :         sisr1/tp03/files_service_vm/hostname -> sisr1/tp03_reseau_prive_creation/files_service_vm/hostname
	Renommé :         sisr1/tp03/files_service_vm/hosts -> sisr1/tp03_reseau_prive_creation/files_service_vm/hosts
	Renommé :         sisr1/tp03/files_service_vm/interfaces -> sisr1/tp03_reseau_prive_creation/files_service_vm/interfaces
	Renommé :         sisr1/tp03/files_service_vm/isc-dhcp-server -> sisr1/tp03_reseau_prive_creation/files_service_vm/isc-dhcp-server
	Renommé :         sisr1/tp03/files_service_vm/named.conf -> sisr1/tp03_reseau_prive_creation/files_service_vm/named.conf
	Renommé :         sisr1/tp03/files_service_vm/named.conf.local -> sisr1/tp03_reseau_prive_creation/files_service_vm/named.conf.local
	Renommé :         sisr1/tp03/files_service_vm/named.conf.options -> sisr1/tp03_reseau_prive_creation/files_service_vm/named.conf.options
	Renommé :         sisr1/tp03/files_service_vm/resolv.conf -> sisr1/tp03_reseau_prive_creation/files_service_vm/resolv.conf
	Renommé :         sisr1/tp04/README.md -> sisr1/tp04_reseau_prive_administration/README.md
	Renommé :         sisr1/tp04/auto_nat/README.md -> sisr1/tp04_reseau_prive_administration/auto_nat/README.md
	Renommé :         sisr1/tp04/auto_nat/nat.service -> sisr1/tp04_reseau_prive_administration/auto_nat/nat.service
	Renommé :         sisr1/tp04/scripts_and_files/README.md -> sisr1/tp04_reseau_prive_administration/scripts_and_files/README.md
	Renommé :         sisr1/tp04/scripts_and_files/Users.csv -> sisr1/tp04_reseau_prive_administration/scripts_and_files/Users.csv
	Renommé :         sisr1/tp04/scripts_and_files/createLogins.sh -> sisr1/tp04_reseau_prive_administration/scripts_and_files/createLogins.sh
	Renommé :         sisr1/tp04/scripts_and_files/createUsers.sh -> sisr1/tp04_reseau_prive_administration/scripts_and_files/createUsers.sh
	Renommé :         sisr1/tp04/scripts_and_files/logins.csv -> sisr1/tp04_reseau_prive_administration/scripts_and_files/logins.csv
	Renommé :         sisr1/tp04/scripts_and_files/remoteCreation.sh -> sisr1/tp04_reseau_prive_administration/scripts_and_files/remoteCreation.sh
	Renommé :         sisr1/tp05/README.md -> sisr1/tp05_samba/README.md
	Renommé :         sisr1/tp05/deployment_samba.sh -> sisr1/tp05_samba/deployment_samba.sh
	Renommé :         sisr1/tp05/smb.conf -> sisr1/tp05_samba/smb.conf
	Renommé :         sisr1/tp06/README.md -> sisr1/tp06_proxy/README.md
	Renommé :         sisr1/tp06/files_admin_vm/README.md -> sisr1/tp06_proxy/files_admin_vm/README.md
	Renommé :         sisr1/tp06/files_admin_vm/dnsfwd.service -> sisr1/tp06_proxy/files_admin_vm/dnsfwd.service
	Renommé :         sisr1/tp06/files_admin_vm/dnsfwd.sh -> sisr1/tp06_proxy/files_admin_vm/dnsfwd.sh
	Renommé :         sisr1/tp06/files_admin_vm/squid_v1.conf -> sisr1/tp06_proxy/files_admin_vm/squid_v1.conf
	Renommé :         sisr1/tp06/files_admin_vm/squid_v2.conf -> sisr1/tp06_proxy/files_admin_vm/squid_v2.conf
	Renommé :         sisr1/tp06/files_admin_vm/squid_v3.conf -> sisr1/tp06_proxy/files_admin_vm/squid_v3.conf
	Renommé :         sisr1/tp06/files_admin_vm/squid_v4.conf -> sisr1/tp06_proxy/files_admin_vm/squid_v4.conf
	Renommé :         sisr1/tp06/files_admin_vm/squid_v5_auth.conf -> sisr1/tp06_proxy/files_admin_vm/squid_v5_auth.conf
	Renommé :         sisr1/tp07/README.md -> sisr1/tp07_firewall/README.md
	Renommé :         sisr1/tp07/files_firewall_vm/README.md -> sisr1/tp07_firewall/files_firewall_vm/README.md
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_1.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_1.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_2.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_2.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_3.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_3.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_4.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_4.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_5.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_5.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_6.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_6.nft
	Renommé :         sisr1/tp07/files_firewall_vm/current_ruleset_partie_7.nft -> sisr1/tp07_firewall/files_firewall_vm/current_ruleset_partie_7.nft
	Renommé :         sisr1/tp07/files_firewall_vm/interfaces -> sisr1/tp07_firewall/files_firewall_vm/interfaces
	Renommé :         sisr1/tp07/files_firewall_vm/proxy.conf -> sisr1/tp07_firewall/files_firewall_vm/proxy.conf
	Renommé :         sisr1/tp07/files_firewall_vm/refresh_firewall.sh -> sisr1/tp07_firewall/files_firewall_vm/refresh_firewall.sh
	Renommé :         sisr1/tp07/files_firewall_vm/resolv.conf -> sisr1/tp07_firewall/files_firewall_vm/resolv.conf
	Renommé :         sisr1/tp07/files_pclan_vm/README.md -> sisr1/tp07_firewall/files_pclan_vm/README.md
	Renommé :         sisr1/tp07/files_pclan_vm/interfaces -> sisr1/tp07_firewall/files_pclan_vm/interfaces
	Renommé :         sisr1/tp07/files_pclan_vm/resolv.conf -> sisr1/tp07_firewall/files_pclan_vm/resolv.conf
	Renommé :         sisr1/tp07/files_pcnet_vm/README.md -> sisr1/tp07_firewall/files_pcnet_vm/README.md
	Renommé :         sisr1/tp07/files_pcnet_vm/interfaces -> sisr1/tp07_firewall/files_pcnet_vm/interfaces
	Renommé :         sisr1/tp07/files_pcnet_vm/resolv.conf -> sisr1/tp07_firewall/files_pcnet_vm/resolv.conf
	Renommé :         sisr1/tp07/files_srvweb_vm/README.md -> sisr1/tp07_firewall/files_srvweb_vm/README.md
	Renommé :         sisr1/tp07/files_srvweb_vm/interfaces -> sisr1/tp07_firewall/files_srvweb_vm/interfaces
	Renommé :         sisr1/tp07/files_srvweb_vm/resolv.conf -> sisr1/tp07_firewall/files_srvweb_vm/resolv.conf
	Renommé :         sisr1/tp08/README.md -> sisr1/tp08_evolution_infrastructure/README.md
	Renommé :         sisr1/tp08/rules_original/firewall_compiled.txt -> sisr1/tp08_evolution_infrastructure/rules_original/firewall_compiled.txt
	Renommé :         sisr1/tp08/rules_progressive/firewall_1-2 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_1-2
	Renommé :         sisr1/tp08/rules_progressive/firewall_3 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_3
	Renommé :         sisr1/tp08/rules_progressive/firewall_4 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_4
	Renommé :         sisr1/tp08/rules_progressive/firewall_5 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_5
	Renommé :         sisr1/tp08/rules_progressive/firewall_6 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_6
	Renommé :         sisr1/tp08/rules_progressive/firewall_7 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_7
	Renommé :         sisr1/tp08/rules_progressive/firewall_8-9 -> sisr1/tp08_evolution_infrastructure/rules_progressive/firewall_8-9
2024-04-29 11:52:55 +02:00
af69bda72e Merge pull request 'Renommage de dossiers pour être plus explicite' (#14) from test into main
Reviewed-on: guillaume.emorine/siotp#14
2024-04-29 11:49:55 +02:00
b5be5e39ee Renommé : sisr1/tp03/files_admin/README.md -> sisr1/tp03/files_admin_vm/README.md
Renommé :         sisr1/tp03/files_admin/hostname -> sisr1/tp03/files_admin_vm/hostname
	Renommé :         sisr1/tp03/files_admin/hosts -> sisr1/tp03/files_admin_vm/hosts
	Renommé :         sisr1/tp03/files_admin/interfaces -> sisr1/tp03/files_admin_vm/interfaces
	Renommé :         sisr1/tp03/files_admin/nat.sh -> sisr1/tp03/files_admin_vm/nat.sh
	Renommé :         sisr1/tp03/files_admin/resolv.conf -> sisr1/tp03/files_admin_vm/resolv.conf
	Renommé :         sisr1/tp03/files_dns2/README.md -> sisr1/tp03/files_dns2_vm/README.md
	Renommé :         sisr1/tp03/files_dns2/db.monlabo.lan -> sisr1/tp03/files_dns2_vm/db.monlabo.lan
	Renommé :         sisr1/tp03/files_dns2/db.monlabo.lan.rev -> sisr1/tp03/files_dns2_vm/db.monlabo.lan.rev
	Renommé :         sisr1/tp03/files_dns2/hostname -> sisr1/tp03/files_dns2_vm/hostname
	Renommé :         sisr1/tp03/files_dns2/hosts -> sisr1/tp03/files_dns2_vm/hosts
	Renommé :         sisr1/tp03/files_dns2/named.conf -> sisr1/tp03/files_dns2_vm/named.conf
	Renommé :         sisr1/tp03/files_dns2/named.conf.local -> sisr1/tp03/files_dns2_vm/named.conf.local
	Renommé :         sisr1/tp03/files_dns2/named.conf.options -> sisr1/tp03/files_dns2_vm/named.conf.options
	Renommé :         sisr1/tp03/files_dns2/resolv.conf -> sisr1/tp03/files_dns2_vm/resolv.conf
	Renommé :         sisr1/tp03/files_service/README.md -> sisr1/tp03/files_service_vm/README.md
	Renommé :         sisr1/tp03/files_service/db.monlabo.lan -> sisr1/tp03/files_service_vm/db.monlabo.lan
	Renommé :         sisr1/tp03/files_service/db.monlabo.lan.rev -> sisr1/tp03/files_service_vm/db.monlabo.lan.rev
	Renommé :         sisr1/tp03/files_service/dhclient.conf -> sisr1/tp03/files_service_vm/dhclient.conf
	Renommé :         sisr1/tp03/files_service/dhcpd.conf -> sisr1/tp03/files_service_vm/dhcpd.conf
	Renommé :         sisr1/tp03/files_service/hostname -> sisr1/tp03/files_service_vm/hostname
	Renommé :         sisr1/tp03/files_service/hosts -> sisr1/tp03/files_service_vm/hosts
	Renommé :         sisr1/tp03/files_service/interfaces -> sisr1/tp03/files_service_vm/interfaces
	Renommé :         sisr1/tp03/files_service/isc-dhcp-server -> sisr1/tp03/files_service_vm/isc-dhcp-server
	Renommé :         sisr1/tp03/files_service/named.conf -> sisr1/tp03/files_service_vm/named.conf
	Renommé :         sisr1/tp03/files_service/named.conf.local -> sisr1/tp03/files_service_vm/named.conf.local
	Renommé :         sisr1/tp03/files_service/named.conf.options -> sisr1/tp03/files_service_vm/named.conf.options
	Renommé :         sisr1/tp03/files_service/resolv.conf -> sisr1/tp03/files_service_vm/resolv.conf
	Renommé :         sisr1/tp06/files_admin/README.md -> sisr1/tp06/files_admin_vm/README.md
	Renommé :         sisr1/tp06/files_admin/dnsfwd.service -> sisr1/tp06/files_admin_vm/dnsfwd.service
	Renommé :         sisr1/tp06/files_admin/dnsfwd.sh -> sisr1/tp06/files_admin_vm/dnsfwd.sh
	Renommé :         sisr1/tp06/files_admin/squid_v1.conf -> sisr1/tp06/files_admin_vm/squid_v1.conf
	Renommé :         sisr1/tp06/files_admin/squid_v2.conf -> sisr1/tp06/files_admin_vm/squid_v2.conf
	Renommé :         sisr1/tp06/files_admin/squid_v3.conf -> sisr1/tp06/files_admin_vm/squid_v3.conf
	Renommé :         sisr1/tp06/files_admin/squid_v4.conf -> sisr1/tp06/files_admin_vm/squid_v4.conf
	Renommé :         sisr1/tp06/files_admin/squid_v5_auth.conf -> sisr1/tp06/files_admin_vm/squid_v5_auth.conf
	Renommé :         sisr1/tp07/files_firewall/README.md -> sisr1/tp07/files_firewall_vm/README.md
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_1.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_1.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_2.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_2.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_3.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_3.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_4.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_4.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_5.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_5.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_6.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_6.nft
	Renommé :         sisr1/tp07/files_firewall/current_ruleset_partie_7.nft -> sisr1/tp07/files_firewall_vm/current_ruleset_partie_7.nft
	Renommé :         sisr1/tp07/files_firewall/interfaces -> sisr1/tp07/files_firewall_vm/interfaces
	Renommé :         sisr1/tp07/files_firewall/proxy.conf -> sisr1/tp07/files_firewall_vm/proxy.conf
	Renommé :         sisr1/tp07/files_firewall/refresh_firewall.sh -> sisr1/tp07/files_firewall_vm/refresh_firewall.sh
	Renommé :         sisr1/tp07/files_firewall/resolv.conf -> sisr1/tp07/files_firewall_vm/resolv.conf
	Renommé :         sisr1/tp07/files_pclan/README.md -> sisr1/tp07/files_pclan_vm/README.md
	Renommé :         sisr1/tp07/files_pclan/interfaces -> sisr1/tp07/files_pclan_vm/interfaces
	Renommé :         sisr1/tp07/files_pclan/resolv.conf -> sisr1/tp07/files_pclan_vm/resolv.conf
	Renommé :         sisr1/tp07/files_pcnet/README.md -> sisr1/tp07/files_pcnet_vm/README.md
	Renommé :         sisr1/tp07/files_pcnet/interfaces -> sisr1/tp07/files_pcnet_vm/interfaces
	Renommé :         sisr1/tp07/files_pcnet/resolv.conf -> sisr1/tp07/files_pcnet_vm/resolv.conf
	Renommé :         sisr1/tp07/files_srvweb/README.md -> sisr1/tp07/files_srvweb_vm/README.md
	Renommé :         sisr1/tp07/files_srvweb/interfaces -> sisr1/tp07/files_srvweb_vm/interfaces
	Renommé :         sisr1/tp07/files_srvweb/resolv.conf -> sisr1/tp07/files_srvweb_vm/resolv.conf
2024-04-29 11:47:11 +02:00
9a5a319bbe Renommé : sisr1/tp01-02/files_dhcp/README.md -> sisr1/tp01-02/files_dhcp_vm/README.md
Renommé :         sisr1/tp01-02/files_dhcp/dhcpd.conf -> sisr1/tp01-02/files_dhcp_vm/dhcpd.conf
	Renommé :         sisr1/tp01-02/files_dhcp/hosts -> sisr1/tp01-02/files_dhcp_vm/hosts
	Renommé :         sisr1/tp01-02/files_dhcp/interfaces -> sisr1/tp01-02/files_dhcp_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dhcp/isc-dhcp-server -> sisr1/tp01-02/files_dhcp_vm/isc-dhcp-server
	Renommé :         sisr1/tp01-02/files_dhcp/nat.sh -> sisr1/tp01-02/files_dhcp_vm/nat.sh
	Renommé :         sisr1/tp01-02/files_dns1/README.md -> sisr1/tp01-02/files_dns1_vm/README.md
	Renommé :         sisr1/tp01-02/files_dns1/db.sio1lab.lan -> sisr1/tp01-02/files_dns1_vm/db.sio1lab.lan
	Renommé :         sisr1/tp01-02/files_dns1/db.sio1lab.lan.rev -> sisr1/tp01-02/files_dns1_vm/db.sio1lab.lan.rev
	Renommé :         sisr1/tp01-02/files_dns1/hosts -> sisr1/tp01-02/files_dns1_vm/hosts
	Renommé :         sisr1/tp01-02/files_dns1/interfaces -> sisr1/tp01-02/files_dns1_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dns1/named.conf.local -> sisr1/tp01-02/files_dns1_vm/named.conf.local
	Renommé :         sisr1/tp01-02/files_dns1/named.conf.options -> sisr1/tp01-02/files_dns1_vm/named.conf.options
	Renommé :         sisr1/tp01-02/files_dns1/resolv.conf -> sisr1/tp01-02/files_dns1_vm/resolv.conf
	Renommé :         sisr1/tp01-02/files_dns2/README.md -> sisr1/tp01-02/files_dns2_vm/README.md
	Renommé :         sisr1/tp01-02/files_dns2/db.sio1lab.lan -> sisr1/tp01-02/files_dns2_vm/db.sio1lab.lan
	Renommé :         sisr1/tp01-02/files_dns2/db.sio1lab.lan.rev -> sisr1/tp01-02/files_dns2_vm/db.sio1lab.lan.rev
	Renommé :         sisr1/tp01-02/files_dns2/hosts -> sisr1/tp01-02/files_dns2_vm/hosts
	Renommé :         sisr1/tp01-02/files_dns2/interfaces -> sisr1/tp01-02/files_dns2_vm/interfaces
	Renommé :         sisr1/tp01-02/files_dns2/named.conf.local -> sisr1/tp01-02/files_dns2_vm/named.conf.local
	Renommé :         sisr1/tp01-02/files_dns2/named.conf.options -> sisr1/tp01-02/files_dns2_vm/named.conf.options
	Renommé :         sisr1/tp01-02/files_dns2/resolv.conf -> sisr1/tp01-02/files_dns2_vm/resolv.conf
2024-04-29 11:44:39 +02:00
7749ca1cff Merge pull request 'Modifié : sisr1/tp08/firewall_regles.txt' (#13) from test into main
Reviewed-on: guillaume.emorine/siotp#13
2024-04-29 11:40:52 +02:00
66700829d3 Renommé : sisr1/tp08/Original rules/firewall_compiled.txt -> sisr1/tp08/rules_original/firewall_compiled.txt
Renommé :         sisr1/tp08/Progressive Rules/firewall_1-2 -> sisr1/tp08/rules_progressive/firewall_1-2
	Renommé :         sisr1/tp08/Progressive Rules/firewall_3 -> sisr1/tp08/rules_progressive/firewall_3
	Renommé :         sisr1/tp08/Progressive Rules/firewall_4 -> sisr1/tp08/rules_progressive/firewall_4
	Renommé :         sisr1/tp08/Progressive Rules/firewall_5 -> sisr1/tp08/rules_progressive/firewall_5
	Renommé :         sisr1/tp08/Progressive Rules/firewall_6 -> sisr1/tp08/rules_progressive/firewall_6
	Renommé :         sisr1/tp08/Progressive Rules/firewall_7 -> sisr1/tp08/rules_progressive/firewall_7
	Renommé :         sisr1/tp08/Progressive Rules/firewall_8-9 -> sisr1/tp08/rules_progressive/firewall_8-9
2024-04-29 11:38:54 +02:00
99e87d65c6 Renommé : sisr1/tp08/firewall_regles.txt -> sisr1/tp08/Original rules/firewall_compiled.txt
Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_1-2
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_3
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_4
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_5
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_6
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_7
	Nouveau fichier : sisr1/tp08/Progressive Rules/firewall_8-9
2024-04-29 11:37:27 +02:00
818cdead86 Modifié : sisr1/tp08/firewall_regles.txt 2024-04-29 11:22:07 +02:00
85c9291eba Merge pull request 'Modifié : README.md' (#12) from test into main
Reviewed-on: guillaume.emorine/siotp#12
2024-04-29 10:37:56 +02:00
a81c373e20 Modifié : README.md 2024-04-29 10:36:57 +02:00
123181d3c0 Merge pull request 'Modifications: automate.sh' (#11) from test into main
Reviewed-on: guillaume.emorine/siotp#11
2024-04-29 10:35:03 +02:00
f9f34d53c8 Modifié : automate.sh 2024-04-29 10:33:55 +02:00
5a72d2b706 Modifié : automate.sh 2024-04-29 10:32:10 +02:00
b561e4241c Merge pull request 'Modifié : automate.sh' (#10) from test into main
Reviewed-on: guillaume.emorine/siotp#10
2024-04-29 09:52:17 +02:00
48930ff95e Modifié : automate.sh 2024-04-29 09:51:20 +02:00
5e4baa9313 Merge pull request 'Modifié : automate.sh' (#9) from test into main
Reviewed-on: guillaume.emorine/siotp#9
2024-04-29 09:50:37 +02:00
a9cfcb8c1c Modifié : automate.sh 2024-04-29 09:48:53 +02:00
28f9998223 Modifié : sisr1/tp08/firewall_regles.txt 2024-04-29 09:38:46 +02:00
3297812ab9 Supprimé : sisr1/tp08/TP08_evo_infra.odt
Supprimé :        sisr1/tp08/TP08_evo_infra.pdf
	Modifié :         sisr1/tp08/firewall_regles.txt
2024-04-29 09:20:06 +02:00
c678d27175 Modifié : automate.sh
Modifié :         sisr1/README.md
2024-04-29 08:59:32 +02:00
3279125ac8 Modifié : sisr1/README.md 2024-04-29 08:37:43 +02:00
4d347990f4 Merge pull request 'Modifié : automate.sh' (#3) from tests into main
Reviewed-on: guillaume.emorine/siotp#3
2024-04-12 09:49:54 +02:00
f0033dc781 Modifié : automate.sh 2024-04-12 09:47:37 +02:00
9f2dd138a8 Merge pull request 'tests' (#2) from tests into main
Reviewed-on: guillaume.emorine/siotp#2
2024-04-12 09:37:16 +02:00
dfd0535b9e Modifié : automate.sh 2024-04-12 09:36:38 +02:00
64fa760432 Modifié : automate.sh 2024-04-12 09:24:43 +02:00
8e7ec6a8cd Modifié : sisr1/tp08/firewall_regles.txt 2024-04-12 09:20:45 +02:00
3a569735e2 Merge pull request 'Modifié : automate.sh' (#1) from tests into main
Reviewed-on: guillaume.emorine/siotp#1
2024-04-12 08:48:14 +02:00
37eeae75ee Modifié : automate.sh 2024-04-12 08:44:02 +02:00
0da0615e76 Modifié : sisr1/tp08/firewall_regles.txt 2024-04-11 14:53:35 +02:00
397634652c Modifié : automate.sh
Modifié :         sisr1/tp08/firewall_regles.txt
2024-04-11 14:45:38 +02:00
27c4ee98ce Modifié : sisr1/tp08/TP08_evo_infra.odt
Modifié :         sisr1/tp08/TP08_evo_infra.pdf
	Modifié :         sisr1/tp08/firewall_regles.txt
2024-04-11 14:41:53 +02:00
140 changed files with 1020 additions and 135 deletions

View File

@ -1 +1,5 @@
Dépôt de fichiers personnels provenant de machines virtuelles utilisées en TP.
Dépôt de fichiers personnels provenant de machines virtuelles utilisées en TP.
Ce Gitea contient aussi un script d'automatisation du processus de push et de pull, adaptés aux deux branches.
Dépôt anciennement privé, devenu public le 16 Septembre 2024.

View File

@ -2,20 +2,61 @@
# Script utilisé pour "automatiser" (raccourcir) le processus de pull, d'ajout, de commit et de push pour le répositoire Gitea personnel.
# Ajout de messages et de délais pour mieux se repérer et se situer dans le processus.
# Ajout d'un système de choix
# Ajout d'un export de proxy HTTP/HTTPS automatique vers ceux du lycée pour la machine en salle 214.
# Ajout d'un système de gestion d'erreur très basique pour éviter qu'un push/un pull se produise en cas de réponses incorrectes.
echo "Voulez-vous récupérer les fichiers à jour ou effectuer un push ? [1 = Pull, 2 = Push]"
export http_proxy="http://10.121.38.1:8080/"
export https_proxy="http://10.121.38.1:8080/"
echo "Voulez-vous récupérer les fichiers du dépôt ou effectuer un push sur le dépôt ? [1 = Pull, 2 = Push]"
read answer
if [ $answer == 1 ] ; then
echo "Récupération des fichiers à jour..."
git pull
echo "Quelle branche est concernée ? [1 = main, 2 = test]"
read branch
if [ $branch == 1 ] ; then
if [ $answer == 1 ] ; then
git checkout main
echo "Récupération des fichiers à jour, branche main..."
git pull -q origin main
else
git checkout main
echo "Ajout des fichiers au Gitea..."
sleep 1
git add .
echo "Commit en cours..."
sleep 1
git commit
echo "Entrez la version du tag:"
read tag
git tag $tag
echo "Push des fichiers au Gitea, branche main..."
sleep 1
git push -q origin main --tag
fi
elif [ $branch == 2 ] ; then
if [ $answer == 1 ] ; then
git checkout test
echo "Récupération des fichiers à jour dans la branche test..."
git pull -q origin test
else
git checkout test
echo "Ajout des fichiers au Gitea, branche test..."
sleep 1
git add .
echo "Commit en cours..."
sleep 1
git commit
echo "Entrez la version du tag:"
read tag
git tag $tag
echo "Push des fichiers au Gitea, branche test..."
sleep 1
git push -q origin test --tag
fi
else
echo "Ajout des fichiers au Gitea..."
sleep 2
git add .
echo "Commit en cours..."
sleep 2
git commit
echo "Push des fichiers au Gitea..."
sleep 2
git push
fi
echo "Choisissez une branche et une option valide. Veuillez relancer le script"
fi

2
bts_annee_2/README.md Normal file
View File

@ -0,0 +1,2 @@
Dépôt de seconde année de BTS.
Divisé en deux, un côté SISR, un côté Cybersécurité.

View File

@ -0,0 +1,2 @@
Dépôt de seconde année de Cybersécurité.
Chaque dossier porte le numéro de la séance associée.

View File

@ -0,0 +1,2 @@
Dépôt de seconde année de SISR.
Chaque dossier porte le numéro de la séance associée.

View File

@ -0,0 +1 @@
Fichiers de configuration de la cinquième séance de SISR, sur PXE et le Netboot.

View File

@ -0,0 +1,112 @@
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
#option domain-name "example.org";
option domain-name-servers 10.121.38.7, 10.121.38.8;
default-lease-time 100000;
max-lease-time 7200000;
allow booting;
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.20;
option broadcast-address 192.168.1.255;
option routers 192.168.1.100;
next-server 192.168.1.100;
filename "pxelinux.0";
}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.
#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
# range 10.5.5.26 10.5.5.30;
# option domain-name-servers ns1.internal.example.org;
# option domain-name "internal.example.org";
# option routers 10.5.5.1;
# option broadcast-address 10.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
#}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.example.com";
#}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.example.com;
#}
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.
#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}
#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}

View File

@ -0,0 +1,24 @@
#!/usr/sbin/nft -f
flush ruleset
table inet filter {
chain input {
type filter hook input priority filter;
}
chain forward {
type filter hook forward priority filter;
}
chain output {
type filter hook output priority filter;
}
}
table inet nat {
chain prerouting {
type nat hook prerouting priority 0;
}
chain postrouting {
type nat hook postrouting priority 100;
oifname "enp0s3" masquerade
}
}

View File

@ -0,0 +1,2 @@
Vagrantfiles de la troisième séance en SISR, et scripts pour le heartbeat.
Les dossiers nominaux sont les machines du heartbeat.

View File

@ -0,0 +1,49 @@
#!/bin/bash
# les bases
# noeud hb1 : 192.168.0.101
# noeud hb2 : 192.168.0.102
# addr virt. : 192.168.0.103
sed -i 's/bookworm/hb1/g' /etc/host{s,name}
apt update
apt install -y heartbeat apache2 net-tools
systemctl disable apache2
cat <<EOT> /etc/network/interfaces.d/enp0s3
allow-hotplug enp0s3
iface enp0s3 inet static
address 192.168.0.101/24 # a adapter pour hb2
EOT
cat <<EOT> /etc/network/interfaces.d/enp0s8
allow-hotplug enp0s8
iface enp0s8 inet static
address 10.0.0.1/24 # a adapter pour hb2
EOT
cd /usr/share/doc/heartbeat
gunzip *.gz
cp ha.cf /etc/ha.d
cp haresources /etc/ha.d
cp authkeys /etc/ha.d
cd /etc/ha.d
echo "192.168.0.102 hb2" >> /etc/hosts # a adapter pour hb2
cat <<EOT >> /etc/ha.d/ha.cf
bcast enp0s8
node hb1
node hb2
pacemaker off
EOT
# echo " hb1 192.168.0.103 apache2" >> /etc/ha.d/haresources pou Debian buster
echo " hb1 192.168.0.103/24/enp0s3 apache2" >> /etc/ha.d/haresources
cat <<EOT >> /etc/ha.d/authkeys
auth 1
1 crc
EOT
chmod 600 /etc/ha.d/authkeys
echo hb1 > /var/www/html/index.html # a adapter pour hb2
#

View File

@ -0,0 +1,49 @@
#!/bin/bash
# les bases
# noeud hb1 : 192.168.0.101
# noeud hb2 : 192.168.0.102
# addr virt. : 192.168.0.103
sed -i 's/bookworm/hb2/g' /etc/host{s,name}
apt update
apt install -y heartbeat apache2 net-tools
systemctl disable apache2
cat <<EOT> /etc/network/interfaces.d/enp0s3
allow-hotplug enp0s3
iface enp0s3 inet static
address 192.168.0.102/24 # a adapter pour hb2
EOT
cat <<EOT> /etc/network/interfaces.d/enp0s8
allow-hotplug enp0s8
iface enp0s8 inet static
address 10.0.0.2/24 # a adapter pour hb2
EOT
cd /usr/share/doc/heartbeat
gunzip *.gz
cp ha.cf /etc/ha.d
cp haresources /etc/ha.d
cp authkeys /etc/ha.d
cd /etc/ha.d
echo "192.168.0.101 hb1" >> /etc/hosts # a adapter pour hb2
cat <<EOT >> /etc/ha.d/ha.cf
bcast enp0s8
node hb1
node hb2
pacemaker off
EOT
# echo " hb1 192.168.0.103 apache2" >> /etc/ha.d/haresources pou Debian buster
echo " hb1 192.168.0.103/24/enp0s3 apache2" >> /etc/ha.d/haresources
cat <<EOT >> /etc/ha.d/authkeys
auth 1
1 crc
EOT
chmod 600 /etc/ha.d/authkeys
echo hb2 > /var/www/html/index.html # a adapter pour hb2
#

View File

@ -0,0 +1,79 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "debian/bookworm64"
config.vm.hostname = "bookworm"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
# via 127.0.0.1 to disable public access
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
# Disable the default share of the current code directory. Doing this
# provides improved isolation between the vagrant box and your host
# by making sure your Vagrantfile isn't accessable to the vagrant box.
# If you use this you may want to enable additional shared subfolders as
# shown above.
# config.vm.synced_folder ".", "/vagrant", disabled: true
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.
# Enable provisioning with a shell script. Additional provisioners such as
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
timedatectl set-timezone Europe/Paris
apt-get update
apt-get install -y vim wget curl neovim mc
SHELL
end

View File

@ -0,0 +1,28 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: "apt-get update" # execute pour chacune des machines
config.vm.define "srv1" do |srv1|#VM No'1
srv1.vm.box = "debian/bookworm64" #Setting machine type
srv1.vm.hostname = "srv1" #Setting machine type
srv1.vm.network "public_network", ip: "192.168.0.111"#Set static IP
srv1.vm.provision "shell", inline: <<-SHELL
timedatectl set-timezone Europe/Paris
apt-get install -y wget curl vim unzip apache2
echo "192.168.0.112 srv2" >> /etc/hosts
SHELL
end
config.vm.define "srv2" do |srv2|# VM No2
srv2.vm.box = "debian/bookworm64" #Setting machine type
srv2.vm.hostname = "srv2" #Setting machine type
srv2.vm.network "public_network", ip: "192.168.0.112" #Set static IP
srv2.vm.provision "shell", inline: <<-SHELL
timedatectl set-timezone Europe/Paris
apt-get install -y wget curl vim unzip apache2
echo "192.168.0.111 srv1" >> /etc/hosts
SHELL
end
end

View File

@ -0,0 +1 @@
Dossier avec les fichiers provenant de la machine LVS pour l'équilibrage des charges.

View File

@ -0,0 +1,44 @@
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
# Default SSL material locations
ca-base /etc/ssl/certs
crt-base /etc/ssl/private
# See: https://ssl-config.mozilla.org/#server=haproxy&server-version=2.0.3&config=intermediate
ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
ssl-default-bind-ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
errorfile 400 /etc/haproxy/errors/400.http
errorfile 403 /etc/haproxy/errors/403.http
errorfile 408 /etc/haproxy/errors/408.http
errorfile 500 /etc/haproxy/errors/500.http
errorfile 502 /etc/haproxy/errors/502.http
errorfile 503 /etc/haproxy/errors/503.http
errorfile 504 /etc/haproxy/errors/504.http
# conf perso
frontend front_webservers
bind *:80
default_backend backend_webservers
option forwardfor
backend backend_webservers
balance roundrobin
server web1-ge 172.16.1.1:80 check
server web2-ge 172.16.1.2:80 check

View File

@ -0,0 +1,5 @@
#!/bin/bash
ipvsadm -A -t 192.168.0.150:80 -s rr
ipvsadm -a -t 192.168.0.150:80 -r 172.16.1.1:80 -m
ipvsadm -a -t 192.168.0.150:80 -r 172.16.1.2:80 -m
ipvsadm -L

View File

@ -1 +1,17 @@
Chaque dossier porte le nom du TP associé.
Chaque dossier porte le numéro et la description du TP associé.
01: Mise en oeuvre d'une infrastructure DHCP et routage.
02: Paramétrage d'un serveur DNS.
03: Création d'un réseau privé à administrer.
04: Administration d'un réseau privé.
05: Création d'un partage de fichiers Samba.
06: Paramétrage d'un serveur proxy.
07: Firewall avec netfilter et nftables.
08: Modification d'une infrastructure.

View File

@ -1 +0,0 @@
Files for the srv-dhcp-ge Virtual Machine, from the FIRST and SECOND TPs.

View File

@ -1 +0,0 @@
Files for the srv-dns1-ge Virtual Machine, from the FIRST and SECOND TPs.

View File

@ -1 +0,0 @@
Files for the srv-dns2-ge Virtual Machine, from the FIRST AND SECOND TPs.

View File

@ -0,0 +1 @@
Fichiers du premier et deuxième TP pour la machine srv-dhcp-ge.

View File

@ -0,0 +1,18 @@
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="enp0s8"
INTERFACESv6=""

View File

@ -0,0 +1 @@
Fichiers du premier et deuxième TP pour la machine srv-dns1-ge.

View File

@ -0,0 +1 @@
Fichiers du premier et deuxième TP pour la machine srv-dns2-ge.

View File

@ -1 +0,0 @@
Files for the srv-admin-ge Virtual Machine.

View File

@ -1 +0,0 @@
Files for the srv-dns2-ge Virtual Machine.

View File

@ -1 +0,0 @@
Files for the srv-dns1-ge Virtual Machine.

View File

@ -0,0 +1 @@
Fichiers de la machine srv-admin-ge.

View File

@ -0,0 +1 @@
Fichiers pour la machine srv-dns2-ge.

View File

@ -0,0 +1 @@
Fichiers de la machine srv-service-ge.

View File

@ -1,2 +0,0 @@
Copy to /etc/systemd/system.
This file is a service to automate the NAT on the Virtual Machine.

View File

@ -1 +0,0 @@
This folder holds every single file and script done in the FOURTH TP.

View File

@ -0,0 +1,2 @@
Copy to /etc/systemd/system.
C'est un service systemd pour automatiser la NAT.

View File

@ -0,0 +1 @@
Ce dossier content les fichiers et les scripts.

Some files were not shown because too many files have changed in this diff Show More