summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-15Revert "T816 ipaddrcheck / libcidr but on IPv6 network validation"revert-1-patch-1Daniil Baturin
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