Config.in.netfilter.ip4 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. config ADK_KPACKAGE_KMOD_NF_CONNTRACK_IPV4
  2. bool 'IPv4 connection tracking support (required for NAT)'
  3. select ADK_KPACKAGE_KMOD_NF_CONNTRACK
  4. help
  5. Connection tracking keeps a record of what packets have passed
  6. through your machine, in order to figure out how they are related
  7. into connections.
  8. config ADK_KPACKAGE_KMOD_IP_NF_CT_ACCT
  9. bool 'Connection tracking flow accounting'
  10. depends on ADK_KPACKAGE_KMOD_NF_CONNTRACK
  11. help
  12. If this option is enabled, the connection tracking code will
  13. keep per-flow packet and byte counters.
  14. Those counters can be used for flow-based accounting or the
  15. `connbytes' match.
  16. config ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  17. tristate 'IP tables support (required for filtering/masq/NAT)'
  18. select ADK_KERNEL_NETFILTER_XTABLES
  19. help
  20. iptables is a general, extensible packet identification framework.
  21. The packet filtering and full NAT (masquerading, port forwarding,
  22. etc) subsystems now use this: say `Y' or `M' here if you want to use
  23. either of those.
  24. config ADK_KPACKAGE_KMOD_IP_NF_FILTER
  25. tristate 'Packet Filtering'
  26. depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  27. help
  28. Packet filtering defines a table `filter', which has a series of
  29. rules for simple packet filtering at local input, forwarding and
  30. local output. See the man page for iptables(8).
  31. config ADK_KPACKAGE_KMOD_FULL_NAT
  32. tristate "Meta package for Full NAT"
  33. select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_60
  34. select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_9_11
  35. config ADK_KPACKAGE_KMOD_NF_NAT
  36. tristate 'Full NAT'
  37. depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  38. depends on ADK_KERNEL_VERSION_3_4_60
  39. help
  40. The Full NAT option allows masquerading, port forwarding and other
  41. forms of full Network Address Port Translation. It is controlled by
  42. the `nat' table in iptables: see the man page for iptables(8).
  43. config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
  44. tristate 'Full NAT'
  45. depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  46. depends on ADK_KERNEL_VERSION_3_9_11
  47. help
  48. The Full NAT option allows masquerading, port forwarding and other
  49. forms of full Network Address Port Translation. It is controlled by
  50. the `nat' table in iptables: see the man page for iptables(8).
  51. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_MASQUERADE
  52. tristate 'MASQUERADE target support'
  53. depends on ADK_KPACKAGE_KMOD_FULL_NAT
  54. help
  55. Masquerading is a special case of NAT: all outgoing connections are
  56. changed to seem to come from a particular interface's address, and
  57. if the interface goes down, those connections are lost. This is
  58. only useful for dialup accounts with dynamic IP address (ie. your IP
  59. address will be different on next dialup).
  60. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REJECT
  61. tristate 'REJECT target support'
  62. depends on ADK_KPACKAGE_KMOD_IP_NF_FILTER
  63. help
  64. The REJECT target allows a filtering rule to specify that an ICMP
  65. error should be issued in response to an incoming packet, rather
  66. than silently being dropped.
  67. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_ULOG
  68. tristate 'ULOG target support (ipv4 only)'
  69. depends on ADK_KPACKAGE_KMOD_IP_NF_FILTER
  70. help
  71. This option enables the old IPv4-only "ipt_ULOG" implementation
  72. which has been obsoleted by the new "nfnetlink_log" code (see
  73. CONFIG_NETFILTER_NETLINK_LOG).
  74. This option adds a `ULOG' target, which allows you to create rules in
  75. any iptables table. The packet is passed to a userspace logging
  76. daemon using netlink multicast sockets; unlike the LOG target
  77. which can only be viewed through syslog.
  78. The appropriate userspace logging daemon (ulogd) may be obtained from
  79. <http://www.gnumonks.org/projects/ulogd/>
  80. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_REDIRECT
  81. tristate 'REDIRECT target support'
  82. depends on ADK_KPACKAGE_KMOD_FULL_NAT
  83. help
  84. REDIRECT is a special case of NAT: all incoming connections are
  85. mapped onto the incoming interface's address, causing the packets to
  86. come to the local machine instead of passing through. This is
  87. useful for transparent proxies.
  88. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_NETMAP
  89. tristate 'NETMAP target support'
  90. depends on ADK_KPACKAGE_KMOD_FULL_NAT
  91. help
  92. NETMAP is an implementation of static 1:1 NAT mapping of network
  93. addresses. It maps the network address part, while keeping the host
  94. address part intact. It is similar to Fast NAT, except that
  95. Netfilter's connection tracking doesn't work well with Fast NAT.
  96. config ADK_KPACKAGE_KMOD_IP_NF_MANGLE
  97. tristate 'Packet mangling'
  98. depends on ADK_KPACKAGE_KMOD_FULL_NAT
  99. help
  100. This option adds a `mangle' table to iptables: see the man page for
  101. iptables(8). This table is used for various packet alterations
  102. which can effect how the packet is routed.
  103. config ADK_KPACKAGE_KMOD_IP_NF_TARGET_ECN
  104. tristate 'ECN target support'
  105. depends on ADK_KPACKAGE_KMOD_IP_NF_MANGLE
  106. help
  107. This option adds a `ECN' target, which can be used in the iptables mangle
  108. table.
  109. You can use this target to remove the ECN bits from the IPv4 header of
  110. an IP packet. This is particularly useful, if you need to work around
  111. existing ECN blackholes on the internet, but don't want to disable
  112. ECN support in general.