[FUGSPBR] liberar nmap da minha maquina para o mundo

Eduardo Crestani eduardocrestani em uol.com.br
Sex Jun 4 16:42:26 BRT 2004


Pessoal, 

Precisso de ajuda!,

Quando eu tento usar o nmap da minha maquina para um ip externo aparece a msg:

Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2004-06-04 16:37 BRT
sendto in send_tcp_raw: sendto(3, packet, 40, 0, <IP_DESTINO>, 16) => 
Permission denied
Sleeping 15 seconds then retrying

Eu ja verifiquei o ipfw...e o icmp 8 esta liberado any to any, aqui esta meu 
script:

#!/bin/sh

/sbin/ipfw -f flush

/sbin/ipfw add divert natd all from any to any via tun0

/sbin/ipfw add check-state
/sbin/ipfw add deny tcp from any to any established

/sbin/ipfw add allow tcp from me to any out via lo0 setup keep-state
/sbin/ipfw add deny tcp from me to any out via lo0
/sbin/ipfw add allow ip from me to any out via lo0 keep-state

/sbin/ipfw add allow tcp from me to any out xmit any setup keep-state
/sbin/ipfw add deny tcp from me to any
/sbin/ipfw add allow ip from me to any out xmit any keep-state

/sbin/ipfw add allow tcp from any to me dst-port 22,6891,6892,6893,6894 in 
recv any setup keep-state

/sbin/ipfw add reset log tcp from any to me 113 in recv any

/sbin/ipfw add allow icmp from any to any icmptypes 0,3,8,11,12,13,14

/sbin/ipfw add deny log ip from any to any





-- 
EDUARDO CRESTANI
Programador | UIN# 38352716
FreeBSD 5.2.1 | Debian 3.0r1

_______________________________________________________________
Para enviar um novo email para a lista: fugspbr em fugspbr.org
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd