[FUG-BR] ipfw barrando Samba/Winbind
Celso Viana
celso.vianna em gmail.com
Dom Abr 2 09:40:29 BRT 2006
As portas do SaMBa são 137, 138, 139 e 445.
Celso
2006/4/1, Flávio Barros <flaviobarros.gyn em pop.com.br>:
> Senhores, ao startar o samba aparece a mensagem de erro abaixo. Se eu
> colocar ipfw add 010 allow all from any to any, funciona sem probemas.
>
> As regras IPFW:
> iflan="xl0"
> ifwan="rl0"
> cmd="ipfw -q add "
> ipfw="/sbin/ipfw"
> ks="keep-state"
> lan="172.21.5.0/24"
>
> $cmd allow all from any to 172.21.5.255 via $iflan $ks
> $cmd allow all from any to 172.21.255.255 via $iflan $ks
> $cmd allow all from any to any 137 via $iflan $ks
>
>
> ERROS NO MESSAGES
>
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 30 11:00:13 jacuma nmbd[1496]: Packet send failed to
> 172.21.255.255(137) ERRNO=Permi
> ssion denied
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> nmbd/nmbd_packets.c:send_netbi
> os_packet(163)
> Mar 30 11:00:13 jacuma nmbd[1496]: send_netbios_packet: send_packet()
> to IP 172.21.255.2
> 55 port 137 failed
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> nmbd/nmbd_nameregister.c:regis
> ter_name(512)
> Mar 30 11:00:13 jacuma nmbd[1496]: register_name: Failed to send
> packet trying to regist
> er name JACUMA<20>
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 30 11:00:13 jacuma nmbd[1496]: Packet send failed to
> 172.21.255.255(137) ERRNO=Permi
> ssion denied
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> nmbd/nmbd_packets.c:send_netbi
> os_packet(163)
> Mar 30 11:00:13 jacuma nmbd[1496]: send_netbios_packet: send_packet()
> to IP 172.21.255.2
> 55
> 137 failed
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> nmbd/nmbd_nameregister.c:regis
> ter_name(512)
> Mar 30 11:00:13 jacuma nmbd[1496]: register_name: Failed to send
> packet trying to regist
> er name JACUMA<03>
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 30 11:00:13 jacuma nmbd[1496]: Packet send failed to
> 172.21.255.255(137) ERRNO=Permi
> ssion denied
> Mar 30 11:00:13 jacuma nmbd[1496]: [2006/03/30 11:00:13, 0]
> nmbd/nmbd_packets.c:send_netbi
> os_packet(163)
> ...skipping...
> ter_name(512)
> Mar 31 09:21:20 jacuma nmbd[5690]: register_name: Failed to send
> packet trying to regist
> er name JACUMA<00>
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 31 09:21:20 jacuma nmbd[5690]: Packet send failed to
> 172.21.255.255(137) ERRNO=Permi
> ssion denied
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> nmbd/nmbd_packets.c:send_netbi
> os_packet(163)
> Mar 31 09:21:20 jacuma nmbd[5690]: send_netbios_packet: send_packet()
> to IP 172.21.255.2
> 55 port 137 failed
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> nmbd/nmbd_nameregister.c:regis
> ter_name(512)
> Mar 31 09:21:20 jacuma nmbd[5690]: register_name: Failed to send
> packet trying to regist
> er name SEMSA<00>
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 31 09:21:20 jacuma nmbd[5690]: Packet send failed to
> 172.21.255.255(137) ERRNO=Permi
> ssion denied
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> nmbd/nmbd_packets.c:send_netbi
> os_packet(163)
> Mar 31 09:21:20 jacuma nmbd[5690]: send_netbios_packet: send_packet()
> to IP 172.21.255.2
> 55 port 137 failed
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> nmbd/nmbd_nameregister.c:regis
> ter_name(512)
> Mar 31 09:21:20 jacuma nmbd[5690]: register_name: Failed to send
> packet trying to regist
> er name SEMSA<1e>
> Mar 31 09:21:20 jacuma nmbd[5690]: [2006/03/31 09:21:20, 0]
> libsmb/nmblib.c:send_udp(791)
> Mar 31 09:21:20 jacuma nmbd[5690]: Packet send failed to
> 172.21.255.255(138) ERRNO=Permi
> ssion denied
>
>
>
> _______________________________________________________
> Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.
> http://br.info.mail.yahoo.com/
> _______________________________________________
> freebsd mailing list
> freebsd em fug.com.br
> http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br
>
--
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
Palmas/TO
_______________________________________________
freebsd mailing list
freebsd em fug.com.br
http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br
Mais detalhes sobre a lista de discussão freebsd