{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/agreene5/masscan/pulls/3","id":79472711,"html_url":"https://github.com/agreene5/masscan/pull/3","diff_url":"https://github.com/agreene5/masscan/pull/3.diff","patch_url":"https://github.com/agreene5/masscan/pull/3.patch","issue_url":"https://api.github.com/repos/agreene5/masscan/issues/3","number":3,"state":"open","locked":false,"title":"Added a new feature that allows for file based locking. The purpose","user":{"login":"agreene5","id":8016228,"avatar_url":"https://avatars.githubusercontent.com/u/8016228?v=3","gravatar_id":"","url":"https://api.github.com/users/agreene5","html_url":"https://github.com/agreene5","followers_url":"https://api.github.com/users/agreene5/followers","following_url":"https://api.github.com/users/agreene5/following{/other_user}","gists_url":"https://api.github.com/users/agreene5/gists{/gist_id}","starred_url":"https://api.github.com/users/agreene5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agreene5/subscriptions","organizations_url":"https://api.github.com/users/agreene5/orgs","repos_url":"https://api.github.com/users/agreene5/repos","events_url":"https://api.github.com/users/agreene5/events{/privacy}","received_events_url":"https://api.github.com/users/agreene5/received_events","type":"User","site_admin":false},"body":"of this is to prevent multiple instances of masscan from running\r\nsimultaneously (by accident) via an automated script. For example:\r\n\r\n$ sudo masscan --range 10.0.0.0/8 \\\r\n               --ports 1-65535 \\\r\n               --rate 60000 \\\r\n               --lockfile /tmp/autoscan\r\n\r\nThis will have the effect of preventing another scan from running\r\nwhen specifying the same lock file, assuming the initial scan is\r\nstill running / holding the lock.\r\n\r\nThis is useful when masscan is used with aggressive packet rates\r\non networks (LANs) that will melt if something goes awry and multiple\r\ninstances of the same scan kick off simultaneously, effectively\r\ndoubling (or tripling, etc.) the rate that packets are being sent.\r\n\r\nThis is a mitigation for edge cases in broken third party code, but\r\nit seems like a simple enough feature to implement in the masscan\r\ncode itself.\r\n\r\nThe user has to obviously be aware of how to use the feature and\r\nensure that all invocations of masscan utilize the same lock file.\r\n\r\nThis is only tested on Linux, so it is only compiled in when the\r\n__linux__ value is defined.","created_at":"2016-07-31T00:56:11Z","updated_at":"2016-07-31T00:56:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a732429973ce6d4185c4407d0078a13f85dc2c61","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/agreene5/masscan/pulls/3/commits","review_comments_url":"https://api.github.com/repos/agreene5/masscan/pulls/3/comments","review_comment_url":"https://api.github.com/repos/agreene5/masscan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agreene5/masscan/issues/3/comments","statuses_url":"https://api.github.com/repos/agreene5/masscan/statuses/a9b7cd2e92cd2b759aa5eb22afc614041b208ec6","head":{"label":"agreene5:feature.lockfile.20160723","ref":"feature.lockfile.20160723","sha":"a9b7cd2e92cd2b759aa5eb22afc614041b208ec6","user":{"login":"agreene5","id":8016228,"avatar_url":"https://avatars.githubusercontent.com/u/8016228?v=3","gravatar_id":"","url":"https://api.github.com/users/agreene5","html_url":"https://github.com/agreene5","followers_url":"https://api.github.com/users/agreene5/followers","following_url":"https://api.github.com/users/agreene5/following{/other_user}","gists_url":"https://api.github.com/users/agreene5/gists{/gist_id}","starred_url":"https://api.github.com/users/agreene5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agreene5/subscriptions","organizations_url":"https://api.github.com/users/agreene5/orgs","repos_url":"https://api.github.com/users/agreene5/repos","events_url":"https://api.github.com/users/agreene5/events{/privacy}","received_events_url":"https://api.github.com/users/agreene5/received_events","type":"User","site_admin":false},"repo":{"id":64041508,"name":"masscan","full_name":"agreene5/masscan","owner":{"login":"agreene5","id":8016228,"avatar_url":"https://avatars.githubusercontent.com/u/8016228?v=3","gravatar_id":"","url":"https://api.github.com/users/agreene5","html_url":"https://github.com/agreene5","followers_url":"https://api.github.com/users/agreene5/followers","following_url":"https://api.github.com/users/agreene5/following{/other_user}","gists_url":"https://api.github.com/users/agreene5/gists{/gist_id}","starred_url":"https://api.github.com/users/agreene5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agreene5/subscriptions","organizations_url":"https://api.github.com/users/agreene5/orgs","repos_url":"https://api.github.com/users/agreene5/repos","events_url":"https://api.github.com/users/agreene5/events{/privacy}","received_events_url":"https://api.github.com/users/agreene5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agreene5/masscan","description":"TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes. Customized fork.","fork":true,"url":"https://api.github.com/repos/agreene5/masscan","forks_url":"https://api.github.com/repos/agreene5/masscan/forks","keys_url":"https://api.github.com/repos/agreene5/masscan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agreene5/masscan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agreene5/masscan/teams","hooks_url":"https://api.github.com/repos/agreene5/masscan/hooks","issue_events_url":"https://api.github.com/repos/agreene5/masscan/issues/events{/number}","events_url":"https://api.github.com/repos/agreene5/masscan/events","assignees_url":"https://api.github.com/repos/agreene5/masscan/assignees{/user}","branches_url":"https://api.github.com/repos/agreene5/masscan/branches{/branch}","tags_url":"https://api.github.com/repos/agreene5/masscan/tags","blobs_url":"https://api.github.com/repos/agreene5/masscan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agreene5/masscan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agreene5/masscan/git/refs{/sha}","trees_url":"https://api.github.com/repos/agreene5/masscan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agreene5/masscan/statuses/{sha}","languages_url":"https://api.github.com/repos/agreene5/masscan/languages","stargazers_url":"https://api.github.com/repos/agreene5/masscan/stargazers","contributors_url":"https://api.github.com/repos/agreene5/masscan/contributors","subscribers_url":"https://api.github.com/repos/agreene5/masscan/subscribers","subscription_url":"https://api.github.com/repos/agreene5/masscan/subscription","commits_url":"https://api.github.com/repos/agreene5/masscan/commits{/sha}","git_commits_url":"https://api.github.com/repos/agreene5/masscan/git/commits{/sha}","comments_url":"https://api.github.com/repos/agreene5/masscan/comments{/number}","issue_comment_url":"https://api.github.com/repos/agreene5/masscan/issues/comments{/number}","contents_url":"https://api.github.com/repos/agreene5/masscan/contents/{+path}","compare_url":"https://api.github.com/repos/agreene5/masscan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agreene5/masscan/merges","archive_url":"https://api.github.com/repos/agreene5/masscan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agreene5/masscan/downloads","issues_url":"https://api.github.com/repos/agreene5/masscan/issues{/number}","pulls_url":"https://api.github.com/repos/agreene5/masscan/pulls{/number}","milestones_url":"https://api.github.com/repos/agreene5/masscan/milestones{/number}","notifications_url":"https://api.github.com/repos/agreene5/masscan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agreene5/masscan/labels{/name}","releases_url":"https://api.github.com/repos/agreene5/masscan/releases{/id}","deployments_url":"https://api.github.com/repos/agreene5/masscan/deployments","created_at":"2016-07-24T00:22:19Z","updated_at":"2016-07-24T00:22:44Z","pushed_at":"2016-07-31T00:56:11Z","git_url":"git://github.com/agreene5/masscan.git","ssh_url":"git@github.com:agreene5/masscan.git","clone_url":"https://github.com/agreene5/masscan.git","svn_url":"https://github.com/agreene5/masscan","homepage":"","size":2186,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"agreene5:current","ref":"current","sha":"3c1c398d63ad335d3b677c19c16736a01e452ad8","user":{"login":"agreene5","id":8016228,"avatar_url":"https://avatars.githubusercontent.com/u/8016228?v=3","gravatar_id":"","url":"https://api.github.com/users/agreene5","html_url":"https://github.com/agreene5","followers_url":"https://api.github.com/users/agreene5/followers","following_url":"https://api.github.com/users/agreene5/following{/other_user}","gists_url":"https://api.github.com/users/agreene5/gists{/gist_id}","starred_url":"https://api.github.com/users/agreene5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agreene5/subscriptions","organizations_url":"https://api.github.com/users/agreene5/orgs","repos_url":"https://api.github.com/users/agreene5/repos","events_url":"https://api.github.com/users/agreene5/events{/privacy}","received_events_url":"https://api.github.com/users/agreene5/received_events","type":"User","site_admin":false},"repo":{"id":64041508,"name":"masscan","full_name":"agreene5/masscan","owner":{"login":"agreene5","id":8016228,"avatar_url":"https://avatars.githubusercontent.com/u/8016228?v=3","gravatar_id":"","url":"https://api.github.com/users/agreene5","html_url":"https://github.com/agreene5","followers_url":"https://api.github.com/users/agreene5/followers","following_url":"https://api.github.com/users/agreene5/following{/other_user}","gists_url":"https://api.github.com/users/agreene5/gists{/gist_id}","starred_url":"https://api.github.com/users/agreene5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agreene5/subscriptions","organizations_url":"https://api.github.com/users/agreene5/orgs","repos_url":"https://api.github.com/users/agreene5/repos","events_url":"https://api.github.com/users/agreene5/events{/privacy}","received_events_url":"https://api.github.com/users/agreene5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agreene5/masscan","description":"TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes. Customized fork.","fork":true,"url":"https://api.github.com/repos/agreene5/masscan","forks_url":"https://api.github.com/repos/agreene5/masscan/forks","keys_url":"https://api.github.com/repos/agreene5/masscan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agreene5/masscan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agreene5/masscan/teams","hooks_url":"https://api.github.com/repos/agreene5/masscan/hooks","issue_events_url":"https://api.github.com/repos/agreene5/masscan/issues/events{/number}","events_url":"https://api.github.com/repos/agreene5/masscan/events","assignees_url":"https://api.github.com/repos/agreene5/masscan/assignees{/user}","branches_url":"https://api.github.com/repos/agreene5/masscan/branches{/branch}","tags_url":"https://api.github.com/repos/agreene5/masscan/tags","blobs_url":"https://api.github.com/repos/agreene5/masscan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agreene5/masscan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agreene5/masscan/git/refs{/sha}","trees_url":"https://api.github.com/repos/agreene5/masscan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agreene5/masscan/statuses/{sha}","languages_url":"https://api.github.com/repos/agreene5/masscan/languages","stargazers_url":"https://api.github.com/repos/agreene5/masscan/stargazers","contributors_url":"https://api.github.com/repos/agreene5/masscan/contributors","subscribers_url":"https://api.github.com/repos/agreene5/masscan/subscribers","subscription_url":"https://api.github.com/repos/agreene5/masscan/subscription","commits_url":"https://api.github.com/repos/agreene5/masscan/commits{/sha}","git_commits_url":"https://api.github.com/repos/agreene5/masscan/git/commits{/sha}","comments_url":"https://api.github.com/repos/agreene5/masscan/comments{/number}","issue_comment_url":"https://api.github.com/repos/agreene5/masscan/issues/comments{/number}","contents_url":"https://api.github.com/repos/agreene5/masscan/contents/{+path}","compare_url":"https://api.github.com/repos/agreene5/masscan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agreene5/masscan/merges","archive_url":"https://api.github.com/repos/agreene5/masscan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agreene5/masscan/downloads","issues_url":"https://api.github.com/repos/agreene5/masscan/issues{/number}","pulls_url":"https://api.github.com/repos/agreene5/masscan/pulls{/number}","milestones_url":"https://api.github.com/repos/agreene5/masscan/milestones{/number}","notifications_url":"https://api.github.com/repos/agreene5/masscan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agreene5/masscan/labels{/name}","releases_url":"https://api.github.com/repos/agreene5/masscan/releases{/id}","deployments_url":"https://api.github.com/repos/agreene5/masscan/deployments","created_at":"2016-07-24T00:22:19Z","updated_at":"2016-07-24T00:22:44Z","pushed_at":"2016-07-31T00:56:11Z","git_url":"git://github.com/agreene5/masscan.git","ssh_url":"git@github.com:agreene5/masscan.git","clone_url":"https://github.com/agreene5/masscan.git","svn_url":"https://github.com/agreene5/masscan","homepage":"","size":2186,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agreene5/masscan/pulls/3"},"html":{"href":"https://github.com/agreene5/masscan/pull/3"},"issue":{"href":"https://api.github.com/repos/agreene5/masscan/issues/3"},"comments":{"href":"https://api.github.com/repos/agreene5/masscan/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/agreene5/masscan/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/agreene5/masscan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agreene5/masscan/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/agreene5/masscan/statuses/a9b7cd2e92cd2b759aa5eb22afc614041b208ec6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":121,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"agreene5"}}