Git Product home page Git Product logo

gdut-drcom's Introduction

gdut-drcom

               __     __         __
      ___  ___/ /_ __/ /_    ___/ /__________  __ _
     / _ `/ _  / // / __/   / _  / __/ __/ _ \/  ' \
     \_, /\_,_/\_,_/\__/    \_,_/_/  \__/\___/_/_/_/
    /___/    A third-party drcom client for gdut.

这是一个适用于广东工业大学的第三方 drcom 客户端(drcom 5.2.1p),支持 Linux (包括OpenWrt等用于路由器的发行版)与Windows。

install

  • OpenWrt
    • 使用 opkg(推荐)
    opkg install gdut-drcom_xxx.ipk
    • 手动安装(仅在 opkg 安装失败时使用)
    tar xvf gdut-drcom_xxx.tar -C /tmp
    cd /tmp/gdut-drocm
    sh install.sh

compile

  • 使用 OpenWrt SDK(以rampis平台为例)
tar xvjf OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
cd OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64
git clone https://github.com/chenhaowen01/gdut-drcom.git
make package/gdut-drcom/compile
  • Linux
git clone https://github.com/chenhaowen01/gdut-drcom.git
cd gdut-drcom/src
# 可通过cryptlib变量指定加密库,留空表示不使用第三方库
# cryptlib=[openssl, polarssl, gcrypt]
#
make cryptlib=openssl
git clone https://github.com/chenhaowen01/gdut-drcom.git
cd gdut-drcom\src
# 可通过cryptlib变量指定加密库,留空表示不使用第三方库
# cryptlib=[openssl, polarssl, gcrypt]
# 如
mingw32-make CC=gcc

usage

gdut-drcom
    --remote-ip <ip addr>               The server ip.

    [--remote-port <port>]              The server port, default as 61440.
    [--keep-alive1-flag <flag>]         The keep alive 1 packet's flag.
                                            default as 00.
    [-c, --config-file <file>]          The path to config file.
    [-h, --help]                        Print this message.

reference

数据包结构参考了drcom-generic

心跳包校验和算法参考了drcom-generic issues #82

gdut-drcom's People

Contributors

chenhaowen01 avatar

Watchers

 avatar  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.