RawIPv4 Publisher
The RawIPv4 publisher allows sending raw IPv4 packes with IP header.
|
Note
|
This publisher runs best on Linux and requires root privileges. |
Parameters
-
Host — Hostname or IP address of remote host
-
Interface — IP of interface to bind too (optional)
-
Protocol — IP protocol to use (e.g. TCP)
-
Timeout — How long to wait in milliseconds for data/connection (optional, default 3,000)
-
MaxMTU — Maximum allowable MTU property value (optional, default 131,070)
-
MinMTU — Minimum allowable MTU property value (optional, default 1,280)
Examples
Sending data
<StateModel name="TheState">
<State name="initial">
<Action type="output">
<DataModel ref="IPHeader"/>
</Action>
<Action type="output">
<DataModel ref="ProtocolPacket"/>
</Action>
</State>
</StateModel>
<Test name="Default">
<!-- ... -->
<Publisher class="RawIPv4">
<Param name="Host" value="192.168.1.1" />
<Param name="Protocol" value="42" />
</Publisher>
</Test>


