pyth0n3 Posted September 26, 2011 Report Posted September 26, 2011 (edited) man(8) ccsc man page man(8)NAME ccsc - chess club secure chatSYNOPSIS ccscDESCRIPTION ccsc is a simple low level CLI pythonic chat server and client , in server mode accepts MAX clients simultaneously and waits for reply As client it works in a similar way.OPTIONS After starting the client session: /help Will display the help menu /quit Will shutdown /mass Write message to all /list List online users /nick [NICKNAME] Change the default nickname /to [NICKNAME] Write message to [NICKNAME] /block [NICKNAME] Ignore user /unblock [NICKNAME] Unblock userBUGS in client mode if Ctrl+C is pressed it will make server crash somehow and the connection will remain open. I think timeout is changed auto? matically to NoneAUTHOR Developer(cmin764@gmail/yahoo.com) Package management, documentation, beta testing (python3aka@gmail.com)1.0 25 September 2011 man(8)Tested on Debian && Fedora Linux Debian installer:ccsc-1.0-dev-linux-2.6-intel.debmd5sum 7a6500ed43cebc5bacd67815048b8205 ccsc-1.0-dev-linux-2.6-intel.debman pageAlternative download mediafireSource CodeDependencies pycrypto >= 2.1 The chess club project under contruction Thanks also must go to Flubber && Zatarra for beta testing. Edited September 27, 2011 by pyth0n3 1 Quote
Zatarra Posted September 26, 2011 Report Posted September 26, 2011 Nice work, +repUn download direct puteti gasi aici Quote
em Posted September 26, 2011 Report Posted September 26, 2011 Ai mai testat cineva pe ubuntu? Va merge? Mie nu. Quote
cmiN Posted September 27, 2011 Report Posted September 27, 2011 Pe win puteti lua direct pachetul de aici, pe linux apt-get install python-crypto si nici asa nu garantez ca merge.Daca vreti sa instalati pachetul manual din setup va da o eroare in gcc, e un bug specific python. Ideea este sa folositi python2.7.2 si pycrypto2.3 nimic altceva in plus sau diferit.Enjoy. Quote
Zatarra Posted September 27, 2011 Report Posted September 27, 2011 La asta se refera cMIN:warning: GMP library not found; Not building Crypto.PublicKey._fastmath.building 'Crypto.Hash.MD2' extensiongcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-i686-2.7/src/MD2.osrc/MD2.c:31:20: fatal error: Python.h: No such file or directorycompilation terminated.error: command 'gcc' failed with exit status 1 Quote
Flubber Posted September 27, 2011 Report Posted September 27, 2011 Pentru cei ce folosesc sisteme *NIX RPM-based:yum install pycryptoDaca nu vi-l gaseste, verificati-va repo-urile din /etc/yum.repos.d/.Eventual puteti incerca sa cautati pachetul PyCrypto:[^]yum search python | grep cryptoRepo-urile mele:~ yum repolistrepo id repo name statusfedora Fedora 14 - i386 17,883-- cut --rpmfusion-free RPM Fusion for Fedora 14 - Free 364rpmfusion-free-updates RPM Fusion for Fedora 14 - Free - Updates 788rpmfusion-nonfree RPM Fusion for Fedora 14 - Nonfree 176rpmfusion-nonfree-updates RPM Fusion for Fedora 14 - Nonfree - Updates 418updates Fedora 14 - i386 - Updates 7,750repolist: 27,736[^] executata pe Fedora Core 14 (Linux 2.6.35.14-96.fc14.i686 | i686 i686 i386 GNU/Linux):~ yum search python | grep cryptopython-crypto.i686 : Cryptography library for Pythonm2crypto.i686 : Support for using OpenSSL in python scriptspycryptopp.i686 : Python wrappers for the Crypto++ libraryHave fun si haideti sa imbunatatim codul (fix bug(s) etc.) si sa continuam munca (enorma) depusa de cmiN pentru noi. Quote
pyth0n3 Posted September 27, 2011 Author Report Posted September 27, 2011 Problema este urmatoarea :Executabilul are nevoie de pycrypto >= 2.1 iar unele sisteme suporta pycrypto pana la versiunea 2.0 Deci chiar daca pycrypto vine instalat nu va functiona daca nu este egal sau mai mare decat 2.1 .Aici am creat un installer universal care ar trebui sa functioneze in majoritatea distributiilorccsc-v1.0-dev-universal-installer.tarmd5sum f7101c3de741f1271258dcf5bc755e65 ccsc-v1.0-dev-universal-installer.tartar -xvf ccsc-v1.0-dev-universal-installer.tarcd ccsc && sudo python setup.py installCe face?In primul rand cauta ultima versiune de pycrypto si incearca sa o compileze in sistem dupa care creaza un executabil care poate fi chemat cu ccscUnde este problema?Installerul descarca ultima versiune de pycrypto dar in cazul in care nu reuseste sa o compileze renunta si trimite in stdout errorile .Ultima versiune de Pycrypto are nevoie de anumite dependente si nu toate sistemele sunt in grad sa o suporte .Asadar no pytcrypto >= 2.1 no chat Quote