נתחבר לשרת בגישת sshנכתוב
wget http://www.psychoid.net/psyBNC2.3.1.tar.gz
בשביל להוריד את קובץ ההתקנה..
נקבל את זה:
אחרי זה נכתוב
tar zxf psyBNC2.3.1.tar.gz
בשביל לפתוח את תוכן הקובץ לתיקיה
נקבל:
$ tar zxf psyBNC2.3.1.tar.gz $
|
עכשיו נכתוב
cd psybnc
לצורך כניסה לתיקיה
נקבל:
נכתוב
make
לצורך קמפול ה psyBNC
נקבל:
$ make Initializing bouncer compilation Running Conversion Tool for older psyBNC Data. tools/convconf.c: In function `cofile': tools/convconf.c:81: warning: deprecated use of label at end of compound statement Running Autoconfig. System: Linux Socket Libs: Internal. Environment: Internal. Time-Headers: in time.h and sys/time.h Byte order: Big Endian. IPv6-Support: Yes, general support. But no interface configured. async-DNS-Support: Yes. SSL-Support: Yes. Creating Makefile Random Seed created. Compiling MakeSalt for Encryption.. Creating Salt File Salt File created. Move the Salt File to a safe location after psyBNC was compiled and delete it on your shell. You will need the File later for update Compiling. Compiling Bouncer.. make: Entering directory `/home/yairnet/psybnc' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/psybnc.c -o src/psybnc.o In file included from src/psybnc.c:39: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/match.c -o src/match.o gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_client.c -o src/p_client.o In file included from src/p_client.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_crypt.c -o src/p_crypt.o In file included from src/p_crypt.c:50: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_dcc.c -o src/p_dcc.o In file included from src/p_dcc.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_hash.c -o src/p_hash.o In file included from src/p_hash.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_idea.c -o src/p_idea.o gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_inifunc.c -o src/p_inifunc.o In file included from src/p_inifunc.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_link.c -o src/p_link.o In file included from src/p_link.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' src/p_link.c: In function `processlink': src/p_link.c:558: warning: deprecated use of label at end of compound statement gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_log.c -o src/p_log.o src/p_log.c:57: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_memory.c -o src/p_memory.o In file included from src/p_memory.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_network.c -o src/p_network.o In file included from src/p_network.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_parse.c -o src/p_parse.o In file included from src/p_parse.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_peer.c -o src/p_peer.o In file included from src/p_peer.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_server.c -o src/p_server.o In file included from src/p_server.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_socket.c -o src/p_socket.o In file included from src/p_socket.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_string.c -o src/p_string.o In file included from src/p_string.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_sysmsg.c -o src/p_sysmsg.o In file included from src/p_sysmsg.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_userfile.c -o src/p_userfile.o In file included from src/p_userfile.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_uchannel.c -o src/p_uchannel.o In file included from src/p_uchannel.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_script.c -o src/p_script.o In file included from src/p_script.c:29: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_topology.c -o src/p_topology.o In file included from src/p_topology.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_intnet.c -o src/p_intnet.o In file included from src/p_intnet.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_blowfish.c -o src/p_blowfish.o gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_translate.c -o src/p_translate.o In file included from src/p_translate.c:28: src/p_global.h:953: warning: conflicting types for built-in function `log' gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/p_coredns.c -o src/p_coredns.o gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL src/snprintf.c -o src/snprintf.o gcc -o psybnc -O src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o -lm -L/usr/local/ssl/lib -lssl -lcrypto -lresolv *** GENERATING SSL-KEYS FROM CERTIFICATE ** * You will be prompted for Cert-Contents * * This Infos will be used only for SSL * * Alter the informations to your values * * for the sake of correct Cert-Checking * *** Generating certificate request .. Generating a 2048 bit RSA private key .........................................................................+++ ....+++ writing new private key to 'key/psybnc.key.pem' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. -----
|
בזמן הקמפול יהיה כתוב
Country Name : State/Province : Locality Name (eg, city) : Organization Name (eg, company) : Organizational Unit Name (eg, section) : Common Name (Full domain of your server) :
|
תלחצו כל הזמן אנטר...
ואז נחזור לשורת הפקודה
נכתוב
pico psybnc.conf
לצורך עריכת קובץ הקונף
PSYBNC.SYSTEM.PORT1=31337 PSYBNC.SYSTEM.HOST1=* PSYBNC.HOSTALLOWS.ENTRY0=*;*
|
זה התוכן של הקובץ
נחליף את 31337 לפורט שאתם רוצים..
אחרי זה נשמור תקובץ
ונחזור לשורת הפקודה
נכתוב שם
./psybnc
$ ./psybnc .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-. ,----.,----.,-. ,-.,---.,--. ,-.,----. | O || ,-' \ \/ / | o || \| || ,--' | _/ _\ \ \ / | o< | |\ || |__ |_| |__/ |__| |_||_| \_| \_| Version 2.3.1 (c) 1999-2002 the most psychoid and the cool lam3rz Group IRCnet`-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-' Configuration File: psybnc.conf Language File: psyBNC Language File - English No logfile specified, logging to log/psybnc.log Listening on: 0.0.0.0 port 313337 psyBNC2.3.1-cBtITLdDMSNpE started (PID 19005) $
|