• Mike Hibler's avatar
    Add support for remote telnet-based console servers. · 32c159b3
    Mike Hibler authored
    We already supported "remote mode" (-m) which told capture that the
    device command line argument was of the form "host:port". Extended that
    to "host:port,protocol" where protocol can be "raw" (aka, the current
    remote mode) or "telnet". Telnet support is provided through the libtelnet
    library (http://github.com/elanthis/libtelnet) which I created a FreeBSD
    port for in install/ports. Most of the work was just breaking out some
    code in the monster select loop.
    
    Only tested on the Linux Networx "icebox" and only very lightly. The set
    of telnet want/won't/do/don't options may not be correct, but it seems to
    work.
    
    Also cleaned up some lint.
    32c159b3
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
capdecls.h Loading commit data...
caplog.c Loading commit data...
caplog.in Loading commit data...
caplogserver.c Loading commit data...
capquery.c Loading commit data...
capserver.c Loading commit data...
capture.1 Loading commit data...
capture.c Loading commit data...