Git Product home page Git Product logo

gobbler's People

Contributors

catalyst256 avatar sam-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gobbler's Issues

Issue with UDP Splunk listeners

According to Splunk documentation that's a "feature" when using UDP listeners. Can be resolved and will do so when creating the Splunk app. For now TCP listeners are working fine, even on large pcaps.

Stacked packets cause "invalid syntax (<string>, line 1)" error during upload

With the way that Scapy sometimes stacks layers (like DNSQR & DNSRR), when trying to create a python dict you get the above error. Need to work out how to exclude those keys as this allow the next layer to be presented which includes those "missing" fields.

Example of "bad layers"

IP version=4L ihl=6L tos=0x0 len=32 id=7166 flags= frag=0L ttl=1 proto=igmp chksum=0xfac2 src=128.12.173.14 dst=224.0.0.252 options=IPOption_Router_Alert copy_flag=1L optclass=control option=router_alert length=4 alert=router_shall_examine_packet Raw load='\x16\x00\t\x03\xe0\x00\x00\xfc'

Bad magic

Traceback (most recent call last):
File "/usr/local/bin/gobbler", line 5, in
pkg_resources.run_script('gobbler==0.1.4', 'gobbler')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/Library/Python/2.7/site-packages/gobbler-0.1.4-py2.7.egg/EGG-INFO/scripts/gobbler", line 119, in

File "/Library/Python/2.7/site-packages/gobbler-0.1.4-py2.7.egg/EGG-INFO/scripts/gobbler", line 109, in main

File "build/bdist.macosx-10.9-intel/egg/gobbler/parsers/loadpackets.py", line 24, in loadpackets
File "/Library/Python/2.7/site-packages/scapy/utils.py", line 476, in rdpcap
return PcapReader(filename).read_all(count=count)
File "/Library/Python/2.7/site-packages/scapy/utils.py", line 572, in init
RawPcapReader.init(self, filename)
File "/Library/Python/2.7/site-packages/scapy/utils.py", line 496, in init
raise Scapy_Exception("Not a pcap capture file (bad magic)")
scapy.error.Scapy_Exception: Not a pcap capture file (bad magic)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.