hping on DragonFlyBSD broken?

Sepherosa Ziehau sepherosa at gmail.com
Sun Jun 15 19:00:46 PDT 2008


On 6/16/08, wazigster at gmail.com <wazigster at gmail.com> wrote:
> Hi all,
>
>  Is hping on DragonFly broken, or I'm I missing something?

Dfly need ip_len and ip_off in host byte order, so most raw ip sending
programs developped and only tested on Linux will not work.  If hping
supports FreeBSD, you can try finding where __FreeBSD__ or something
similar in the source code and add __DragonFly__ near it.

Best Regards,
sephe

>
>  DragonFlyBSD prompt:
>
>   / ->pkg_info hping
>  Information for hping-2.0.0.3:
>  .....
>  / ->>hping -c 1 -d 56 -1 208.69.34.132
>  HPING 208.69.34.132 (fxp0 208.69.34.132): icmp mode set, 28 headers +
>  56 data bytes
>  [send_ip] sendto: Invalid argument
>
>  Linux prompt:
>
>  /]$hping -c 1 -d 56 -1 208.69.34.132
>  HPING www.dragonlybsd.org (eth0 208.69.34.132): icmp mode set, 28
>  headers + 56 data bytes
>  len=84 ip=208.69.34.132 ttl=55 id=14578 icmp_seq=0 rtt=16.4 ms
>
>  --- www.dragonlybsd.org hping statistic ---
>  1 packets tramitted, 1 packets received, 0% packet loss
>  round-trip min/avg/max = 16.4/16.4/16.4 ms
>
>  What does "[send_ip] sendto: Invalid argument" mean? And can I fix
>  this (without any coding skills)?
>
>  Thanks in advance?
>
>  .
>


-- 
Live Free or Die





More information about the Users mailing list