Documentation ¶
Overview ¶
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 The Board of Trustees of The Leland Stanford Junior University ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func AddHandshake(name string, h Handshake)
- func ConstructIncomingRoutine(workers int) chan *packet_metadata
- func ConstructPacketStateMap(opts *options) pState
- func ConstructPcapRoutine(workers int) chan *packet_metadata
- func ConstructRetransmitQueue(workers int) chan *packet_metadata
- func ConstructTimeoutQueue(workers int) chan *packet_metadata
- func ConstructWritingQueue(workers int) chan packet_metadata
- func DebugOn() bool
- func FeedZGrab() bool
- func ForceAllHandshakes() bool
- func GetAllHandshakes() []string
- func GetFingerprints() map[string]int
- func HandlePcap(opts *options, packet *packet_metadata, ipMeta *pState, ...)
- func HandleTimeout(opts *options, packet *packet_metadata, ipMeta *pState, ...)
- func HyperACKtiveFiltering() bool
- func InitFile(fname string) *output_file
- func InitParams()
- func NewpState() pState
- func Parse() (*options, bool)
- func PollTimeoutRoutine(ipMeta *pState, timeoutQueue chan *packet_metadata, ...) chan *packet_metadata
- func PushDOnly() bool
- func ReadLayers(iplayerInfo *iplayer_info, tcp *layers.TCP, eth *layers.Ethernet) *packet_metadata
- func ReadZMap() bool
- func SendAck(opts *options, synack *packet_metadata, ipMeta *pState, ...)
- func SendSyn(packet *packet_metadata, ipMeta *pState, timeoutQueue chan *packet_metadata)
- func Summarize(t time.Duration)
- type Handshake
Constants ¶
This section is empty.
Variables ¶
var ( ACK string = "ack" SYN_ACK string = "sa" DATA string = "data" )
var SHARD_COUNT = 4096
Functions ¶
func AddHandshake ¶
func ConstructIncomingRoutine ¶
func ConstructIncomingRoutine(workers int) chan *packet_metadata
func ConstructPacketStateMap ¶
func ConstructPacketStateMap(opts *options) pState
keeps state by storing the packet that was received * and within the packet stores the expected response. * storing received as to what was sent b/c want to know * perhaps need to wait some more
func ConstructPcapRoutine ¶
func ConstructPcapRoutine(workers int) chan *packet_metadata
func ConstructRetransmitQueue ¶
func ConstructRetransmitQueue(workers int) chan *packet_metadata
TimeoutQueueStuff TODO:need to move
func ConstructTimeoutQueue ¶
func ConstructTimeoutQueue(workers int) chan *packet_metadata
TimeoutQueueStuff TODO:need to move
func ConstructWritingQueue ¶
func ConstructWritingQueue(workers int) chan packet_metadata
func ForceAllHandshakes ¶
func ForceAllHandshakes() bool
func GetAllHandshakes ¶
func GetAllHandshakes() []string
func GetFingerprints ¶
func HandlePcap ¶
func HandlePcap(opts *options, packet *packet_metadata, ipMeta *pState, timeoutQueue chan *packet_metadata, retransmitQueue chan *packet_metadata, writingQueue chan packet_metadata)
func HandleTimeout ¶
func HandleTimeout(opts *options, packet *packet_metadata, ipMeta *pState, timeoutQueue chan *packet_metadata, retransmitQueue chan *packet_metadata, writingQueue chan packet_metadata)
func HyperACKtiveFiltering ¶
func HyperACKtiveFiltering() bool
func InitParams ¶
func InitParams()