DragonFly users List (threaded) for 2008-06
DragonFly BSD
DragonFly users List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: hping on DragonFlyBSD broken?


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Mon, 16 Jun 2008 09:54:14 +0800

On 6/16/08, wazigster@gmail.com <wazigster@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]