Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | More verbosity in pingmac, and check icmp code | Thomas Habets | 2019-12-19 | 1 | -1/+35 | |
| | ||||||
* | Set length in IPv4 header to include padding | Thomas Habets | 2019-12-19 | 1 | -1/+2 | |
| | ||||||
* | Clarify that libnet 1.1 and newer is OK, not just 1.1.x | Thomas Habets | 2019-11-23 | 3 | -18/+10 | |
| | ||||||
* | Check signal() return code | Thomas Habets | 2019-11-12 | 1 | -1/+5 | |
| | ||||||
* | Add some ifdefs for portability | Thomas Habets | 2019-11-07 | 1 | -0/+12 | |
| | ||||||
* | Fix libnet paths in build-test.sh | Thomas Habets | 2019-11-07 | 1 | -1/+8 | |
| | ||||||
* | Add extra/build-test.sh | Thomas Habets | 2019-11-07 | 1 | -0/+13 | |
| | ||||||
* | Error on deprecated code | Thomas Habets | 2019-11-07 | 1 | -0/+2 | |
| | ||||||
* | Allow EXTRA_CFLAGS | Thomas Habets | 2019-11-07 | 1 | -0/+1 | |
| | ||||||
* | Use pcap_findalldevs() when available instead of pcap_lookupdev() | Thomas Habets | 2019-11-07 | 2 | -1/+48 | |
| | | | | This change is only used when using -F. | |||||
* | Switch from rand() to random() | Thomas Habets | 2019-11-01 | 1 | -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 fraction | Thomas Habets | 2019-11-01 | 1 | -1/+1 | |
| | ||||||
* | Alloc a whole libnet_t in mock | Thomas Habets | 2019-11-01 | 1 | -2/+2 | |
| | ||||||
* | Explicit cast to satisfy coverity | Thomas Habets | 2019-11-01 | 1 | -1/+1 | |
| | ||||||
* | Clarify logic of 'is parm given', hopefully satisfying coverity | Thomas Habets | 2019-11-01 | 1 | -1/+1 | |
| | ||||||
* | Alloc a whole libnet_t in mock | Thomas Habets | 2019-11-01 | 1 | -1/+1 | |
| | ||||||
* | chdir('/') after chroot() | Thomas Habets | 2019-11-01 | 1 | -0/+6 | |
| | ||||||
* | Add notes on coding style | Thomas Habets | 2019-10-24 | 1 | -0/+12 | |
| | ||||||
* | Quiet pedantic compiler warnings | Thomas Habets | 2019-10-18 | 1 | -1/+4 | |
| | ||||||
* | Update list of tested systems | Thomas Habets | 2019-09-22 | 1 | -6/+6 | |
| | ||||||
* | Up version to 2.20arping-2.20 | Thomas Habets | 2019-08-18 | 1 | -1/+1 | |
| | ||||||
* | Fix typo in error message | Thomas Habets | 2019-07-31 | 1 | -1/+1 | |
| | ||||||
* | Silence bad const warning | Thomas Habets | 2019-07-31 | 1 | -2/+2 | |
| | ||||||
* | Remove all read permissions with unveil(2) | Thomas Habets | 2019-07-31 | 1 | -2/+2 | |
| | ||||||
* | Use unveil(2) and pledge(2) to drop more privileges, where available | Thomas Habets | 2019-07-31 | 2 | -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.ac | Thomas Habets | 2019-07-31 | 1 | -1/+1 | |
| | ||||||
* | Fix false duplicates in edge condition | Thomas Habets | 2019-04-19 | 2 | -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 deprecated | Thomas Habets | 2019-01-06 | 1 | -1/+1 | |
| | ||||||
* | Compile without any warning hardened and with C99 | Thomas Habets | 2019-01-06 | 7 | -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.sh | Thomas Habets | 2018-03-30 | 1 | -1/+1 | |
| | ||||||
* | Make slightly prettier error message for failing on Windows | Thomas Habets | 2017-10-26 | 1 | -1/+2 | |
| | ||||||
* | Further simplify CLOCK_MONOTONIC check | Thomas Habets | 2017-10-03 | 1 | -5/+3 | |
| | ||||||
* | Further improvement for cross-compiling | Thomas Habets | 2017-10-02 | 1 | -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 checks | Thomas Habets | 2017-10-01 | 1 | -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() fails | Thomas Habets | 2017-10-01 | 1 | -6/+8 | |
| | ||||||
* | Fix typo. | Thomas Habets | 2017-08-02 | 2 | -2/+2 | |
| | | | | Fixes #26 | |||||
* | Add subunit dep for travis | Thomas Habets | 2017-07-09 | 1 | -1/+1 | |
| | ||||||
* | Up version to 2.19arping-2.19 | Thomas Habets | 2017-07-09 | 1 | -1/+1 | |
| | ||||||
* | fuzz: Add some includes | Thomas Habets | 2017-07-09 | 1 | -2/+4 | |
| | ||||||
* | Add -lsubunit to unit tests | Thomas Habets | 2017-07-09 | 1 | -1/+1 | |
| | ||||||
* | Add support for -g to work with numbers directly. | Thomas Habets | 2017-06-23 | 1 | -18/+45 | |
| | | | | Bug https://github.com/ThomasHabets/arping/issues/24 | |||||
* | Still chroot/drop caps if getpwnam() fails | Thomas Habets | 2017-06-20 | 1 | -1/+0 | |
| | ||||||
* | Better error message for dropping privs to unknown user | Thomas Habets | 2017-06-20 | 1 | -3/+7 | |
| | ||||||
* | Add option -g to specify group to drop privs to | Thomas Habets | 2017-06-20 | 3 | -9/+42 | |
| | | | | Fixes https://github.com/ThomasHabets/arping/issues/24 | |||||
* | Improve (unlikely) pcap error messages | Thomas Habets | 2017-05-08 | 1 | -5/+11 | |
| | ||||||
* | clarify error messages | Thomas Habets | 2017-05-08 | 1 | -2/+2 | |
| | ||||||
* | Check clock_getres() for errors | Thomas Habets | 2017-05-08 | 1 | -3/+8 | |
| | ||||||
* | Merge pull request #23 from ThomDietrich/patch-1 | Thomas Habets | 2017-03-15 | 1 | -1/+1 | |
|\ | | | | | Update README on typo | |||||
| * | Update README | Thomas Dietrich | 2017-03-14 | 1 | -1/+1 | |
|/ | ||||||
* | Up version to 2.18arping-2.18 | Thomas Habets | 2017-01-17 | 1 | -1/+1 | |
| |