summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-06-23Debian: T3647: revise fix for gcc defaulting to option '--as-needed'John Estabrook
2021-06-22Debian: T3641: add flag --no-as-needed to search all linked librariesJohn Estabrook
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-13Formatting fix.Daniil Baturin
2018-11-13T816: disallow duplicate double semicolons.Daniil Baturin
2018-11-13T1006: add a --verbose option and diagnostic messages for common mistakes.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-09Add include guard to the header.Daniil Baturin
2013-06-04Fix break's in switch.Daniil Baturin
2013-06-03Improve option/argument errors handling.Daniil Baturin
2013-06-03Remove some debug output.Daniil Baturin
2013-06-03Add check for CIDR format in host vs. net and broadcast checks,Daniil Baturin
as they can't give meaningul result without prefix length.
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-03Improve version message.Daniil Baturin
Add options for is-any-host and is-any-net to getopt code.
2013-06-02Don't allow IPv4 limited broadcast address as valid interface address.Daniil Baturin
2013-06-02Clarify --is-valid help string.Daniil Baturin
2013-06-02Exit with different exit code in case of errors unrelatedDaniil Baturin
to check result (2, specifically). Remove some debug output.
2013-06-02Improve help message.Daniil Baturin
2013-06-02Do not proceed with further validation if address string is not well formed.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-01Add IPv6 format validation support to the main program.Daniil Baturin
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-31Add option for help explicitly.Daniil Baturin
2013-05-31Add some help messages.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.
2013-05-25Cleanup.Daniil Baturin
2013-05-25Fix previous commit.Daniil Baturin
TODO: Get some sleep.
2013-05-22Fix initial commit.Daniil Baturin