What is Peach
Installing
Tutorials
Methodology
Introduction
FAQ
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

RawV4 Publisher

The RawV4 publisher allows sending raw IPv4 packets without 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 to (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)

Actions

  • output — Send data to remote host

  • input — Receive data from remote host

Examples

Sending data
<StateModel name="TheState">
        <State name="initial">
                <Action type="output">
                        <DataModel ref="ProtocolPacket"/>
                </Action>
        </State>
</StateModel>

<Test name="Default">
    <!-- ... -->
        <Publisher class="RawV4">
                <Param name="Host" value="192.168.1.1" />
                <Param name="Protocol" value="42" />
        </Publisher>
</Test>