Project

General

Profile

Actions

Feature #1264

closed
PG VJ

Lua: access to TCP quad / Flow Tuple

Feature #1264: Lua: access to TCP quad / Flow Tuple

Added by Paul Gofran over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

This is a request to provide lua scripts access to the TCP quad. When extracting payloads (ex: needs["payload"]), Lua does not have access to the TCP/IP information at the same time.

Similar to features #1261, #1263

PM Updated by Peter Manev over 11 years ago Actions #1

  • Tracker changed from Bug to Feature

VJ Updated by Victor Julien over 11 years ago Actions #2

In my dev-lua-output branch you can use either:

ipver, srcip, dstip, proto, sp, dp = SCFlowTuple()
ipver, srcip, dstip, proto, sp, dp = SCPacketTuple()

Depending on where the script is hooked in you can use one or the other currently.

VJ Updated by Victor Julien over 11 years ago Actions #3

  • Status changed from New to Closed
  • Assignee set to Victor Julien
  • Target version set to 2.1beta2
  • % Done changed from 0 to 100

VJ Updated by Victor Julien over 11 years ago Actions #4

  • Subject changed from Request for Additional Lua Capabilities - TCP quad to Lua: access to TCP quad / Flow Tuple
Actions

Also available in: PDF Atom