{"action":"opened","issue":{"url":"https://api.github.com/repos/etingof/snmpsim/issues/33","repository_url":"https://api.github.com/repos/etingof/snmpsim","labels_url":"https://api.github.com/repos/etingof/snmpsim/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/etingof/snmpsim/issues/33/comments","events_url":"https://api.github.com/repos/etingof/snmpsim/issues/33/events","html_url":"https://github.com/etingof/snmpsim/issues/33","id":306100773,"number":33,"title":"ERROR: pylibpcap package is missing!","user":{"login":"ChristopheVidaillac","id":37460061,"avatar_url":"https://avatars2.githubusercontent.com/u/37460061?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopheVidaillac","html_url":"https://github.com/ChristopheVidaillac","followers_url":"https://api.github.com/users/ChristopheVidaillac/followers","following_url":"https://api.github.com/users/ChristopheVidaillac/following{/other_user}","gists_url":"https://api.github.com/users/ChristopheVidaillac/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopheVidaillac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopheVidaillac/subscriptions","organizations_url":"https://api.github.com/users/ChristopheVidaillac/orgs","repos_url":"https://api.github.com/users/ChristopheVidaillac/repos","events_url":"https://api.github.com/users/ChristopheVidaillac/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopheVidaillac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T23:02:00Z","updated_at":"2018-03-16T23:02:00Z","closed_at":null,"author_association":"NONE","body":"I tried to use pcap2dev.py tool against an tcpdump file and got the issue:\r\n\r\n[root@mimicsnmp ~]# pcap2dev.py --output-dir=/opt/SNMP_repo/tcpdumps --capture-file=net_trace_63.218.170.5.tc                                pdump\r\nERROR: pylibpcap package is missing!\r\nGet it from http://sourceforge.net/projects/pylibpcap/\r\nUsage: /usr/bin/pcap2dev.py [--help]\r\n    [--version]\r\n....\r\n\r\nI'm running a python version 2.7 and understood that I need to install the pylibpcap package but got the following issue when I tried to install that package:\r\n\r\n[root@mimicsnmp ~]# pip install pylibpcap -vvv\r\nCollecting pylibpcap\r\n  1 location(s) to search for versions of pylibpcap:\r\n  * https://pypi.python.org/simple/pylibpcap/\r\n  Getting page https://pypi.python.org/simple/pylibpcap/\r\n  Looking up \"https://pypi.python.org/simple/pylibpcap/\" in the cache\r\n  No cache entry available\r\n  Starting new HTTPS connection (1): pypi.python.org\r\n  \"GET /simple/pylibpcap/ HTTP/1.1\" 200 93\r\n  Updating cache with response from \"https://pypi.python.org/simple/pylibpcap/\"\r\n  Caching b/c date exists and max-age > 0\r\n  Analyzing links from page https://pypi.python.org/simple/pylibpcap/\r\n  Could not find a version that satisfies the requirement pylibpcap (from versions: )\r\nCleaning up...\r\nNo matching distribution found for pylibpcap\r\nException information:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pip/basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/lib/python2.7/site-packages/pip/commands/install.py\", line 335, in run\r\n    wb.build(autobuilding=True)\r\n  File \"/usr/lib/python2.7/site-packages/pip/wheel.py\", line 749, in build\r\n    self.requirement_set.prepare_files(self.finder)\r\n  File \"/usr/lib/python2.7/site-packages/pip/req/req_set.py\", line 380, in prepare_files\r\n    ignore_dependencies=self.ignore_dependencies))\r\n  File \"/usr/lib/python2.7/site-packages/pip/req/req_set.py\", line 554, in _prepare_file\r\n    require_hashes\r\n  File \"/usr/lib/python2.7/site-packages/pip/req/req_install.py\", line 278, in populate_link\r\n    self.link = finder.find_requirement(self, upgrade)\r\n  File \"/usr/lib/python2.7/site-packages/pip/index.py\", line 514, in find_requirement\r\n    'No matching distribution found for %s' % req\r\nDistributionNotFound: No matching distribution found for pylibpcap\r\nLooking up \"https://pypi.python.org/pypi/pip/json\" in the cache\r\nCurrent age based on date: 5465272\r\nFreshness lifetime from max-age: 600\r\nThe cached response is \"stale\" with no etag, purging\r\nStarting new HTTPS connection (1): pypi.python.org\r\n\"GET /pypi/pip/json HTTP/1.1\" 200 72983\r\nUpdating cache with response from \"https://pypi.python.org/pypi/pip/json\"\r\nCaching b/c date exists and max-age > 0\r\n\r\n\r\nAny idea to help me to make it running this great tool on my Redhat :-) ?\r\n\r\nThanks for your help\r\n\r\nChristophe"}}
{"actor":{"display_login":"ChristopheVidaillac"}}