| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In get_option(): don't read past the end of the option buffer.
Also add a small unittest to verify sane behaviour for the above.
The dhcpcd code is not easily refactored into a library, nor is it
entirely possible to include some header files directly since some
structures use C++ reserved keywords ("new") for variable names.
In print_option(): use of snprintf() returns the length that
/would/ have been written. Add checks that the output buffer
is not overrun when printing.
This fixes CVE-2014-7912 and CVE-2014-7913
Bug: 18356137
Bug: 18356135
Change-Id: I0f907b8a952208749226ba034a416d773e068f8a
Tested-by: Moritz Bandemer <replicant@posteo.mx>
|
|\
| |
| |
| |
| | |
* commit '7a659da9ec67d85d1b166fc6c1984f488de8e031':
Get rid of LOCAL_MODULE_TAGS := user
|
| |\ |
|
| |/
| |
| |
| | |
Change-Id: I8ced7c513d75e64e16a76e41ea7b1c271cf10a19
|
| |
| |
| |
| |
| | |
Change-Id: I98c378688be723a2a602ec17c26bc13f2fd83cc8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| |
| | |
Change-Id: I67b06887a72869d48e0c6c2fcacf8c99153d7f82
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \
| |/
| |
| |
| | |
* commit '40d921b22a5c878d64b17a1138477e0eeb37842e':
Fix comment
|
| |
| |
| |
| |
| | |
Bug: 6522164
Change-Id: I02e19a8263cdec791041564d2888239f8d724438
|
|\ \
| |/
| |
| |
| | |
* commit '48d5a1d50750ffa5d14b64841fc7e81dadafd1a4':
Reuse system properties for p2p
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
p2p interfaces keep increasing. Reuse a single "p2p" phrase to track all
p2p specific properties.
Longer term, we will remove the use of system properties for dhcp
Bug: 6522164
Change-Id: Ic9c54dc1904d2e1e8c33bbbc17234ed801f845dc
|
|/
|
|
| |
Change-Id: I25e90bfe4ec483447da6caf96f729b32df17c485
|
|\
| |
| |
| |
| | |
* commit '6a7ffa31d45635b56558b9ba8bbd05fc002e1fa4':
DHCPCD: Add the ability to redirect log to logcat.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a simple macro hack (turned off by default) to redirect DHCPCD's
syslog messages to Android's logcat facility. Useful when debugging
DHCPCD issues.
Change-Id: I3bf8b97c04aaecb21cee86c0b4e078a7e31672bc
Signed-off-by: John Grossman <johngro@google.com>
|
| |
| |
| |
| |
| | |
Bug: 6344821
Change-Id: Ia629cee7dbde00572f86b12ddbbc623c1d70603a
|
|\ \
| |/
| |
| |
| | |
* commit '1f1ef57e839d72b24bb2f43b602ecf63e1068010':
DHCPDC: Actually we do have a monotonic clock...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix bug http://b/issue?id=6272879
DHCPCD thought that our kernel did not support the posix clock_gettime
and CLOCK_MONOTONIC which could cause an interface flap under just the
right circumstances. See the writeup in the bug for details.
Change-Id: I3a5325625499d4c3640ce498fc100ab2891d0a9c
|
|\ \
| |/
| |
| |
| | |
* commit 'ddaa48f57b54b2862b3e6dcf18a44c9647f3baaa':
wimax : Fix for some DHCP servers not returning some DNS info
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Explicitly include 'domain_name_servers' and 'domain_name' in the list
of parameters requested in the DNS request.
Without this some DHCP servers may skip the DNS entries in the DHCP replies.
Change-Id: I4c6463acd4f0719984a8cab9903ce50fcf59405a
Signed-off-by: tk.mun <tk.mun@samsung.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ibb39ae38df3a8fcb216d4418bf57703a5aa801d9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|/
|
|
|
| |
Change-Id: If327f1511c740caf377357668b2af698ec8dacab
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
|
|
|
| |
Framework manages route setup for p2p.
Bug: 5002384
Change-Id: I7489ebed1c268744a3bf8ea13bf5c55d200fe3e7
|
|\
| |
| |
| |
| | |
* commit 'f53d99f1bb925b332a2abbca5abd463795508a50':
Fix dhcp renew behavior
|
| |\
| | |
| | |
| | |
| | | |
* commit '0c4a89bb5e3205e47085b93ffec210778e474508':
Fix dhcp renew behavior
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We use the -n option to renew the ip address. The current behavior
of the client is to reset and initialize all available interfaces
sending traffic on them.
Change the behavior to do a renew alone
Bug: 4987402
Change-Id: I3004feddf77aea248a9c749333d5c0d5ec9d4d3e
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 5010576
Change-Id: Iae6722e0297a65bcfb747266060bee7418c54623
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
interface (b/4603819)
* commit 'd870426cf67e614e4cb938f9e66e00eeb57febc4':
Check dst addr for NULL incase of IFF_POINTOPOINT interface (b/4603819)
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
(b/4603819)
* commit '49b71a9ee5f83c49125fd6aff49701524be7a618':
Check dst addr for NULL incase of IFF_POINTOPOINT interface (b/4603819)
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I5ca1775fc16a89b1ffe4c946929afe8b1333f66e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
(DO NOT MERGE) [bug: 4174566]
* commit '3586ee3039bf5b36a7a80210698eceb3ab4f9be5':
dhcp: Remove errant extra ref (DO NOT MERGE) [bug: 4174566]
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4174566]
* commit '17fdc0dee1db0246a59cd3b28278389043fe5134':
dhcp: Remove errant extra ref (DO NOT MERGE) [bug: 4174566]
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If2e7a394c9ab65f7a8d69a4e7b240705204bd34c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|/ / /
| | |
| | |
| | |
| | | |
Change-Id: I57b3da6eec12d34ae9f13db4220e454a3c570171
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \ \
| |/ /
| | /
| |/
|/| |
* commit '6a10bd1262fd1eb97d3a4ab89507901f9631f32a':
wimax : Change DHCP option for explicit DNS information
|
| |
| |
| |
| |
| |
| |
| | |
Explicitly include DNS in the list of parameters requested in the DHCP request.
Change-Id: If98c8d641e44c73818550df082f298cab440f4ab
Signed-off-by: TK MUN <tk.mun@samsung.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ia232992f6e18a1494ad12e38c95fd0d2a7520e8e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| |
| | |
Change-Id: I949331c7aad91b125decd51da4041983d3a352bc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '07e6bad27beabac5f4ed795fbbc7c8b564b14495'
* commit '07e6bad27beabac5f4ed795fbbc7c8b564b14495':
dhcpcd: Remove obsolete, wrong-syntax script
|
| |
| |
| |
| |
| |
| |
| | |
Auto-merge: no
Change-Id: I051161d7280c21c40df8a80cf2153ebdb7c027ce
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
| |
| |
| |
| | |
Change-Id: I76ae69b263f3756f7377dcf86a1ac0fc973fc1e1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|/
|
|
|
| |
Change-Id: I4b6d04b75f4ceeb2f87664faaea9f18ad2949d1e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit 'e2cfecadc4e796cae73dbc0dafaf46b837569e71' into gingerbread
* commit 'e2cfecadc4e796cae73dbc0dafaf46b837569e71':
dhcpcd: Fix dhcpcd-run-hooks permissions
|
| |
| |
| |
| |
| | |
Change-Id: Id6031789da6f8c12a1ce5b1943404ba29de3ed0c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|/
|
|
| |
Change-Id: I79cb3fc0cb83f34b59245d94a4eae56f53998ace
|
|
|
|
|
| |
Change-Id: Icd6f44019098c62aa2aaa0845a28beb95120bd62
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|
|
|
| |
Change-Id: Ibc797b7f293acfe1b4d6b173cf8f376e8e8b038a
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '279fadf93958d420c67f791291a7c761977aff57'
* commit '279fadf93958d420c67f791291a7c761977aff57':
android-2.1_r1 snapshot
|
| |\ |
|
| | |\
| |/ / |
|
| | | |
|