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

Renaming of netcap binary? #5

Closed
tonylambiris opened this issue Dec 24, 2018 · 7 comments
Closed

Renaming of netcap binary? #5

tonylambiris opened this issue Dec 24, 2018 · 7 comments

Comments

@tonylambiris
Copy link

I'm creating a package for this to push to the Arch Linux AUR, and I was wondering what your thoughts were on renaming the netcap binary to something that won't conflict with the libcap-ng library:

➜ pacman -Qo `which netcap`
/usr/bin/netcap is owned by libcap-ng 0.7.9-1

Perhaps something like netcapper or gonetcap?

Thoughts?

Thanks!

@dreadl0ck
Copy link
Owner

dreadl0ck commented Dec 24, 2018

Thanks for creating an AUR package!

What about ncap to keep it short?
Would also be a good hint which program to use for working with .ncap files :)

@tonylambiris
Copy link
Author

Sounds good to me! I did do a quick search and I came across this:
http://nco.sourceforge.net/

➜ dnf -y whatprovides '/usr/bin/ncap' 2>/dev/null
Last metadata expiration check: 0:01:24 ago on Mon 24 Dec 2018 07:21:05 AM EST.
nco-4.7.1-3.fc28.x86_64 : Suite of programs for manipulating NetCDF/HDF4 files
Repo        : fedora
Matched from:
Filename    : /usr/bin/ncap

I personally wouldn't use it although it appears as if the project is active. I tend to deter myself from using garbage languages like python so I'm not sure how widely used the netCDF project is.

@dreadl0ck
Copy link
Owner

Interesting, I don't get any results when throwing in the names in the archlinux AUR search:

https://aur.archlinux.org/packages/?O=0&K=ncap
https://aur.archlinux.org/packages/?O=0&K=netcap

For macOS, the name netcap seems to be free, also in brew there is currently no package with that name.

What about: networkcap or netcapture for AUR?

That would still preserve the use case of the tool in the name,
and is only 4 chars longer. (Although probably everyone will use tab completion anyway)

Personally I like netcapture better.

Suggestions, anyone?

@tonylambiris
Copy link
Author

Thoughts on calling it ncapr or netcapper?

@dreadl0ck
Copy link
Owner

Would be okay with me as well.
Just make sure to add a link to this repo in the package description and in the installation script.

At the end of the day, people can name the binary on their system however they want.

On most systems netcap from libcap-ng or the Nagios collector won't be installed by default.

netcap from libcap is an abbreviation for net capabilities.
I like the name netcapture best because it makes this difference clear.

@tonylambiris
Copy link
Author

➜ pacman -Qi netcap-git
Name            : netcap-git
Version         : 1:r74.9067552-1
Description     : A framework for secure and scalable network traffic analysis
Architecture    : x86_64
URL             : https://github.com/dreadl0ck/netcap
Licenses        : GPL3
Groups          : None
Provides        : netcap
Depends On      : None
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : netcap
Replaces        : None
Installed Size  : 10.31 MiB
Packager        : Tony Lambiris <tony.lambiris@criticalstack.com>
Build Date      : Sun 30 Dec 2018 08:17:10 PM EST
Install Date    : Sun 30 Dec 2018 08:18:44 PM EST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

➜ pacman -Qlp netcap-git-1:r74.9067552-1-x86_64.pkg.tar.xz
netcap-git /usr/
netcap-git /usr/bin/
netcap-git /usr/bin/netcapture
netcap-git /usr/share/
netcap-git /usr/share/licenses/
netcap-git /usr/share/licenses/netcap-git/
netcap-git /usr/share/licenses/netcap-git/LICENSE
@dreadl0ck
Copy link
Owner

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants