mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	conf added
This commit is contained in:
		
							
								
								
									
										14
									
								
								roles/fail2ban/files/jail.d/bad-auth.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								roles/fail2ban/files/jail.d/bad-auth.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| [bad-auth] | ||||
| enabled = true | ||||
| backend = systemd | ||||
| filter = bad-auth | ||||
| journalmatch='CONTAINER_TAG=mailu-front' | ||||
| bantime = 36000000 | ||||
| findtime = 36000 | ||||
| maxretry = 2 | ||||
| sender = fail2ban@sectorq.eu | ||||
| destemail = jaydee@sectorq.eu | ||||
| ignoreip = 192.168.77.0/24 87.197.162.37 | ||||
| #action = %(action_mwl)s | ||||
| action =  banan | ||||
|           %(action_mwl)s | ||||
							
								
								
									
										15
									
								
								roles/fail2ban/files/jail.d/nextcloud.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								roles/fail2ban/files/jail.d/nextcloud.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| [nextcloud] | ||||
| backend = auto | ||||
| enabled = true | ||||
| port = 80,443 | ||||
| protocol = tcp | ||||
| filter = nextcloud | ||||
| bantime = 36000000 | ||||
| findtime = 36000 | ||||
| maxretry = 2 | ||||
| ignoreip = 192.168.77.0/24 87.197.162.37 | ||||
| sender = fail2ban@sectorq.eu | ||||
| destemail = jaydee@sectorq.eu | ||||
| logpath = /share/docker_data/nextcloud/app/data/nextcloud.log | ||||
| action =  banan | ||||
|           %(action_mwl)s | ||||
							
								
								
									
										17
									
								
								roles/fail2ban/files/jail.d/sshd.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								roles/fail2ban/files/jail.d/sshd.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| [sshd] | ||||
|  | ||||
| # To use more aggressive sshd modes set filter parameter "mode" in jail.local: | ||||
| # normal (default), ddos, extra or aggressive (combines all). | ||||
| # See "tests/files/logs/sshd" or "filter.d/sshd.conf" for usage example and details. | ||||
| #mode   = normal | ||||
| enabled = true | ||||
| port    = ssh | ||||
| bantime = 36000000 | ||||
| findtime = 36000 | ||||
| maxretry = 2 | ||||
| sender = fail2ban@sectorq.eu | ||||
| destemail = jaydee@sectorq.eu | ||||
| ignoreip = 192.168.77.0/24 87.197.162.37 | ||||
| backend = systemd | ||||
| action = %(action_mwl)s | ||||
|         banan | ||||
		Reference in New Issue
	
	Block a user
	 ladislav.dusa
					ladislav.dusa