A placeholder. Plugins will be able to overwrite this to perform custom activites on Packet data. It should return a Packet object for functions further down the chain (i.e. connection_handler and/or blob_handler) Arguments: pkt: a P
(self, pkt: "Packet")
| 455 | logger.warning(failed_msg) |
| 456 | |
| 457 | def packet_handler(self, pkt: "Packet"): |
| 458 | """ |
| 459 | A placeholder. |
| 460 | |
| 461 | Plugins will be able to overwrite this to perform custom activites on |
| 462 | Packet data. |
| 463 | |
| 464 | It should return a Packet object for functions further down the chain |
| 465 | (i.e. connection_handler and/or blob_handler) |
| 466 | |
| 467 | Arguments: |
| 468 | pkt: a Packet object |
| 469 | """ |
| 470 | return pkt |
| 471 | |
| 472 | |
| 473 | class ConnectionPlugin(PacketPlugin): |