Code Monkey home page Code Monkey logo

wireshark-plugin's People

Contributors

alagoutte avatar guyharris avatar thomasp11 avatar zachad 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wireshark-plugin's Issues

make a release tag

the main website says 'download 1.0.4 from github' but there are no tags in the repo. Please tag versions so people know they are getting a "stable" release and not just current master

Wireshark plugin with version 2.0

With Wireshark 2.0, specifically version 2.0.0rc2 when uploading a capture file the following error message sometimes appears:

Please create or load a capture file first!

A capture file is currently loaded so this file should be uploaded. This error occurs when a capture file is opened or after a live capture is performed most of the time but sometimes the upload does work correctly after closing Wireshark and reopening it and loading a capture file.

Once Wireshark has been opened and if the first capture uploads correctly then opening different capture files and uploading continues to work but if the first try doesn't work then opening new captures does not cause the plugin to work.

attempt to index global 'defaultConfigFile' (a nil value)

I can't run the plugin. I edit the config file with the API, user and password, also I tried with the original config file without satisfactory results.
This is the issue:

Lua: Error during loading:
...al/lib/wireshark/plugins/wireshark-plugin/cloudshark.lua:1001: attempt to index global 'defaultConfigFile' (a nil value)
stack traceback:
	...al/lib/wireshark/plugins/wireshark-plugin/cloudshark.lua:1001: in main chunk

Plugin does not work if installed in the Global Plugins directory

Right now the CloudShark plugin only works if it is in the Personal Plugins directory of Wireshark and fails to open the preference file if it is installed in the Global Plugins directory. Here is where we try and get the directory of our plugin:

https://github.com/cloudshark/wireshark-plugin/blob/master/cloudshark.lua#L185

This uses the persconffile_path function which returns the Personal Plugins directory so if it is in the Global Plugins dir we will still always look in the Personal Plugins dir:

https://wiki.wireshark.org/LuaAPI/Utils#Non_Method_Functions

Uploading capture file with new name

Currently when uploading a capture file if you specify a new name for the capture file the upload does not use the new name and instead uses the default capture name. Looking at the logs and the debug output this is because it cannot create a file with the new name:

DEBUG: 12/10/15 10:52:42| Copy /Users/tom/.wireshark/plugins/cloudshark/wireshark-plugin-lua_mCH5Zw.cap to /Users/tom/.wireshark/plugins/cloudshark/tmp/new_name.pcap
DEBUG: 12/10/15 10:52:42| Unable to create new file /Users/tom/.wireshark/plugins/cloudshark/tmp/new_name.pcap

This is because the ~/.wireshark/plugins/cloudshark/tmp directory does not exist by default until the user creates it. If this directory exists then the capture is uploaded with the new name but we should be creating this directory in the plugin.

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.