.\" .TH IPSEND 1 .SH NAME ipsend \- sends IP packets .SH SYNOPSIS .B ipsend [ .B \-dITUv ] [ .B \-i ] [ .B \-f <\fIoffset\fP> ] [ .B \-g <\fIgateway\fP> ] [ .B \-m <\fIMTU\fP> ] [ .B \-o <\fIoption\fP> ] [ .B \-P ] [ .B \-s <\fIsource\fP> ] [ .B \-t <\fIdest. port\fP> ] [ .B \-w <\fIwindow\fP> ] [TCP-flags] .SH DESCRIPTION \fBipsend\fP can be compiled in two ways. The first is used to send one-off packets to a destination host, using command line options to specify various attributes present in the headers. The \fIdestination\fP must be given as the last command line option, except for when TCP flags are specified as a combination of A, S, F, U, P and R, last. .PP The other way it may be compiled, with DOSOCKET defined, is to allow an attempt at making a TCP connection using a with ipsend resending the SYN packet as per the command line options. .SH OPTIONS .TP .BR \-d enable debugging mode. .TP .BR \-f \0 The \fI-f\fP allows the IP offset field in the IP header to be set to an arbitrary value, which can be specified in decimal or hexadecimal. .TP .BR \-g \0 Specify the hostname of the gateway through which to route packets. This is required whenever the destination host isn't directly attached to the same network as the host from which you're sending. .TP .BR \-i \0 Set the interface name to be the name supplied. .TP .TP .BR \-m \0 Specify the MTU to be used when sending out packets. This option allows you to set a fake MTU, allowing the simulation of network interfaces with small MTU's without setting them so. .TP .BR \-o \0