]> git.ipfire.org Git - people/ms/network.git/blame - man/firewall-settings.txt
man: Convert network-performance-tuning(8) to asciidoc
[people/ms/network.git] / man / firewall-settings.txt
CommitLineData
66fe74f9
MT
1firewall-settings(8)
2====================
3
4NAME
5----
6firewall-settings - Global firewall settings
7
8SYNOPSIS
9--------
10[verse]
11'firewall settings'
12'firewall settings' KEY=VALUE ...
13
14DESCRIPTION
15-----------
16This command is used to set global firewall settings.
17Please have a look at the individual man pages for more options.
18
19COMMANDS
20--------
21If no argument is given, the configuration will be dumped to the console.
22
23You may set a new value by adding the variable name and the new value to
24the command line.
25
26SETTINGS
27--------
28=== CONNTRACK_MAX_CONNECTIONS = 16384
29Limits the max. number of simultaneous connections.
30
31Modify this if you want to handle a larger number of concurrent
32connections. Every connection will use approx. 16 kBytes of memory.
33
34=== CONNTRACK_UDP_TIMEOUT = 60
35Defines the timeout (in seconds) the kernel will wait until
36a half-assured UDP connection is fully established.
37
38=== FIREWALL_ACCEPT_ICMP_REDIRECTS = [true|false]
39Enable if you want to accept ICMP redirect messages.
40
41=== FIREWALL_CLAMP_PATH_MTU = [true|false]
42If Path MTU Discovery does not work well, enable this option.
43
44It sets the MSS value of a packet so that the remote site would
45never send a packet bigger than the MSS value.
46
47No ICMP packets are needed to make this work, so use this on
48networks with broken ICMP filtering.
49
50=== FIREWALL_DEFAULT_TTL = 64
51Here you can change the default TTL used for sending packets.
52
53The given value must be between 10 and 255.
54Don't mess with this unless you know what you are doing.
55
56=== FIREWALL_LOG_BAD_TCP_FLAGS = [true|false]
57Enable this to log TCP packets with bad flags or options.
58
59=== FIREWALL_LOG_INVALID_ICMP = [true|false]
60Enable this to log INVALID ICMP packets.
61
62=== FIREWALL_LOG_INVALID_TCP = [true|false]
63Enable this to log INVALID TCP packets.
64
65=== FIREWALL_LOG_INVALID_UDP = [true|false]
66Enable this to log INVALID UDP packets.
67
68=== FIREWALL_LOG_MARTIANS = [true|false]
69Enable this to log packets with impossible addresses.
70
71=== FIREWALL_LOG_STEALTH_SCANS = [true|false]
72Enable this to log all stealth scans.
73
74=== FIREWALL_PMTU_DISCOVERY = [true|false]
75Enables Path MTU Discovery.
76
77=== FIREWALL_RP_FILTER = [true|false]
78Enable to drop connection from non-routable IPs,
79e.g. prevent source routing.
80
81=== FIREWALL_SYN_COOKIES = [true|false]
82Enable for SYN-flood protection.
83
84=== FIREWALL_USE_ECN = [true|false]
85Enables the ECN (Explicit Congestion Notification) TCP flag.
86
87Some routers on the Internet still do not support ECN properly.
88When this setting is disabled, ECN is only advertised
89when asked for.
90
91AUTHORS
92-------
93Michael Tremer
94
95SEE ALSO
96--------
97link:firewall[8]