summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* More verbosity in pingmac, and check icmp codeThomas Habets2019-12-191-1/+35
|
* Set length in IPv4 header to include paddingThomas Habets2019-12-191-1/+2
|
* Clarify that libnet 1.1 and newer is OK, not just 1.1.xThomas Habets2019-11-233-18/+10
|
* Check signal() return codeThomas Habets2019-11-121-1/+5
|
* Add some ifdefs for portabilityThomas Habets2019-11-071-0/+12
|
* Fix libnet paths in build-test.shThomas Habets2019-11-071-1/+8
|
* Add extra/build-test.shThomas Habets2019-11-071-0/+13
|
* Error on deprecated codeThomas Habets2019-11-071-0/+2
|
* Allow EXTRA_CFLAGSThomas Habets2019-11-071-0/+1
|
* Use pcap_findalldevs() when available instead of pcap_lookupdev()Thomas Habets2019-11-072-1/+48
| | | | This change is only used when using -F.
* Switch from rand() to random()Thomas Habets2019-11-011-1/+1
| | | | | random() has better pseudorandom promises. Not that we need it for security, but why not use the better one since it exists.
* Suppress linter warning about loss of fractionThomas Habets2019-11-011-1/+1
|
* Alloc a whole libnet_t in mockThomas Habets2019-11-011-2/+2
|
* Explicit cast to satisfy coverityThomas Habets2019-11-011-1/+1
|
* Clarify logic of 'is parm given', hopefully satisfying coverityThomas Habets2019-11-011-1/+1
|
* Alloc a whole libnet_t in mockThomas Habets2019-11-011-1/+1
|
* chdir('/') after chroot()Thomas Habets2019-11-011-0/+6
|
* Add notes on coding styleThomas Habets2019-10-241-0/+12
|
* Quiet pedantic compiler warningsThomas Habets2019-10-181-1/+4
|
* Update list of tested systemsThomas Habets2019-09-221-6/+6
|
* Up version to 2.20arping-2.20Thomas Habets2019-08-181-1/+1
|
* Fix typo in error messageThomas Habets2019-07-311-1/+1
|
* Silence bad const warningThomas Habets2019-07-311-2/+2
|
* Remove all read permissions with unveil(2)Thomas Habets2019-07-311-2/+2
|
* Use unveil(2) and pledge(2) to drop more privileges, where availableThomas Habets2019-07-312-1/+41
| | | | | | | | | | | | | Only available on OpenBSD as far as I know. pledge(2): Strangely there doesn't seem to be a way to use many of the ioctls needed during setup, so pledge(2) only protects the main loop. unveil(2): Strangely there doesn't seem to be a way of just dropping all fs access. Instead I restricted to only reading what is probably a nonexistent file.
* Increase shell compat of configure.acThomas Habets2019-07-311-1/+1
|
* Fix false duplicates in edge conditionThomas Habets2019-04-192-4/+38
| | | | | | | | | | | | | | | | | | | | | We still have duplicates when pinging in promisc mode, if someone else is arping at the same time. It's assumed that arping in promisc mode is rare, and that in either case what we're interested in then is the reply, no matter what the reason was for it being sent. This is to solve a problem where even if not using promisc mode we'll see replies going *out* of localhost. This fix assumes that default desired behaviour when arpinging local host is to not get replies from local host, only from remote hosts. Default behavour, after this commit, uses the model of request and reply as best it can (localhost will never request from itself, and will actually not even reply to it). It therefore doesn't work well if the *actual* question is "is this IP address taken", because if the answer is "yes, by localhost" the answer is now "no", whereas before this commit it was *unreliably* sometimes "yes". Fixes #32
* _BSD_SOURCE->_DEFAULT_SOURCE as the former is deprecatedThomas Habets2019-01-061-1/+1
|
* Compile without any warning hardened and with C99Thomas Habets2019-01-067-21/+72
| | | | | | | | | E.g.: `./configure CC=c99 --enable-hardened --enable-warnings` Test code not yet warning-free. Hardening output can be checked with `hardening-check`
* Document bootstrap.shThomas Habets2018-03-301-1/+1
|
* Make slightly prettier error message for failing on WindowsThomas Habets2017-10-261-1/+2
|
* Further simplify CLOCK_MONOTONIC checkThomas Habets2017-10-031-5/+3
|
* Further improvement for cross-compilingThomas Habets2017-10-021-32/+14
| | | | | | | Thanks to Helmut Grohne <helmut@subdivi.de> for making sure this is solved right. bugs.debian.org/877402
* Provide configure-time fallback for cross-compile checksThomas Habets2017-10-011-3/+6
| | | | | | | The checks are pretty much entirely compile-time checks, so providing a likely default if running is skipped should be safe. bugs.debian.org/877402
* Fall back to gettimeofday() if clock_gettime() failsThomas Habets2017-10-011-6/+8
|
* Fix typo.Thomas Habets2017-08-022-2/+2
| | | | Fixes #26
* Add subunit dep for travisThomas Habets2017-07-091-1/+1
|
* Up version to 2.19arping-2.19Thomas Habets2017-07-091-1/+1
|
* fuzz: Add some includesThomas Habets2017-07-091-2/+4
|
* Add -lsubunit to unit testsThomas Habets2017-07-091-1/+1
|
* Add support for -g to work with numbers directly.Thomas Habets2017-06-231-18/+45
| | | | Bug https://github.com/ThomasHabets/arping/issues/24
* Still chroot/drop caps if getpwnam() failsThomas Habets2017-06-201-1/+0
|
* Better error message for dropping privs to unknown userThomas Habets2017-06-201-3/+7
|
* Add option -g to specify group to drop privs toThomas Habets2017-06-203-9/+42
| | | | Fixes https://github.com/ThomasHabets/arping/issues/24
* Improve (unlikely) pcap error messagesThomas Habets2017-05-081-5/+11
|
* clarify error messagesThomas Habets2017-05-081-2/+2
|
* Check clock_getres() for errorsThomas Habets2017-05-081-3/+8
|
* Merge pull request #23 from ThomDietrich/patch-1Thomas Habets2017-03-151-1/+1
|\ | | | | Update README on typo
| * Update READMEThomas Dietrich2017-03-141-1/+1
|/
* Up version to 2.18arping-2.18Thomas Habets2017-01-171-1/+1
|