#waterfall-help

1 messages ยท Page 24 of 1

tidal musk
#

ok so i think it looks like i can use the server as the sender

#

maybe i can work with that

reef fulcrum
#

Using the "server" as a sender just shoves it down a players connection

tidal musk
#

so that wont work oof

tidal musk
#

i think i will go back to my good old custom udp packets, but thats for tomorrow ๐Ÿฅฑ pepega

main cypress
#

Hi, using lastest waterfall i often get this error on the console (players can't connect) when the player joins to the lobby. I also tried disabling all plugins in the lobby. https://pastebin.com/ZWVCed4n, Bungee plugins (LiteBans, BuyCraft, PowerFulPerms, SkinRestorer, MultiLobby, RedisBungee)

#

on the lobby the player gets disconnected with the "Error while read(...): Connection reset by peer"

reef fulcrum
#

your server sent an invalid packet

main cypress
#

it's a bit weird, i removed all the plugins from the server, some config can be causing it?

#

or it could be also an error with some bungee plugin

sudden mesa
#

Is there a bungeecord support discord? trying to find help with it

reef fulcrum
#

No

#

They have an IRC channel, however

sudden mesa
#

aaaaaaa god of course they do

#

just need this explained

reef fulcrum
#

More than likely you're connecting directly to the server and not via the proxy

sudden mesa
#

everyone i talk to just says talk to the bungee dev or enable the ip_forward LMAO

#

its definitely connecting to the correct port, ive compared them between my panel instance and config more times then my eyes can handle

reef fulcrum
#

I mean, your client

sudden mesa
#

client port is correct too

reef fulcrum
#

You're connecting directly to a server and not the proxy

#

Does the proxy log the login attempt?

sudden mesa
#

uhhh i dont think so

#

not sure how the login attempt would look in the log

reef fulcrum
#

If you don't think so, it means that you're not connecting to the proxy

sudden mesa
#

so the IP my client is connect to is a direct copy paste from the bungee config

reef fulcrum
#

You mean, you copied it from the servers section?

#

if so, that's wrong; You wanna connect to the listener

sudden mesa
#

im going to give myself a migraine trying to handle this aaaaaaaaaaaa

#

connect to the listener?

reef fulcrum
#

Yes

sudden mesa
#

ok here's my current scenario. bungeecord is installed, my query port is 25565, host is same, priorities is set to that instance. i have another server on the same network i want to get a build off of and pasted onto the other instance, its port is 25581. i have a domain pointed at the 25565 port, and not at the 25581. in my mind, i should be simply able to connect using bungee with the ip and the port.

reef fulcrum
#

query is irrelevant

sudden mesa
#

but i cant with the 25581, the 25565 works fine and the domain i pointed at it connects fine

reef fulcrum
#

open the config for bungee, what's the host in the listener section?

sudden mesa
#

listeners:

  • query_port: 25565
    motd:
    tab_list: GLOBAL_PING
    query_enabled: false
    forced_hosts:
    pvp.md-5.net: pvp
    ping_passthrough: false
    bind_local_address: true
    host: 0.0.0.0:25565
    max_players: 500
    tab_size: 60
    force_default_server: true
    proxy_protocol: false
    priorities:
    • Minecraft02
      connection_throttle: 4000
      groups:
      Owner:
    • admin
      log_pings: true
      ip_forward: true
#

im assuming its in here

#

25565

reef fulcrum
#

"its port is 25581"

#

You mean, you're tryna conenct to that port from your client?

sudden mesa
#

yes IP:port

reef fulcrum
#

You can't do that

#

You connect to the proxy and then use /server to jump over to the other server

sudden mesa
#

what, i was able to before

reef fulcrum
#

Also, noting that using bungee won't make the paste copy over magically

#

You'd need to share the schematics folder between the two

sudden mesa
#

yes i know how to schematic things

#

i know how to do all that

#

i dont know server management bullshit

#

i was able to direct connect before to port

#

after i had a domain point to it, it cant

reef fulcrum
#

Yes, before you enabled bungee mode

sudden mesa
#

bungee mode?

#

can i just delete this garbage and have it work fine

reef fulcrum
#

If you're not actually intending to use bungee, yea

#

Bungee is only really for servers wanting to allow players to jump between instances

#

if you're just spinning a server up to grab a schematic, no need to bother with bungee

sudden mesa
#

thats not why i need it

#

my friends wants it so he can jump between instances

#

i just think its garbage and gets in the way

#

just save the ips and ports into client

reef fulcrum
#

Oh, in that case if he wants to be able to jump between instances, you'll need to throw it behind the proxy

#

What you /can/ do is use forced hosts to connect directly to servers, however

sudden mesa
#

god i hate server lingo

reef fulcrum
#

forced hosts is basically just a host > server mapping

#

So, you can create a subdomain, connect to that and bungee will throw you to the server it's mapped to

sudden mesa
#

okay so, the fact i got the custom domain working is a miracle, ive never done any server management BS and is not my forte, i have no idea how to process what you said, probably cause ive been trying to fix this stuff for last 2 hours and am too burnt out to think straight, but because it seems ill need to use bungee, on the host server 25565, how do i get the /server option working on it

#

i wasnt the one that set up the original bungee network, so went into this blind on it

#

rn im just trying to fix stuff that broke from setting up custom domain

#

nevermind, just deleting its existence

unreal fulcrum
#

With the PostLoginEvent - making a kick plugin that references a database.
Since the event is non-blocking, and I need the getPlayer() method from ProxiedPlayer to check a permission (luckPerms), is there a way to stop a connecting player from being sent on to the MC server until my database check is completed?
I'm trying to stop the spamming of player Connect/Disconnect messages in the lobby server...

strange brook
#

why post login...?

#

oh didn't realize which channel this was

#

not familiar with the bungee events

#

like, on the bukkit side there's an async pre login

reef fulcrum
#

There is a PreLogin with waterfall too

strange brook
#

figures

unreal fulcrum
#

The PreLoginEvent has the player name. Which is good for the database lookup.
But does not have the hasPermission("") method on it. Which was easy to use to check a LuckPerm permission.

strange brook
#

i mean, don't use need to get the LP user or whatever anyway

reef fulcrum
#

Some level of "you gotta work with what you're given"

#

Urgh, my IDE crashed...

unreal fulcrum
#

Cool cool. I just didn't know if there was a way to block the initial connection somehow. Thanks ๐Ÿ˜„

reef fulcrum
#

Nope, no idea why that isn't an async event though

#

Wai

#

You have LoginEvent

unreal fulcrum
#

Oh, hmm. Let's see....

#

Hmm, I think without integrating my plugin with LuckPerms I don't think there is a way to check the permissions of a player because I think they only come through with ProxiedPlayer like in the PostLoginEvent, and by that time they are proxied and on their way to whatever downstream server. So I might just have to deal with it. It's a subscriber server so shouldn't be too much spam, just wanted to try. ๐Ÿ˜„

main cypress
#

Hi, is there a good way to add/remove/edit servers from config.yml without completly restarting waterfall?

spiral crater
#

use /greload

#

after editing?

main cypress
#

it can be dangerous i think

spiral crater
#

thats one of the main bonuses of waterfall/travertine

#

nah it works fine

#

i just did it the other day actually

main cypress
#

ok i will try it later when some more players go to sleep

reef fulcrum
#

"unsupported", but; should work fine

#

There are some quirks around it, but that's more bungee limitations (god darned bungee...)

lone void
#

So I use BungeeTablistsPLus

#

I seen the dev on Github respond to an issue similar to mine saying he wont support it cause they were using waterfall not bungee so i thought i'd ask here to see if theres a workaround

#

but tab list looks like this when using /server servername from hub or using portal

#

Is there anything configurable in Waterfall that would stop this?

reef fulcrum
#

did you disable entity metadata rewriting?

lone void
#

apparently so!
disable_entity_metadata_rewrite: true

reef fulcrum
#

That would basically be why

lone void
#

Ahhh i see, now to remember why i disabled it ๐Ÿ˜„

reef fulcrum
#

No idea why/how it causes it, one of those things which needs looking into

lone void
#

No worries, thats great thank you so much for the help!

reef fulcrum
#

early release of some protocol support stuff?

lone void
#

yeah i have a bunch of them on the hub server actually

#

idk why tbh, all the servers are on 1.12.2

reef fulcrum
#

More a "did you jump to waterfall to gain access to newer version support before bungee did and where told to disable that"

lone void
#

XDDDDDD oof! yeah i think i got it around 1.14 release

#

I'll just yeet them and set that setting to false and hopefully that fixes things :3

#

I'm sure you'll hear from me again if not ๐Ÿ˜„

#

Thank you so much ๐Ÿ™‚

lone void
#

I'm back! ๐Ÿ˜„

#

Running "All The Mods" modpack - players keep getting disconnected every now and then

#

Any way around that or do i just have to tolerate the tab list ๐Ÿ˜„

reef fulcrum
#

Yea, that would be a good reason for that lol

lone void
#

XD ah oh well, it's not the end of the world!

#

Thank you ๐Ÿ™‚

crude juniper
#

hey, I'm attempting (and failing currently) to connect from Paper (hub server) 1.12.2 to a forge 1.12.2 modpack server. Now, I believe I've done everything correct however when I attempt to connect to the forge server from the hub server the Waterfall console just spits out the info message [username/ip] <-> serverConnector [servername] has connected
then instantly repeats the same message but with disconnected as the last word.

Bungee is in online mode, the two connected servers are in offline as usual
Any ideas?

#

No errors are given in game or on any of the two server consoles either

marble kelpBOT
#

do you have forge support enabled in the bungee config?

crude juniper
#

Yes

marble kelpBOT
#

did you try connecting to the forge server directly (e.g. via a forced host) instead of trying to switch?

crude juniper
#

Nope, how would I do that.

marble kelpBOT
#

there are settings for forced hosts in bungee's config.yml

#

but you could also just set the default server to the forge one if it's just for a test

#

iirc there were issues in the past when trying to connect from "vanilla" -> forge via bungee

crude juniper
#

Right ok

#

that's a pain then

reef fulcrum
#

Boils down to the mods in play

crude juniper
#

I wonder if running a plain forge server with no mods for the lobby server would be any use

#

then again that won't work... for what I want

marble kelpBOT
#

do you really need a lobby for the modded server?

reef fulcrum
#

Some mods really hate the server switch, others can work but require you to disable metadata rewriting, some mods work fine, some mods literally just have no chance

crude juniper
#

I'm going to have a few servers hooked to it

marble kelpBOT
crude juniper
#

Might just remove the lobby :L

fair coral
#

Is the waterfall support 1.15.1 version?

reef fulcrum
#

yes...

fair coral
#

How can I fix it?

reef fulcrum
#

Try removing plugins from the server or something

#

Something apparently mangled the packet

fair coral
#

ex ViaVersion?

#

Ok I try it

reef fulcrum
#

I doubt it, but potentially

marble kelpBOT
fair coral
#

My problem fix, thanks

steel spear
#

Anyone know what I've done wrong here?

#

'hub' has bungeecord: true, online-mode: false

#

Priority is set to 'hub', ip_forward: true, force_default_server: true

#

this makes 0 sense wat

#
[14:50:36 WARN]: Error pinging remote server
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: localhost/127.0.0.1:25566
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
#

connection refused to localhost?

#

tf

marble kelpBOT
#

are you sure you have a server running on that ip and port?

steel spear
#

Yea, so it turns out I was using the servers public IP as the IP:Port to bind bungee didn't like that

#

I set the IP to 0.0.0.0 on the hub server and it now works

#

My new issue is, I've given myself 'Admin' in the config.yml, yet I can't perform any commands?

marble kelpBOT
#

it's usually suggested to use a permissions plugin like LuckPerms

steel spear
#

I am also using LuckPerms, I though the config would have overridden LP

marble kelpBOT
#

no

#

it's the other way around

steel spear
#

Okay, and for just allowing all bungeecord it would be bungeecord.*, right?

marble kelpBOT
#

probably

steel spear
#

Any idea?

marble kelpBOT
#

does the minus mean that it's negated?

steel spear
#

I tried with context of just server:bungee first, but didn't work so I removed it. So I removed that permission. bungeecord.command.list is now a global permission

#

still not working though

marble kelpBOT
#

well this really depends on how you setup your plugin, there are ways for the permissions to bnot be shared with the bungee and stuff so you have to make sure that you are actually setting the permissions at the correct place

#

start by using /lpb on the bungee if you don't already

steel spear
#

ah I don't have permission for /lpb

#

weird

marble kelpBOT
#

also one config option makes it so that only bungee specific permissions apply there so if you have that enabled then you need to use the bungee context

#

well obviously if you haven't setup your permissions yet

#

do it from the console xD

steel spear
marble kelpBOT
#

is that the output of /lpb ?

steel spear
#

ya, sorry it's clipped at the very top

marble kelpBOT
#

hm

steel spear
#

that's the output of /lpb listgroups

#

just showing you examples that I've got it working fine on all servers, except the proxy.

#

sync'd with mariadb

marble kelpBOT
#

well takea look at the config of the bungee luckperms and see whether or not its turned on to only use bungee specific permissions

#

and either turn that off if it is turned on or use the bungee context

steel spear
#

Okay will do, thank you.

gloomy sundial
#

is there a way to make it so i don't get this error? the testing server is the same mc version as me and it's even #1 on the priority list yet it's still not working - also i shouldn't even be getting that message since i've changed it in spigot.yml

upbeat ember
#

what waterfall version are you on

gloomy sundial
#

nvm yeah i just had to update it lol

#

how do u even find your waterfall version cuz you can't do /version with it or anything

upbeat ember
#

it mentions it in startup

tidal musk
#

you'll do /bungee

gloomy sundial
#

ah

upbeat ember
#

or that

gloomy sundial
#

ok so that's been solved, but how do i make it so it can transfer me to the 1.15 server if the 1.14 one needs to be at the top of the priority list

#

do i need a separate plugin to detect what version i'm on or something

tidal musk
#

separate plugin, yes

gloomy sundial
#

do u know what it's called

#

nvm i think i found it

rain cobalt
#

What are the benefits of using waterfall proxy over other proxys?

reef fulcrum
#

Same principle as paper is to spigot; We take bungee and give it some TLC; Pros are that it's based on bungee so you get the existing ecosystem with our improvements, con is that it's based on bungee

rain cobalt
#

what does it adds and what are the improvements

reef fulcrum
unkempt bone
#

Hello, how do I configure waterfall to connect players to another server if the default server is full?
I couldn't find anything on this on the internet.

tidal musk
#

you can write a plugin for that

unkempt bone
#

I thought that this is one of the features of waterfall, that the proxy fills servers one by one

marble kelpBOT
#

no

#

that can be easily done by a plugin though (and has been done countless times, just search for player balancing or something like that)

unkempt bone
#

Well seems like I was wrong then. Thanks.

plush swift
#

WTF

#

@here

#

HELP
!

marble kelpBOT
#

there should be an option to ignore empty packets iirc

plush swift
#

well who is it? My server crashed

#

@acoustic adder

marble kelpBOT
#

no idea, just take a look at your config?

#

and please don't ping randomly...

reef fulcrum
#

Like, the fuck

#

You're not even using waterfall? The fuck are you tryna at-here?

heady wave
#

there's any "timings report" like command for waterfall/bungeecord?

reef fulcrum
#

nope

heady wave
#

:C thank you

reef fulcrum
#

No idea if there is a spark release for the proxy, otherwise it's a case of warmroast/using visualvm/yourkit or something

#

proxy is threaded, so; timings won't really fit there

tidal musk
#

spark's jar works both on server and a proxy

gloomy sundial
#

there's not really a way from preventing people from disconnecting with this error is there? Could not connect to a default or fallback server, please try again later: io.netty.channel.ConnectTimeoutException
It works for most people but there are a few that have this issue and it's only happened once I got a new host - even though it's still kinda close to where the old one was

weak harness
#

What's the proper way to make async integration with redis on waterfall?

#

what I've done so far:

#

always get this NativeIoException : readAddress(..) failed: Connection reset by peer

#

a couple seconds after a player joins

reef fulcrum
#

Nothing to do with it being called async

#

"Connection reset by peer" means that the connection was closed by the redis server or something

#

(You probably also wanna be using a pool vs opening new connections all the time)

weak harness
#

and than access it by jedispool.getResource() ?

#

then*

reef fulcrum
#

Yea

#

(You'll wanna keep using try-with-resources so that you close it and return it back to the pool)

#

That's also seperate to the connection reset thing, you'll probably wanna look into that one more

weak harness
#

well I found a fix about that with tcp-keepalive on the redis server, I changed it to 60 as the tutorial said and since then the problem was nowhere to be seen.

rain pier
#

guys i'd like to use redis bungee but i own a cracked server, i know authmebungee isn't supported with redis so what replacement could i use?

unreal stag
#

I wonder if this is the RedisBungee Discord ๐Ÿค”

#

Oh, it's not!

#

@rain pier Pro bono support as the original RedisBungee author: RedisBungee only supports offline mode on a best-effort basis. And I'm not sure if Chunkr is willing to support offline mode completely.

rain pier
#

ah well

#

shit my wrong about the servers

#

thanks anyway for he response tux

marble kelpBOT
#

wrong channel?

main cypress
#

oh lol sorry

sudden mesa
upbeat ember
#

so enable it

sudden mesa
#

i specifically dont want it fucking with the server, my friends wants it for his instances, all it does it cause problems so im trying to leave it off of mine

strange brook
#

? you want to use bungee but disable bungee support? wat?

sudden mesa
#

my friend has a server, we uses bungee to go between instances, i have my own instance, but i dont want it on the bungee network because it fucks with my ip forwarding

#

so i have it set to false, and online set to true, assuming that would make it not effect my instance at all

#

instances have different ports

#

i cannot completely remove it because he uses it

strange brook
#

you can't both be on the network and not be on the network

sudden mesa
#

what are you talking about, i shouldnt need bungee to connect to a port LMAO

strange brook
#

you don't

#

but then you can't use bungee to "go between instances"

#

your server will be entirely separated

sudden mesa
#

so i need an entirely separate IP? that seems to be false, i can direct connect to the main IP and its off the bungee network, but on the same server, its only a specific port

marble kelpBOT
#

your only way for this to work is to have all servers in offline mode and disable ip forwarding everywhere

#

which tbh is just stupid

#

just properly setup ip forwading and forced hosts

sudden mesa
#

so either i have to deal with bungees dumb bullshit or convince him to remove it?

marble kelpBOT
#

then both of you can just connect through the bungee and land on your own servers

strange brook
#

you can't have a properly authenticated server on a network without connecting through the network

#

^

sudden mesa
#

i have everything properly set up, its literally a single port thats getting this error, i have other instances working completely fine with the same settings, i just copy paste them over, changed the port numbers so they match

marble kelpBOT
#

what is your issue? just the message?

#

are you sure you are connecting to the bungee and not to the server directly?

#

because you can't connect to the server directly if you have bungeecord enabled in your spigot.yml

sudden mesa
#

what I explained already I have it disabled and am connecting to it directly.

marble kelpBOT
#

if you had it disabled then that message wouldn't show

#

so you clearly have bungeecord set to true on that server

sudden mesa
#

oh yeah i definitely do

#

its been false for days

marble kelpBOT
#

...

#

wiz, do your thing

#

I'm done here

strange brook
#

my brain cells are too precious for this

#

not gonna waste them on this guy

sudden mesa
#

maybe if you werent programmed to just say set it to false could actually help

marble kelpBOT
#

maybe if you wouldn't call people that try to help you names then they would actually help

sudden mesa
#

you literally said to do something that I reiterated several times I have already done, thats not helping, you for some reason replied without even reading what i said really

marble kelpBOT
#

no need to use insults though

timber plover
#

On my survival server how come my player data got cleared, along with luck perms?

#

When i setup a waterfall server, then added a forced host

reef fulcrum
#

would more suggest that you didn't enable bungee mode on the servers

marble kelpBOT
#

Hello, I've just setup my first waterfall server. I'm migrating from a regular Spigot installation and since the new server needs to run in offline mode, there seems to be a disconnect between my old profile and the new one. In other words, people will lose their inventory when they log on to the new server

#

Any advice? I'm pretty new to MC servers so I might have missed something obvious

reef fulcrum
#

bungee mode in spigot.yml, enable ip_forward in waterfall itself

marble kelpBOT
#

Cheers, i'll give it a try

#

Yeah that did it, many thanks :)

tidal musk
#

withtab_list: GLOBAL_PING in bungeecord config what other options are there other than GLOBAL_PING?

cold notch
#
tab_list
Default: GLOBAL_PING
Type: String
Description: The tab list has a choice of 3 options.
GLOBAL_PING: This shows all players connected to the proxy, complete with ping.
GLOBAL: As above, but without updating their ping.
SERVER: This shows the local players on the server you are connected to.

Note - BungeeCord 1.8+ versions currently do not have working GLOBAL or GLOBAL_PING options due to 1.8+ having a new tab list. You may use the plugin GlobalTablist or BungeeTabListPlus to have this feature in 1.8+

https://www.spigotmc.org/wiki/bungeecord-configuration-guide/
@tidal musk

tidal musk
#

ah right thanks EDok

jolly temple
#

is there a way to block players from connecting to a server on bungee if they do not have sufficient perms
like the could do /server lobby but not /server admin-sexy-time
is that what
i put it into restricted mode but idk how to add the permission

#

i have this - bungeecord.command.server.adminsexytime

strange brook
#

( อกยฐ อœส– อกยฐ)

jolly temple
#

shhhhh

#
    motd: and i oop
    address: 172.18.0.1:25567
    restricted: true```
#

im using bungee with paper oh god

reef fulcrum
#

Paper is irrelevant here

#

You can configure the perms in config.yml, or, be sane and use a perms plugin

jolly temple
#

how do i add perms to let a player on a restricted world

reef fulcrum
#

You mean, restricted server?

jolly temple
#

yea

reef fulcrum
#

Iirc, bungee.server.servername

jolly temple
#

i have this bungeecord.command.server.adminsexytime

reef fulcrum
#

That's not it

jolly temple
#

ok no command

#

thanks

reef fulcrum
#

Refer to the docs I guess

jolly temple
#

ok

brazen tangle
#

If I'm running two waterfall proxies, from paper how would I know which a player connected from

reef fulcrum
#

Ez option would be to throw something into their profile on the proxy, akin to what bungeeguard does

#

assuming that you can't rely on the IPs being unique

brazen tangle
#

Yeah, can a players username or uuid be altered when connecting to the proxy?

unreal stag
#

If you're using RedisBungee you can use a plugin channel to get the information you need, else you'll have to inject a profile property or something

reef fulcrum
#

The proxy goes to look up their details from mojangs server during authentication

#

UUID is set by the proxy either directly or from the response that mojang gives

deft fractal
#

I run 6 proxies, I have a plugin that staff can do /info <player> which displays which proxy they are in etc

brazen tangle
#

It's running offline mode

reef fulcrum
#

name is set by the client somewhere in the login process

#

UUID is set by the proxy

tidal musk
#

wiz can't do that i think

cold notch
#

Prob electro or someone higher ๐Ÿคท

weary gate
#

how can i connect to forge server with ip forwding enable?

tidal musk
#

install sponge

#

and enable ip forwarding & bungee module

acoustic adder
#

So what does always_handle_packets do?

strange brook
#

many packets, handle them!

acoustic adder
tidal musk
#

wat

#

where is that setting?

marble kelpBOT
#

Off the top of my head, not a setting

#

Is some field somewhere that control if packet ID limitations should be in place

#

apparently not

#

grep sez dat that is not a thing

#

Yea, no longer exists

strange brook
#

what is that repo

acoustic adder
strange brook
#

is that like travertine for bungee?

marble kelpBOT
#

it's worse than travertine

acoustic adder
#

So it basically just redirects all packets no matter what to tho backend minecraft server?!

marble kelpBOT
#

iirc, that's more used at a certain phase or something

#

Probs some level of "because forge"

snow siren
#

Hi guys, sorry for the question, it may sounds dumb...
I just get back to Minecraft after a long long time and wishing to start a 1.14 Paper server
I only find 1.14.4 Paper Server download, can I just it for the version 1.14?
If not, where can I download a version for 1.14?

Thanks!

reef fulcrum
snow siren
steep totem
#

Do you know that every once a while, MC servers (proxy or not) gets crashed by malicious players using crash clients? Will PaperMC ever try to fix those crashing client exploits? If PaperMC fix it, I think they won't be able ever to crash server again, people are forking Waterfall just to implement anti crash methods...

reef fulcrum
#
  1. this is an open source project, people are more than welcome to contribute pre
  2. my health is horrible, meaning that I don't really have all that much energy to put towards tryna resolve an issue people seem to be willing to provide little help/info around
  3. these forks are often just bad and introduce their own weaknesses, e.g. opening up easy resource leaks
deft fractal
#

If you are able to correctly fork Waterfall like I did, you are able to block all crashes.

#

Hardest part is finding what specific crash method players are using.

tidal musk
#
  motd: **********
  tab_list: GLOBAL_PING
  query_enabled: true
  proxy_protocol: false
  forced_hosts:
    play.server.com: lobby
  ping_passthrough: true
  priorities:
  - lobby
  bind_local_address: true
  host: **********
  max_players: 150
  tab_size: 60
  force_default_server: true```
I've set it up so that a player is always directed to the lobby no matter what server they logged off on. However, in the server selection screen it only shows the player count from the lobby server and not globally.
#

I want it to show all players globally but it's not doing that which is weird because I have GLOBAL_PING

full cypress
#

Its because you have ping passthrough

#

that can safely be turned off

#

@tidal musk

tidal musk
#

What does ping-passthrough mean anyway

full cypress
#

It means "Don't let bungee handle the pinging, send it to the default server"

tidal musk
#

And thank you very much. This was bugging me

full cypress
#

and the default server doesn't know everyone on the proxy

tidal musk
#

thanks

full cypress
#

np

fast tulip
#

What is waterfall?

tidal musk
#

bungeecord fork

fast tulip
#

ok

tidal musk
#

Hey

#

I'm hosting 2 servers 1 with waterfall and one with paper

#

and the paper one is connected to the waterfall one

#

and when i join the waterfall one it says it's in online mode even though it's not

marble kelpBOT
#

did you set online-mode=false in your paper's server.properties?

cold notch
#

Bungee.yml
Online : false
Server.properti
Onlinemode : false?

tidal musk
#

already did

#

still says that

marble kelpBOT
#

bungee.yml should be online mode true

#

?paste your config files I guess

tidal musk
#

why is everyone bots?

cold notch
#

Cuz they are bot ๐Ÿคท

tidal musk
#

why tho

strange brook
#

do you have a problem with that

marble kelpBOT
#

I'm not asking you why you are human...

tidal musk
#

you're totally a person who's talking through the bot tho

marble kelpBOT
#

are you implying that a bot can't be a person? :(

tidal musk
covert portal
marble kelpBOT
#

you realise you can just return any number there, right? xD

tidal musk
#

you can just inspect element tbh

covert portal
#

I know, but I also know they are getting botted to hell.

marble kelpBOT
#

wait, Steven, your waterfall and lobby server are listening on the same IP and port? Oo

tidal musk
#

nope

marble kelpBOT
#

it says the same adressn under the listeners[0].host and servers.lobby.address though

tidal musk
#

then i've messed up the config lol

marble kelpBOT
#

I guess that's why you are seeing that error, your proxy just tries to connect to itself

tidal musk
#

thanks for the help ๐Ÿ˜„

#

i'm very new to the bungeecord type of things

#

Ehm

#

Huys

#

Guys

#

nvm

#

Actually

#

Could not connect to a default or fallback server, please try again later:
io.netty.AbstractChannel$AnnotatedConnectException

#

Help?

#

oh nvm

#

or?

strange brook
#

should turn on slow mode so this guy has time to think about his issues before random interjections every 15 seconds

tidal musk
#

lol

#

sorry

marble kelpBOT
#

lol

cold notch
#

๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚ thanos thanos thanos thanos

odd cliff
#

Is there a link or somewhere I can find out how to set up for waterfall? I already have servers set up I just want to connect them to the same proxy

blazing kraken
#

Are most bungeecord plugins compatible with waterfall since its just a bungee fork?
I'm thinking about things like Luckperms, PremiumVanish, ViaVersion etc

upbeat ember
#

yes

blazing kraken
#

So I should be able to just remove my bungee .jar and replace it with a waterfall .jar, no?

#

After taking a backup ofc

upbeat ember
#

yes

tiny monolith
#

does paper run on java 9+?

reef fulcrum
#

Yes, but like...

#

looks at the channel name

tiny monolith
#

oof

#

sorry

sand steppe
#

does waterfall run on java 5

#

and if so can I have help installing java 5 it on windows 10

reef fulcrum
marble kelpBOT
#

(DiscordBot) TENACIOUS D - Kickapoo - length 4m 24s - 287,251 likes, 7,900 dislikes (97.3%) - 55,846,789 views - NewLine on 2006.11.30

tiny monolith
#

lol thumb

keen thicket
keen thicket
marble kelpBOT
#

first: your minecraft servers should not be listening on a public port if they are on the same machine as the proxy

#

also your indentation in the proxy config.yml is messed up (not sure if that's just pastebin beeing dumb though, something like hastebin is usually recommended)

keen thicket
#

Aye itโ€™s pastebin messing it up. The raw bit itโ€™s fine. Alrighty Iโ€™ll change it to localhost

haughty nimbus
#

does waterfall resolve UUIDs for players regardless of what uuid a client might send?

tidal musk
#

define resolve

deft fractal
#

No, you need to do that yourself.

#

Well yes.

#

Just make sure they donโ€™t bypass the proxy

haughty nimbus
#

Actually I'm thinking if it checks if the UUID is valid I guess.
With hacked clients you could just provide any UUID you like giving players access to whatever plugin relies on UUID.

deft fractal
#

Yes it does

#

But it can be bypassed if you donโ€™t set it up correctly.

haughty nimbus
#

I mean if you bypass the proxy right?

marble kelpBOT
#

the proxy checks the authentication of the client the same way the vanilla server does

#

it can't spoof the UUID

haughty nimbus
#

what about offline mode?

marble kelpBOT
#

that doesn't have proper UUIDs

#

and is unsupported anyways

haughty nimbus
#

thanks I guess

#

also encryption only happens on online mode right?

marble kelpBOT
#

yes

haughty nimbus
#

okay thanks

deft fractal
#

Are you able to add another server to the bungee config and make it work without a restart?

#

tag me if you answer

keen thicket
#

Still get no login server found

marble kelpBOT
#

@Sโ€‹lyโ€‹ thre are some plugins that try to do that but I had issues with that in the past, especially when using other plugins that aren#t compatible with dynamically added servers

#

@Vโ€‹idโ€‹koโ€‹l can you provide the log too?

#

*the logs

keen thicket
marble kelpBOT
#

please provide a log where you actually try to connect to the server...

keen thicket
#

its there. thats all the logs

#

23:56:12 [INFO] [/5.70.224.156:34672] <-> InitialHandler has connected

#

thats when i clicked join

reef fulcrum
#

That's not a message i recognise, best guess is "replicate without plugins"

cold notch
#

@keen thicket are u using the bungeecord antibot russian version?

#

Msg seem fmailiar

reef fulcrum
#

I mean, that's a point

#

Even if not, that's literally not our software, nor a version we'd care about if it was

#

(Doesn't really look like it is, but; am going back to the plugin thing)

#

That plugin screaming about mysql is an interesting one

keen thicket
#

Yeah its a plugin thing works fine with no plugins. SQL one was sorted after a reboot.

@cold notch Don't have an AntiBot installed.

cold notch
#

@keen thicket
--are u using leymooo bungeecord?--

keen thicket
#

Nah, using waterfall. put on the standard BungeeCord to see it the error was repeating on that and it was. so was a plugin issue.

cold notch
#

ahh ic

steady yacht
#

How can i fix that error?

#

wups wrong chat

keen flume
upbeat ember
#

config.yml - custom_server_name:

open flax
#

someone had an ip-grabbing exploit

#

im not the admin so i dont have any info but i just had to share

strange brook
#

that tells us literally nothing and solves no issues at all

open flax
#

im aware

#

its just kinda crazy

#

also it doesnt tell you nothing.. it tells you that theres an active exploit

strange brook
#

no it doesn't even tell us that

#

it tells us that someone thinks they saw something that they believe to be an exploit

open flax
#

yeah

#

it got my ip correct

#

unless it was the admin of the server on an alt

strange brook
#

do you know how often people think there's forceops or something? and 99% of the time it's just people not firewalling their proxy

open flax
#

how could they have done that without it being a real exploit

#

dm me if u dont want to spam the chat

strange brook
#

i don't even know what "they" did

open flax
#

when i entered their render distance they immediately posted my ip in chat

full cypress
#

Sounds like a server admin didn't firewall properly.
Allowing a "hacker" to sign in as an owner/op, give themselves access to a /ip equivalent on the server and terrorizing people.

open flax
#

i'll tell the admin, should i just ss that?

full cypress
#

Ya, he def needs to look at his firewall and ensure "bungeecord: true" is set inside the spigot.yml

#

And if he's really concerned about a sideload attack, he should look into BungeeGuard to ensure that only his bungees connect to his servers.

open flax
#

thanks! i'll tell them

strange brook
#

dont think that has anything to do with what's sent to the client

rose badger
#

either way it's a vulnerability. I don't know what more info I can provide

tidal musk
#

the event?

#

lol no

lime breach
#

hi

cold notch
#

So it must be something new...๐Ÿค” ๐Ÿค” ๐Ÿค”

lime breach
#

how would i remove forced hosts?

#

using empty square brackets breaks the config

#

please.

cold notch
#

@rose badger idk if that person have op or "admin" in bungeeconfig but what i do is

permissions:
  default: null
  admin: null

and see if it still happen or if u use essential maybe remove perm for /seen

#

ยฏ_(ใƒ„)_/ยฏ

#

have not seen that ip exploit my self

reef fulcrum
#

{} for an empty map, not []

rose badger
#

@cold notch Thanks i'll try it

neon echo
#

I just switched from bungee to waterfall. ./server command does not work. How do we switch worlds?

strange brook
#

what else did you change?

#

plugins, permissions?

neon echo
#

Using luckperm paper essx... Trying set perm: bungeecord.command.server.x true for y in context global all my conf files are imported from working setup but the data is fresh

cold notch
deft fractal
#

^^

lime breach
#

Hi, Does someone know if this is related to Waterfall or it's some retarded plugin messing up

reef fulcrum
#

That's a plugin

lime breach
#

ok time to rm * the plugins folder

#

ty

fossil gull
#

Hello, I've been playing with waterfall and have it working then both the proxy and the server are on the same network. I have a question, is it possible to have the proxy on AWS and then redirect players to my own server (not on aws). Any information would be appreciated (or links to guides on this). Many thanks

#

The reason behind this is that I want players to connect on domaina.com and be pushed to domainb.com, so that when players try to DDOS domaina.com they will be hitting AWS and not me

reef fulcrum
#

You can't "redirect",you can host the proxy on another network, however

fossil gull
#

so I should be able to send players from the AWS proxy to my own network,

#

can this be done through domain names as the server has DDNS?

#

sorry for the newb qs

reef fulcrum
#

yes, just worth noting that they'd still be connected through AWS, so; All you're doing is moving the attack surface, but yea, you can use a domainname in the servers list

fossil gull
#

okay thanks, the current problem I do have is that when I change the IP in the settings to the domain name and the port it cannot connect, when I put the local IP (instead of the domain name) it does work. these are the settings which doesn't work:

#

lobby:
motd: '&1Just another Waterfall - Forced Host'
address: server.domain:25566
restricted: false

#

[13:16:48 INFO]: [Wooozer] disconnected with: Could not connect to a default or fallback server, please try again later: io.netty.channel.ConnectTimeoutException
[13:16:48 INFO]: [/x.x.x.x:51955|Wooozer] -> UpstreamBridge has disconnected

#

but when the local IP for the mc server is entered it does work, and I can reach the server directly through the domain name and port, but the connection is refused as it doesn't go through the proxy

deft fractal
#

Just get TCP SHIELD

#

Itโ€™s what most large networks use.

fossil gull
#

not really large enough to buy a appliance, wanted to use AWS shield as its quite cheap (free)

deft fractal
#

TCP SHIELD is free

cold notch
#

why cant they just list the price on their website ๐Ÿ˜ค

deft fractal
#

Itโ€™s free

#

Contact Steven and heโ€™ll set you up.

cold notch
#

who is steven?

#

Sly imma dm u

deft fractal
#

Message him on telegram; @sferg

spring pilot
#

No errors in the skyblock console:

[16:16:44 INFO]: UUID of player MrCeasar is ...
[16:16:44 INFO]: is leader = false
[16:16:44 INFO]: MrCeasar[/MYIP:50414] logged in with entity id 175 at ([ASkyBlock]-38.39946556413711, 129.0, 0.512040279379914)
[16:16:44 INFO]: [+] MrCeasar
[16:16:44 INFO]: MrCeasar lost connection: Disconnected
[16:16:44 INFO]: [-] MrCeasar

reef fulcrum
#

stop the server and delete scoreboard.dat

spring pilot
#

And where would this be located?

#

Just a restart worked aswell

#

Any chance you know what could cause this?

reef fulcrum
#

You havea plugin that derp'd with the scoreboards

plucky smelt
#

just thinking.. has paper messed up with async chunks or its still as bad as it is with players falling through the maps etc?

strange brook
#

wrong channel. not that that was ever a paper issue, it happened in vanilla too

lime breach
#

Hi just a quick question

#

the last number in blue is the Waterfall build identifier? so Im 299# and 10 builds behind?

neon echo
#

My new years lesson. Server names cannot be numerical

prisma whale
#

why not

orchid sparrow
#

Sorry for a universal question. I must not be using Google right...
Is a proxy similar to a router? (Roughly worded)
Such as me running 5 web servers, but all addresses hit the primary, and it then redirects to the correct port INTERNALLY?
Basic goal is to make sure I only need to open port 80 for all web servers, and port 25565 will cover all MC servers referenced via Waterfall.

cold notch
#

yes

heady wave
#

Hi happy new year to all, but new year same problems.
i'm trying to connect to a paper server via waterfall, but i have the "could not connect to default or fallback server" message. Because these are 2 different machines i've opened the port in the paper side server, but it still says could not connect. Someone can help me?

reef fulcrum
#

Only thing we can advise is check that you have the server ip/port set in the config properly, the server is running, you can ping the box from your other machine and double check firewall, etc

neon echo
#

the problem i was having, was that i named the new server "15" and bungee did not like that. i made it "fudge" instead and things work. either my name was too short or because it was numerical it caused an issue.

reef fulcrum
#

Put it in quotes if you wanna use numerics

#

yaml is fun, basically

neon echo
#

yaml checkers come up saying "good syntax"

#

but thanks for the tip

#

on the plus side, i now know what that weird not an apostrophe on my keyboard is for. the ancients invented it just for yaml.

tidal musk
#

well it is good syntax

#

more like bungee's configurationadapter does not handle it correctly

#

it simply expects a string

#

while yaml reader gives it an integer

#

more like bungee's configurationadapter does not handle it correctly

#

i have shitty internet woo, ignore any duplicated messages (:

strange brook
#

syntax is good, semantics is not

#

it is a syntactically correct number, but a string is expected

neon echo
#

yah i think its just easier to use words only in future

#

is there a list of waterfall approved plugins?

tidal musk
#

no

neon echo
#

๐Ÿ™‚

idle fjord
#

quick question; is there a way to exclude vanished players from the server playercount with a waterfall setup?

#

vanished players are hidden from the count with straight paper

#

but with waterfall, it seems to forget to discount vanished players

heady wave
#

@reef fulcrum i can ping the box from my pc and from the other machine, i can enter the server if i try to connect straight to the machine ip.
But if i try to connect via bungeecord i go "could not connect" error.

reef fulcrum
#

Please don't ping

#

Nor can we really debug this for you

neon echo
#

are your servers offline and the portal online?

reef fulcrum
#

if you can ping the box but can't connect to a running service on it, only real thing is check your firewall

heady wave
#

well as i said firewall is ok, because if i connect straight to the ip (not via bungee) the server works

reef fulcrum
#

Double checked the proxies firewall?

#

Could be a bad rule on either side

heady wave
#

checked and flushed too with iptables -F

reef fulcrum
#

what exactly is the "can't connect" message?

heady wave
#

then redone all rules

reef fulcrum
#

check the actual logs, might actually have some info

heady wave
#

actual logs?

reef fulcrum
#

For the proxy, ye

heady wave
#

nothing shown in the log

reef fulcrum
#

rip

#

some level of god knows

heady wave
#

....:(

heady wave
#

as long as you love me

twin solstice
#

While not necessarily a question about Waterfall, what's the difference between a module & plugin?

reef fulcrum
#

nothing, really

little garden
#

Is there any config to change the proxy closed message?

deft fractal
#

How long cal I keep my proxy online for without it needing a restart? Tag me when answered

reef fulcrum
#

Forever?

cold notch
#

another question
How long can I keep my paperserver online for without it needing a restart?
just curious

tidal musk
#

forever?

strange brook
#

How long can I keep my electronic cat online for without it needing a restart?

tidal musk
#

how long can wiz continue kicking people without it needing a restart?

#

just curious

cold notch
#

He cant kick people when he asleep unless he ate his phone and play on it in his dream

strange brook
#

tf

tidal musk
#

ye

#

wiz don't eat your phone

prisma whale
#

So you would say wiz needs a restart every day then?

timber plover
#

Hello i'm having issues connecting to my hub

#

i have online mode set to false, and bungeecord enabled in the config. I have the forced host, and servers setup in config. It lets me connect to my other two servers though

prisma whale
#

this some ad?

#

paying $60 for 4 gb ram

strange brook
#

yea guy just joined so no benefit of the doubt for him

#

clearly just a spam account

fierce summit
upbeat ember
#

ยฏ_(ใƒ„)_/ยฏ

fierce summit
#

@upbeat ember Cheers, thanks

bronze slate
#

Yo guys, one question - how to diasble mc versions like 1.8, 1.9 on bungeecord waterfall

#

I mean I only wanted to 1.12.X - 1.14.X

#

Some config? Plugins?

strange brook
#

that's not handled by waterfall

#

waterfall is a proxy, it only supports whatever version(s) your backend server does

#

plugins like viaversion handle multiple versions

bronze slate
#

Alright

#

So.. I have 1.14.4 version

#

paper

#

I do have protocollib

#

so in what way i could change the minecraft versions?

strange brook
#

so what

#

again, you need a plugin that actually translates between protocols

#

bungee/waterfall etc are just proxies

bronze slate
#

Alright i know that

#

But my question is how to block versions xD

strange brook
#

versions are blocked by default

bronze slate
#

So how people can join my server 1.18 while is 1.14.4

strange brook
#

if your backend server is 1.14 that's the only version the proxy "supports"

bronze slate
#

I want to enable only 1.12.x-1.14.x join

strange brook
#

you

cold notch
#

u cannot join with 1.12 via bungeecord if your server is on 1.14!

strange brook
#

need

#

a

#

plugin

bronze slate
#

which

#

plugin

cold notch
#

^^^^

bronze slate
#

i

#

need

strange brook
#

i literally just fucking went over this

cold notch
#

protocolsupport or viabackward

bronze slate
#

i do have protocolsupport

#

too

cold notch
#

idk if viabackward support 1.14 and back

#

then read on their page

bronze slate
#

I wanted to block 1.8, 1.9, 1.0, 1.1, versions

#

only 1.12.X-1.14.X enabled

strange brook
#

go read up on whatever plugin you're using then

cold notch
#

contact their dev or ass a question on their spigot or github?

#

*ask

lime breach
reef fulcrum
#

Nothing to do with waterfall

#

That plugin did a dumb

lime breach
#

isn't ping a bungee command

#

my bad

cold notch
#

pong

elder smelt
#

21:39:41 [INFO] [219.239.142.253] sent wrong Handshake packet. Junk??)
21:39:41 [INFO] [219.239.142.253] sent wrong Handshake packet. Junk??)
21:39:41 [INFO] [219.239.142.253] sent wrong Handshake packet. Junk??)
21:39:41 [INFO] [219.239.142.253] sent wrong Handshake packet. Junk??)
21:39:41 [INFO] [219.239.142.253] sent wrong Handshake packet. Junk??)

#

What can I do?

reef fulcrum
#

Well, that's not waterfall

elder smelt
#

Its waterfall

#

I think a new botting methold

tidal musk
#

waterfall does not even send said log messages

#

so it's not waterfall

reef fulcrum
#

i booted 'em

upbeat ember
#

roasted

reef fulcrum
#

They can fuck off if he's tryna have the same convo in two channels

cold notch
#

Damnnn cat are you wiz in disguise?

spiral crater
reef fulcrum
#

Some level of "start firewalling IPs"

spiral crater
#

rip

#

theres so many

reef fulcrum
#

Basically, there are things that I need to do to try and shivvy up that logic a bit more to avoid the extremly costly overheads of throwing exceptions

#

That should help a lot

#

Several dozen people have also forked travertine with their own stuff here and there, but literally nobody has gone to open a PR or something

sand steppe
#

prs pepega forks Kreygasm

reef fulcrum
#

(and the one jar I did look at was... if ipv6 catches on, that'll be fun)

sand steppe
#

and really is the cost of an exception exploitable? mfw

spiral crater
#

yea my servers down now from the attack

sand steppe
#

good lord

reef fulcrum
#

the packets are easy to flood, and java stack trace gen ain't super cheap, pretty sure that the logger also might play a part in all of that

spiral crater
#

3600 ips monkaS

twin solstice
#

the waterfall refactor PR fixes some of them

#

afaik

reef fulcrum
#

you mean the one PR'd against bungee?

spiral coral
#

@spiral crater Were you able to get it solved?

reef fulcrum
#

if that PR gets pulled, I will actually be surprised

spiral crater
#

i ended up just using regex to get a list then blocking them in iptables

#

not a real fix

spiral coral
#

We got hit by that yesterday night too

#

lol

reef fulcrum
#

I'd say that I'll try and look at it this weekend, but, hahahahahaaaa

marble kelpBOT
#

@Pโ€‹haโ€‹naโ€‹tiโ€‹cDโ€‹ use fail2ban

twin solstice
#

er

#

bungeecord yes

marble kelpBOT
#

(obviously you need to modify the failregex for your usecase xD)

twin solstice
reef fulcrum
#

I honestly cannot see that getting pulled

twin solstice
#

merge it in waterfall

#

๐Ÿ˜ฉ

reef fulcrum
#

Hell no

spiral crater
#

ill check it out

reef fulcrum
#

Way too breaking of a patch

marble kelpBOT
#

requiring java 8

#

wat

#

runs

marble kelpBOT
twin solstice
#

seems like an interesting PR

reef fulcrum
#

hm?

twin solstice
#

o i looked at the wrong thing nevermind

reef fulcrum
#

I might need to add a system property to revert part of that

upbeat ember
#

why

reef fulcrum
#

debuging purposes

marble kelpBOT
tidal musk
#

Iโ€™m already using bungeecord, can I just swap the jars or do I need to redo the config etc

reef fulcrum
#

It should just be a drop-in replacement

tidal musk
#

๐Ÿ‘Œ

long niche
#

why is it called waterfall?

tidal musk
#

why not?

#

it's like asking why is your discord display name "That pronoun"

long niche
#

I see :)

tidal musk
#

... which leads nobody nowhere!

long niche
#

it's my preferred pronoun

spiral crater
#

.rekt

marble kelpBOT
#

โ˜‘ You have the REKT to remain silent

tidal musk
#

Because a waterfall has a source and it sorta lowkey spreads out at the bottom of it into a river (proxy server and then the other servers behind it) idk why thatโ€™s what I think of when I wonder why it was named that. Lol

fierce summit
#

@spiral crater Did you sort out your issue? If not, PM me. Glad I'm not the only one being DDoS'd -- seems to be going around atm.

deft fractal
#

Get TCP Shield for your server.

#

I use it on my server and have thousands of users per day joining without issues and it has no flaws

cold notch
#

^^^work great for me too
not thousand player but yea no problem so far

unreal stag
#

I started Waterfall originally so I am the authority on the name. A bungee cord is used to secure something and absorb shock. There's bungee jumping, where you jump down whilst connected to a bungee cord. Guess what, a waterfall has water falling down from a high distance, just like a bungee jumper falls from a high distance. The difference is that the water will continue flowing downstream whereas the bungee jumper will eventually come to a halt once all the kinetic energy is depleted.

tidal musk
#

^ pin

reef fulcrum
mental star
#

How to fix an issue:
I can connect to a localhost lobby, but trying to connect to external server the ping gets very high and it just kicks me
(Connecting normally to that IP works fine)

#

Anyone?

reef fulcrum
#

Check the connection betwee the proxy and the external server?

mental star
#

Making a dirrect connection to external server (not lobby -> external server) works without issues

#

So that's very strange

#
  Lobby:
    motd: '&1Just another Waterfall - Forced Host'
    address: localhost:25566
    restricted: false
  Survival:
    motd: '&1Just another Waterfall - Forced Host'
    address: 51.83.120.33:25565
    restricted: false```
#

Why it doesn't work when I want to firstly connect the player to Lobby?

twin solstice
#

doesn't even have a firewall setup

mental star
#

Yea, will be doing that later

#

Firstly want everything to work

reef fulcrum
#

What do you mean, "a direct connection"

mental star
#
  priorities:
  - Survival
  force_default_server: true```
#

If it is "Lobby", and Lobby rederects to Survival, then ping is high and nothing works

reef fulcrum
#

What's the logs show about the kick?

mental star
#

Timeout

#

Keep alive packets and similar, just Timeout

reef fulcrum
#

Timeout suggests that something somewhere didn't send traffic in a while

mental star
#
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeUTF("Connect");
        out.writeUTF(server);

        p.sendPluginMessage(Main.getInstance(), "BungeeCord", out.toByteArray());
    }``` I'm sending players with this method, if it has some meaning
#

Even if I try sending players from lobby to server with /send, it still timeouts

reef fulcrum
#

shouldn't have any impact unless you're sending them at some weird timing and breaking the proxy somehow

mental star
#

Tried changing priority to Lobby and made greload

#

Everything works

#

So that's even more strange

twin solstice
#

using greload

mental star
#

I know that greload is not recomended

#

But Why does it work now?

reef fulcrum
#

greload just pulls in the config

#

Literally does nothing else beyond firing an event for plugins to listen to

tidal musk
#

nothing wrong with using greload

mental star
#

Okay

#

But the problem still remains, what could cause this issue and why after greload it's not there?

reef fulcrum
#

Do you have plugins on the proxy?

mental star
#

2, SkinsRestorer and Motd changer

reef fulcrum
#

Best advice is try without them

#

greload literally does nothing that would impact connections

mental star
#

Okay

#

Then a question, how to make that WaterFall would not even check invalid packets

#

I get 7 layer ddos, 2000 lenght packets to the server

reef fulcrum
#

Literally impossible

#

It needs to read packets to process them, it can't just magically know that a packet is bad without looking at it

#

I made a change to paper last night that should help mitigate some issues

#

(But, it's on your end to deal with the bad connections in the first place, we just try to stop them killing the proxy)

mental star
#

Isn't there a way to check for packet lenght and cancel if it's above something?

reef fulcrum
#

Yes, but no

mental star
#

I know a method with iptables, but that doesn't work well

reef fulcrum
#

How the heck are we to know that that packet is invalid from it's length?

mental star
#

There is connection packets with 2000 lenght?

reef fulcrum
#

For certain phases, you can start making stupid assumptions, e.g. a packet in the handshake will never be so large; But, you've still gotta deal with that connection somehow

#

Tryna apply stupid assumptions across the board just creates a mess

#

Oh god, just wait till you see chunk packets

mental star
#

I have this problem for a long time, so yea, I know

#

But can't find an iptables rule that could save me from this

reef fulcrum
#

pheonix posted a fail2ban config earlier that would help

mental star
#

ServerConnector [Lobby] - encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during server login process! I see one error that I don't know

reef fulcrum
#

Your server sent a bad packet

mental star
#

Tried without plugins

#

Is there any change that this could be an issue with host anti-ddos service?

reef fulcrum
#

I mean, greload would have no impact on that, but, maybe ๐Ÿคทโ€โ™‚๏ธ

hard trench
#

Whats the best way to check whats causing CPU spikes for waterfall?

upbeat ember
#

putting spark in your plugins

marble kelpBOT
#

s/spark/warmroast

#

Correction, <DiscordBot> <11Cโ€‹alโ€‹laโ€‹haโ€‹n> putting warmroast in your plugins

#

runs

tidal musk
#

ur warm roast

spiral crater
#

spark is objectively better weeeee

hard trench
#

Didnt know i could use spark for bungee, thanks :)

fossil gull
#

Do the servers within "config.yml" have to be on the LAN/Local Host as im unable to point to a server on a different subnet

reef fulcrum
#

No

#

The proxy just needs to be able to connect to those servers

fossil gull
#

Ah okay. I have pointed bungee to the server with "externalip:25566" and im unable to connect through the proxy. If i point bungee to "internalip:25566" then it works and if I connect directly to the server on "externalip:25566" I can reach it (but I do get kicked as expected for not going through the proxy)

#

any ideas on where I could have messed up?

reef fulcrum
#

Is that all a single machine?

fossil gull
#

i plan to put the proxy in aws and then point to another IP

#

preferably without having a vpn tunnel between them

#

but atm they are both on the same server for testing

reef fulcrum
#

That would be why, the routing of the network probably doesn't allow routing back to the server

fossil gull
#

I think your right, I appreciate your time @reef fulcrum. Thank you

copper vector
#

it doesn't happen if I join my server without waterfall

#

this is on the latest build, going into a 1.15.1 server
my 1.13.2 servers work fine

reef fulcrum
#

Something sent a bad packet

copper vector
#

Any idea what I could do and why it only happens with waterfall?

reef fulcrum
#

Are you using mods? o.O

copper vector
#

no, just running a paper server

reef fulcrum
#

best guess is try without plugins on the server

#

make sure that you're using the latest build

copper vector
#

hmm, could it be that I need to update waterfall plugins?

reef fulcrum
#

The client itself often just ignores such things

copper vector
#

yeah I'm definitely on latest build, i'll try running without plugins, but it just seems weird that the problem would only happen through waterfall, but I guess I don't really know much about it haha

reef fulcrum
#

the proxy gets upset when a packet isn't fully read

#

The client just ignores that

copper vector
#

ah, alright, that makes sense

#

just tried without any plugins and the problem persists

abstract moth
#

Error is last seven lines

#

Iโ€™m not sure what I did

unborn quarry
#

Issue with our server we need help with this

unreal stag
#

Please double-check your config.yml, there is a server that's in your priority list that is missing

abstract moth
#

Thank you

mild stone
#

So I might be a bit of an idiot but I cannot for the life of me figure out how to get waterfall to accept 1.15.1.

chilly plover
#

I have honestly been at this for like 3 hours now. I'm trying to setup a waterfall server with vanilla+modded servers. The lobby is setup correct and I can connect to it. Now when I go to change servers to the modded server (Of which I can directly connect just fine) it connects then disconnects me. I have bungeecord enabled in sponge, and I have forge support true on waterfall. Any insight?

chilly plover
#

waterfall 311, paper 33, and spongeforge 2847

deft fractal
#

I can tell it's not setup right unless you're on a localhost. Your players should not have the 127.0 IP

green rune
#

i really dont even know how to address this

#

All I was trying to do was reset my map on survival server and update the server to paper#30

#

after wiping the map and adding the new jar file this happens when typing /server

full cypress
#

Your bungee is interpreting MapData packets?

#

What kind of plugins are you running on your proxy?

green rune
#

none

#

thats the weird part

#

completely empty

#

welp

#

i deleted my waterfall-311 and reuploaded it

#

and now everything works

#

odd

little garden
#

weird question. Is it possible to create a Forge mod will allows ip-forwarding to work on say 1.15. If so is there any information about what ip-forwarding does?

marble kelpBOT
#

sure

#

(or use sponge to begin with, afaik they support that out of the box)

little garden
#

Unfortunately sponge is 1.15 compliant as of yet

winged wedge
#

I just upgraded to the latest waterfall and paper, when i try to join my server now i get this error

#

Im not sure what to do about this

reef fulcrum
#

Something sent a bad packet

winged wedge
#

Would that be something wrong with my client or the server?

reef fulcrum
#

server

upbeat ember
#

do you use viaversion or protocolsupport or protocollib

winged wedge
#

I use all 3

reef fulcrum
#

Basically, update your plugins and stuff

#

Your server tried to kick the player in an incorrect phase due to some exception

winged wedge
#

ok thanks

tidal musk
#

how can i make a waterfall proxy

#

i have a google cloud server and my actual server on normal paper

#

i want to hide ip of normal server

#

i was told i have to use waterfall and make a vps server

little garden
#

What

#

Waterfall is a proxy

#

it connects servers together

strange brook
#

rofl

tidal musk
#

yes and no

signal prism
#

Anyone know how to fix this type of attack? briefly I receive to my Waterfal some connection that overloaded the port 25565 sending it offline... consoles and other servers are not affected.

#

as far as I understand this attack forces the Bungeecord to perform many catch until it goes offline

tidal musk
#

fail2ban

elder smelt
#

@signal prism Use flamecord

tidal musk
#

.g flamecord

marble kelpBOT
tidal musk
#

oh well

#

inb4 banned for indirect adverizing

signal prism
#

@elder smelt is free?

elder smelt
#

Yes

signal prism
#

where can i download it?

elder smelt
#

You downloaded?

#

I will delete link I dont want to be get banned ๐Ÿ˜„

signal prism
#

ehm no, eh send me a private message

#

:D

marble kelpBOT
#

irc never forgets

#

also forks are completely fine as long as they follow the license ;)

reef fulcrum
#

"fix the attack by hiding it" gg

#

setup fail2ban or something and blackhole the traffic

marble kelpBOT
foggy mist
#

Hi, I'm hosting a test network environment on my second computer. When I connect, disconnect, then want to rejoin, I get this error here, being kicked 'error authenticating to minecraft.net' or something like that. I don't get this with BungeeCord.
https://hastebin.com/xinosodedu.bash

#

I've tried searching for this issue online but have found nothing unfortunately :(

reef fulcrum
#

disable the async dns feature in waterfall.yml

foggy mist
#

thanks, i'll try that

#

also fiddled with dns settings if that'll fix anything to

reef fulcrum
#

your OSes DNS settings are irrelevant with the async stuff

foggy mist
#

ah i was suggested to do it on github
thanks for the help mate :)

#

confirmed working. cheers.

tidal musk
#

uh

#

why does that breakage even happen

#

what does netty dns thingy do differently then?

foggy mist
#

i'm confused too. I haven't seen this issue on google.

proven crypt
#

Having a weird bug where the "Encrypting" stage of joining the server when a waterfall proxy is in front of it can take anywhere from 3-10 seconds. Any ideas?

unreal stag
#

which OS are you running the proxy on?

#

@proven crypt ^

proven crypt
#

Proxmox host w/ CentOS 7 LXC container running the proxy @unreal stag

unreal stag
#

ew, centos

#

but that's not your problem ๐Ÿ˜‰

proven crypt
#

CentOS is great for Minecraft with it's LTS ๐Ÿ˜›

unreal stag
#

Well, Proxmox is built on Debian, which also has LTS releases.

proven crypt
#

Yes indeed it is, but I didn't mean LTS releases, I just meant long term support.

unreal stag
#

But that's not your issue, just a matter of personal opinion/taste

proven crypt
#

It's also very light weight in it's default form which is pretty beneficial for both ease of maintenance and setup. ๐Ÿ˜›

#

I don't use it for many things, but for Minecraft it's great (imo)

unreal stag
#

The encrypting stage of login is roughly correlated to when it contacts the Mojang login servers

#

Edit waterfall.yml and disable async DNS

proven crypt
#

Okay.

unreal stag
#

Then restart Waterfall

proven crypt
#

use_netty_dns_resolver: true to false, yes?

unreal stag
#

yes

proven crypt
#

Fixed, damn son.

#

Gonna try out some different DNS servers on the backend

unreal stag
#

Cloudflare's public DNS resolver is very nice but could have some issues with some network setups due to the IPs it uses (1.0.0.1 and 1.1.1.1)

reef fulcrum
#

My brains been so burned out recently, just been working on the odd bits and bats here and there, but got some stuff on the backburner that I'll never remeber

#

I have been debating on removing that async resolved, tbh

sand steppe
#

what's the benefit of doing the resolve async

reef fulcrum
#

Was it ever benchmarked or anything to show any actual gains? if so, could probs replicate that, no idea if we're even taking advantage of the async stuff, tbh

#

try and remind myself

sand steppe
#

tbh setup a bot :>

reef fulcrum
#

sEtuP a BoT

sand steppe
#

oh right u'd need to remind urself to do that

#

make a bot for that

reef fulcrum
#

.remind -d -w 126975485493248000 1m self hi

marble kelpBOT
#

.remind -d -w 126975485493248000 1m self hi

#

I doubt I can do this

#

.$mgmt chan config #waterfall -c true

sand steppe
#

what channel is this bridged to

reef fulcrum
#

#waterfall

haughty nimbus
#

why is cat hacking

sand steppe
#

is someone sitting on -help

marble kelpBOT
#

I wanted to enable commands for Korobi

#

No, just -help is not needed, we don't have a waterfall general channel

haughty nimbus
#

I see