aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/syncookies.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-05tcp: annotate data-races around tp->window_clampEric Dumazet1-1/+2
2024-03-19tcp: Clear req->syncookie in reqsk_alloc().Kuniyuki Iwashima1-0/+3
2024-02-28tcp: use drop reasons in cookie check for ipv4Jason Xing1-6/+13
2024-02-28tcp: directly drop skb in cookie check for ipv4Jason Xing1-0/+4
2024-01-23bpf: tcp: Handle BPF SYN Cookie in cookie_v[46]_check().Kuniyuki Iwashima1-4/+27
2024-01-23tcp: Move tcp_ns_to_ts() to tcp.hKuniyuki Iwashima1-9/+0
2023-11-29tcp: Factorise cookie-dependent fields initialisation in cookie_v[46]_check()Kuniyuki Iwashima1-49/+57
2023-11-29tcp: Factorise cookie-independent fields initialisation in cookie_v[46]_check().Kuniyuki Iwashima1-31/+37
2023-11-29tcp: Move TCP-AO bits from cookie_v[46]_check() to tcp_ao_syncookie().Kuniyuki Iwashima1-12/+4
2023-11-29tcp: Don't initialise tp->tsoffset in tcp_get_cookie_sock().Kuniyuki Iwashima1-4/+3
2023-11-29tcp: Don't pass cookie to __cookie_v[46]_check().Kuniyuki Iwashima1-7/+8
2023-11-29tcp: Clean up goto labels in cookie_v[46]_check().Kuniyuki Iwashima1-11/+11
2023-11-29tcp: Cache sock_net(sk) in cookie_v[46]_check().Kuniyuki Iwashima1-10/+11
2023-11-29tcp: Clean up reverse xmas tree in cookie_v[46]_check().Kuniyuki Iwashima1-5/+5
2023-11-03tcp: fix fastopen code vs usec TSEric Dumazet1-1/+1
2023-10-27net/tcp: Wire up l3index to TCP-AODmitry Safonov1-2/+4
2023-10-27net/tcp: Wire TCP-AO to request socketsDmitry Safonov1-0/+2
2023-10-23tcp: add support for usec resolution in TCP TS valuesEric Dumazet1-1/+5
2023-10-23tcp: move tcp_ns_to_ts() to net/ipv4/syncookies.cEric Dumazet1-1/+9
2023-10-23tcp: fix cookie_init_timestamp() overflowsEric Dumazet1-13/+7
2023-06-06tcp: Set route scope properly in cookie_v4_check().Guillaume Nault1-2/+2
2022-12-12mptcp: remove MPTCP 'ifdef' in TCP SYN cookiesMatthieu Baerts1-4/+3
2022-07-20tcp: Fix data-races around sysctl knobs related to SYN option.Kuniyuki Iwashima1-3/+3
2022-07-18tcp: Fix data-races around sysctl_tcp_syncookies.Kuniyuki Iwashima1-1/+2
2022-07-13tcp: Fix data-races around sysctl_tcp_ecn.Kuniyuki Iwashima1-1/+1
2022-04-25tcp: make sure treq->af_specific is initializedEric Dumazet1-1/+7
2021-11-16net: align static siphash keysEric Dumazet1-1/+1
2021-09-21net/ipv4/syncookies.c: remove superfluous header files from syncookies.cMianhan Liu1-2/+0
2020-12-16Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-11-10net: Update window_clamp if SOCK_RCVBUF is setMao Wenan1-2/+7
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-10-02tcp: fix syn cookied MPTCP request socket leakPaolo Abeni1-1/+1
2020-09-10tcp: record received TOS value in the request socketWei Wang1-3/+3
2020-08-01tcp: fix build fong CONFIG_MPTCP=nEric Dumazet1-2/+3
2020-07-31mptcp: enable JOIN requests even if cookies are in useFlorian Westphal1-0/+6
2020-07-31tcp: syncookies: create mptcp request socket for ACK cookies with MPTCP optionFlorian Westphal1-4/+34
2020-01-29mptcp: handle tcp fallback when using syn cookiesFlorian Westphal1-0/+4
2019-11-07tcp: Remove one extra ktime_get_ns() from cookie_init_timestampEric Dumazet1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-03-19tcp: free request sock directly upon TFO or syncookies errorGuillaume Nault1-9/+8
2019-03-08tcp: handle inet_csk_reqsk_queue_add() failuresGuillaume Nault1-1/+6
2018-09-21tcp: provide earliest departure time in skb->tstampEric Dumazet1-1/+1
2018-03-25net/ipv4: disable SMC TCP option with SYN CookiesHans Wippel1-0/+2
2017-10-28tcp: Namespace-ify sysctl_tcp_workaround_signed_windowsEric Dumazet1-1/+1
2017-10-21tcp/dccp: fix ireq->opt racesEric Dumazet1-1/+1
2017-08-06ip/options: explicitly provide net ns to __ip_options_echo()Paolo Abeni1-1/+1
2017-07-18ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()Alexander Potapenko1-0/+1
2017-07-01net: convert sock.sk_refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-08tcp: Namespaceify sysctl_tcp_timestampsEric Dumazet1-2/+4
2017-06-08tcp: Namespaceify sysctl_tcp_window_scalingEric Dumazet1-1/+1
2017-06-08tcp: Namespaceify sysctl_tcp_sackEric Dumazet1-3/+4
2017-06-08tcp: add a struct net parameter to tcp_parse_options()Eric Dumazet1-1/+1
2017-05-17tcp: switch TCP TS option (RFC 7323) to 1ms clockEric Dumazet1-4/+4
2017-05-05tcp: randomize timestamps on syncookiesEric Dumazet1-2/+10
2017-01-09syncookies: use SipHash in place of SHA1Jason A. Donenfeld1-16/+5
2016-12-02tcp: randomize tcp timestamp offsets for each connectionFlorian Westphal1-0/+1
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-1/+1
2016-04-27net: rename NET_{ADD|INC}_STATS_BH()Eric Dumazet1-2/+2
2016-03-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+1
2016-03-15tags: Fix DEFINE_PER_CPU expansionsPeter Zijlstra1-2/+1
2016-02-07ipv4: Namespaceify tcp syncookies sysctl knobNikolay Borisov1-3/+1
2015-12-18net: Allow accepted sockets to be bound to l3mdev domainDavid Ahern1-2/+2
2015-10-23tcp/dccp: fix hashdance race for passive sessionsEric Dumazet1-1/+3
2015-10-12net: shrink struct sock and request_sock by 8 bytesEric Dumazet1-2/+2
2015-10-11tcp: fix RFS vs lockless listenersEric Dumazet1-0/+1
2015-10-05tcp: avoid two atomic ops for syncookiesEric Dumazet1-1/+1
2015-10-03tcp/dccp: install syn_recv requests into ehash tableEric Dumazet1-0/+4
2015-09-29tcp: cookie_init_sequence() cleanupsEric Dumazet1-5/+1
2015-09-21tcp: usec resolution SYN/ACK RTTYuchung Cheng1-1/+1
2015-06-07tcp: get_cookie_sock() consolidationEric Dumazet1-5/+5
2015-03-25tcp: fix ipv4 mapped request socksEric Dumazet1-1/+0
2015-03-20inet: get rid of central tcp/dccp listener timerEric Dumazet1-1/+0
2015-03-18inet: request sock should init IPv6/IPv4 addressesEric Dumazet1-2/+2
2015-03-17inet: fix request sock refcountingEric Dumazet1-5/+6
2015-03-17tcp: rename struct tcp_request_sock listenerEric Dumazet1-1/+1
2015-03-17inet: add sk_listener argument to inet_reqsk_alloc()Eric Dumazet1-2/+1
2015-03-16inet: add proper refcounting to request sockEric Dumazet1-5/+5
2015-03-14inet: fill request sock ir_iif for IPv4Eric Dumazet1-0/+2
2015-03-12inet: introduce ireq_familyEric Dumazet1-0/+1
2015-03-11net: fix CONFIG_NET_NS=n compilationEric Dumazet1-1/+1
2015-03-11net: add real socket cookiesEric Dumazet1-0/+1
2014-11-04net: allow setting ecn via routing tableFlorian Westphal1-3/+3
2014-11-04syncookies: split cookie_check_timestamp() into two functionsFlorian Westphal1-10/+21
2014-11-04syncookies: avoid magic values and document which-bit-is-what-optionFlorian Westphal1-15/+35
2014-10-30syncookies: only increment SYNCOOKIESFAILED on validation errorFlorian Westphal1-2/+5
2014-10-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-12/+4
2014-10-17ipv4: clean up cookie_v4_check()Cong Wang1-3/+3
2014-10-17ipv4: share tcp_v4_save_options() with cookie_v4_check()Cong Wang1-9/+1
2014-10-17ipv4: call __ip_options_echo() in cookie_v4_check()Cong Wang1-1/+1
2014-10-15Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2014-08-27tcp: syncookies: mark cookie_secret read_mostlyFlorian Westphal1-1/+1
2014-08-26net: Replace get_cpu_var through this_cpu_ptrChristoph Lameter1-1/+1
2014-06-27tcp: cookie_v4_init_sequence: skb should be constOctavian Purdila1-1/+2
2014-05-13net: support marking accepting TCP socketsLorenzo Colitti1-1/+2
2013-12-26ipv4: fix checkpatch error "space prohibited"Weilong Chen1-1/+1
2013-10-19inet: split syncookie keys for ipv4 and ipv6 and initialize with net_get_rand...Hannes Frederic Sowa1-10/+5
2013-10-10inet: rename ir_loc_port to ir_numEric Dumazet1-4/+4
2013-10-10inet: includes a sock_common in request_sockEric Dumazet1-6/+6
2013-09-24tcp: syncookies: reduce mss table to four valuesFlorian Westphal1-11/+11
2013-09-24tcp: syncookies: reduce cookie lifetime to 128 secondsFlorian Westphal1-21/+10
2013-08-28net: syncookies: export cookie_v4_init_sequence/cookie_v4_checkPatrick McHardy1-11/+18
2013-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2013-04-11tcp: incoming connections might use wrong route under synfloodDmitry Popov1-2/+2
2013-03-17tcp: Remove TCPCTChristoph Paasch1-2/+1
2013-01-06tcp: make sysctl_tcp_ecn namespace awareHannes Frederic Sowa1-3/+4
2012-11-03tcp: better retrans tracking for defer-acceptEric Dumazet1-1/+1
2012-08-31tcp: TCP Fast Open Server - support TFO listenersJerry Chu1-0/+1
2012-07-19net-tcp: Fast Open baseYuchung Cheng1-1/+1
2012-03-11tcp: fix syncookie regressionEric Dumazet1-14/+16
2011-12-21tcp: Replace constants with #define macrosVijay Subramanian1-1/+1
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker1-0/+1
2011-10-21tcp: add const qualifiers where possibleEric Dumazet1-1/+1
2011-08-10tcp: initialize variable ecn_ok in syncookies pathMike Waychison1-1/+1
2011-06-08tcp: RFC2988bis + taking RTT sample from 3WHS for the passive open sideJerry Chu1-0/+1
2011-04-28inet: add RCU protection to inet->optEric Dumazet1-2/+2
2011-03-31ipv4: Use flowi4_init_output() in cookie_v4_check()David S. Miller1-11/+7
2011-03-12net: Put fl4_* macros to struct flowi4 and use them again.David S. Miller1-2/+2
2011-03-12ipv4: Use flowi4 in public route lookup interfaces.David S. Miller1-12/+12
2011-03-12net: Make flowi ports AF dependent.David S. Miller1-2/+2
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-9/+11
2011-03-02ipv4: Make output route lookup return rtable directly.David S. Miller1-1/+2
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-9/+6
2010-06-26syncookies: add support for ECNFlorian Westphal1-5/+10
2010-06-26syncookies: do not store rcv_wscale in tcp timestampFlorian Westphal1-21/+14
2010-06-16syncookies: check decoded options against sysctl settingsFlorian Westphal1-6/+19
2010-06-10net-next: remove useless union keywordChangli Gao1-3/+3
2010-06-06Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2010-06-05syncookies: update mss tablesFlorian Westphal1-19/+19
2010-06-05syncookies: avoid unneeded tcp header flag double checkFlorian Westphal1-1/+1
2010-06-04tcp: use correct net ns in cookie_v4_check()Eric Dumazet1-1/+1
2009-12-23net: Add rtnetlink init_rcvwnd to set the TCP initial receive windowlaurent chavey1-1/+2
2009-12-15tcp: Revert per-route SACK/DSACK/TIMESTAMP changes.David S. Miller1-14/+13
2009-12-02TCPCT part 1g: Responder Cookie => InitiatorWilliam Allen Simpson1-2/+3
2009-10-29Allow tcp_parse_options to consult dst entryGilad Ben-Yossef1-13/+14
2009-10-07net: Add sk_mark route lookup support for IPv4 listening socketsAtis Elsts1-1/+2
2009-06-24percpu: clean up percpu variable definitionsTejun Heo1-2/+3
2009-06-24percpu: cleanup percpu array definitionsTejun Heo1-1/+1
2009-04-20syncookies: remove last_synq_overflow from struct tcp_sockFlorian Westphal1-3/+2
2009-03-28lsm: Relocate the IPv4 security_inet_conn_request() hooksPaul Moore1-4/+5
2008-10-01tcp: Port redirection support for TCPKOVACS Krisztian1-0/+1
2008-10-01ipv4: Make Netfilter's ip_route_me_harder() non-local address compatibleKOVACS Krisztian1-0/+2
2008-07-26syncookies: Make sure ECN is disabledFlorian Westphal1-0/+1
2008-07-16mib: add net to NET_INC_STATS_BHPavel Emelyanov1-3/+3
2008-06-13Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+1
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-06-10inet{6}_request_sock: Init ->opt and ->pktopts in the constructorArnaldo Carvalho de Melo1-2/+1
2008-04-10[Syncookies]: Add support for TCP options via timestamps.Florian Westphal1-5/+84
2008-03-23[TCP]: Shrink syncookie_secret by 8 byte.Florian Westphal1-2/+2
2008-03-04[TCP]: Add IPv6 support to TCP SYN cookiesGlenn Griffin1-4/+3
2008-03-04[TCP]: lower stack usage in cookie_hash() functionEric Dumazet1-1/+3
2008-01-28[NETNS]: Add namespace parameter to ip_route_output_key.Denis V. Lunev1-1/+1
2007-04-25[SK_BUFF]: Introduce tcp_hdr(), remove skb->h.thArnaldo Carvalho de Melo1-18/+18
2007-04-25[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iphArnaldo Carvalho de Melo1-4/+4
2007-02-10[NET] IPV4: Fix whitespace errors.YOSHIFUJI Hideaki1-29/+29
2006-12-02[IPV6]: Assorted trivial endianness annotations.Al Viro1-9/+9
2006-09-22[MLSXFRM]: Auto-labeling of child socketsVenkat Yekkirala1-1/+5
2006-09-22[MLSXFRM]: Add flow labelingVenkat Yekkirala1-0/+1
2006-01-03[ICSK]: Rename struct tcp_func to struct inet_connection_sock_af_opsArnaldo Carvalho de Melo1-2/+2
2005-08-29[NET]: Fix sparse warningsArnaldo Carvalho de Melo1-2/+0
2005-08-29[NET]: Introduce inet_connection_sockArnaldo Carvalho de Melo1-1/+1
2005-06-18[NET] Rename open_request to request_sockArnaldo Carvalho de Melo1-6/+6
2005-06-18[NET] Generalise TCP's struct open_request minisock infrastructureArnaldo Carvalho de Melo1-19/+20
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+279