[Samba] Samba and UFW

Reindl Harald h.reindl at thelounge.net
Tue Jan 29 15:43:36 UTC 2019



Am 29.01.19 um 16:39 schrieb Marty via samba:
> Here is the ufw.log after enabling logging medium and trying to connect to
> the windows net. Unfortunately the web Microsoft page is in German. I think
> it says window uses smb1 syntax.
> 
> Jan 27 15:11:09 martin-RB042AV-ABA-a1410y kernel: [  887.241685] [UFW BLOCK]
> IN=enp2s5 OUT= MAC=00:19:21:a2:11:5e:74:27:ea:ab:1e:e0:08:00
> SRC=192.168.254.15 DST=192.168.254.39 LEN=90 TOS=0x00 PREC=0x00 TTL=128
> ID=10646 PROTO=UDP SPT=137 DPT=52944 LEN=70 
> 
> Jan 27 15:11:21 martin-RB042AV-ABA-a1410y kernel: [  899.315443] [UFW BLOCK]
> IN=enp2s5 OUT= MAC=00:19:21:a2:11:5e:74:27:ea:ab:1e:e0:08:00
> SRC=192.168.254.15 DST=192.168.254.39 LEN=90 TOS=0x00 PREC=0x00 TTL=128
> ID=10652 PROTO=UDP SPT=137 DPT=58971 LEN=70 
given that the source port is always 137 and the destijnation port
random it looks like your firewall just hasn't proper connection
tracking to allow repsonse packets aka RELATED,ESTABLISHED



More information about the samba mailing list