GithubHelp home page GithubHelp logo

superhacker-liuan / rsinetd Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 63 KB

A port proxy, replacement of rinetd. Because async-std use epoll rather than select, RsInetd may handle higher throughput than rinetd.

License: GNU General Public License v3.0

Rust 100.00%

rsinetd's Introduction

RsInetd

Crates.io Build Status GitHub license

A port proxy, replacement of rinetd. Because async-std use epoll rather than select, RsInetd may handle higher throughput than rinetd.

Install

cargo install rsinetd

How to use

Usage of RsInetd is similiar to rinetd. We'll try to open the default configuration file in the following order.

Default conf's open order on unix

  1. /etc/rsinetd.conf
  2. ./rsinetd.conf
  3. /etc/rinetd.conf
  4. ./rinetd.conf

Default conf's open order on non-unix

  1. ./rsinetd.conf
  2. ./rinetd.conf

command line options

$ rsinetd -h

rsinetd 0.2.0

A port proxy, replacement of rinetd. Because async-std use epoll rather than select, RsInetd may handle higher
throughput than rinetd.

USAGE:
    rsinetd [FLAGS] [OPTIONS]

FLAGS:
    -f, --foreground    do not run in the background
    -h, --help          Prints help information
    -V, --version       Prints version information

OPTIONS:
    -c, --conf-file <FILE>    read configuration from FILE

Example of /etc/rsinetd.conf

::          80      crates.io   80
0.0.0.0     443     crates.io   443

With this configuration file, rsinetd will listen on [::]:80 and forward the port access to crates.io:80, at the same time listenon 0.0.0.0:443 and forward the port access to crates.io:443

rsinetd's People

Contributors

superhacker-liuan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

catding

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.