Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix clang-tidy complaints. No actual changes.HEADarping-2.x | Thomas Habets | 2022-12-19 | 4 | -4/+30 |
| | |||||
* | Add pre-commit script, to be symlinked from .git/hooks/ | Thomas Habets | 2022-11-21 | 1 | -0/+4 |
| | |||||
* | fixed missing variable for command line parsing | pusi77 | 2022-11-18 | 1 | -0/+1 |
| | |||||
* | Use proper old style (but clear) prototype | Thomas Habets | 2022-11-02 | 1 | -1/+1 |
| | |||||
* | Remove shadowing variables | Thomas Habets | 2022-11-02 | 1 | -16/+16 |
| | |||||
* | arping_test: Remove most warnings | Thomas Habets | 2022-11-02 | 1 | -16/+14 |
| | |||||
* | Explicitly cast double to uint32, to suppress warning | Thomas Habets | 2022-11-02 | 1 | -1/+4 |
| | |||||
* | fuzz: Remove Wconversion warnings | Thomas Habets | 2022-10-30 | 1 | -4/+4 |
| | | | | Warnings: 26->22 | ||||
* | Cast sec to double | Thomas Habets | 2022-10-30 | 1 | -1/+1 |
| | | | | Warnings: 27->26 | ||||
* | Fix conversion warnings for -C | Thomas Habets | 2022-10-30 | 2 | -9/+45 |
| | | | | Warnings 28 -> 27 | ||||
* | Add -Wconversion to --enable-warnings | Thomas Habets | 2022-10-30 | 1 | -1/+1 |
| | |||||
* | Simplify fallback for generating suffix | Thomas Habets | 2022-10-30 | 1 | -27/+19 |
| | | | | | | | | * Removed fallback for failing to allocate. * Simplified fallback for generating randomness. * Reduce implicit casts. Reduced conversion warnings: 33 -> 28. | ||||
* | Fix conversion warning | Thomas Habets | 2022-10-26 | 1 | -1/+1 |
| | |||||
* | Fix int cast | Thomas Habets | 2022-10-26 | 1 | -1/+1 |
| | |||||
* | Use PCAP_NETMASK_UNKNOWN, where available | Thomas Habets | 2022-10-26 | 1 | -2/+8 |
| | |||||
* | Fix libcheck warning | Thomas Habets | 2022-10-26 | 1 | -4/+4 |
| | |||||
* | Fix typo in vlan tag error message | Thomas Habets | 2022-10-26 | 1 | -1/+1 |
| | |||||
* | Parse -wW strictly as float | Thomas Habets | 2022-10-26 | 2 | -3/+113 |
| | |||||
* | Parse -VQCc strictly as num | Thomas Habets | 2022-10-26 | 2 | -5/+91 |
| | |||||
* | arping_test: use STDOUT_FILENO, not 1 | Thomas Habets | 2022-10-26 | 1 | -9/+9 |
| | |||||
* | configure: Make --disable-seccomp actually work | Thomas Habets | 2022-05-25 | 1 | -3/+7 |
| | | | | | | More complete fix than #51. Thanks thesamesam! | ||||
* | Exit with failure if failing to write to stdout/stderr | Thomas Habets | 2022-03-09 | 1 | -2/+33 |
| | | | | Inspired by https://blog.sunfishcode.online/bugs-in-hello-world/ | ||||
* | Up version to 2.23arping-2.23 | Thomas Habets | 2022-03-06 | 1 | -1/+1 |
| | |||||
* | seccomp: Add newfstatat to whitelist | Thomas Habets | 2022-03-06 | 1 | -2/+5 |
| | |||||
* | seccomp: Add pselect6 to whitelist | Thomas Habets | 2022-03-06 | 1 | -0/+1 |
| | |||||
* | Work around VLAN bug in libpcap 1.7-1.9.0 | Thomas Habets | 2022-03-01 | 1 | -2/+42 |
| | | | | Fixes #50 | ||||
* | For dot1q: check that reply actually is dot1q | Thomas Habets | 2022-03-01 | 1 | -0/+18 |
| | |||||
* | Check received VLAN tag when using -V | Thomas Habets | 2022-03-01 | 1 | -2/+20 |
| | |||||
* | Print library versions | Thomas Habets | 2022-03-01 | 1 | -0/+14 |
| | |||||
* | More checking for short packets | Thomas Habets | 2022-03-01 | 1 | -12/+32 |
| | |||||
* | Print verbose message when seccomp enabled | Thomas Habets | 2021-12-26 | 1 | -0/+3 |
| | |||||
* | Clean up --help text | Thomas Habets | 2021-12-26 | 1 | -2/+2 |
| | |||||
* | Don't show seccomp help if it not compiled in | Thomas Habets | 2021-12-26 | 1 | -5/+10 |
| | |||||
* | configure: error out if default seccomp requested but not present | Thomas Habets | 2021-12-26 | 1 | -0/+3 |
| | |||||
* | Add seccomp to drop syscall access before receiving any packets | Thomas Habets | 2021-12-09 | 4 | -14/+108 |
| | | | | | | | | | | | | seccomp is not as good as pledge(), in that different systems, and even different versions of any of the transitively dependent libraries, will need different syscalls. This feature is therefore off by default, and should be considered experimental. Maybe the right long term solution is to blacklist, not whitelist. Which is also not great, as new syscalls get created. | ||||
* | Don't attempt to use caps if header doesn't exist | Thomas Habets | 2021-11-30 | 1 | -0/+7 |
| | | | | | | | | | | | | | | Termux with android seems to not provide capabilities.h, even though the libc provides it. Without the header it's not actually possible to use it though, so don't even try. There's a similar situation with getrandom(), but it's still possible to call it without a prototype, so I'm opting to just let that spit out a warning at build time on those systems. Bug #49 | ||||
* | Also try lo0 as a fallback interface. Fixes default use on OpenBSD | Thomas Habets | 2021-11-05 | 1 | -17/+51 |
| | | | | | | | | | | | | Background: Libnet usually needs init before we have searched for the real interface. In that case, first we just give a NULL pointer as the interface. But libnet sometimes fails to find an interface (no idea why), so we try to put in "lo". This commit adds "lo0" as an interface checked, as that is the name on OpenBSD. | ||||
* | Change git clone protocol to https | Thomas Habets | 2021-11-02 | 1 | -1/+1 |
| | |||||
* | Fix missing comma compilation error | Thomas Habets | 2021-11-02 | 1 | -1/+1 |
| | |||||
* | -P (reply mode) will set ARP Target MAC Address by -t (target MAC) option | NatasFX | 2021-11-02 | 1 | -1/+1 |
| | |||||
* | Augment return value check of pcap_next_ex | Peiwei Hu | 2021-11-02 | 1 | -1/+1 |
| | | | pcap_next_ex returns >0 on success. | ||||
* | Up version to 2.22arping-2.22 | Thomas Habets | 2021-06-27 | 1 | -1/+1 |
| | |||||
* | unit tests: Remove test registry code in favour of code duplication. | Thomas Habets | 2021-01-20 | 1 | -47/+41 |
| | | | | | As of https://github.com/libcheck/check/pull/158 libcheck broke the ability to have a test registry, so we have to resort to code duplication. | ||||
* | Add stuff to .gitignore | Thomas Habets | 2020-09-10 | 1 | -0/+25 |
| | |||||
* | Include header files that should be there | Thomas Habets | 2020-09-10 | 1 | -0/+2 |
| | |||||
* | Add LSP build stuff | Thomas Habets | 2020-09-10 | 1 | -0/+5 |
| | |||||
* | Up version to 2.21arping-2.21 | Thomas Habets | 2020-03-08 | 1 | -1/+1 |
| | |||||
* | Fix some format strings for ssize_t | Thomas Habets | 2020-01-03 | 1 | -5/+5 |
| | |||||
* | Remove use of random() where possible | Thomas Habets | 2019-12-20 | 1 | -1/+21 |
| | |||||
* | Add timestamp and magic suffix as payload to mac ping (ICMP PING) | Thomas Habets | 2019-12-20 | 2 | -5/+77 |
| | | | | Fixes #7 |