{ "info": { "author": "toughmen", "author_email": "wjt.net@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "# toughbt\n\ntoughbt \u662f\u4e00\u4e2a\u57fa\u4e8ePython/twisted\u5f00\u53d1\u7684 radius \u670d\u52a1\u6027\u80fd\u6d4b\u8bd5\u5de5\u5177\u3002\n\n## \u8fd0\u884c\u73af\u5883\n\n - Linux/Mac OSX/BSD\n - ZMQ\n - Python 2.7/PyPy\n - easy_install/pip\n\n\n## \u5b89\u88c5\n\n pip install toughbt\n\n## \u4f7f\u7528\u8bf4\u660e\n\n $ pypy trbctl -h\n\n usage: trbctl [-h] [-auth] [-acct] [-m] [-w] [-s SERVER] [-P PORT] [-e SECRET]\n [-u USERNAME] [-p PASSWORD] [-n REQUESTS] [-c CONCURRENCY] [-v]\n [-t TIMEOUT] [-f FORK] [-i INTERVAL] [-r RATE] [-conf CONF]\n\n optional arguments:\n -h, --help show this help message and exit\n -auth, --auth Run radius auth test\n -acct, --acct Run radius acct test\n -m, --master Run benchmark master\n -w, --worker Run benchmark worker\n -s SERVER, --server SERVER\n Radius server address\n -P PORT, --port PORT Radius server auth port or acct port\n -e SECRET, --secret SECRET\n Radius testing share secret\n -u USERNAME, --username USERNAME\n Radius testing username\n -p PASSWORD, --password PASSWORD\n Radius testing password\n -n REQUESTS, --requests REQUESTS\n Number of requests to perform\n -c CONCURRENCY, --concurrency CONCURRENCY\n Number of multiple requests to make at a time\n -v, --verbosity How much troubleshooting info to print\n -t TIMEOUT, --timeout TIMEOUT\n Seconds to max. wait for all response\n -f FORK, --fork FORK Fork worker process nums, default 1\n -i INTERVAL, --interval INTERVAL\n Stat data interval, default 2 sec\n -r RATE, --rate RATE Max send message rate , default 5000 per process\n -conf CONF, --conf CONF\n Radius testing config file\n\n\n## \u793a\u4f8b\n\n $ trbctl --auth -m -u trbtest -p 888888 -n 10000 -c 100 -f 2 -i 5 -r 500 -t 1000\n\n benckmark worker created! master pid - 78933, worker pid - 78937\n benckmark worker created! master pid - 78933, worker pid - 78938\n write worker 78938 log into /tmp/trbctl-worker-1.log\n write worker 78937 log into /tmp/trbctl-worker-0.log\n ...........\n ...........\n ...........\n ...........\n ...........\n ...........\n ------------------ radius auth benchmark statistics result ----------------------\n -\n - Benchmark params\n -\n - Client platform : Darwin-15.3.0-x86_64-i386-64bit, x86_64\n - Python implement, version : PyPy, 2.7.9\n - Radius server address : 127.0.0.1\n - Radius Server auth port : 1812\n - Raduius share secret : secret\n - Auth Request total : 10000\n - Concurrency level : 100\n - Worker Process num : 2\n - All Requests timeout : 1000 sec\n - Stat data interval : 5 sec\n - Send request rate : 500/sec\n -\n - Time data statistics\n -\n - Current stat datetime : Sat Mar 19 19:09:54 2016\n - Current sent request : 10000\n - Current received response : 10000\n - Current accepts response : 9992\n - Current rejects response : 8\n - Current error response : 0\n - Current requests per second : 373.312449622, cast 3.75824594498 sec\n - Current max requests per second : 502.08186488, cast 5.01711010933 sec\n - Current time per request : 2.67872127226 ms\n - Current min time per request : 1.99170707 ms\n - Current max time per request : 35.0688480669 ms\n - Current Cast total seconds : 28.886922121 sec\n ---------------------------------------------------------------------------------", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/toughmen/toughradius-benchmark", "keywords": "radius,AAA,authentication,accounting,authorization,toughradius,benchmark", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "toughbt", "package_url": "https://pypi.org/project/toughbt/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/toughbt/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/toughmen/toughradius-benchmark" }, "release_url": "https://pypi.org/project/toughbt/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "RADIUS tools", "version": "0.0.7" }, "last_serial": 2017155, "releases": { "0.0.1": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "f0be6b90075a1b9932b36bd06272c2dc", "sha256": "cca547243c9b991388c8954d98ac4d4e286a470e2e7dd948dc58e27206c3c99c" }, "downloads": -1, "filename": "toughbt-0.0.1.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "f0be6b90075a1b9932b36bd06272c2dc", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8095, "upload_time": "2016-03-17T12:44:06", "url": "https://files.pythonhosted.org/packages/a4/d4/74b912bdbb5bafda92e07dd4dc4049e2e15949724bbe70b87a8d45aa2316/toughbt-0.0.1.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "763e1441fcd048bf199c912ba1ef681e", "sha256": "9b4e00c183bce4dc3a7d47ae7461b11fab592365984cbbb1ef14cbddab50e6e1" }, "downloads": -1, "filename": "toughbt-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "763e1441fcd048bf199c912ba1ef681e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10469, "upload_time": "2016-03-17T12:44:22", "url": "https://files.pythonhosted.org/packages/1c/69/38f02d37b6dc391fb559e575db55ba10167802b5aa8a3ee5453c5e9f6af0/toughbt-0.0.1-py2-none-any.whl" } ], "0.0.2": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "f3d6cbc71ea4888b5268daa436e107fe", "sha256": "bd01fbf27f520d3748a1617fd2794cb338d96022db17939902c1ea771bd7bc21" }, "downloads": -1, "filename": "toughbt-0.0.2.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "f3d6cbc71ea4888b5268daa436e107fe", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8098, "upload_time": "2016-03-17T12:49:51", "url": "https://files.pythonhosted.org/packages/ca/66/87fcf200a305bf71e093b505dac4b1bb6cb57c77a92b5bbc4b686d4c2b91/toughbt-0.0.2.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "9265f06258ef4dbc3197cd977caa8cbf", "sha256": "dd543096f74413a27919f5148aec2d5fb725279c75e9c4726729fc601a4ce909" }, "downloads": -1, "filename": "toughbt-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "9265f06258ef4dbc3197cd977caa8cbf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10472, "upload_time": "2016-03-17T12:50:00", "url": "https://files.pythonhosted.org/packages/35/09/d390f4ca927271ed3e83ae8f278518b619436fb36ee56321cae56c7c2c62/toughbt-0.0.2-py2-none-any.whl" } ], "0.0.3": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "787478f75be7aff1b05f5e6fea4520bb", "sha256": "e41ad6c3e05714661b7476d768e2ad5813438c76424b1fa6086aa544841cdd14" }, "downloads": -1, "filename": "toughbt-0.0.3.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "787478f75be7aff1b05f5e6fea4520bb", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8086, "upload_time": "2016-03-17T12:51:09", "url": "https://files.pythonhosted.org/packages/1b/44/401c71b802795b0b8a6c8cbad685c809f806770432b2a8c032cc55691743/toughbt-0.0.3.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "c0f23c9096f2453c1adeb04f43a15bb3", "sha256": "8aac5b44696708a2707ec8211aa74ed03ae47025c8be0eafd4e342b1d592cf24" }, "downloads": -1, "filename": "toughbt-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "c0f23c9096f2453c1adeb04f43a15bb3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10470, "upload_time": "2016-03-17T12:51:23", "url": "https://files.pythonhosted.org/packages/ea/5c/3326a314b8d7375c30368b75faaea13fa2c8ce5b0ff5e4171c50c90c3855/toughbt-0.0.3-py2-none-any.whl" } ], "0.0.4": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "c1ab3de4f443b9290804fc8e418888cd", "sha256": "97de199380d39bea1a9ec8f64d8b06fab7e8787b58892a17df77542e4214bf09" }, "downloads": -1, "filename": "toughbt-0.0.4.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "c1ab3de4f443b9290804fc8e418888cd", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8666, "upload_time": "2016-03-17T14:11:45", "url": "https://files.pythonhosted.org/packages/57/f7/c8b02821685a730e6a02fd3f0d692e617dbb73a3185c0bb909550466f805/toughbt-0.0.4.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "b6c5bd7cc37d3c737a23a7a27a7bbbd3", "sha256": "5617450157efa33a03eaa8c092599be8c55ec0bb89fb51aa85c5a264cd7692ad" }, "downloads": -1, "filename": "toughbt-0.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "b6c5bd7cc37d3c737a23a7a27a7bbbd3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11364, "upload_time": "2016-03-17T14:11:55", "url": "https://files.pythonhosted.org/packages/a0/f7/50667aed408103a7ca50e8d834cc347e7e523cbf027764f54f6aabfbadab/toughbt-0.0.4-py2-none-any.whl" } ], "0.0.5": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "a7b7cb8df336a84379d2b5f8bdd78f94", "sha256": "bb317acc0fadf9fbaf6fea3db8c8f1c3a97be556f6c6bce541d4e531c070a8ec" }, "downloads": -1, "filename": "toughbt-0.0.5.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "a7b7cb8df336a84379d2b5f8bdd78f94", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 23438, "upload_time": "2016-03-20T16:16:54", "url": "https://files.pythonhosted.org/packages/23/0d/04b00f782cd9bd3e733ba260c731d2003d5c9bc61fc37602748c61b6e0e3/toughbt-0.0.5.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "f9c883a8f66164b74abf084fe2b95e3d", "sha256": "381b22dc348ef56b567bf61a806eefa02758d6ceb5d3732e3cbfba42853a6a0d" }, "downloads": -1, "filename": "toughbt-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "f9c883a8f66164b74abf084fe2b95e3d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19424, "upload_time": "2016-03-20T16:17:02", "url": "https://files.pythonhosted.org/packages/99/93/465ec6e9c3651f13ba6f46bf025e77b92d6239086fa363384c95e9a10316/toughbt-0.0.5-py2-none-any.whl" } ], "0.0.6": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "29770fe9efb4efaa0ea668f35fd12c1f", "sha256": "cf0a59798f5353cb97956762480102da8a2e0c8139654069727a91431ad364b0" }, "downloads": -1, "filename": "toughbt-0.0.6.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "29770fe9efb4efaa0ea668f35fd12c1f", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 23428, "upload_time": "2016-03-20T17:21:06", "url": "https://files.pythonhosted.org/packages/19/76/7c672f006926ce0727b57a5028221b1192655d50352b9931016251667ed8/toughbt-0.0.6.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "c6b775f6724c8b2b51116d0a5485b26f", "sha256": "0ef1e45865182d7f3b7891a6641f6c922c16ce0f6839c6aee13ca55b647b09e8" }, "downloads": -1, "filename": "toughbt-0.0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "c6b775f6724c8b2b51116d0a5485b26f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19422, "upload_time": "2016-03-20T17:21:14", "url": "https://files.pythonhosted.org/packages/91/8c/349450085753595d44a502201593c7b2edc1d992c4cbcf0616a439b75909/toughbt-0.0.6-py2-none-any.whl" } ], "0.0.7": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "2e558c8f93cf6ba4816771e3a1b4ec15", "sha256": "227ac55392722005a944496ab27edb9ceae04fa49bb6ae0f48af74a544b6eb5c" }, "downloads": -1, "filename": "toughbt-0.0.7.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "2e558c8f93cf6ba4816771e3a1b4ec15", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 23767, "upload_time": "2016-03-20T17:32:12", "url": "https://files.pythonhosted.org/packages/28/11/ecb9c3387a14f9ce5004a93700fc387f6b67efabc14265ded4dacb6a5119/toughbt-0.0.7.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "747b078c36e0eddf9528835d5e64a2ae", "sha256": "ef8db9d8298a90b569980a9e7c8c4f7c94318dc1324c7d622075cc8a3b38603d" }, "downloads": -1, "filename": "toughbt-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "747b078c36e0eddf9528835d5e64a2ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19613, "upload_time": "2016-03-20T17:32:28", "url": "https://files.pythonhosted.org/packages/ca/d7/0fac0590906c119347c8921c7f5e1501ad8d9173fad70dac8906c969afb4/toughbt-0.0.7-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "built for Darwin-15.3.0", "digests": { "md5": "2e558c8f93cf6ba4816771e3a1b4ec15", "sha256": "227ac55392722005a944496ab27edb9ceae04fa49bb6ae0f48af74a544b6eb5c" }, "downloads": -1, "filename": "toughbt-0.0.7.macosx-10.11-intel.tar.gz", "has_sig": false, "md5_digest": "2e558c8f93cf6ba4816771e3a1b4ec15", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 23767, "upload_time": "2016-03-20T17:32:12", "url": "https://files.pythonhosted.org/packages/28/11/ecb9c3387a14f9ce5004a93700fc387f6b67efabc14265ded4dacb6a5119/toughbt-0.0.7.macosx-10.11-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "747b078c36e0eddf9528835d5e64a2ae", "sha256": "ef8db9d8298a90b569980a9e7c8c4f7c94318dc1324c7d622075cc8a3b38603d" }, "downloads": -1, "filename": "toughbt-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "747b078c36e0eddf9528835d5e64a2ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19613, "upload_time": "2016-03-20T17:32:28", "url": "https://files.pythonhosted.org/packages/ca/d7/0fac0590906c119347c8921c7f5e1501ad8d9173fad70dac8906c969afb4/toughbt-0.0.7-py2-none-any.whl" } ] }