summaryrefslogtreecommitdiff
path: root/src/ipaddrcheck_functions.c
AgeCommit message (Collapse)Author
2025-06-23T7557: Use PCRE2sarthurdev
2025-02-11T7156: suppress sprintf format warnings at the source level (#13)Daniil Baturin
rather than with CFLAGS, so that it applies only to locations where it was proven safe and is protected against CFLAGS overrides
2024-09-27range: T6744: fix a crash when validating malformed rangesDaniil Baturin
2024-02-17Clarify the reason to disallow the first IPv6 addressDaniil Baturin
of a network as a host address
2024-01-04Add --range-prefix-length optionDaniil Baturin
to require the range boundaries to lie within the same subnet of a given size
2024-01-03Complete implementation of IPv4 and IPv6 address range checksDaniil Baturin
* Add IPv6 range checking and tests for it * Expose both options in the help message * Explain in comments how the range checking logic works
2024-01-03Improve comments for IP checking functionsDaniil Baturin
2022-09-06T4472: add an option for verifying IPv4 ranges (#6)Daniil Baturin
2021-02-10Correct the double colon check commands.Daniil Baturin
How late at night must it have been for me to write "semicolons"?
2020-06-10Make --is-*-host behaviour recognize IPv4 /31 and IPv6 /127 as valid host ↵Daniil Baturin
addresses.
2018-11-13T816: disallow duplicate double semicolons.Daniil Baturin
2018-10-15Revert "T816 ipaddrcheck / libcidr but on IPv6 network validation"Daniil Baturin
This reverts commit 418d0113a78ba57f525553b9b150d6adeaf38c0a.
2018-10-15T816 ipaddrcheck / libcidr but on IPv6 network validationEwald van Geffen
https://www.oreilly.com/library/view/regular-expressions-cookbook/9781449327453/ch08s17.html or https://regex101.com/r/DMB0m2/1
2018-05-12Resolve license inconsistencies (should be GPLv2+), update version and ↵Daniil Baturin
copyrights.
2013-06-03Fix is_valid_intf_address() behaviour, don't allow network addressesDaniil Baturin
as valid interface addresses.
2013-06-03Add support for is-any-host and is-any-net checks.Daniil Baturin
2013-06-02Don't allow IPv4 limited broadcast address as valid interface address.Daniil Baturin
2013-06-02Add interface address validation support.Daniil Baturin
Fix IPv4 CIDR regex to support one-digit mask properly.
2013-06-02Add missing IPv6 and protocol-agnostic format validation functions.Daniil Baturin
2013-06-01Remove has_mask(), it will be replaced with better is_cidr()Daniil Baturin
and is_single() functions.
2013-06-01Fix is_ipv4_broadcast() behaviour, don't return success for addressesDaniil Baturin
that can't be broadcast by definition (IPv6, IPv4 p-t-p).
2013-06-01Add missing address format validation functions.Daniil Baturin
2013-06-01Improve IPv4 regular expressions.Daniil Baturin
2013-05-30Add missing license headers.Daniil Baturin
2013-05-27Again, multiple enhancements.Daniil Baturin
* IPv6 feature set nearly complete. * Test suite expanded to cover all but a few functions. * Source files renamed according to the new project name, .h is now .h, implementations are moved to .c * Something else.