Estou com uma situacao interessante aqui e nao consigo resolver. Temos um script onde utilizamos o fping para testar um determinado IP, como abaixo: fping -C 10 -q -B1 -r1 -b8140 -i10 192.168.0.1
O engraçado é que o fping nao aceita tamanhos maiores que 8140 (parametro -b). Um comando similar, porem pelo ping normal, vai ate 25000 de tamanho sem problemas. obs: ambos estao sendo executados com permissao de root Existe alguma variavel no sysctl, ou em outro lugar, que limita o fping? Retirei o texto abaixo do man fping: -bn Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data that fping needs to do its work (sequence number, timestamp). The reported received data size includes the IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes. Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though most systems limit this to a smaller, system-depen- dent number. Obrigado Edinilson --------------------------------------------------------- ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd