Coder Social home page Coder Social logo

setuid on OSX about fping HOT 10 CLOSED

schweikert avatar schweikert commented on July 2, 2024
setuid on OSX

from fping.

Comments (10)

schweikert avatar schweikert commented on July 2, 2024

It should be possible to avoid the setuid requirement by using ICMP DGRAM sockets on Mac OSX:

http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/ManPages/man4/icmp.4.html

I am not developing myself on a Mac, so help from a Mac developer would be nice.

from fping.

2bits avatar 2bits commented on July 2, 2024

Closing this to lower the issue count. Someday everyone will have a mac, and this can be reopened :-)

from fping.

schweikert avatar schweikert commented on July 2, 2024

I appreciate it, but I think that this issue is best left open. It doesn't disturb me and so it isn't hidden.

from fping.

2bits avatar 2bits commented on July 2, 2024

Ok go for it. I don't have permissions.

from fping.

jdowning avatar jdowning commented on July 2, 2024

@schweikert I installed fping with homebrew which uses the following options:

Downloading http://fping.org/dist/fping-3.6.tar.gz
./configure --prefix=/usr/local/Cellar/fping/3.6
make install

However, I can't seem to run it as an unprivileged user despite 0ab66f8 fixing that issue.

~ $ fping google.com
fping: can't create raw socket (must run as root?) : Operation not permitted

Any ideas?

from fping.

schweikert avatar schweikert commented on July 2, 2024

That's because 0ab66f8 is not part of release 3.6 (but will be in 3.7)

from fping.

jdowning avatar jdowning commented on July 2, 2024

Excellent! Thanks for the clarification (and quick reply!). 😄

from fping.

schweikert avatar schweikert commented on July 2, 2024

Note that fping 3.7 with non-root support for Mac OS X is now released.

from fping.

jdowning avatar jdowning commented on July 2, 2024

@schweikert Thanks again!!

from fping.

schweikert avatar schweikert commented on July 2, 2024

@justindowning: please use fping 3.8 instead. there is a bug with loop mode in fping 3.7

from fping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.