{ "info": { "author": "Keiichi SHIMA", "author_email": "keiichi@iijlab.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: System :: Networking", "Topic :: Utilities" ], "description": "Slice a large pcap file and process in parallel\n===============================================\n\nInstall\n-------\n\n::\n\n python setup.py install\n\nUsage\n-----\n\nThe below is an example to slice a pcap file into 10 files.\n\n::\n\n slicecap -r source.pcap -n 10 -- \"cat - > dest-{SLICE_ID}.pcap\"\n\nThe ``-r`` or ``--infile`` option specifies input pcap file to slice.\nStdin is not acceptable because ``slicecap`` will change file handle\npointer using the ``seek()`` method.\n\nThe ``-n`` or ``--number`` option specifies the total number of sliced\npcap files. This default value is 2.\n\nThe ``-g`` or ``--maxgap`` option specifies the maximum time difference\n(in seconds) used to compare packet timestamps to find the pcap pkthdr\nboundary. The default value is 3600.\n\nThe ``-p`` or ``--parallel`` option specifies the maximum number of\nparallel subprocesses. The default value is automatically determined\nbased on the number of cores of the host node. It doesn't make sense to\nspecify a larger value than the number of cores.\n\nAfter the ``--`` option, you can specify a subprocess to process the\nsliced pcap data. In the above example, the sliced data will just\nredirected into files. In the subprocess definition, you can use the\nfollowing keywords that are replaced dynamically when executed. Since\nthe replacement will be done by the Python text formatting function, you\ncan specify formatting rules using the standard Python text formatter\nsyntax.\n\n- ``OFFSET``: The file offset value in bytes.\n- ``SIZE``: The size of the sliced pcap data.\n- ``SLICE_ID``: The ID number (begins from 0) of the sliced file.\n\nBug Reports\n-----------\n\nPlease submit bug reports or patches through the GitHub interface.\n\nAuthor\n------\n\nKeiichi SHIMA / IIJ Innovation Institute Inc. / WIDE project\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/keiichishima/slicecap/", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "slicecap", "package_url": "https://pypi.org/project/slicecap/", "platform": "", "project_url": "https://pypi.org/project/slicecap/", "project_urls": { "Homepage": "https://github.com/keiichishima/slicecap/" }, "release_url": "https://pypi.org/project/slicecap/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Slice a pcap file into pieces and process in parallel", "version": "0.2.1" }, "last_serial": 2802860, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d70cc623fbbe42ae9928e46f69737f90", "sha256": "07017b6b8f7490739e78b6534b15e12110b83937f250970dd94b8567318c8754" }, "downloads": -1, "filename": "slicecap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d70cc623fbbe42ae9928e46f69737f90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4627, "upload_time": "2017-04-12T06:24:45", "url": "https://files.pythonhosted.org/packages/1b/6d/835a64d631fa36575404213ea214c31567ae792aa7b3524f058460050867/slicecap-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "fd8efb0160fbe43d89fd8b6b8918e3fe", "sha256": "180803aaf2c2f2b4b2e327deb9dcd3beeabed456ff847ab81746d59b31c9f4ae" }, "downloads": -1, "filename": "slicecap-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fd8efb0160fbe43d89fd8b6b8918e3fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4607, "upload_time": "2017-04-13T03:26:23", "url": "https://files.pythonhosted.org/packages/7b/30/806fe2f038f48c7029ea11217bbb7622ff5a1aace1c6643ba1fcb5312473/slicecap-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4c69fa75c1f57554858e1bc0f8ac5def", "sha256": "13a82e5e51135b4bd9ac644d7effbbf0a0056ef0a33b82a69425b4494f15fe18" }, "downloads": -1, "filename": "slicecap-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4c69fa75c1f57554858e1bc0f8ac5def", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5674, "upload_time": "2017-04-13T07:08:53", "url": "https://files.pythonhosted.org/packages/a8/9d/79ff48f6038fe60c251d8d6525cb40b0e82bd0438ecbba1a303c3110c50c/slicecap-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "2c2d57d59c195e6de92acc10548f9fa6", "sha256": "2bfaa1c55ace3eed9b91b6888c62775b5bf3dd8cb8280c45765f8b26fb7442f5" }, "downloads": -1, "filename": "slicecap-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2c2d57d59c195e6de92acc10548f9fa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5839, "upload_time": "2017-04-14T02:21:02", "url": "https://files.pythonhosted.org/packages/92/e9/9c327416ebf2be24af69b8c4e0784703f8f3b5c1e793f5e6189e660fe638/slicecap-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2c2d57d59c195e6de92acc10548f9fa6", "sha256": "2bfaa1c55ace3eed9b91b6888c62775b5bf3dd8cb8280c45765f8b26fb7442f5" }, "downloads": -1, "filename": "slicecap-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2c2d57d59c195e6de92acc10548f9fa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5839, "upload_time": "2017-04-14T02:21:02", "url": "https://files.pythonhosted.org/packages/92/e9/9c327416ebf2be24af69b8c4e0784703f8f3b5c1e793f5e6189e660fe638/slicecap-0.2.1.tar.gz" } ] }