summaryrefslogtreecommitdiffstats
path: root/rules/iputils.in
blob: d46bb968170e90f8027054feb326701653b79121 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
## SECTION=networking

menuconfig IPUTILS
	tristate
	prompt "iputils                       "
	select LIBC_RESOLV	if IPUTILS_PING
	select LIBCAP		if IPUTILS_ARPING || IPUTILS_PING || IPUTILS_TRACEROUTE6 || IPUTILS_CLOCKDIFF
	select LIBGCRYPT	if IPUTILS_GCRYPT
	select NETTLE		if IPUTILS_NETTLE
	select OPENSSL		if IPUTILS_OPENSSL
	help
	  The iputils package is set of small useful utilities for Linux
	  networking.

if IPUTILS

config IPUTILS_ARPING
	bool
	depends on !BUSYBOX_ARPING || ALLYES
	prompt "arping"
	help
	  Ping destination on device interface by ARP packets, using source
	  address source.

comment "BusyBox' arping is selected!"
        depends on BUSYBOX_ARPING

config IPUTILS_CLOCKDIFF
	bool
	prompt "clockdiff"
	help
	  Measures clock difference between us and destination with 1 msec
	  resolution.

config IPUTILS_PING
	bool
	depends on (!BUSYBOX_PING && !INETUTILS_PING) || ALLYES
	prompt "ping"
	help
	  ping uses the ICMP protocols mandatory ECHO_REQUEST datagram to elicit
	  an ICMP ECHO_RESPONSE from a host or gateway.
	  It works with both IPv4 and IPv6. Using only one of them explicitly can
	  be enforced by specifying -4 or -6.

comment "inetutils' ping is selected!"
        depends on INETUTILS_PING

comment "BusyBox' ping is selected!"
        depends on BUSYBOX_PING

if GLOBAL_IPV6

choice
	prompt "crypto library to be used for ping -N"
	default IPUTILS_NOCRYPTO
	depends on IPUTILS_PING
	help
	  Selecting a crypto library is necessary for ping to support
	  sending IPv6 Node Information Queries (RFC 4620).

	config IPUTILS_NOCRYPTO
		bool
		prompt "none"
		help
		  No crypto library is used. This means that ping -N
		  won't work.

	config IPUTILS_GCRYPT
		bool
		prompt "libgcrypt"

	config IPUTILS_NETTLE
		bool
		prompt "nettle"

	config IPUTILS_OPENSSL
		bool
		prompt "openssl"

endchoice

endif

config IPUTILS_RARPD
	bool
	prompt "rarpd"
	help
	  Listens RARP (http://tools.ietf.org/rfc/rfc903.txt) requests from
	  clients. Provided MAC address of client is found in /etc/ethers
	  database and obtained host name is resolvable to an IP address
	  appropriate for attached network, rarpd answers to client with
	  RARPD reply carrying an IP address.

config IPUTILS_RDISC
	bool
	prompt "rdisc"
	help
	  The rdisc command implements client side of the ICMP router discover
	  protocol. rdisc is invoked at boot time to populate the network
	  routing tables with default routes.

config IPUTILS_TFTPD
	bool
	depends on (!BUSYBOX_TFTPD && !INETUTILS_TFTPD) || ALLYES
	prompt "tftpd"

comment "inetutils' tftpd is selected!"
        depends on INETUTILS_PING

comment "BusyBox' tftpd is selected!"
        depends on BUSYBOX_TFTPD

config IPUTILS_TRACEPATH
	bool
	prompt "tracepath"
	help
	  tracepath traces the path to a network host discovering the MTU along
	  this path. Because it uses UDP for tracing, it does not need superuser
	  privileges like traceroute6. tracepath works for both IPv4 and IPv6.

config IPUTILS_TRACEROUTE6
	bool
	depends on !BUSYBOX_TRACEROUTE6 || ALLYES
	prompt "traceroute6"
	depends on GLOBAL_IPV6
	help
	  traceroute6 tracks the route packets take from an IP network on their
	  way to a given host. Supports UDP, ICMP and TCP for tracing and works
	  for IPv6 only.

comment "BusyBox' traceroute6 is selected!"
        depends on BUSYBOX_TRACEROUTE6

endif