UniBG Forums: ratbox-respond - UniBG Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ratbox-respond Я да видим кой има желание да помогне.

#1 User is offline   raggradarh Icon

  • К'во е т'ва форум
  • Pip
  • Group: Нашенци
  • Posts: 3
  • Joined: 28-December 11

Posted 28 December 2011 - 12:32 AM

Имам следния проблем.
Инсталирана е версия 3.0.7 на ircd-ratbox / конфигурирана и без errors при стартиране/
От тук нататък следва проблемът:
При опит за инсталиране на ratbox-respond-1.0 изписва следното в терминала:

User@Ubuntu:~/ratbox-respond-1.0/ratbox-respond$ ./configure --enable-openssl
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for mv... /bin/mv
checking for touch... /usr/bin/touch
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for OpenSSL... /usr/local/ssl
checking for OpenSSL 0.9.6 or above... found
checking for RSA_free in -lcrypto... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup.h
User@Ubuntu:~/ratbox-respond-1.0/ratbox-respond$ make
gcc -g -O2 -I /usr/include -I/usr/local/ssl/include -o ratbox-respond ratbox-respond.c  -L /usr/lib -L/usr/local/ssl/lib -lcrypto
ratbox-respond.c: In function ‘read_challenge’:
ratbox-respond.c:200:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
ratbox-respond.c:204:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x1d): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x33): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3d): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x3b1): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x490): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x511): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x5f0): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x667): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x6de): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x715): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x7b1): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0x819): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x87a): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [build] Error 1


Идея нямам какво точно иска...
Използвам Ubuntu 11.10 desktop edition
Ако някой знае, може и иска да помогне, моля нека го стори.
0

#2 User is offline   raggradarh Icon

  • К'во е т'ва форум
  • Pip
  • Group: Нашенци
  • Posts: 3
  • Joined: 28-December 11

Posted 29 December 2011 - 12:23 AM

Добре, част от проблема е решен.
Явно ръчното инсталиране на OpenSSL не е удачно. След инсталация на libssl-dev почти всичко си дойде на мястото. Все още обаче изписва следното:

User@Ubuntu:~/ratbox-respond-1.0/ratbox-respond$ make
gcc -g -O2 -I /usr/include  -o ratbox-respond ratbox-respond.c  -L /usr/lib -lcrypto
ratbox-respond.c: In function ‘read_challenge’:
ratbox-respond.c:200:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
ratbox-respond.c:204:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]


Така ли никой не иска да помогне? 7 пъти прегледана темата, а нито един пост... Така ли един администратор не следи форума та да види болката ми. :)
0

#3 User is offline   Narf Icon

  • The Evil One
  • PipPipPipPipPipPipPipPipPipPip
  • Group: The Boondock Saints
  • Posts: 5265
  • Joined: 22-August 05
  • Gender:Male
  • Location:#x-spot
  • Interests:IRC, Networking, Coding

Posted 03 January 2012 - 12:32 PM

Последното са само warning-и, а не грешки - компилацията ти е минала съвсем нормално и трябва да имаш 'ratbox-respond' binary.
Limp Bizkit rulez
0

#4 User is offline   raggradarh Icon

  • К'во е т'ва форум
  • Pip
  • Group: Нашенци
  • Posts: 3
  • Joined: 28-December 11

Posted 03 January 2012 - 09:24 PM

View PostNarf, on 03 January 2012 - 12:32 PM, said:

Последното са само warning-и, а не грешки - компилацията ти е минала съвсем нормално и трябва да имаш 'ratbox-respond' binary.

Първо (извън темата) - За много години! Живи, здрави, весели, щастливи!

И второ (по същество):
Вярно. само уорнинги били, създава публик и прайвът кей, но... не ми изпълнява /challenge-а.
При опит за идент пише, че няма описани линии... Не съм чак такъв 'нууб', че да не мога да конфигурирам ircd... Но този "ratbox-respond" ми взе акъла, честно!
Та ако може още малко напътствия?

Добавям опер-блока и пояснявам:

operator "Test" {
	
	user = "*test@*";
	password = "test";

	rsa_public_key_file = "/home/User/IRCD/etc/public.key";

	#umodes = locops, servnotice, operwall, wallop;

	flags = global_kill, remote, kline, unkline, gline,
	        die, rehash, admin, xline, resv, operwall, nick_changes, oper_spy, remoteban;
};


Генерирани са публик и прайвът кей. Всичко точно до момента на "/challenge Test keyphrase"
Щом го напиша веднага мрънка "Only few mere mortals bla bla bla"

This post has been edited by raggradarh: 03 January 2012 - 11:04 PM

0

#5 User is offline   Narf Icon

  • The Evil One
  • PipPipPipPipPipPipPipPipPipPip
  • Group: The Boondock Saints
  • Posts: 5265
  • Joined: 22-August 05
  • Gender:Male
  • Location:#x-spot
  • Interests:IRC, Networking, Coding

Posted 08 January 2012 - 03:17 AM

Ами, честно казано не съм използвал ratbox-respond за да мога да споделя евентуални трудности, които да съм срещнал. Но, на теория възможните проблеми са два:

- Въпреки, че си конфигурирал пътя до public key–а, ircd-то може и да не успява да го прочете поради някаква причина (permissions да речем).
- IRC клиента ти не е конфигуриран правилно за използването на ratbox-respond.

Щом въобще имаш желание да използваш това, вероятно не си и "noob", който не знае как въобще работи oper challenge механизма, но все пак ...

Quote

03:12:18 [UniBG] -!- challenge CHALLENGE <nick|+response>
03:12:18 [UniBG] -!- challenge
03:12:18 [UniBG] -!- challenge CHALLENGE is used in the RSA controlled
03:12:18 [UniBG] -!- challenge oper {} system. CHALLENGE requires you to
03:12:18 [UniBG] -!- challenge issue the command using the nickname in the
03:12:18 [UniBG] -!- challenge operator block, while matching the username
03:12:18 [UniBG] -!- challenge and hostname specified. The server will
03:12:18 [UniBG] -!- challenge send you an RSA challenge. You must send
03:12:18 [UniBG] -!- challenge a valid RSA response back to the server,
03:12:18 [UniBG] -!- challenge proceeded with a '+' symbol.
03:12:18 [UniBG] -!- challenge End of /HELP.


Пробвай да премахнеш всички скриптове свързани с ratbox-respond, които си заредил и с ник 'Test' напиши /quote challenge Test.
Ако сървъра не ти върне някаква грешка - поне ще си сигурен, че проблема не е в ircd-то. :)
Limp Bizkit rulez
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users