| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add dns.edns.register_type(). | Brian Wellington | 2020-07-17 | 1 | -0/+10 |
| | | | | | This allows an application to register a custom EDNS option type. | ||||
| * | Move __str__ to the generic Option code. | Brian Wellington | 2020-07-08 | 1 | -5/+3 |
| | | | | | | | ECSOption and GenericOption both contained a __str__ method that called to_text(), but the base Option class did not. Move __str__ to the base class. | ||||
| * | Rework wire format processing. | Bob Halley | 2020-07-02 | 1 | -21/+29 |
| | | | | | | | Wire format data is now done via a dns.wire.Parser, which does all of the bookkeeping and also provides convenience routines (e.g. get_uint16() or get_name()). | ||||
| * | Make _cmp generic for all EDNS Options. It now compares the wire formats | Bob Halley | 2020-06-19 | 1 | -19/+11 |
| | | | | | | | | | | | of two objects of the same class. Previously we did type-specific stuff for ECSOption, but we only checked the padded address info, not the srclen or scopelen, so different options could compare the same. Also, it's not clear that there's any better semantic ordering of options than the wire format, so we will just go for simplicity and use the generic implementation. | ||||
| * | The dns.inet.AF_* portability scheme is no longer needed. | Bob Halley | 2020-06-16 | 1 | -2/+3 |
| | | |||||
| * | Fix bugs found by flake8. | Bob Halley | 2020-06-12 | 1 | -3/+3 |
| | | |||||
| * | Updates to dns.edns module. | Brian Wellington | 2020-06-08 | 1 | -27/+45 |
| | | | | | | Convert the option types to an enum, and allow the file parameter to to_wire() methods to be optional. | ||||
| * | Minor Python 3 cleanups. | Brian Wellington | 2020-06-03 | 1 | -3/+3 |
| | | | | | | | | Classes inherit from object by default; there's no need to explicitly include this. Replace super(Foo, self) with super(). | ||||
| * | flake8 linting | Bob Halley | 2020-05-15 | 1 | -7/+10 |
| | | |||||
| * | Reharmonize doc style as I think it looks better | Bob Halley | 2020-05-10 | 1 | -2/+3 |
| | | |||||
| * | in doco, text->str, binary->bytes | Bob Halley | 2020-05-08 | 1 | -3/+3 |
| | | |||||
| * | In cases where we care that something is just an IPv4 or IPv6 address, | Bob Halley | 2020-05-04 | 1 | -3/+2 |
| | | | | | | | without any extras like IPv6 scope, explicitly use dns.ipv4 and dns.ipv6 instead of dns.inet. This will let us be tolerant of scopes in other cases (e.g. ordinary network connections). | ||||
| * | Remove "from __future__ import" statements. | Brian Wellington | 2020-05-01 | 1 | -2/+0 |
| | | | | | None of these are needed anymore. | ||||
| * | Merge pull request #394 from kimbo/kl/ecs-__str__ | Bob Halley | 2019-10-23 | 1 | -0/+5 |
| |\ | | | | | added ecs __str__ function | ||||
| | * | added __str__ for GenericOption | kimbo | 2019-10-04 | 1 | -0/+2 |
| | | | |||||
| | * | added ecs __str__ function | kimballo | 2019-10-03 | 1 | -0/+3 |
| | | | |||||
| * | | fix python 3.5 format string | kimballo | 2019-10-03 | 1 | -5/+5 |
| | | | |||||
| * | | added dns.edns.ECSOption.from_text() | kimballo | 2019-10-03 | 1 | -0/+51 |
| |/ | |||||
| * | The EDNS0 client-subnet code didn't work correctly for addresses that | Bob Halley | 2019-05-03 | 1 | -1/+2 |
| | | | | | | | | | were not a multiple of 8 bits. Instead of preserving the required number of high-order bits, it cleared that number of low-order bits. Thanks to Brian Wellington for discovering this and providing the correct code. | ||||
| * | update copyright | Bob Halley | 2018-12-01 | 1 | -0/+2 |
| | | |||||
| * | Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade | Hugo | 2018-09-06 | 1 | -2/+2 |
| | | |||||
| * | more doco overhaul | Bob Halley | 2017-01-15 | 1 | -2/+24 |
| | | |||||
| * | doc update | Bob Halley | 2017-01-02 | 1 | -44/+44 |
| | | |||||
| * | remove unused import | Bob Halley | 2016-12-02 | 1 | -1/+0 |
| | | |||||
| * | Slighly improve ECS masking. | Bob Halley | 2016-12-02 | 1 | -4/+4 |
| | | |||||
| * | Clarify ceiling, add tests, fix doc, fix python3 | pascal.bouchareine | 2016-11-08 | 1 | -7/+13 |
| | | | | | | | | - bad class doc - explicit ceil - python3 encoding issue - improve edns testing | ||||
| * | make lint happy | pascal.bouchareine | 2016-11-03 | 1 | -2/+4 |
| | | |||||
| * | Implement EDNS Client Subnet option | pascal.bouchareine | 2016-11-03 | 1 | -1/+89 |
| | | |||||
| * | Fix typos | Jakub Wilk | 2016-05-26 | 1 | -2/+2 |
| | | |||||
| * | python3 support | Arthur Gautier | 2016-04-21 | 1 | -11/+19 |
| | | | | | Signed-off-by: Arthur Gautier <baloo@gandi.net> | ||||
| * | clean Tab | dv | 2015-03-02 | 1 | -1/+1 |
| | | |||||
| * | fix typos | Bob Halley | 2012-05-21 | 1 | -3/+3 |
| | | |||||
| * | doco fixes | Bob Halley | 2012-04-08 | 1 | -2/+2 |
| | | |||||
| * | update copyrights | Bob Halley | 2011-05-12 | 1 | -1/+1 |
| | | |||||
| * | make EDNS options comparable | Bob Halley | 2009-03-30 | 1 | -0/+47 |
| | | |||||
| * | EDNS option support | Bob Halley | 2009-03-30 | 1 | -0/+95 |
