Avatar of DanJourno
DanJourno
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Samba and Fail2Ban

Hi,

We have samba open on a public IP because it needs to be accessed from another machine in a different data centre.
Samba's settings limit the access by IP address so we are safe.

However we are seeing failed attempts:-
  Denied connection from  (46.36.109.89)
[2011/10/09 19:07:13, 1] smbd/process.c:process_smb(1076)
  Connection denied from 46.36.109.89
[2011/10/09 19:07:15, 0] lib/access.c:check_access(327)
  Denied connection from  (46.36.109.89)
[2011/10/09 19:07:15, 1] smbd/process.c:process_smb(1076)
  Connection denied from 46.36.109.89
[2011/10/09 19:07:15, 0] lib/access.c:check_access(327)
  Denied connection from  (46.36.109.89)
[2011/10/09 19:07:15, 1] smbd/process.c:process_smb(1076)
  Connection denied from 46.36.109.89

To reduce load on the server, I'm setting up fail2ban to block these attempts but can't find a Fail2Ban example for Samba.

Can anyone assist?

Thanks
Dan
LinuxLinux Networking

Avatar of undefined
Last Comment
DanJourno

8/22/2022 - Mon