Documentation ¶
Overview ¶
Copyright 2015 Yahoo Inc. Licensed under the BSD license, see LICENSE file for terms. Written by Stuart Larsen http2fuzz - HTTP/2 Fuzzer
Copyright 2015 Yahoo Inc. Licensed under the BSD license, see LICENSE file for terms. Written by Stuart Larsen http2fuzz - HTTP/2 Fuzzer
Copyright 2015 Yahoo Inc. Licensed under the BSD license, see LICENSE file for terms. Written by Stuart Larsen http2fuzz - HTTP/2 Fuzzer
Copyright 2015 Yahoo Inc. Licensed under the BSD license, see LICENSE file for terms. Written by Stuart Larsen http2fuzz - HTTP/2 Fuzzer
Index ¶
- func Client()
- func Dial(host string, isTLS bool) (net.Conn, error)
- func FuzzConnection(conn net.Conn)
- func Server()
- type Connection
- func (conn *Connection) SendInitSettings()
- func (conn *Connection) SendPing(data [8]byte) error
- func (conn *Connection) SendPreface() error
- func (conn *Connection) SetupFramer()
- func (conn *Connection) WriteContinuationFrame(streamID uint32, endStream bool, data []byte) error
- func (conn *Connection) WriteDataFrame(streamID uint32, endStream bool, data []byte) error
- func (conn *Connection) WritePriorityFrame(streamId, streamDep uint32, weight uint8, exclusive bool) error
- func (conn *Connection) WritePushPromiseFrame(promise http2.PushPromiseParam) error
- func (conn *Connection) WriteRawFrame(frameType, flags uint8, streamID uint32, payload []byte) error
- func (conn *Connection) WriteResetFrame(streamId uint32, errorCode uint32) error
- func (conn *Connection) WriteSettingsFrame(settings []http2.Setting) error
- func (conn *Connection) WriteWindowUpdateFrame(streamId, incr uint32) error
- type Fuzzer
- func (fuzzer *Fuzzer) CheckConnection()
- func (fuzzer *Fuzzer) ContinuationFuzzer()
- func (fuzzer *Fuzzer) DataFuzzer()
- func (fuzzer *Fuzzer) HeaderFuzzer()
- func (fuzzer *Fuzzer) PingFuzzer()
- func (fuzzer *Fuzzer) PriorityFuzzer()
- func (fuzzer *Fuzzer) PushPromiseFuzzer()
- func (fuzzer *Fuzzer) RawFrameFuzzer()
- func (fuzzer *Fuzzer) RawTCPFuzzer()
- func (fuzzer *Fuzzer) ResetFuzzer()
- func (fuzzer *Fuzzer) SettingsFuzzer()
- func (fuzzer *Fuzzer) WindowUpdateFuzzer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuzzConnection ¶
Types ¶
type Connection ¶
type Connection struct { Host string IsTLS bool IsPreface bool IsSendSettings bool Raw net.Conn Framer *http2.Framer StreamID uint32 HBuf bytes.Buffer HEnc *hpack.Encoder PeerSetting map[http2.SettingID]uint32 HDec *hpack.Decoder Err error }
func NewConnection ¶
func NewConnection(host string, isTLS, sendPreface, sendSettingsInit bool) *Connection
func NewConnectionRaw ¶
func NewConnectionRaw(c net.Conn, tls bool) *Connection
func NewServerConnection ¶
func NewServerConnection(c net.Conn, tls bool) *Connection
func (*Connection) SendInitSettings ¶
func (conn *Connection) SendInitSettings()
func (*Connection) SendPing ¶
func (conn *Connection) SendPing(data [8]byte) error
func (*Connection) SendPreface ¶
func (conn *Connection) SendPreface() error
func (*Connection) SetupFramer ¶
func (conn *Connection) SetupFramer()
func (*Connection) WriteContinuationFrame ¶
func (conn *Connection) WriteContinuationFrame(streamID uint32, endStream bool, data []byte) error
func (*Connection) WriteDataFrame ¶
func (conn *Connection) WriteDataFrame(streamID uint32, endStream bool, data []byte) error
func (*Connection) WritePriorityFrame ¶
func (conn *Connection) WritePriorityFrame(streamId, streamDep uint32, weight uint8, exclusive bool) error
func (*Connection) WritePushPromiseFrame ¶
func (conn *Connection) WritePushPromiseFrame(promise http2.PushPromiseParam) error
func (*Connection) WriteRawFrame ¶
func (conn *Connection) WriteRawFrame(frameType, flags uint8, streamID uint32, payload []byte) error
func (*Connection) WriteResetFrame ¶
func (conn *Connection) WriteResetFrame(streamId uint32, errorCode uint32) error
func (*Connection) WriteSettingsFrame ¶
func (conn *Connection) WriteSettingsFrame(settings []http2.Setting) error
func (*Connection) WriteWindowUpdateFrame ¶
func (conn *Connection) WriteWindowUpdateFrame(streamId, incr uint32) error
type Fuzzer ¶
type Fuzzer struct { Mu *sync.Mutex Conn *Connection RestartConnection bool Alive bool RestartAttempts int }
func NewFuzzer ¶
func NewFuzzer(c *Connection, restart bool) *Fuzzer
func (*Fuzzer) CheckConnection ¶
func (fuzzer *Fuzzer) CheckConnection()
func (*Fuzzer) ContinuationFuzzer ¶
func (fuzzer *Fuzzer) ContinuationFuzzer()
func (*Fuzzer) DataFuzzer ¶
func (fuzzer *Fuzzer) DataFuzzer()
func (*Fuzzer) HeaderFuzzer ¶
func (fuzzer *Fuzzer) HeaderFuzzer()
func (*Fuzzer) PingFuzzer ¶
func (fuzzer *Fuzzer) PingFuzzer()
func (*Fuzzer) PriorityFuzzer ¶
func (fuzzer *Fuzzer) PriorityFuzzer()
func (*Fuzzer) PushPromiseFuzzer ¶
func (fuzzer *Fuzzer) PushPromiseFuzzer()
func (*Fuzzer) RawFrameFuzzer ¶
func (fuzzer *Fuzzer) RawFrameFuzzer()
func (*Fuzzer) RawTCPFuzzer ¶
func (fuzzer *Fuzzer) RawTCPFuzzer()
func (*Fuzzer) ResetFuzzer ¶
func (fuzzer *Fuzzer) ResetFuzzer()
func (*Fuzzer) SettingsFuzzer ¶
func (fuzzer *Fuzzer) SettingsFuzzer()
func (*Fuzzer) WindowUpdateFuzzer ¶
func (fuzzer *Fuzzer) WindowUpdateFuzzer()
Click to show internal directories.
Click to hide internal directories.