Coder Social home page Coder Social logo

agcorreatech / tetrinetx-modern Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 814 KB

This project is an update of the classic tetrinetx - GNU TetriNET Server - to be supported by new linux distributions and C compiler versions. Also a lot of bug fixes will be implemented, read the CHANGELOG file. Suggestions are welcome!

Shell 0.14% C 99.86%
tetrinet tetrinetx tetris tetris-game tetrisgame tetris-clone tetris-engine server server-side

tetrinetx-modern's Introduction

TetriNET X Modern - New GNU Tetrinet Server

This project is an update of the classic tetrinetx - GNU TetriNET Server -
to be supported by new linux distributions and C compiler versions.

This project started with the tetrinetx version 1.13.16 without qirc,
because the objective is to advance with the tetrinet server implementetion,
without interest in IRC Server or spectator features.

View the CHANGELOG file to follow what was done.

This code was built using Ubuntu and it was developed using Visual Studio
Code running in Windows 10, integrated with WSL (Windows Subsystem for
Linux) to compile and run the code in the native environment.

Problems or suggestions about this project?
Open a New Issue in Github:
https://github.com/agcorreatech/tetrinetx-modern/issues

This job is in progress and it is beign done by
Alexandro Corrêa <[email protected]> from Brazil.

___________________________________________________________________________

How to compile the project

If you want to run the Tetrinet Server, you don't need to compile the code,
just use the binary file located in "bin" folder.

But if you want to compile your own code or make your own changes, follow
the steps described above to setup the environment to compile:

1. Install Microsoft Visual Studio Code and clone the project (git clone)
2. Open Power Shell and execute: wsl --install -d ubuntu
3. Install Visual Studio Code Remote Development Extension Pack:
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
4. Open a Terminal in Vscode or a Windows Command Pronpt and execute:
4.1 wls
4.2 sudo apt-get update
4.3 sudo apt-get upgrade
4.4 sudo apt-get install bash
4.5 sudo apt-get install gcc

Now the environment is prepared to compile the project. Execute the commands:

1. cd src
2. sed -i -e 's/\r$//' compile.linux
3. ./compile.linux

[Linux] Compiling TetriNET X Modern Server [../bin/tetrix-modern.linux]

Well Done!

tetrinetx-modern's People

Contributors

agcorreatech avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tetrinetx-modern's Issues

Can't determine your hostname!

I've just wanted run tetrinetx on my server to play with my friends but no metter what i've do I still getting "Can't determine your hostname!"

CVE-1999-1060 Buffer overflow in Tetrix TetriNet daemon 1.13.16 allows remote attackers to cause a denial of service

CVE-1999-1060:

Buffer overflow in Tetrix TetriNet daemon 1.13.16 allows remote attackers to cause a denial of service and possibly execute arbitrary commands by connecting to port 31457 from a host with a long DNS hostname.

Patch
https://marc.info/?l=bugtraq&m=91937090211855&w=2 is supposed to address but s[strlen(s)]='\0'; looks wrong. some (old) libraries may not null terminate on long values.

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.