GithubHelp home page GithubHelp logo

Comments (3)

ThomasHabets avatar ThomasHabets commented on June 5, 2024 1

Yeah it's not the prettiest of scripts. I have an old feature request to make it part of the binary, which would make it cleaner, but there appears to be little need for it (including that I've never really needed it), so I don't want to add and support a feature that nobody really needs.

from arping.

ThomasHabets avatar ThomasHabets commented on June 5, 2024

You don't need to do any network restart. Just setting it to 0 takes effect immediately. (cat the file to confirm).

It works for me. You're saying you successfully set that value 0 zero on the target that you're pinging?

You could also try this script

from arping.

peterfarge avatar peterfarge commented on June 5, 2024

I tested it again with a second debian machine and now the arping on a mac address worked :)
The first test failed, because it was a OpenWRT linux (no arping on a mac answers even though icmp_echo_ignore_broadcasts=0). If you go to the firewall menu and turn off the 'Drop invalid packets' checkbox, then I get also arping on Mac from OpenWrt. Additional there is a TP-Link router where I can telnet on, I can see that icmp_echo_ignore_broadcasts=1 but he answers arping mac requests anyway. Strange...

Your script is arping on a mac with a additional IP address parameter in a loop. It worked, regardless how icmp_echo_ignore_broadcasts is set. The problem is that there are only two routes in a normal host: One route about the localnet and a default route for all other packets. If the arping goes into another net, the packets go to the default router and he doesnt know what to do and will drop the packets. You have to add and remove a localnet-route for every subnet you are arpinging. And you have to assign a ip into this subnet for the localhost and have to test if the ip isnt already taken. And also there are some more private net ip ranges possible. I think I dont want to see such a script. Then I stick to the electricity on/off method. Thanks anyway :)

from arping.

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.