{"action":"created","issue":{"url":"https://api.github.com/repos/nmap/nmap/issues/135","labels_url":"https://api.github.com/repos/nmap/nmap/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/nmap/nmap/issues/135/comments","events_url":"https://api.github.com/repos/nmap/nmap/issues/135/events","html_url":"https://github.com/nmap/nmap/issues/135","id":81719996,"number":135,"title":"Update Npcap so that it can be installed alongside Winpcap and applications can be made to choose which one they use","user":{"login":"fyodor","id":2155933,"avatar_url":"https://avatars.githubusercontent.com/u/2155933?v=3","gravatar_id":"","url":"https://api.github.com/users/fyodor","html_url":"https://github.com/fyodor","followers_url":"https://api.github.com/users/fyodor/followers","following_url":"https://api.github.com/users/fyodor/following{/other_user}","gists_url":"https://api.github.com/users/fyodor/gists{/gist_id}","starred_url":"https://api.github.com/users/fyodor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyodor/subscriptions","organizations_url":"https://api.github.com/users/fyodor/orgs","repos_url":"https://api.github.com/users/fyodor/repos","events_url":"https://api.github.com/users/fyodor/events{/privacy}","received_events_url":"https://api.github.com/users/fyodor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nmap/nmap/labels/Npcap","name":"Npcap","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"hsluoyz","id":3787410,"avatar_url":"https://avatars.githubusercontent.com/u/3787410?v=3","gravatar_id":"","url":"https://api.github.com/users/hsluoyz","html_url":"https://github.com/hsluoyz","followers_url":"https://api.github.com/users/hsluoyz/followers","following_url":"https://api.github.com/users/hsluoyz/following{/other_user}","gists_url":"https://api.github.com/users/hsluoyz/gists{/gist_id}","starred_url":"https://api.github.com/users/hsluoyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsluoyz/subscriptions","organizations_url":"https://api.github.com/users/hsluoyz/orgs","repos_url":"https://api.github.com/users/hsluoyz/repos","events_url":"https://api.github.com/users/hsluoyz/events{/privacy}","received_events_url":"https://api.github.com/users/hsluoyz/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-28T02:21:31Z","updated_at":"2015-06-10T17:00:58Z","closed_at":null,"body":"Right now, our npcap installer basically thinks it is the Nmap Winpcap installer and so it will uninstall an existing winpcap if encountered.  I think in normal (non-silent mode) it asks the user first. We should instead update npcap so that it can install alongside an existing Winpcap.  This means we need to use a different driver name than npf.exe, for example, and do the install in a different directory path.  We need to have a good way in mind for applications to be able to select which they use, if desired.  Because for Nmap we would desire this."},"comment":{"url":"https://api.github.com/repos/nmap/nmap/issues/comments/110835435","html_url":"https://github.com/nmap/nmap/issues/135#issuecomment-110835435","issue_url":"https://api.github.com/repos/nmap/nmap/issues/135","id":110835435,"user":{"login":"hsluoyz","id":3787410,"avatar_url":"https://avatars.githubusercontent.com/u/3787410?v=3","gravatar_id":"","url":"https://api.github.com/users/hsluoyz","html_url":"https://github.com/hsluoyz","followers_url":"https://api.github.com/users/hsluoyz/followers","following_url":"https://api.github.com/users/hsluoyz/following{/other_user}","gists_url":"https://api.github.com/users/hsluoyz/gists{/gist_id}","starred_url":"https://api.github.com/users/hsluoyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsluoyz/subscriptions","organizations_url":"https://api.github.com/users/hsluoyz/orgs","repos_url":"https://api.github.com/users/hsluoyz/repos","events_url":"https://api.github.com/users/hsluoyz/events{/privacy}","received_events_url":"https://api.github.com/users/hsluoyz/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T17:00:58Z","updated_at":"2015-06-10T17:00:58Z","body":"I figured out a way for Nmap to choose between WinPcap and NPcap, at the same time we don't need to rename wpcap.dll to npcap.dll.\r\n\r\nThat is: \r\nNmap call SetDllDirectory(\"C:\\\\Windows\\\\system32\\\\NPcap\") before DLL loading (nmap uses DLL delay loading, so we have much time to make the call). Then path \"C:\\\\Windows\\\\system32\\\\NPcap\" will be searched earlier by Windows than system32 path, according to https://msdn.microsoft.com/en-us/library/ms686203.aspx"}}