'Constructor'

def __init__(self, **kwargs):

    self.sources = []
    self.targets = []
    self.sessions = {}
    self.alerts = False
    self.file = None
    dshell.TCPDecoder.__init__(self, name='track', description='tracked    activity    recorder', longdescription='captures    all    traffic    to/from    target    while    a    specific    connection    to    the    target    is    up\n                                                                                                                                specify    target(s)    ip    and/or    port    as    --track_target=ip:port,ip...\n                                                                                                                                --track_source=ip,ip..    can    be    used    to    limit    to    specified    sources\n                                                                                                                                --track_alerts    will    turn    on    alerts    for    session    start/end', filter='ip', author='twp', optiondict={'target': {'action': 'append'}, 'source': {'action': 'append'}, 'alerts': {'action': 'store_true'}})
    self.chainable = True
    'instantiate    an    IPDecoder    and    replace    the    IPHandler\n                                    to    decode    the    ip/ip6    addr    and    then    pass    the    packet\n                                    to    _IPHandler,    which    will    write    the    packet    if    in    addr    is    in    session'
    self.__decoder = dshell.IPDecoder()
