• Patrick McHardy's avatar
    netfilter: add SYNPROXY core/target · 48b1de4c
    Patrick McHardy authored
    Add a SYNPROXY for netfilter. The code is split into two parts, the synproxy
    core with common functions and an address family specific target.
    
    The SYNPROXY receives the connection request from the client, responds with
    a SYN/ACK containing a SYN cookie and announcing a zero window and checks
    whether the final ACK from the client contains a valid cookie.
    
    It then establishes a connection to the original destination and, if
    successful, sends a window update to the client with the window size
    announced by the server.
    
    Support for timestamps, SACK, window scaling and MSS options can be
    statically configured as target parameters if the features of the server
    are known. If timestamps are used, the timestamp value sent back to
    the client in the SYN/ACK will be different from the real timestamp of
    the server. In order to now break PAWS, the timestamps are translated in
    the direction server->client.
    Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
    Tested-by: default avatarMartin Topholm <mph@one.com>
    Signed-off-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
    Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
    48b1de4c
Name
Last commit
Last update
..
ipv4 Loading commit data...
ipv6 Loading commit data...
nf_conntrack.h Loading commit data...
nf_conntrack_acct.h Loading commit data...
nf_conntrack_core.h Loading commit data...
nf_conntrack_ecache.h Loading commit data...
nf_conntrack_expect.h Loading commit data...
nf_conntrack_extend.h Loading commit data...
nf_conntrack_helper.h Loading commit data...
nf_conntrack_l3proto.h Loading commit data...
nf_conntrack_l4proto.h Loading commit data...
nf_conntrack_labels.h Loading commit data...
nf_conntrack_seqadj.h Loading commit data...
nf_conntrack_synproxy.h Loading commit data...
nf_conntrack_timeout.h Loading commit data...
nf_conntrack_timestamp.h Loading commit data...
nf_conntrack_tuple.h Loading commit data...
nf_conntrack_zones.h Loading commit data...
nf_log.h Loading commit data...
nf_nat.h Loading commit data...
nf_nat_core.h Loading commit data...
nf_nat_helper.h Loading commit data...
nf_nat_l3proto.h Loading commit data...
nf_nat_l4proto.h Loading commit data...
nf_queue.h Loading commit data...
nfnetlink_log.h Loading commit data...
nfnetlink_queue.h Loading commit data...
xt_log.h Loading commit data...
xt_rateest.h Loading commit data...