Git Product home page Git Product logo

lure's Introduction

Lure

The true next-gen L7 minecraft proxy and load balancer. Built in Rust, Tokio and Valence.

Why?

Rust is a powerful programming language and a great development environment with a large and growing ecosystem. The efficiency of the applications built in it is such that several companies are moving their products to this technology.

Proxies built in Java store too much player data in memory. They have unneeded functions and complex API systems that in the end make a simple proxy whose job is to carry packets from one point to another become an entire server.

Lure came along to fix that.

๐Ÿ“ To Do

  • Configuration system.
  • MoTD.
  • Favicon.
  • Proxy client to a server.
  • Multiple servers.
  • Multiple hosts.
  • Compression.
  • Online mode.
  • Player limit.
  • IP Forwarding.
  • Switch between servers.
  • Plugin channels.
  • Internal Commands.
  • Addon API.

โš™๏ธ Development

  1. Clone this repository.
  2. Install Rust and Cargo.

๐Ÿงช Debug mode

  1. Run cargo run in your terminal.

๐Ÿ“ฆ Build

  1. Run cargo build --release in your terminal.

๐Ÿค Contributing

Contributions, issues and feature requests are welcome! Feel free to check issues page.

โค๏ธ Show your support

Give a โญ๏ธ if this project helped you!

Or buy me a coffee-latte ๐Ÿ™Œ๐Ÿพ

Ko-fi | Patreon

๐Ÿ“ License

Copyright ยฉ 2023 Sammwy. This project is MIT licensed.

lure's People

Contributors

mradhit avatar rurigk avatar sammwyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lure's Issues

Multiple Ports

Hi,

Is it possible to check multiple ports on one servers and show offline MOTD?

1.20.2 compat

Vanilla client with only sodium installed (due to display limitations) connecting to a paper server without any plugins installed:
Connection to memez:35268 ended with: failed to decode field `profile_id` in `LoginStart`: decoded boolean is not 0 or 1

Packet decoding error on join

Hey, I tried this proxy with a 1.20.1 Paper server and I got this error when I connected:
Connection to 127.0.0.1:39048 ended with: failed to decode field `on_ground` in `UpdateEntityPositionAndRotation`: decoded boolean is not 0 or 1

I use the default config. For the first error message (in 1.20.1), I can see the connection in the paper logs:

lobby-mc-1  | [16:26:38 INFO]: pepperoni21 joined the game
lobby-mc-1  | [16:26:38 INFO]: pepperoni21[/...] logged in with entity id 64 at ([world]-53.5, 75.0, 166.5)
lobby-mc-1  | [16:26:38 INFO]: pepperoni21 lost connection: Disconnected
lobby-mc-1  | [16:26:38 INFO]: pepperoni21 left the game

I set online-mode to false in server.properties and tried enabling bungeecord in spigot.yml but same issue.

It does not work on Linux

I'm on an Ubuntu Server 23.10, and it does not work here. I compiled the rust code directly on my Linux server, and it also starts fine and everything, but it does not ping when I try to ping it in the server list in game the port is correct and when I try to join it does not say unknown host it says "Connection refused". There are also no logs in the console.
image

1.19 compatibility?

Trying to use Lure to proxy to my modded 1.19 server and connecting causes a crash.

Connection to 127.0.0.1:52695 ended with: packet contents were not read completely (802 bytes remain)

rustcord and Ultraviolet have a similar problem which suggests 1.19 may have updated the protocol?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.