Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sync style with the existing _packed & _unused macros | Vladislav Grishenko | 2016-01-31 | 1 | -1/+1 |
| | |||||
* | Use more conventional way for the alignment | Vladislav Grishenko | 2016-01-31 | 1 | -2/+5 |
| | |||||
* | Fix alignment of buffers in ra_process and dhcpv6_request | Ben Hutchings | 2016-01-28 | 1 | -1/+2 |
| | | | | | | | | | | The packet buffer needs to be 32-bit aligned to ensure that the various 32-bit fields we pick out are naturally aligned. The control message buffers needs to be naturally aligned for struct cmsghdr. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> | ||||
* | Add padding between odhcp6c_entry structures to ensure 32-bit alignment | Ben Hutchings | 2016-01-28 | 1 | -2/+3 |
| | | | | | | | struct odhcp6c_entry is not declared as __packed, so the compiler may assume it is naturally aligned. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> | ||||
* | ra: avoid saving an empty search domain entry | Steven Barth | 2015-04-15 | 1 | -7/+10 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Improve handling of DNS search domains | Steven Barth | 2015-04-13 | 1 | -50/+78 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Remove obsolete prefix class support | Steven Barth | 2015-04-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Sanitize RA values less | Steven Barth | 2015-04-10 | 1 | -1/+1 |
| | |||||
* | Pass ICMP configuration to user-space instead of directly applying it | Steven Barth | 2015-04-10 | 1 | -25/+36 |
| | |||||
* | properly handle return codes | John Crispin | 2015-03-30 | 1 | -2/+4 |
| | | | | Signed-off-by: John Crispin <blogic@openwrt.org> | ||||
* | ra: use proper struct msghdr initializer to fix build error on musl | Felix Fietkau | 2015-03-29 | 1 | -2/+9 |
| | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> | ||||
* | make route metric more compatible with linux defaults | Steven Barth | 2015-03-25 | 1 | -2/+2 |
| | |||||
* | Get rid of getifaddrs for interface ID detection | Steven Barth | 2015-03-11 | 1 | -26/+9 |
| | | | | Signed-off-by: Steven Barth <steven@midlink.org> | ||||
* | Don't apply excess filter to DHCPv6 and unify odhcp6c_update_entry | Steven Barth | 2014-12-10 | 1 | -5/+5 |
| | |||||
* | Ensure signal-safety of signal handlers | Steven Barth | 2014-10-08 | 1 | -16/+23 |
| | |||||
* | Send RS alternatingly with and without source MAC | Steven Barth | 2014-09-27 | 1 | -1/+1 |
| | |||||
* | Send router solicitations with source link-layer addressbfd | Steven Barth | 2014-07-21 | 1 | -2/+20 |
| | |||||
* | ra: don't set nd_ra_{reachable,retransmit} to 0 | Steven Barth | 2014-03-05 | 1 | -4/+6 |
| | |||||
* | Revert "RA: fix on-link/off-link handling" | Steven Barth | 2014-02-03 | 1 | -6/+4 |
| | | | | | | New behavior breaks source-restrictions of on-link routes. This reverts commit 9817e4983c7d4e28f53b78d4fc6ea1eabed8affe. | ||||
* | RA: fix on-link/off-link handling | Steven Barth | 2014-02-02 | 1 | -4/+6 |
| | |||||
* | Bump copyright headers | Steven Barth | 2014-01-29 | 1 | -1/+1 |
| | |||||
* | add support for multiple prefixes with distinct IAIDs | Kaspar Schleiser | 2014-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | Changes from v1: - removed some unneeded changes - use *_add_state instead of (semantically identical and so unnecessary) *_append_state This is missing IAID validation for prefixes. Contributed by T-Labs, Deutsche Telekom Innovation Laboratories | ||||
* | Use getifaddrs to get the interface-id when not specified | Matthias Schiffer | 2014-01-10 | 1 | -8/+26 |
| | | | | | | | | | | | | | Reimplementing this section also fixes two potential bugs: 1. Only link-local addresses should be used for automatic interface-id selection, as it should always be assigned by the kernel and is always based on the EUI-64 unless an administrator is doing strange things (while other addresses might be chosen according to the privacy extensions or by an administrator) 2. When no address is available (because of a race condition or because an administrator removed it), RA packets should just be ignored; otherwise an address with a zero interface-id might be assigned | ||||
* | Whitespace fixes | Matthias Schiffer | 2014-01-10 | 1 | -1/+1 |
| | | | | Mostly trailing spaces or whitespace in empty lines. | ||||
* | Add ICMPv6 validity check | Hans Dedecker | 2013-12-24 | 1 | -4/+28 |
| | |||||
* | Revert "Fix parsing of Router Advertisement messsages" | Hans Dedecker | 2013-12-24 | 1 | -59/+16 |
| | | | | This reverts commit de89d2888d38d1ca6676070584ea6ff9c7dd6f23. | ||||
* | Parse Router Advertisement Hop Limit parameter | Hans Dedecker | 2013-12-19 | 1 | -0/+4 |
| | |||||
* | Fix parsing of Router Advertisement messsages | Hans Dedecker | 2013-12-12 | 1 | -16/+59 |
| | | | | | Router Advertisement message checks according to RFC4861 paragraph 6.1.2 Fix and further improve router advertisement option parsing | ||||
* | Basic error checking when initializing ra | Hans Dedecker | 2013-12-01 | 1 | -1/+11 |
| | |||||
* | React to carrier down events as well | Steven Barth | 2013-10-30 | 1 | -2/+5 |
| | |||||
* | Fix compilation on 32-bit platforms | Steven Barth | 2013-10-30 | 1 | -1/+2 |
| | |||||
* | Detect "carrier up"-events and restart transaction | Steven Barth | 2013-10-30 | 1 | -4/+68 |
| | |||||
* | odhpc6c: status code support in reply | Hans Dedecker | 2013-10-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | The patch implements support for status code handling in reply messages as described in RFC3313 paragraph 18.1.8. The client will *log the status codes returned by the client *send a request if no binding status code is returned for a given IA *send further renew/rebind if the IA was not present in the reply *terminate message exchange when no prefix/no address status code is returned in reponse to a request *terminate message exchange when unspec fail status code is returned *calculate t1/t2/t3 when all IA's have been processed and based on recorded t1/t2/valid timer values per IA Without this patch I have seen issues with request messages send without any IA_PD/IA_NA and t1/t2/t3 timer values which were not correct. These changes have been tested intensive against an ISC DHCPv6 server Signed-off-by: Hans Dedecker <hans.dedecker@gmail.com> | ||||
* | Avoid updating too often if ISP spams RAs | Steven Barth | 2013-10-23 | 1 | -6/+7 |
| | |||||
* | Check for local addr more often | Steven Barth | 2013-10-04 | 1 | -15/+15 |
| | |||||
* | ra: validate hop-limit | Steven Barth | 2013-10-02 | 1 | -3/+20 |
| | |||||
* | Merge branch 'hnet' | Steven Barth | 2013-08-31 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/ra.c | ||||
| * | Merge branch 'master' into hnet | Markus Stenberg | 2013-06-24 | 1 | -20/+59 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: README src/dhcpv6.c src/odhcp6c.h | ||||
| * | | First hnet-based version. | Markus Stenberg | 2013-03-26 | 1 | -2/+2 |
| | | | |||||
* | | | Remove DAD for now due to kernel issues | Steven Barth | 2013-08-30 | 1 | -70/+1 |
| |/ |/| | |||||
* | | Allow overriding the interface-identifier for public addresses | Steven Barth | 2013-06-18 | 1 | -10/+13 |
| | | |||||
* | | Add sanity checks for NDP and MTU parameters from RAs | Steven Barth | 2013-06-13 | 1 | -3/+4 |
| | | |||||
* | | Work around false-positive DAD-hits | Steven Barth | 2013-05-31 | 1 | -3/+11 |
| | | |||||
* | | Fix handling of multiple RAs in a row. | Steven Barth | 2013-05-31 | 1 | -0/+2 |
| | | | | | | | | | | The default route-entry was not correctly reinitialized. Thanks to pmarks-net for the detailed bugreport. | ||||
* | | Add more sanity checks and logging to DAD | Steven Barth | 2013-05-28 | 1 | -2/+10 |
| | | |||||
* | | Fix compilation | Steven Barth | 2013-04-08 | 1 | -3/+6 |
| | | |||||
* | | Update license headers | Steven Barth | 2013-04-04 | 1 | -0/+14 |
|/ | |||||
* | Fix priority for on-link routes for prefixes | Steven Barth | 2013-03-20 | 1 | -1/+1 |
| | |||||
* | Avoid redundant deduplication | Steven Barth | 2013-02-01 | 1 | -1/+1 |
| | |||||
* | Fix netlink attribute handling | Steven Barth | 2013-02-01 | 1 | -1/+1 |
| |