Opened 18 years ago

Closed 18 years ago

#9136 closed defect (fixed)

hping2 problem of execution.

Reported by: opendarwin@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

hping2 execution on MacItel failure.

sudo hping2 -S -T -n 10.0.0.1 -p 22 HPING 10.0.0.1 (en1 10.0.0.1): S set, 40 headers + 0 data bytes [send_ip] sendto: Invalid argument

The system is a MacBookPro running 10.4.6.

Thank you

Change History (2)

comment:1 Changed 18 years ago by opendarwin@…

Component: wwwdports

comment:2 Changed 18 years ago by opendarwin@…

Resolution: fixed
Status: newclosed

In definitive I see the problem on MacTel Only you can resolv It by editing the sendip.c file a replace the folow lines :


ip->tos = ip_tos;

-#if defined OSTYPE_FREEBSD +#if defined OSTYPE_FREEBSD
defined OSTYPE_NETBSD defined OSTYPE_BSDI
defined OSTYPE_NETBSD defined OSTYPE_BSDI defined OSTYPE_DARWIN

/* FreeBSD */


and


}

-#if defined OSTYPE_FREEBSD +#if defined OSTYPE_FREEBSD
defined OSTYPE_NETBSD defined OSTYPE_BSDI
defined OSTYPE_NETBSD defined OSTYPE_BSDI defined OSTYPE_DARWIN

/* FreeBSD */


Now it seems ok

Bye

Note: See TracTickets for help on using tickets.