Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

masscan: init at 2016-11-03 #22438

Merged
merged 1 commit into from Apr 30, 2017
Merged

masscan: init at 2016-11-03 #22438

merged 1 commit into from Apr 30, 2017

Conversation

rnhmjoj
Copy link
Contributor

@rnhmjoj rnhmjoj commented Feb 4, 2017

Things done
  • Tested using sandboxing
    • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change (none, new package)
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

cp data/exclude.conf $out/etc/masscan
cp -t $out/share/doc/masscan doc/algorithm.js doc/howto-afl.md doc/bot.hml
cp doc/masscan.8 $out/share/man/man8/masscan.8
cp LICENSE $out/share/licenses/masscan/LICENSE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a minor indentation issue here, but looks good to me other than this.


stdenv.mkDerivation rec {
name = "masscan-${version}";
version = "2017-02-04";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the date of the git commit you're packaging, in this case 2016-11-03.

Also, is there a specific reason to package the master branch instead of a release?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last release is 3 years old and in the meantime many bugfixes and patches have been committed.

@c0bw3b
Copy link
Contributor

c0bw3b commented Feb 6, 2017

Maybe the description should invite the user to read carefully the doc/README before running this to prevent one's public IP getting blacklisted somehow.

@rnhmjoj rnhmjoj changed the title masscan: init at 2017-02-04 masscan: init at 2016-11-03 Feb 6, 2017
@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Feb 6, 2017

Also what to do about darwin? It's a supported platform but the build fails.

@joachifm
Copy link
Contributor

joachifm commented Feb 6, 2017

@rnhmjoj the error message says it fails to find gcc; perhaps the build script could be patched to simply use cc. If it truly needs gcc, it could be added to the inputs.

@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Feb 11, 2017

Now it can't find libpcap references.

@fpletz
Copy link
Member

fpletz commented Feb 26, 2017

This builds fine for me on NixOS. Restarted travis.

@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Feb 26, 2017

Yeah, the problem is darwin. At this point I should just disable it.

@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Apr 1, 2017

I disabled darwin since no one could figure this out.

@7c6f434c
Copy link
Member

7c6f434c commented Apr 30, 2017

@c0bw3b you can get yourself banned with usual nmap, and I think this massscan tool is useful even on a medium-size LAN…

@7c6f434c 7c6f434c merged commit b3d1050 into NixOS:master Apr 30, 2017
@rnhmjoj rnhmjoj deleted the masscan branch September 12, 2017 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants