annotate .hgtags @ 1715:3974f087d9c0

Disallow leading lines before the ident for server (#102) Per RFC4253 4.2 clients must be able to process other lines of data before the version string, server behavior is not defined neither with MUST/SHOULD nor with MAY. If server process up to 50 lines too - it may cause too long hanging session with invalid/evil client that consume host resources and potentially may lead to DDoS on poor embedded boxes. Let's require first line from client to be version string and fail early if it's not - matches both RFC and real OpenSSH behavior.
author Vladislav Grishenko <themiron@users.noreply.github.com>
date Mon, 15 Jun 2020 18:22:18 +0500
parents ebcdb893992d
children 4877afd51e04
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
630
d79863572f49 update tags
convert-repo
parents:
diff changeset
1 03f65e461915a940939e4cc689fc89721ffc40de DROPBEAR_0.48.1
d79863572f49 update tags
convert-repo
parents:
diff changeset
2 0f967bfef5cd0056b7ec60e2305d917e51cbf30d DROPBEAR_0.44
d79863572f49 update tags
convert-repo
parents:
diff changeset
3 170329dc8ce5dfcf6298e1ad6699f109bf78e73d DROPBEAR_0.51
d79863572f49 update tags
convert-repo
parents:
diff changeset
4 1dbd2473482f320ea59f76ce961385cb3a0150a9 DROPBEAR_0.46
d79863572f49 update tags
convert-repo
parents:
diff changeset
5 2098857ab826dd42ae05a9a22c3ce2cc835b9844 DROPBEAR_0.45
d79863572f49 update tags
convert-repo
parents:
diff changeset
6 36160290a1b27451178be36752ed038840f59cdd LTC_DB_0.46
d79863572f49 update tags
convert-repo
parents:
diff changeset
7 39d5d58461d6e93337636e69d4cdf184a09c8d24 LTC_1.05
d79863572f49 update tags
convert-repo
parents:
diff changeset
8 55a99934db873be2e63b5968fb6532e5d9bd02e4 DROPBEAR_0.48
d79863572f49 update tags
convert-repo
parents:
diff changeset
9 59400faa4b44708c5d0b595e81193bc621e752d3 libtomcrypt-1.05
d79863572f49 update tags
convert-repo
parents:
diff changeset
10 66087d87c3555c78b47cf01f32bb5a32054c3ceb DROPBEAR_0.44test4
d79863572f49 update tags
convert-repo
parents:
diff changeset
11 677843bfa734238a67636b461a02c110c462ffaf DROPBEAR_0.44test1
d79863572f49 update tags
convert-repo
parents:
diff changeset
12 7faae8f46238e23975430876547b8950b4e75481 t:ltc-0.95-orig
d79863572f49 update tags
convert-repo
parents:
diff changeset
13 8220862baae829ebc762587b99c662480d57bb23 DROPBEAR_0.53
d79863572f49 update tags
convert-repo
parents:
diff changeset
14 86e0b50a9b588239c3fc9cc9cfe255ef586df17b ltm-0.30-orig
d79863572f49 update tags
convert-repo
parents:
diff changeset
15 88e0a1ad951add46b795511dc2698e36b4aee922 DROPBEAR_0.44test3
d79863572f49 update tags
convert-repo
parents:
diff changeset
16 8e94663164c6e106ccc5c9e997dedf6e04d77dd2 LTM_DB_0.44
d79863572f49 update tags
convert-repo
parents:
diff changeset
17 91fbc376f01084037cd5f6a5bf2e2db4903e8e99 libtommath-0.35
d79863572f49 update tags
convert-repo
parents:
diff changeset
18 97db060d0ef5f8cf8e67eb602ef037055a185ca9 libtommath-0.40
d79863572f49 update tags
convert-repo
parents:
diff changeset
19 aa2f51a6b81d33de5e9898a7f27c792a173d9b26 DROPBEAR_0.53.1
d79863572f49 update tags
convert-repo
parents:
diff changeset
20 ab370c629d363f8c9a3eca512bfa86e362034654 DROPBEAR_0.49
d79863572f49 update tags
convert-repo
parents:
diff changeset
21 c2ac796b130eeb6fa840873d8c230544c8ec7e4b DROPBEAR_0.44test2
d79863572f49 update tags
convert-repo
parents:
diff changeset
22 cd1143579f00b0248c79f63ca70efee4a35a57e8 LTC_DB_0.44
d79863572f49 update tags
convert-repo
parents:
diff changeset
23 ce104c8b0be1ff3f2c2590b7cdc3fd6870c865cd DROPBEAR_0.52
d79863572f49 update tags
convert-repo
parents:
diff changeset
24 d5faf4814ddbc5abd9e209409bb9e7a4686c8cd7 libtomcrypt-1.16
d79863572f49 update tags
convert-repo
parents:
diff changeset
25 d7da3b1e15401eb234ec866d5eac992fc4cd5878 t:ltc-0.95-db-merge1
d79863572f49 update tags
convert-repo
parents:
diff changeset
26 d8254fc979e99560c93ca2cece77a6df31927ea5 LTM_0.35
d79863572f49 update tags
convert-repo
parents:
diff changeset
27 e109027b9edfb02f0bdf96ec45bb1cd9ad41e7da LTM_DB_0.46
d79863572f49 update tags
convert-repo
parents:
diff changeset
28 e109027b9edfb02f0bdf96ec45bb1cd9ad41e7da LTM_DB_0.47
d79863572f49 update tags
convert-repo
parents:
diff changeset
29 e37b160c414cab6466622f63b0c4dcbf6ebc47a9 DROPBEAR_0.47
d79863572f49 update tags
convert-repo
parents:
diff changeset
30 e430a26064ee86ab79aef372118d6d03b2441996 DROPBEAR_0.50
d79863572f49 update tags
convert-repo
parents:
diff changeset
31 e5d119ea4c63656bc54ecfd865d04591ac2ed225 LTC_DB_0.47
637
4b2afa740f40 Added tag DROPBEAR_2011.54 for changeset 3f12086c2ef2
Matt Johnston <matt@ucc.asn.au>
parents: 630
diff changeset
32 3f12086c2ef2b9ffe36a822fdb3ff647fcec1831 DROPBEAR_2011.54
663
85f835f2fe0a Added tag DROPBEAR_2012.55 for changeset d354464b2aa6
Matt Johnston <matt@ucc.asn.au>
parents: 637
diff changeset
33 d354464b2aa6f6ba0bf44d43bcae5aa798435393 DROPBEAR_2012.55
699
caa9979fb6b9 Removed tag t:ltc-0.95-orig
Matt Johnston <matt@ucc.asn.au>
parents: 663
diff changeset
34 7faae8f46238e23975430876547b8950b4e75481 t:ltc-0.95-orig
caa9979fb6b9 Removed tag t:ltc-0.95-orig
Matt Johnston <matt@ucc.asn.au>
parents: 663
diff changeset
35 0000000000000000000000000000000000000000 t:ltc-0.95-orig
700
e19b63d98ae7 Removed tag t:ltc-0.95-db-merge1
Matt Johnston <matt@ucc.asn.au>
parents: 699
diff changeset
36 d7da3b1e15401eb234ec866d5eac992fc4cd5878 t:ltc-0.95-db-merge1
e19b63d98ae7 Removed tag t:ltc-0.95-db-merge1
Matt Johnston <matt@ucc.asn.au>
parents: 699
diff changeset
37 0000000000000000000000000000000000000000 t:ltc-0.95-db-merge1
720
9b80981212fe Added tag DROPBEAR_2013.56 for changeset 1b8b2b9d6e94
Matt Johnston <matt@ucc.asn.au>
parents: 700
diff changeset
38 1b8b2b9d6e94bc3cc5e61b620476ea36cc466e1b DROPBEAR_2013.56
779
095b46180bbc Added tag DROPBEAR_2013.57 for changeset 96b8bcb88017
Matt Johnston <matt@ucc.asn.au>
parents: 720
diff changeset
39 96b8bcb88017815040949a417caa55686271e8a9 DROPBEAR_2013.57
787
f168962bab85 Added tag DROPBEAR_2013.58 for changeset e76614145aea
Matt Johnston <matt@ucc.asn.au>
parents: 779
diff changeset
40 e76614145aea67f66e4a4257685c771efba21aa1 DROPBEAR_2013.58
825
deb211f75ca1 Added tag DROPBEAR_2013.59 for changeset 7b68e581985f
Matt Johnston <matt@ucc.asn.au>
parents: 787
diff changeset
41 7b68e581985fd4ea50869f8608ab95cda5d17876 DROPBEAR_2013.59
832
025237c9f0a1 Added tag DROPBEAR_2013.60 for changeset a50a1dc74331
Matt Johnston <matt@ucc.asn.au>
parents: 825
diff changeset
42 a50a1dc743317fad9b3737bc68fbca640659bb6d DROPBEAR_2013.60
862
9ec083a21adf Added tag DROPBEAR_2013.61test for changeset e894dbc015ba
Matt Johnston <matt@ucc.asn.au>
parents: 832
diff changeset
43 e894dbc015ba7ff4c3bf897ee20e28ca90c55a16 DROPBEAR_2013.61test
879
7a2fc6bafa18 Added tag DROPBEAR_2013.62 for changeset 3d1d7d151c0c
Matt Johnston <matt@ucc.asn.au>
parents: 862
diff changeset
44 3d1d7d151c0ce3a79da62e86463f5632fa2b144a DROPBEAR_2013.62
903
277429102f13 Added tag DROPBEAR_2014.63 for changeset 2351b2da8e0d
Matt Johnston <matt@ucc.asn.au>
parents: 879
diff changeset
45 2351b2da8e0d08dcc6e64fcc328b53b9630bda68 DROPBEAR_2014.63
950
96584b934d04 Added tag DROPBEAR_2014.64 for changeset 0d2d39957c02
Matt Johnston <matt@ucc.asn.au>
parents: 903
diff changeset
46 0d2d39957c029adb7f4327d37fe6b4900f0736d9 DROPBEAR_2014.64
966
caac692b366c Added tag DROPBEAR_2014.65 for changeset e9579816f20e
Matt Johnston <matt@ucc.asn.au>
parents: 950
diff changeset
47 e9579816f20ea85affc6135e87f8477992808948 DROPBEAR_2014.65
980
2d421bc0545d Added tag DROPBEAR_2014.66 for changeset 735511a4c761
Matt Johnston <matt@ucc.asn.au>
parents: 966
diff changeset
48 735511a4c761141416ad0e6728989d2dafa55bc2 DROPBEAR_2014.66
1008
bc66d365c58b Added tag DROPBEAR_2015.67 for changeset cbd674d63cd4
Matt Johnston <matt@ucc.asn.au>
parents: 980
diff changeset
49 cbd674d63cd4f3781464a8d4056a5506c8ae926f DROPBEAR_2015.67
1148
a687f835236c Added tag DROPBEAR_2015.68 for changeset 809feaa9408f
Matt Johnston <matt@ucc.asn.au>
parents: 1008
diff changeset
50 809feaa9408f036734129c77f2b3c7e779d4f099 DROPBEAR_2015.68
1181
af074dbcb68f Added tag DROPBEAR_2015.69 for changeset 1637dbd26212
Matt Johnston <matt@ucc.asn.au>
parents: 1148
diff changeset
51 1637dbd262124d113e52967df46afd6c715e4fad DROPBEAR_2015.69
1189
5bb5976e6902 Added tag DROPBEAR_2015.70 for changeset 79a6ef02307d
Matt Johnston <matt@ucc.asn.au>
parents: 1181
diff changeset
52 79a6ef02307d05cb9dda10465cb5b807baa8f62e DROPBEAR_2015.70
1201
926e7275cef4 Added tag DROPBEAR_2015.71 for changeset 9a944a243f08
Matt Johnston <matt@ucc.asn.au>
parents: 1189
diff changeset
53 9a944a243f08be6b22d32f166a0690eb4872462b DROPBEAR_2015.71
1232
fd1981f41c62 Added tag DROPBEAR_2016.72 for changeset 78b12b6549be
Matt Johnston <matt@ucc.asn.au>
parents: 1189
diff changeset
54 78b12b6549be08b0bea3da329b2578060a76ca31 DROPBEAR_2016.72
1287
70705edee9dd Added tag DROPBEAR_2016.73 for changeset 309e1c4a8768
Matt Johnston <matt@ucc.asn.au>
parents: 1234
diff changeset
55 309e1c4a87682b6ca7d80b8555a1db416c3cb7ac DROPBEAR_2016.73
1314
9030ffdbe562 Added tag DROPBEAR_2016.74 for changeset 0ed3d2bbf956
Matt Johnston <matt@ucc.asn.au>
parents: 1234
diff changeset
56 0ed3d2bbf956cb8a9bf0f4b5a86b7dd9688205cb DROPBEAR_2016.74
1340
5c9207ceedae Added tag DROPBEAR_2017.75 for changeset c31276613181
Matt Johnston <matt@ucc.asn.au>
parents: 1314
diff changeset
57 c31276613181c5cff7854e7ef586ace03424e55e DROPBEAR_2017.75
1555
2f0c3f3361d3 Added tag DROPBEAR_2018.76 for changeset 1c66ca4f3791
Matt Johnston <matt@ucc.asn.au>
parents: 1342
diff changeset
58 1c66ca4f3791c82501c88e7637312182c7294978 DROPBEAR_2018.76
1647
07b0d56d186d Added tag DROPBEAR_2019.77 for changeset 6d1bbe7d5fa5
Matt Johnston <matt@ucc.asn.au>
parents: 1555
diff changeset
59 6d1bbe7d5fa5827c7eae28bca044d691f7efa785 DROPBEAR_2019.77
1651
ebcdb893992d Added tag DROPBEAR_2019.78 for changeset 009d52ae26d3
Matt Johnston <matt@ucc.asn.au>
parents: 1647
diff changeset
60 009d52ae26d35f3381c801e02318fa9be34be93c DROPBEAR_2019.78