ipscap.core package

IpSurv’s Module Index

ipscap.core.object_factory module

class ObjectFactory

Bases: abc.ABC

create_args_builder(config, pipeline)
Parameters
Return type

ArgsBuilder

create_dumpfile(pipeline)
create_eth_socket()
create_evaluation_parser()
create_icmp_protocol_service()
create_ip_header_parser()
create_packet_filter(evaluation_parser)
create_pipeline()
Return type

Pipeline

create_tcp_protocol_service()
create_transfer_store()
create_udp_protocol_service()
create_view_helper()
get_config()
Return type

Config

ipscap.core.pipeline module

class Pipeline

Bases: abc.ABC

complete(transfers)
get_filename(ip_header, protocol_header, filename)
init_configure(arguments)
Parameters

arguments (dict) –

initialize(config)
Parameters

config (Config) –

pass_eth_header(raw_data, eth_header)
pass_eth_ips(eth_ips)
pass_header_parser(ip_header, header_parser)
pass_ip_header(mtu_data, ip_header)
pass_protocol_header(ip_header, protocol_header)
post_writefile(ip_header, protocol_header, file)
pre_dump_write(ip_header, protocol_header, file)
pre_recieve_loop(eth_socket, ip_header_parser)
process_captured_transfer(ip_header, protocol_header, passage_num)
verify_capture(packet_filter, ip_header, protocol_header, is_capture)