Commit Graph

1079 Commits

Author SHA1 Message Date
md_5
ada1b95ffc
Remove redundant entity rewriting code on > 1.16.2 2021-05-12 07:59:50 +10:00
Janmm14
71d1246374
#3066: Put ReadTimeoutHandler after frame decoder.
This reduces the impact of attacks that send a large packet size first and then send data very slowly but frequently enough to not trigger a timeout (as the timeout handler was before the Varint21FrameDecoder). This causes connections to stay open for a long time without much effort from an attacker, while the packet never leaves the Varint21FrameDecpder stage of the netty pipeline (causing no additional checks to happen and no logs of the connection to be created).

This will not have an impact on bad connections as without recieving full packets the underlying spigot server would timeout instead.
2021-04-28 16:52:00 +10:00
_tomcraft
ac371bb596
#3073: Release HAProxyMessage after read 2021-04-28 08:07:17 +10:00
Zach Levis
a7c6edeb63
#3041: Respond to login query requests in a way that matches the Vanilla client 2021-02-26 11:28:05 +11:00
md_5
281aecef4c
Minecraft 1.16.4 support 2020-11-03 07:00:00 +11:00
Gerrygames
8fffa206e4
#2978: Allow sending messages from specific UUIDs 2020-10-17 17:46:01 +11:00
c987ee199d
#2955: Single quotes in messages.properties should be doubled. 2020-09-16 19:53:05 +10:00
md_5
15204131c9
#2942: Players invisible in 1.16 where bungee is online mode but IP forwarding not enabled 2020-09-14 19:56:41 +10:00
Sneakometer
5ab5a846aa
#2953: Fix player limit off by one
Make so the player limit is actually the limit and not limit+1
2020-09-08 12:24:04 +10:00
Jan Boerman
023f407b0d
#2928: Add IPOther special plugin message 2020-08-22 17:49:16 +10:00
md_5
aa22fe68e5
Minecraft 1.16.2 support 2020-08-12 07:14:42 +10:00
cvrunmin
c5610a6a13
#2897: Add params of recursive call of ChatComponent transform
This modification allows deeper levels of HoverEvent (i.e. inside extra) to be transformed into legacy version
2020-07-09 08:48:11 +10:00
Mystiflow
bcc3460dda
#2893: Refactored Hover Code for Maintainability 2020-07-07 09:09:32 +10:00
Mystiflow
2e4b08e5ab
#2878: Null check hover event before transform 2020-07-02 07:29:10 +10:00
Mariell Hoversholm
a64c34d29e
#2875: Add the MessageRaw channel 2020-07-01 10:59:32 +10:00
Mystiflow
1d40b8a88a
#2866: Add support for contents in Hover Event 2020-07-01 10:57:09 +10:00
md_5
26f538d193
Clear tab list on server change 2020-06-27 09:05:55 +10:00
md_5
afcfac31a9
#2873: BossBar stays after switching servers 2020-06-27 08:44:53 +10:00
md_5
3409fe6dd3
Clear scoreboards and bossbars on new style server switch 2020-06-25 15:25:15 +10:00
FivePB (Xer)
e1084bd913
#2861: Improve dimension changing support in 1.16.x 2020-06-25 08:08:54 +10:00
Polo1K
c5f839c9ad
#2862: Minecraft 1.16.1 support 2020-06-25 08:08:51 +10:00
md_5
b41e9be4c9
Constrain dimension to String|Integer
Fixes 1.8 server switch issues
2020-06-24 12:56:31 +10:00
md_5
d0fd673b60
Minecraft 1.16 support + RGB ChatColor preview 2020-06-24 07:00:00 +10:00
MrIvanPlays
2f54c94372 #2786: Should first peek keepalive queue 2020-05-26 19:46:17 +10:00
md_5
67c2dfd884 #2794: connection throttle race condition 2020-05-10 09:44:44 +10:00
md_5
eeb3c6d3bf #2811: Shorten "Cannot request protocol" exception 2020-05-10 09:35:19 +10:00
md_5
3373eb864d #2834: Add support for long array NBT tag 2020-05-09 15:41:38 +10:00
_tomcraft
855d152503
#2829: Fix action bar messages on pre 1.11 versions 2020-04-30 08:11:00 +10:00
Mystiflow
f1c32f84f4 #2379: Add ServerSwitchEvent getFrom API 2020-03-25 18:20:37 +11:00
Byron Marohn
697f0875e6 #2770: Handle posix signals SIGTERM, SIGINT, SIGHUP gracefully
- Move working contents of Bungeecord.stop() to a separate function
named independentThreadStop() intended to be called from a separate thread.
- Added a new generic shutdown hook to call independentThreadStop when
the JVM begins shutting down.
2020-03-08 19:32:25 +11:00
md_5
6ad26cc8fa #2777: Write BungeeCord's config.yml in UTF-8 as with main config API 2020-02-24 10:28:40 +11:00
md_5
c2cc33c6d7 #2774: doImmediateRespawn not updated when switching servers 2020-02-21 09:40:13 +11:00
MrIvanPlays
4363315ec5 #2722, #2713: Remove unnecessary close delaying in server / user connections 2020-02-20 12:24:01 +11:00
md_5
a52ea50006 #2769: Guardian target beam lost on server change 2020-02-10 10:28:47 +11:00
Mystiflow
cdacc0b1be #2498: Add ServerConnectRequest accessor in ServerConnectEvent.
- Make the timeout and retry status mutable so plugins can modify these values directly within the ServerConnectEvent.
2020-02-03 10:36:33 +11:00
markusmarkusz
b4b998b2e5 #2761: Add ClientConnectEvent 2020-02-02 10:48:22 +11:00
md_5
7bd8a0276c Always print remote IP in InitialHandler 2020-01-30 09:01:10 +11:00
md_5
1dee049007 Don't send/construct redundant kick messages 2020-01-29 11:05:38 +11:00
md_5
e9ba95b9dc Don't log full CorruptedFrameException 2020-01-29 10:48:09 +11:00
md_5
d3bd785289 #2762: Work correctly with disabled timeout 2020-01-28 20:37:04 +11:00
md_5
3ce4132c58 Switch keepalive queue to ArrayDeque
See eeb374798b
2020-01-28 20:37:04 +11:00
Mystiflow
cd7a3ab2b2 #2758: Improve server list ping response where remote ping failed 2020-01-25 11:16:02 +11:00
Mystiflow
0a4b9b4984 #2752: Configurable connect and ping timeouts 2020-01-25 11:12:40 +11:00
md_5
70370faf5d Add checkstyle indentation checks 2020-01-24 14:07:42 +11:00
md_5
24a53a671c Show socketAddress in BungeeServerInfo.toString 2020-01-24 14:07:14 +11:00
md_5
503b4827d9 Fix bad formatting in EntityMap 2020-01-24 13:18:09 +11:00
polo1k
eeb374798b #2710: Store queue of pending keepalives
This allows the server to send them at a rate greater than the client reply time.
2020-01-24 13:13:01 +11:00
Mystiflow
636c020772 #2753: Add configurable remote ping caching 2020-01-24 10:48:50 +11:00
md_5
129884f44d Minecraft 1.15.2 support 2020-01-22 08:00:00 +11:00
md_5
b70cb01413 Add beta support for binding bungee to unix socket addresses 2020-01-16 10:36:13 +11:00