busybox/networking/Config.src
<<
>>
Prefs
   1#
   2# For a description of the syntax of this configuration file,
   3# see scripts/kbuild/config-language.txt.
   4#
   5
   6menu "Networking Utilities"
   7
   8INSERT
   9
  10config FEATURE_IPV6
  11        bool "Enable IPv6 support"
  12        default y
  13        help
  14          Enable IPv6 support in busybox.
  15          This adds IPv6 support in the networking applets.
  16
  17config FEATURE_UNIX_LOCAL
  18        bool "Enable Unix domain socket support (usually not needed)"
  19        default n
  20        help
  21          Enable Unix domain socket support in all busybox networking
  22          applets.  Address of the form local:/path/to/unix/socket
  23          will be recognized.
  24
  25          This extension is almost never used in real world usage.
  26          You most likely want to say N.
  27
  28config FEATURE_PREFER_IPV4_ADDRESS
  29        bool "Prefer IPv4 addresses from DNS queries"
  30        default y
  31        depends on FEATURE_IPV6
  32        help
  33          Use IPv4 address of network host if it has one.
  34
  35          If this option is off, the first returned address will be used.
  36          This may cause problems when your DNS server is IPv6-capable and
  37          is returning IPv6 host addresses too. If IPv6 address
  38          precedes IPv4 one in DNS reply, busybox network applets
  39          (e.g. wget) will use IPv6 address. On an IPv6-incapable host
  40          or network applets will fail to connect to the host
  41          using IPv6 address.
  42
  43config VERBOSE_RESOLUTION_ERRORS
  44        bool "Verbose resolution errors"
  45        default n
  46        help
  47          Enable if you are not satisfied with simplistic
  48          "can't resolve 'hostname.com'" and want to know more.
  49          This may increase size of your executable a bit.
  50
  51config ARP
  52        bool "arp"
  53        default y
  54        select PLATFORM_LINUX
  55        help
  56          Manipulate the system ARP cache.
  57
  58config ARPING
  59        bool "arping"
  60        default y
  61        select PLATFORM_LINUX
  62        help
  63          Ping hosts by ARP packets.
  64
  65config BRCTL
  66        bool "brctl"
  67        default y
  68        select PLATFORM_LINUX
  69        help
  70          Manage ethernet bridges.
  71          Supports addbr/delbr and addif/delif.
  72
  73config FEATURE_BRCTL_FANCY
  74        bool "Fancy options"
  75        default y
  76        depends on BRCTL
  77        help
  78          Add support for extended option like:
  79            setageing, setfd, sethello, setmaxage,
  80            setpathcost, setportprio, setbridgeprio,
  81            stp
  82          This adds about 600 bytes.
  83
  84config FEATURE_BRCTL_SHOW
  85        bool "Support show, showmac and showstp"
  86        default y
  87        depends on BRCTL && FEATURE_BRCTL_FANCY
  88        help
  89          Add support for option which prints the current config:
  90            showmacs, showstp, show
  91
  92config DNSD
  93        bool "dnsd"
  94        default y
  95        help
  96          Small and static DNS server daemon.
  97
  98config ETHER_WAKE
  99        bool "ether-wake"
 100        default y
 101        select PLATFORM_LINUX
 102        help
 103          Send a magic packet to wake up sleeping machines.
 104
 105config FAKEIDENTD
 106        bool "fakeidentd"
 107        default y
 108        select FEATURE_SYSLOG
 109        help
 110          fakeidentd listens on the ident port and returns a predefined
 111          fake value on any query.
 112
 113config FTPD
 114        bool "ftpd"
 115        default y
 116        help
 117          simple FTP daemon. You have to run it via inetd.
 118
 119config FEATURE_FTP_WRITE
 120        bool "Enable upload commands"
 121        default y
 122        depends on FTPD
 123        help
 124          Enable all kinds of FTP upload commands (-w option)
 125
 126config FEATURE_FTPD_ACCEPT_BROKEN_LIST
 127        bool "Enable workaround for RFC-violating clients"
 128        default y
 129        depends on FTPD
 130        help
 131          Some ftp clients (among them KDE's Konqueror) issue illegal
 132          "LIST -l" requests. This option works around such problems.
 133          It might prevent you from listing files starting with "-" and
 134          it increases the code size by ~40 bytes.
 135          Most other ftp servers seem to behave similar to this.
 136
 137config FTPGET
 138        bool "ftpget"
 139        default y
 140        help
 141          Retrieve a remote file via FTP.
 142
 143config FTPPUT
 144        bool "ftpput"
 145        default y
 146        help
 147          Store a remote file via FTP.
 148
 149config FEATURE_FTPGETPUT_LONG_OPTIONS
 150        bool "Enable long options in ftpget/ftpput"
 151        default y
 152        depends on LONG_OPTS && (FTPGET || FTPPUT)
 153        help
 154          Support long options for the ftpget/ftpput applet.
 155
 156config HOSTNAME
 157        bool "hostname"
 158        default y
 159        help
 160          Show or set the system's host name.
 161
 162config HTTPD
 163        bool "httpd"
 164        default y
 165        help
 166          Serve web pages via an HTTP server.
 167
 168config FEATURE_HTTPD_RANGES
 169        bool "Support 'Ranges:' header"
 170        default y
 171        depends on HTTPD
 172        help
 173          Makes httpd emit "Accept-Ranges: bytes" header and understand
 174          "Range: bytes=NNN-[MMM]" header. Allows for resuming interrupted
 175          downloads, seeking in multimedia players etc.
 176
 177config FEATURE_HTTPD_USE_SENDFILE
 178        bool "Use sendfile system call"
 179        default y
 180        depends on HTTPD
 181        help
 182          When enabled, httpd will use the kernel sendfile() function
 183          instead of read/write loop.
 184
 185config FEATURE_HTTPD_SETUID
 186        bool "Enable -u <user> option"
 187        default y
 188        depends on HTTPD
 189        help
 190          This option allows the server to run as a specific user
 191          rather than defaulting to the user that starts the server.
 192          Use of this option requires special privileges to change to a
 193          different user.
 194
 195config FEATURE_HTTPD_BASIC_AUTH
 196        bool "Enable Basic http Authentication"
 197        default y
 198        depends on HTTPD
 199        help
 200          Utilizes password settings from /etc/httpd.conf for basic
 201          authentication on a per url basis.
 202
 203config FEATURE_HTTPD_AUTH_MD5
 204        bool "Support MD5 crypted passwords for http Authentication"
 205        default y
 206        depends on FEATURE_HTTPD_BASIC_AUTH
 207        help
 208          Enables basic per URL authentication from /etc/httpd.conf
 209          using md5 passwords.
 210
 211config FEATURE_HTTPD_CGI
 212        bool "Support Common Gateway Interface (CGI)"
 213        default y
 214        depends on HTTPD
 215        help
 216          This option allows scripts and executables to be invoked
 217          when specific URLs are requested.
 218
 219config FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
 220        bool "Support for running scripts through an interpreter"
 221        default y
 222        depends on FEATURE_HTTPD_CGI
 223        help
 224          This option enables support for running scripts through an
 225          interpreter. Turn this on if you want PHP scripts to work
 226          properly. You need to supply an additional line in your httpd
 227          config file:
 228          *.php:/path/to/your/php
 229
 230config FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
 231        bool "Set REMOTE_PORT environment variable for CGI"
 232        default y
 233        depends on FEATURE_HTTPD_CGI
 234        help
 235          Use of this option can assist scripts in generating
 236          references that contain a unique port number.
 237
 238config FEATURE_HTTPD_ENCODE_URL_STR
 239        bool "Enable -e option (useful for CGIs written as shell scripts)"
 240        default y
 241        depends on HTTPD
 242        help
 243          This option allows html encoding of arbitrary strings for display
 244          by the browser. Output goes to stdout.
 245          For example, httpd -e "<Hello World>" produces
 246          "&#60Hello&#32World&#62".
 247
 248config FEATURE_HTTPD_ERROR_PAGES
 249        bool "Support for custom error pages"
 250        default y
 251        depends on HTTPD
 252        help
 253          This option allows you to define custom error pages in
 254          the configuration file instead of the default HTTP status
 255          error pages. For instance, if you add the line:
 256                E404:/path/e404.html
 257          in the config file, the server will respond the specified
 258          '/path/e404.html' file instead of the terse '404 NOT FOUND'
 259          message.
 260
 261config FEATURE_HTTPD_PROXY
 262        bool "Support for reverse proxy"
 263        default y
 264        depends on HTTPD
 265        help
 266          This option allows you to define URLs that will be forwarded
 267          to another HTTP server. To setup add the following line to the
 268          configuration file
 269                P:/url/:http://hostname[:port]/new/path/
 270          Then a request to /url/myfile will be forwarded to
 271          http://hostname[:port]/new/path/myfile.
 272
 273config FEATURE_HTTPD_GZIP
 274        bool "Support for GZIP content encoding"
 275        default y
 276        depends on HTTPD
 277        help
 278          Makes httpd send files using GZIP content encoding if the
 279          client supports it and a pre-compressed <file>.gz exists.
 280
 281config IFCONFIG
 282        bool "ifconfig"
 283        default y
 284        select PLATFORM_LINUX
 285        help
 286          Ifconfig is used to configure the kernel-resident network interfaces.
 287
 288config FEATURE_IFCONFIG_STATUS
 289        bool "Enable status reporting output (+7k)"
 290        default y
 291        depends on IFCONFIG
 292        help
 293          If ifconfig is called with no arguments it will display the status
 294          of the currently active interfaces.
 295
 296config FEATURE_IFCONFIG_SLIP
 297        bool "Enable slip-specific options \"keepalive\" and \"outfill\""
 298        default y
 299        depends on IFCONFIG
 300        help
 301          Allow "keepalive" and "outfill" support for SLIP. If you're not
 302          planning on using serial lines, leave this unchecked.
 303
 304config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ
 305        bool "Enable options \"mem_start\", \"io_addr\", and \"irq\""
 306        default y
 307        depends on IFCONFIG
 308        help
 309          Allow the start address for shared memory, start address for I/O,
 310          and/or the interrupt line used by the specified device.
 311
 312config FEATURE_IFCONFIG_HW
 313        bool "Enable option \"hw\" (ether only)"
 314        default y
 315        depends on IFCONFIG
 316        help
 317          Set the hardware address of this interface, if the device driver
 318          supports  this  operation. Currently, we only support the 'ether'
 319          class.
 320
 321config FEATURE_IFCONFIG_BROADCAST_PLUS
 322        bool "Set the broadcast automatically"
 323        default y
 324        depends on IFCONFIG
 325        help
 326          Setting this will make ifconfig attempt to find the broadcast
 327          automatically if the value '+' is used.
 328
 329config IFENSLAVE
 330        bool "ifenslave"
 331        default y
 332        select PLATFORM_LINUX
 333        help
 334          Userspace application to bind several interfaces
 335          to a logical interface (use with kernel bonding driver).
 336
 337config IFPLUGD
 338        bool "ifplugd"
 339        default y
 340        select PLATFORM_LINUX
 341        help
 342          Network interface plug detection daemon.
 343
 344config IFUPDOWN
 345        bool "ifupdown"
 346        default y
 347        help
 348          Activate or deactivate the specified interfaces. This applet makes
 349          use of either "ifconfig" and "route" or the "ip" command to actually
 350          configure network interfaces. Therefore, you will probably also want
 351          to enable either IFCONFIG and ROUTE, or enable
 352          FEATURE_IFUPDOWN_IP and the various IP options. Of
 353          course you could use non-busybox versions of these programs, so
 354          against my better judgement (since this will surely result in plenty
 355          of support questions on the mailing list), I do not force you to
 356          enable these additional options. It is up to you to supply either
 357          "ifconfig", "route" and "run-parts" or the "ip" command, either
 358          via busybox or via standalone utilities.
 359
 360config IFUPDOWN_IFSTATE_PATH
 361        string "Absolute path to ifstate file"
 362        default "/var/run/ifstate"
 363        depends on IFUPDOWN
 364        help
 365          ifupdown keeps state information in a file called ifstate.
 366          Typically it is located in /var/run/ifstate, however
 367          some distributions tend to put it in other places
 368          (debian, for example, uses /etc/network/run/ifstate).
 369          This config option defines location of ifstate.
 370
 371config FEATURE_IFUPDOWN_IP
 372        bool "Use ip applet"
 373        default y
 374        depends on IFUPDOWN
 375        help
 376          Use the iproute "ip" command to implement "ifup" and "ifdown", rather
 377          than the default of using the older 'ifconfig' and 'route' utilities.
 378
 379config FEATURE_IFUPDOWN_IP_BUILTIN
 380        bool "Use busybox ip applet"
 381        default y
 382        depends on FEATURE_IFUPDOWN_IP
 383        select PLATFORM_LINUX
 384        select IP
 385        select FEATURE_IP_ADDRESS
 386        select FEATURE_IP_LINK
 387        select FEATURE_IP_ROUTE
 388        help
 389          Use the busybox iproute "ip" applet to implement "ifupdown".
 390
 391          If left disabled, you must install the full-blown iproute2
 392          utility or the  "ifup" and "ifdown" applets will not work.
 393
 394config FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
 395        bool "Use busybox ifconfig and route applets"
 396        default n
 397        depends on IFUPDOWN && !FEATURE_IFUPDOWN_IP
 398        select IFCONFIG
 399        select ROUTE
 400        help
 401          Use the busybox iproute "ifconfig" and "route" applets to
 402          implement the "ifup" and "ifdown" utilities.
 403
 404          If left disabled, you must install the full-blown ifconfig
 405          and route utilities, or the  "ifup" and "ifdown" applets will not
 406          work.
 407
 408config FEATURE_IFUPDOWN_IPV4
 409        bool "Support for IPv4"
 410        default y
 411        depends on IFUPDOWN
 412        help
 413          If you want ifup/ifdown to talk IPv4, leave this on.
 414
 415config FEATURE_IFUPDOWN_IPV6
 416        bool "Support for IPv6"
 417        default y
 418        depends on IFUPDOWN && FEATURE_IPV6
 419        help
 420          If you need support for IPv6, turn this option on.
 421
 422### UNUSED
 423###config FEATURE_IFUPDOWN_IPX
 424###     bool "Support for IPX"
 425###     default y
 426###     depends on IFUPDOWN
 427###     help
 428###       If this option is selected you can use busybox to work with IPX
 429###       networks.
 430
 431config FEATURE_IFUPDOWN_MAPPING
 432        bool "Enable mapping support"
 433        default y
 434        depends on IFUPDOWN
 435        help
 436          This enables support for the "mapping" stanza, unless you have
 437          a weird network setup you don't need it.
 438
 439config FEATURE_IFUPDOWN_EXTERNAL_DHCP
 440        bool "Support for external dhcp clients"
 441        default n
 442        depends on IFUPDOWN
 443        help
 444          This enables support for the external dhcp clients. Clients are
 445          tried in the following order: dhcpcd, dhclient, pump and udhcpc.
 446          Otherwise, if udhcpc applet is enabled, it is used.
 447          Otherwise, ifup/ifdown will have no support for DHCP.
 448
 449config INETD
 450        bool "inetd"
 451        default y
 452        select FEATURE_SYSLOG
 453        help
 454          Internet superserver daemon
 455
 456config FEATURE_INETD_SUPPORT_BUILTIN_ECHO
 457        bool "Support echo service"
 458        default y
 459        depends on INETD
 460        help
 461          Echo received data internal inetd service
 462
 463config FEATURE_INETD_SUPPORT_BUILTIN_DISCARD
 464        bool "Support discard service"
 465        default y
 466        depends on INETD
 467        help
 468          Internet /dev/null internal inetd service
 469
 470config FEATURE_INETD_SUPPORT_BUILTIN_TIME
 471        bool "Support time service"
 472        default y
 473        depends on INETD
 474        help
 475          Return 32 bit time since 1900 internal inetd service
 476
 477config FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME
 478        bool "Support daytime service"
 479        default y
 480        depends on INETD
 481        help
 482          Return human-readable time internal inetd service
 483
 484config FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN
 485        bool "Support chargen service"
 486        default y
 487        depends on INETD
 488        help
 489          Familiar character generator internal inetd service
 490
 491config FEATURE_INETD_RPC
 492        bool "Support RPC services"
 493        default y
 494        depends on INETD
 495        select FEATURE_HAVE_RPC
 496        help
 497          Support Sun-RPC based services
 498
 499config IP
 500        bool "ip"
 501        default y
 502        select PLATFORM_LINUX
 503        help
 504          The "ip" applet is a TCP/IP interface configuration and routing
 505          utility. You generally don't need "ip" to use busybox with
 506          TCP/IP.
 507
 508config FEATURE_IP_ADDRESS
 509        bool "ip address"
 510        default y
 511        depends on IP
 512        help
 513          Address manipulation support for the "ip" applet.
 514
 515config FEATURE_IP_LINK
 516        bool "ip link"
 517        default y
 518        depends on IP
 519        help
 520          Configure network devices with "ip".
 521
 522config FEATURE_IP_ROUTE
 523        bool "ip route"
 524        default y
 525        depends on IP
 526        help
 527          Add support for routing table management to "ip".
 528
 529config FEATURE_IP_TUNNEL
 530        bool "ip tunnel"
 531        default y
 532        depends on IP
 533        help
 534          Add support for tunneling commands to "ip".
 535
 536config FEATURE_IP_RULE
 537        bool "ip rule"
 538        default y
 539        depends on IP
 540        help
 541          Add support for rule commands to "ip".
 542
 543config FEATURE_IP_SHORT_FORMS
 544        bool "Support short forms of ip commands"
 545        default y
 546        depends on IP
 547        help
 548          Also support short-form of ip <OBJECT> commands:
 549          ip addr   -> ipaddr
 550          ip link   -> iplink
 551          ip route  -> iproute
 552          ip tunnel -> iptunnel
 553          ip rule   -> iprule
 554
 555          Say N unless you desparately need the short form of the ip
 556          object commands.
 557
 558config FEATURE_IP_RARE_PROTOCOLS
 559        bool "Support displaying rarely used link types"
 560        default n
 561        depends on IP
 562        help
 563          If you are not going to use links of type "frad", "econet",
 564          "bif" etc, you probably don't need to enable this.
 565          Ethernet, wireless, infrared, ppp/slip, ip tunnelling
 566          link types are supported without this option selected.
 567
 568config IPADDR
 569        bool
 570        default y
 571        depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ADDRESS
 572
 573config IPLINK
 574        bool
 575        default y
 576        depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_LINK
 577
 578config IPROUTE
 579        bool
 580        default y
 581        depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_ROUTE
 582
 583config IPTUNNEL
 584        bool
 585        default y
 586        depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_TUNNEL
 587
 588config IPRULE
 589        bool
 590        default y
 591        depends on FEATURE_IP_SHORT_FORMS && FEATURE_IP_RULE
 592
 593config IPCALC
 594        bool "ipcalc"
 595        default y
 596        help
 597          ipcalc takes an IP address and netmask and calculates the
 598          resulting broadcast, network, and host range.
 599
 600config FEATURE_IPCALC_FANCY
 601        bool "Fancy IPCALC, more options, adds 1 kbyte"
 602        default y
 603        depends on IPCALC
 604        help
 605          Adds the options hostname, prefix and silent to the output of
 606          "ipcalc".
 607
 608config FEATURE_IPCALC_LONG_OPTIONS
 609        bool "Enable long options"
 610        default y
 611        depends on IPCALC && LONG_OPTS
 612        help
 613          Support long options for the ipcalc applet.
 614
 615config NETSTAT
 616        bool "netstat"
 617        default y
 618        select PLATFORM_LINUX
 619        help
 620          netstat prints information about the Linux networking subsystem.
 621
 622config FEATURE_NETSTAT_WIDE
 623        bool "Enable wide netstat output"
 624        default y
 625        depends on NETSTAT
 626        help
 627          Add support for wide columns. Useful when displaying IPv6 addresses
 628          (-W option).
 629
 630config FEATURE_NETSTAT_PRG
 631        bool "Enable PID/Program name output"
 632        default y
 633        depends on NETSTAT
 634        help
 635          Add support for -p flag to print out PID and program name.
 636          +700 bytes of code.
 637
 638config NSLOOKUP
 639        bool "nslookup"
 640        default y
 641        help
 642          nslookup is a tool to query Internet name servers.
 643
 644config NTPD
 645        bool "ntpd"
 646        default y
 647        select PLATFORM_LINUX
 648        help
 649          The NTP client/server daemon.
 650
 651config FEATURE_NTPD_SERVER
 652        bool "Make ntpd usable as a NTP server"
 653        default y
 654        depends on NTPD
 655        help
 656          Make ntpd usable as a NTP server. If you disable this option
 657          ntpd will be usable only as a NTP client.
 658
 659config PSCAN
 660        bool "pscan"
 661        default y
 662        help
 663          Simple network port scanner.
 664
 665config ROUTE
 666        bool "route"
 667        default y
 668        select PLATFORM_LINUX
 669        help
 670          Route displays or manipulates the kernel's IP routing tables.
 671
 672config SLATTACH
 673        bool "slattach"
 674        default y
 675        select PLATFORM_LINUX
 676        help
 677          slattach is a small utility to attach network interfaces to serial
 678          lines.
 679
 680#config TC
 681#       bool "tc"
 682#       default y
 683#       help
 684#         show / manipulate traffic control settings
 685#
 686#config FEATURE_TC_INGRESS
 687#       def_bool n
 688#       depends on TC
 689
 690config TCPSVD
 691        bool "tcpsvd"
 692        default y
 693        help
 694          tcpsvd listens on a TCP port and runs a program for each new
 695          connection.
 696
 697config TELNET
 698        bool "telnet"
 699        default y
 700        help
 701          Telnet is an interface to the TELNET protocol, but is also commonly
 702          used to test other simple protocols.
 703
 704config FEATURE_TELNET_TTYPE
 705        bool "Pass TERM type to remote host"
 706        default y
 707        depends on TELNET
 708        help
 709          Setting this option will forward the TERM environment variable to the
 710          remote host you are connecting to. This is useful to make sure that
 711          things like ANSI colors and other control sequences behave.
 712
 713config FEATURE_TELNET_AUTOLOGIN
 714        bool "Pass USER type to remote host"
 715        default y
 716        depends on TELNET
 717        help
 718          Setting this option will forward the USER environment variable to the
 719          remote host you are connecting to. This is useful when you need to
 720          log into a machine without telling the username (autologin). This
 721          option enables `-a' and `-l USER' arguments.
 722
 723config TELNETD
 724        bool "telnetd"
 725        default y
 726        select FEATURE_SYSLOG
 727        help
 728          A daemon for the TELNET protocol, allowing you to log onto the host
 729          running the daemon. Please keep in mind that the TELNET protocol
 730          sends passwords in plain text. If you can't afford the space for an
 731          SSH daemon and you trust your network, you may say 'y' here. As a
 732          more secure alternative, you should seriously consider installing the
 733          very small Dropbear SSH daemon instead:
 734                http://matt.ucc.asn.au/dropbear/dropbear.html
 735
 736          Note that for busybox telnetd to work you need several things:
 737          First of all, your kernel needs:
 738                  UNIX98_PTYS=y
 739                  DEVPTS_FS=y
 740
 741          Next, you need a /dev/pts directory on your root filesystem:
 742
 743                  $ ls -ld /dev/pts
 744                  drwxr-xr-x  2 root root 0 Sep 23 13:21 /dev/pts/
 745
 746          Next you need the pseudo terminal master multiplexer /dev/ptmx:
 747
 748                  $ ls -la /dev/ptmx
 749                  crw-rw-rw-  1 root tty 5, 2 Sep 23 13:55 /dev/ptmx
 750
 751          Any /dev/ttyp[0-9]* files you may have can be removed.
 752          Next, you need to mount the devpts filesystem on /dev/pts using:
 753
 754                  mount -t devpts devpts /dev/pts
 755
 756          You need to be sure that busybox has LOGIN and
 757          FEATURE_SUID enabled. And finally, you should make
 758          certain that Busybox has been installed setuid root:
 759
 760                chown root.root /bin/busybox
 761                chmod 4755 /bin/busybox
 762
 763          with all that done, telnetd _should_ work....
 764
 765
 766config FEATURE_TELNETD_STANDALONE
 767        bool "Support standalone telnetd (not inetd only)"
 768        default y
 769        depends on TELNETD
 770        help
 771          Selecting this will make telnetd able to run standalone.
 772
 773config FEATURE_TELNETD_INETD_WAIT
 774        bool "Support -w SEC option (inetd wait mode)"
 775        default y
 776        depends on FEATURE_TELNETD_STANDALONE
 777        help
 778          This option allows you to run telnetd in "inet wait" mode.
 779          Example inetd.conf line (note "wait", not usual "nowait"):
 780
 781          telnet stream tcp wait root /bin/telnetd telnetd -w10
 782
 783          In this example, inetd passes _listening_ socket_ as fd 0
 784          to telnetd when connection appears.
 785          telnetd will wait for connections until all existing
 786          connections are closed, and no new connections
 787          appear during 10 seconds. Then it exits, and inetd continues
 788          to listen for new connections.
 789
 790          This option is rarely used. "tcp nowait" is much more usual
 791          way of running tcp services, including telnetd.
 792          You most probably want to say N here.
 793
 794config TFTP
 795        bool "tftp"
 796        default y
 797        help
 798          This enables the Trivial File Transfer Protocol client program. TFTP
 799          is usually used for simple, small transfers such as a root image
 800          for a network-enabled bootloader.
 801
 802config TFTPD
 803        bool "tftpd"
 804        default y
 805        help
 806          This enables the Trivial File Transfer Protocol server program.
 807          It expects that stdin is a datagram socket and a packet
 808          is already pending on it. It will exit after one transfer.
 809          In other words: it should be run from inetd in nowait mode,
 810          or from udpsvd. Example: "udpsvd -E 0 69 tftpd DIR"
 811
 812comment "Common options for tftp/tftpd"
 813        depends on TFTP || TFTPD
 814
 815config FEATURE_TFTP_GET
 816        bool "Enable 'tftp get' and/or tftpd upload code"
 817        default y
 818        depends on TFTP || TFTPD
 819        help
 820          Add support for the GET command within the TFTP client. This allows
 821          a client to retrieve a file from a TFTP server.
 822          Also enable upload support in tftpd, if tftpd is selected.
 823
 824          Note: this option does _not_ make tftpd capable of download
 825          (the usual operation people need from it)!
 826
 827config FEATURE_TFTP_PUT
 828        bool "Enable 'tftp put' and/or tftpd download code"
 829        default y
 830        depends on TFTP || TFTPD
 831        help
 832          Add support for the PUT command within the TFTP client. This allows
 833          a client to transfer a file to a TFTP server.
 834          Also enable download support in tftpd, if tftpd is selected.
 835
 836config FEATURE_TFTP_BLOCKSIZE
 837        bool "Enable 'blksize' and 'tsize' protocol options"
 838        default y
 839        depends on TFTP || TFTPD
 840        help
 841          Allow tftp to specify block size, and tftpd to understand
 842          "blksize" and "tsize" options.
 843
 844config FEATURE_TFTP_PROGRESS_BAR
 845        bool "Enable tftp progress meter"
 846        default y
 847        depends on TFTP && FEATURE_TFTP_BLOCKSIZE
 848        help
 849          Show progress bar.
 850
 851config TFTP_DEBUG
 852        bool "Enable debug"
 853        default n
 854        depends on TFTP || TFTPD
 855        help
 856          Make tftp[d] print debugging messages on stderr.
 857          This is useful if you are diagnosing a bug in tftp[d].
 858
 859config TRACEROUTE
 860        bool "traceroute"
 861        default y
 862        select PLATFORM_LINUX
 863        help
 864          Utility to trace the route of IP packets.
 865
 866config TRACEROUTE6
 867        bool "traceroute6"
 868        default y
 869        depends on FEATURE_IPV6 && TRACEROUTE
 870        help
 871          Utility to trace the route of IPv6 packets.
 872
 873config FEATURE_TRACEROUTE_VERBOSE
 874        bool "Enable verbose output"
 875        default y
 876        depends on TRACEROUTE
 877        help
 878          Add some verbosity to traceroute. This includes among other things
 879          hostnames and ICMP response types.
 880
 881config FEATURE_TRACEROUTE_SOURCE_ROUTE
 882        bool "Enable loose source route"
 883        default n
 884        depends on TRACEROUTE
 885        help
 886          Add option to specify a loose source route gateway
 887          (8 maximum).
 888
 889config FEATURE_TRACEROUTE_USE_ICMP
 890        bool "Use ICMP instead of UDP"
 891        default n
 892        depends on TRACEROUTE
 893        help
 894          Add option -I to use ICMP ECHO instead of UDP datagrams.
 895
 896config TUNCTL
 897        bool "tunctl"
 898        default y
 899        select PLATFORM_LINUX
 900        help
 901          tunctl creates or deletes tun devices.
 902
 903config FEATURE_TUNCTL_UG
 904        bool "Support owner:group assignment"
 905        default y
 906        depends on TUNCTL
 907        help
 908          Allow to specify owner and group of newly created interface.
 909          340 bytes of pure bloat. Say no here.
 910
 911source networking/udhcp/Config.in
 912
 913config IFUPDOWN_UDHCPC_CMD_OPTIONS
 914        string "ifup udhcpc command line options"
 915        default "-R -n"
 916        depends on IFUPDOWN && UDHCPC
 917        help
 918          Command line options to pass to udhcpc from ifup.
 919          Intended to alter options not available in /etc/network/interfaces.
 920          (IE: --syslog --background etc...)
 921
 922config UDPSVD
 923        bool "udpsvd"
 924        default y
 925        help
 926          udpsvd listens on an UDP port and runs a program for each new
 927          connection.
 928
 929config VCONFIG
 930        bool "vconfig"
 931        default y
 932        select PLATFORM_LINUX
 933        help
 934          Creates, removes, and configures VLAN interfaces
 935
 936config WGET
 937        bool "wget"
 938        default y
 939        help
 940          wget is a utility for non-interactive download of files from HTTP,
 941          HTTPS, and FTP servers.
 942
 943config FEATURE_WGET_STATUSBAR
 944        bool "Enable a nifty process meter (+2k)"
 945        default y
 946        depends on WGET
 947        help
 948          Enable the transfer progress bar for wget transfers.
 949
 950config FEATURE_WGET_AUTHENTICATION
 951        bool "Enable HTTP authentication"
 952        default y
 953        depends on WGET
 954        help
 955          Support authenticated HTTP transfers.
 956
 957config FEATURE_WGET_LONG_OPTIONS
 958        bool "Enable long options"
 959        default y
 960        depends on WGET && LONG_OPTS
 961        help
 962          Support long options for the wget applet.
 963
 964config FEATURE_WGET_TIMEOUT
 965        bool "Enable read timeout option -T SEC"
 966        default y
 967        depends on WGET
 968        help
 969          Supports network read timeout for wget, so that wget will give
 970          up and timeout when reading network data, through the -T command
 971          line option.  Currently only network data read timeout is
 972          supported (i.e., timeout is not applied to the DNS nor TCP
 973          connection initialization).  When FEATURE_WGET_LONG_OPTIONS is
 974          also enabled, the --timeout option will work in addition to -T.
 975
 976config ZCIP
 977        bool "zcip"
 978        default y
 979        select PLATFORM_LINUX
 980        select FEATURE_SYSLOG
 981        help
 982          ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
 983          It's a daemon that allocates and defends a dynamically assigned
 984          address on the 169.254/16 network, requiring no system administrator.
 985
 986          See http://www.zeroconf.org for further details, and "zcip.script"
 987          in the busybox examples.
 988
 989endmenu
 990