mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
Finish SAME -- Document
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9527 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3ab9ace61a
commit
08c12ccd36
@ -758,7 +758,7 @@ sub lookup_provider( $ ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# The Tc module has collected the 'sticky' rules in the 'sticky' chain. In this function, we apply them
|
# The Tc module has collected the 'sticky' rules in the 'tcpre' chain. In this function, we apply them
|
||||||
# to the 'tracked' providers
|
# to the 'tracked' providers
|
||||||
#
|
#
|
||||||
sub handle_stickiness() {
|
sub handle_stickiness() {
|
||||||
|
@ -6,4 +6,6 @@ Changes in Shorewall 4.3.5
|
|||||||
|
|
||||||
3) Add nets= OPTION in interfaces file.
|
3) Add nets= OPTION in interfaces file.
|
||||||
|
|
||||||
|
4) Add SAME MARK/CLASSIFY target
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,3 +78,22 @@ New Features in Shorewall 4.4
|
|||||||
|
|
||||||
Note that the 'broadcast' option is automatically assumed and need
|
Note that the 'broadcast' option is automatically assumed and need
|
||||||
not be explicitly specified.
|
not be explicitly specified.
|
||||||
|
|
||||||
|
3) Some websites run applications that require multiple connections
|
||||||
|
from a client browser. Where multiple 'balanced' providers are
|
||||||
|
configured, this can lead to problems when some of the connections
|
||||||
|
are routed through one provider and some through another.
|
||||||
|
|
||||||
|
To work around this issue, the SAME target has been added to
|
||||||
|
/etc/shorewall/tcrules. SAME may currently be used only in the
|
||||||
|
PREROUTING chain and causes matching connections from an individual
|
||||||
|
local system to all use the same provider.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
SAME:P 192.168.1.0/24 - tcp 80,443
|
||||||
|
|
||||||
|
If a host in 192.168.1.0/24 attempts a connection on TCP port 80 or
|
||||||
|
443 and it has sent a packet on either of those ports in the last
|
||||||
|
two minutes then the new connection will use the same provider as
|
||||||
|
the connection over which that last packet was sent.
|
||||||
|
Loading…
Reference in New Issue
Block a user