summaryrefslogtreecommitdiff
path: root/README
blob: ceeb000d25f843b0dd5f6f2d613b457b5047f52d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
llmnrd - Link-Local Multicast Resolution Daemon
===============================================

llmnrd is a daemon implementing the Link-Local Multicast Name Resolution (LLMNR)
protocol according to RFC 4795. It currently only supports Linux, as it uses the
netlink kernel interface.

Installation
------------

To build and install llmnrd use the following commands:

  $ make
  $ sudo make install

By default, the llmnrd binary will be installed to /usr/local/sbin. To install
the binary to a different installation path, use:

  $ make
  $ sudo make prefix=<path> install

Cross-Compilation
-----------------

To cross-compile llmnrd for a different architecture, use the CROSS_COMPILE make
variable. To e.g. build it using the arm-linux-gnueabihf toolchain use:

  $ make CROSS_COMPILE=arm-linux-gnueabihf-

When cross-compiling, you usually don't want to install the generated binary to
your root filesystem, but to the sysroot of a cross-compiled system. Use the
DESTDIR variable to change the installation destination path, e.g.

  $ make DESTDIR=$HOME/sysroot/ prefix=/usr install

License
-------

llmnrd is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, version 2 of the License.

llmnrd is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.