You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README
+14-38Lines changed: 14 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,16 @@ Key features:
5
5
* Deep packet analysis using specialized plugins
6
6
* Robust stream reassembly
7
7
* IPv4 and IPv6 support
8
-
* Custom output handlers
8
+
* Multiple user-selectable output formats and the ability to create custom output handlers
9
9
* Chainable plugins
10
+
* Parallel processing option to divide the handling of data source into separate Python processes
11
+
* Enables development of external plugin packs to share and install new externally developed plugins without overlapping the core Dshell plugin directories
10
12
11
13
## Requirements
12
-
* Linux (developed on Red Hat Enterprise Linux 6.7)
* This is a major framework update to Dshell. Plugins written for the previous version are not compatible with this version, and vice versa.
32
-
* Uses Python 3
33
-
* Rewritten in Python 3 from the ground up. Python 2 language deprecated on [1 JAN 2020](https://www.python.org/doc/sunset-python-2/)
34
-
* By extension, dpkt and pypcap have been replaced with Python3-friendly pypacker and pcapy (respectively).
35
-
* Is a Python package
36
-
* Converted into a single package, removing the need for the shell to set several environment variables.
37
-
* Allows easier use of Dshell plugins in other Python scripts
38
-
* Changed "decoders" to "plugins"
39
-
* Primarily a word-swap, to clarify that "decoders" can do more than simply decode traffic, and to put Dshell more in line with the terminology of other frameworks.
40
-
* Significant reduction in camelCase functions, replaced with more Pythonic snake\_case functions.
41
-
* Notable examples include blobHandler->blob\_handler, rawHandler->raw\_handler, connectionInitHandler->connection\_init\_handler, etc.
42
-
* All plugins are now chainable
43
-
* To accommodate this, handler functions in plugins must now use return statements indicating whether a packet, connection, or similar will continue to the next plugin. The type of object(s) to return depends on the type of handler, but will generally match the types of the handler's input. Dshell will display a warning if it's not the right type.
44
-
* Plugins can now use all output modules<sup>\*</sup> available to the command line switch, -O
45
-
* That does not mean every output module will be _useful_ to every plugin (e.g. using netflow output for a plugin that looks at individual packets), but they are available.
46
-
* alert(), write(), and dump() are now the same function: write()
47
-
* Output modules can be listed with a new flag in decode.py, --list-output or --lo
48
-
* Arguments for output modules are now passed with the --oargs command-line argument
49
-
* \* pcapout is (currently) the exception to this rule. A method has yet to arise that allows it to work with connection-based plugins
50
-
* No more dObj declaration
51
-
* decode.py just looks for the class named DshellPlugin and creates an instance of that
52
-
* Improved error handling
53
-
* Dshell handles more of the most common exceptions during everyday use
54
-
* Enables development of external plugin packs, allowing the sharing and installation of new, externally-developed plugins without overlapping the core Dshell libraries.
2. Configure geoip2 by moving the MaxMind data files (GeoLite2-ASN.mmdb, GeoLite2-City.mmdb, GeoLite2-Country.mmdb) to <install-location>/data/GeoIP/
2. Configure geoip2 by moving the MaxMind data files (GeoLite2-ASN.mmdb, GeoLite2-City.mmdb, GeoLite2-Country.mmdb) to [...]/site-packages/dshell/data/GeoIP/
61
37
3. Run `dshell`. This should drop you into a `Dshell> ` prompt.
62
38
63
39
## Basic Usage
@@ -69,7 +45,7 @@ Key features:
69
45
* `decode -p <plugin>`
70
46
* Display information about a plugin, including available command line flags
71
47
* `decode -p <plugin> <pcap>`
72
-
* Run the selected plugin on a pcap file
48
+
* Run the selected plugin on a pcap or pcapng file
73
49
* `decode -p <plugin1>+<plugin2> <pcap>`
74
50
* Chain two (or more) plugins together and run them on a pcap file
75
51
* `decode -p <plugin> -i <interface>`
@@ -79,7 +55,7 @@ Key features:
79
55
Showing DNS lookups in [sample traffic](http://wiki.wireshark.org/SampleCaptures#General_.2F_Unsorted)
0 commit comments