Giter Club home page Giter Club logo

ft_irc's Introduction

ft_irc

IRC server implementation in cpp, a 42 school project

This project was a group project, our group was: https://github.com/qfeuilla + https://github.com/mle-moni

We finished this project in approx. 3 weeks

INSTALL:

linux:

tested with debian, ubuntu, change the apt-get calls to the pacman equivalent to get it to work for ARCH

git clone https://github.com/mle-moni/ft_irc
cd ft_irc
make install # install dependencies and an IRC client, you might want to change that in the Makefile
make # build the project

after this, you get an executable nammed "ircserv"

START SERVER:

Usage: ./ircserv [host:port:password] <port> <password>

  • to launch a simple IRC server waiting for non encrypted connections on port 6667, and 6668 for TLS connections:
./ircserv 6667 MySecret
  • replace "MySecret" by whatever you want, it will be usefull to promote an IRC client as an IRC operator

  • for testing purposes we put a self signed certificate with a password "toto". This password will be asked when you launch the server

You should use your own certificate if you want to use the server with real clients

HOW TO CONNECT A CLIENT TO THE SERVER:

  • open hexchat or any other IRC client, then configure it to connect to the server
  • in hexchat, hit CTRL+S, then click on "add", you can enter a name for this new server config, then click on "edit", change the address field on top "newserver/6667" by the actual address ("localhost/6667")
  • then you can close the config page, and click "connect" and VOILA!

ft_irc's People

Contributors

mle-moni avatar qfeuilla avatar

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.