{ "info": { "author": "Gananath R", "author_email": "no-mail@no-mail.com", "bugtrack_url": null, "classifiers": [], "description": "# pyort\nCommand line tool for monitoring and logging all foreign network connections. Best way to use this tool is along with other network monitoring tools such as `iftop`\n\n## Installation (python 2.7 or higher)\n`pip install pyort` \n or \n`pip install git+https://github.com/Gananath/pyort.git`\n or\n`python3.5 -m pip install pyort`\n\n \n## Usage\n\n###### Monitoring and Logging\nHelp: `pyort -h`\n\nStart: `pyort --start`\n\nSave: `pyort -s -Sv` (need to install sqlite manually)\n\nCustom: `pyort -s --kind tcp6`\n\nSilent: `pyort -s -Sv -x`\n\n###### Database viewing \nIncidence = `pyort -d -l 100`\n\nIp = `pyort -d -o ip -c xxx.xxx.xxx.xxx` \n\n## Configuration\n`config.ini` and database files exists in the directory `$HOME/.config/pyort`. \n```\ndb_path = database path\ndb_name = database name\ninterval = time interval for updating ip's\nkind = kind of connections all,tcp,udp etc\ngeo_ip = for getting geo location info\nproject_honey_pot_key = projecthoneypot.org's api key\nthreat_update_count = interval for updating the threat score from projecthoneypot.org\ntable_format = organize the output table\nversion = show the version number\n```\n###### table_format\n```\n+--------+-------------+-------------------------------------------------------------------+\n| Code | Name | Description |\n+--------+-------------+-------------------------------------------------------------------+\n| r | Recent | Will show the date if database enabled |\n| l | Local | Local IP |\n| p | L Port | Port used by the local IP |\n| f | Foregin | Remote IP |\n| fp | F Port | Port used by the remote IP |\n| pid | PID | Process ID associated with the connections |\n| t | Threat | Project honey pot's threat score |\n| c | Count | Number of times remote ip tried to connect (only with db enabled) |\n| p | Process | Process associated with the connections |\n| loc | Location | Geo location of the remote ip (need Maxmind's GeoIP) |\n| fd | File Desc | File Descriptor (refer psutil documentation) |\n| fam | Family | Address family (refer psutil documentation) |\n| typ | Type | Address Type (refer psutil documentation) |\n| sc | Status | Connection establishment status |\n+--------+-------------+-------------------------------------------------------------------+\n```\n## Optional\n\n###### Database\nYou can save the logs in a sqlite database and the `--save` option only works with sqlite installed. You can install sqlite by `pip install pysqlite` for pyhton 2.7.\n\n###### Project Honey pot\nIf wanted you can also get [project honey pot's](https://www.projecthoneypot.org/) threat score for foreign ip's but needs project honey pot's api key and `pip install httpbl` then add api key to `config.ini` without quotes. This only works when `--save` option is enabled.\n\n###### Maxmind's GeoIP\nIf you needed the geo location of foreign ip's first install `pip install geoip2` then in the `config.ini` file change `geo_ip =` to `geo_ip = True` without quotes.\n\n## Notice\nIf anything goes wrong to pyort afer updating to a newer version of pyort then try to delete the config and database files inside `$HOME/.config/pyort/` and then reinstall the new version.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Gananath/pyort", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyort", "package_url": "https://pypi.org/project/pyort/", "platform": "", "project_url": "https://pypi.org/project/pyort/", "project_urls": { "Homepage": "https://github.com/Gananath/pyort" }, "release_url": "https://pypi.org/project/pyort/0.1.8/", "requires_dist": null, "requires_python": "", "summary": "Command line tool for monitoring all network connections", "version": "0.1.8" }, "last_serial": 5227210, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "fbaa4ea5c881a4ec8170c773089c3a1d", "sha256": "d2809caea2b64448970f035712b68ea45bf7f49b0d6418c530ad94562de5e013" }, "downloads": -1, "filename": "pyort-0.1.2.tar.gz", "has_sig": false, "md5_digest": "fbaa4ea5c881a4ec8170c773089c3a1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4086, "upload_time": "2018-10-20T15:29:35", "url": "https://files.pythonhosted.org/packages/bc/44/b6d4a5fffb399e4764a2449c52556a68b0df397ad3a9ecffe3c447a84fde/pyort-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2272bd1be9cd44b9a3eec32c03adb2d0", "sha256": "f20f1a5904a325fb3a6db138c0b9982f132cfdeb5ea4b2de2c4345b0a8905d4c" }, "downloads": -1, "filename": "pyort-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2272bd1be9cd44b9a3eec32c03adb2d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4082, "upload_time": "2018-10-20T15:50:20", "url": "https://files.pythonhosted.org/packages/eb/1a/56a53a7610d52a5771d1ae282d26538a2c6b0a9fba73d57ca6188f26377f/pyort-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "217fa81609d0215cba1ee1c404ff6cca", "sha256": "4434dcabac25997754cb5433e5e2ecc3345cd9d17eab0ff88a3da41a706b0729" }, "downloads": -1, "filename": "pyort-0.1.4.tar.gz", "has_sig": false, "md5_digest": "217fa81609d0215cba1ee1c404ff6cca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4076, "upload_time": "2018-10-21T06:53:53", "url": "https://files.pythonhosted.org/packages/20/4d/e4b8e908f8119c5d1b8c950010d9ec18a40e640f79be9c6e99de81d5d56f/pyort-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "7d80ba03cb2a5b1e48bf3070bf4f4aa6", "sha256": "fb0f8635da2cbbd28ab5373952722537574faf5f8411f8a336eb8e8fd5838152" }, "downloads": -1, "filename": "pyort-0.1.5.tar.gz", "has_sig": false, "md5_digest": "7d80ba03cb2a5b1e48bf3070bf4f4aa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4082, "upload_time": "2018-10-21T07:07:31", "url": "https://files.pythonhosted.org/packages/18/68/1fb1c0ef948fb3b5e9838931bc2269bfc6dcf54471ea82dc4a1722797d7c/pyort-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "9ff1d5db6be352e9134a4a03d5cf6997", "sha256": "75055a28f911810e3bd3ebb88a91fe52020183bc516302485823d3074e1e2227" }, "downloads": -1, "filename": "pyort-0.1.6.tar.gz", "has_sig": false, "md5_digest": "9ff1d5db6be352e9134a4a03d5cf6997", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4301, "upload_time": "2018-10-22T02:31:22", "url": "https://files.pythonhosted.org/packages/f5/61/0d23144b555f957c44dfc2a7e64b71a3f590ec5d1aeafe11d49c56c5ac1c/pyort-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "fd8266d91fb87bdfeb7758b2ce23b843", "sha256": "21dbb615b93f7918f2d33c7bb27b7e761b63c638ce841bde3dae1d78e0478123" }, "downloads": -1, "filename": "pyort-0.1.7.tar.gz", "has_sig": false, "md5_digest": "fd8266d91fb87bdfeb7758b2ce23b843", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4565, "upload_time": "2018-10-24T09:00:18", "url": "https://files.pythonhosted.org/packages/41/11/699cefb0970e12e9c44b2eeb7ca5073e76129d4c111582bbfd5b6cd584b3/pyort-0.1.7.tar.gz" } ], "0.1.7.1": [ { "comment_text": "", "digests": { "md5": "3134c3530904cf34882198023723a4f8", "sha256": "1ee47fd71927a88efbaab018bb3766d6b1fc0070b4601f808e6d1eb1a8499eb5" }, "downloads": -1, "filename": "pyort-0.1.7.1.tar.gz", "has_sig": false, "md5_digest": "3134c3530904cf34882198023723a4f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4559, "upload_time": "2018-10-24T09:09:35", "url": "https://files.pythonhosted.org/packages/15/85/e1ff26c7ab264ad14b8fd01f4232a0d000503902cee83e733a76f48a9214/pyort-0.1.7.1.tar.gz" } ], "0.1.7.2": [ { "comment_text": "", "digests": { "md5": "c03de4dfe0c6df97d18ee066f78e3946", "sha256": "5f7e08013d0c5abc0b52d50f1d8b010929d244d8165bbb0b93211a88d336d8aa" }, "downloads": -1, "filename": "pyort-0.1.7.2.tar.gz", "has_sig": false, "md5_digest": "c03de4dfe0c6df97d18ee066f78e3946", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4585, "upload_time": "2018-10-25T05:55:17", "url": "https://files.pythonhosted.org/packages/e9/02/8c25a776e1cdb55906b7fd43e62a661ca8f49a8498cf50023ab9cd150165/pyort-0.1.7.2.tar.gz" } ], "0.1.7.3": [ { "comment_text": "", "digests": { "md5": "106fc6272ba4ed95488fb0476104f99e", "sha256": "096d329c26fd1bb131d2a80a6da483a6187c8002f045c2ebe015cc38ae1a1e16" }, "downloads": -1, "filename": "pyort-0.1.7.3.tar.gz", "has_sig": false, "md5_digest": "106fc6272ba4ed95488fb0476104f99e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4602, "upload_time": "2018-10-27T04:54:03", "url": "https://files.pythonhosted.org/packages/0c/a0/687d5a8aeb4be8d4a19c2c1edb44352713328b67965482417935083fc1ba/pyort-0.1.7.3.tar.gz" } ], "0.1.7.4": [ { "comment_text": "", "digests": { "md5": "55b78a6c72e0f107e815953447d61aec", "sha256": "77ca263a86be8eb770890d312b4f71e41484e7a2954df37e9cc0d0f20efe6ee1" }, "downloads": -1, "filename": "pyort-0.1.7.4.tar.gz", "has_sig": false, "md5_digest": "55b78a6c72e0f107e815953447d61aec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5418, "upload_time": "2018-11-01T11:41:38", "url": "https://files.pythonhosted.org/packages/7a/89/b0818b59beb058c3d79c975ab1103d6ba899d71885c358bef18cabad3fc3/pyort-0.1.7.4.tar.gz" } ], "0.1.7.5": [ { "comment_text": "", "digests": { "md5": "4054a68c15cb7ceb929461aae33a03cf", "sha256": "0943206533f9ca431ca5b06254ed6b0ea7a4d5c2b1a8effbcce757e7c94c5b39" }, "downloads": -1, "filename": "pyort-0.1.7.5.tar.gz", "has_sig": false, "md5_digest": "4054a68c15cb7ceb929461aae33a03cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5468, "upload_time": "2018-11-19T09:51:13", "url": "https://files.pythonhosted.org/packages/ea/c3/185d6023bf3714aa7c0c6783ef186c3db9c15bc0a88bd5d6697f92d27759/pyort-0.1.7.5.tar.gz" } ], "0.1.7.5.1": [ { "comment_text": "", "digests": { "md5": "2aa7a77912d20b63182bc754b189055f", "sha256": "6bbe6b6b8c58c6c8dfd0d104ed8564f63bc98878ba33645d6b00c92b6a4773c9" }, "downloads": -1, "filename": "pyort-0.1.7.5.1.tar.gz", "has_sig": false, "md5_digest": "2aa7a77912d20b63182bc754b189055f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5482, "upload_time": "2018-11-19T10:13:06", "url": "https://files.pythonhosted.org/packages/3c/34/0b5569ca55eab8fa9c187d77690ec44d38ffeeba515d1736b351129466e8/pyort-0.1.7.5.1.tar.gz" } ], "0.1.7.5.2": [ { "comment_text": "", "digests": { "md5": "a7ae8e787fc23b635d1f8ec97703113f", "sha256": "8eec6236e179ccbb999b00d73a5dfbe00c14a96d03d8cbff884b7a1a5fa61bea" }, "downloads": -1, "filename": "pyort-0.1.7.5.2.tar.gz", "has_sig": false, "md5_digest": "a7ae8e787fc23b635d1f8ec97703113f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5433, "upload_time": "2018-11-19T10:49:57", "url": "https://files.pythonhosted.org/packages/58/04/8e99f299ea214f5c5e2154281a3f8d6c86c658a16daf1dc1ae2645113151/pyort-0.1.7.5.2.tar.gz" } ], "0.1.7.5.7": [ { "comment_text": "", "digests": { "md5": "e2f86d245d86fa8e479efacf49627399", "sha256": "b7f7080e33b5f1ff2f37a3c78191a17febccc86d4c1521aaa17bc2a3e4b1c2da" }, "downloads": -1, "filename": "pyort-0.1.7.5.7.tar.gz", "has_sig": false, "md5_digest": "e2f86d245d86fa8e479efacf49627399", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5476, "upload_time": "2018-11-27T08:50:30", "url": "https://files.pythonhosted.org/packages/f7/d8/0a27a9bdef0ac6f6f0b45828ed28451f8ad4f7d450079cf9a96cb58cd0c7/pyort-0.1.7.5.7.tar.gz" } ], "0.1.7.5.8": [ { "comment_text": "", "digests": { "md5": "701c5ee9d5ebf13593602003b7e7ee6f", "sha256": "cffeef169612f3da2d4537bca1071ca0ce140aa0dc4e4cc6ac3955b8933417c8" }, "downloads": -1, "filename": "pyort-0.1.7.5.8.tar.gz", "has_sig": false, "md5_digest": "701c5ee9d5ebf13593602003b7e7ee6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6667, "upload_time": "2018-11-29T06:09:12", "url": "https://files.pythonhosted.org/packages/66/20/885d7c4801b4d6d356505c8ba65fb11dc4fce3fad8c06c673495f30b19ce/pyort-0.1.7.5.8.tar.gz" } ], "0.1.7.5.91": [ { "comment_text": "", "digests": { "md5": "511759cc649b260e09cd31ab47789df5", "sha256": "d05e29050e13e23d52c8df7f7547b7a44d905acaef731e2c9fbc02ea98bde7cc" }, "downloads": -1, "filename": "pyort-0.1.7.5.91.tar.gz", "has_sig": false, "md5_digest": "511759cc649b260e09cd31ab47789df5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6698, "upload_time": "2018-12-13T04:36:49", "url": "https://files.pythonhosted.org/packages/60/53/009ba2ca77fe0285a17877ad39963daa859c869ccb565b086806cc1820dc/pyort-0.1.7.5.91.tar.gz" } ], "0.1.7.6": [ { "comment_text": "", "digests": { "md5": "5216582dd267fd020fe9ebff7b10a371", "sha256": "95212aee5cb8f6c43c31a5b4d4e165dbd3f428759a433243ad91fd0acd27d05a" }, "downloads": -1, "filename": "pyort-0.1.7.6.tar.gz", "has_sig": false, "md5_digest": "5216582dd267fd020fe9ebff7b10a371", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6703, "upload_time": "2018-12-15T04:10:37", "url": "https://files.pythonhosted.org/packages/37/33/da94949f6243993ae02d3a9261c7a4ef3409fd796b696a8d1a63e1e7a73d/pyort-0.1.7.6.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "663c07a290ec7ae1251e57bbf1c2284f", "sha256": "6d715ace96720723dca7571b1bc4ceb4c4faf41be343dbf057731505db38fee6" }, "downloads": -1, "filename": "pyort-0.1.8.tar.gz", "has_sig": false, "md5_digest": "663c07a290ec7ae1251e57bbf1c2284f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8675, "upload_time": "2019-05-05T02:15:11", "url": "https://files.pythonhosted.org/packages/83/0c/9b3b98d63671bc0facf34472fee8bed2e319eca2125d27bdc9f93edf6b50/pyort-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "663c07a290ec7ae1251e57bbf1c2284f", "sha256": "6d715ace96720723dca7571b1bc4ceb4c4faf41be343dbf057731505db38fee6" }, "downloads": -1, "filename": "pyort-0.1.8.tar.gz", "has_sig": false, "md5_digest": "663c07a290ec7ae1251e57bbf1c2284f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8675, "upload_time": "2019-05-05T02:15:11", "url": "https://files.pythonhosted.org/packages/83/0c/9b3b98d63671bc0facf34472fee8bed2e319eca2125d27bdc9f93edf6b50/pyort-0.1.8.tar.gz" } ] }