Hi,

On Wed, 04 Sep 2013 00:11:25 +0300
 Nanakos Chrysostomos <nana...@wired-net.gr> wrote:
Hi,
after a quick installation and by using the credentials you provided I can't reproduce the problem. Everything seems to work fine. By issuing a simple curl:

curl http://localhost:8000/wsapi/2.0/verify?otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg

h=
t=2013-09-04T00:12:25.726Z
otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg
nonce=
sl=100
status=OK

and again

curl http://localhost:8000/wsapi/2.0/verify?otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg

h=
t=2013-09-04T00:15:47.432Z
otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg
nonce=
sl=100
status=REPLAYED_OTP


root@xfce:/home/mak/yubi/yubiserver-0.3# /etc/init.d/yubiserver start

Database file used: /etc/yubiserver/yubiserver.sqlite
Logfile used: /var/log/yubiserver.log
Server starting at port: 8000
root@xfce:/home/mak/yubi/yubiserver-0.3# curl http://localhost:8000/wsapi/2.0/verify?otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg
h=
t=2013-09-04T03:30:19.983Z
otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg
nonce=
sl=100
status=OK
root@xfce:/home/mak/yubi/yubiserver-0.3# ps ax|grep yubiserver
19353 pts/0    S+     0:00 grep yubiserver

root@xfce:/home/mak/yubi/yubiserver-0.3# grep yubiserver /var/log/syslog Sep 3 22:11:43 xfce yubiserver: *** glibc detected *** /usr/bin/yubiserver: free(): invalid next size (normal): 0x0959fa70 *** Sep 3 23:05:16 xfce kernel: [ 9063.289625] yubiserver[14729]: segfault at 8 ip 08049623 sp bf958f40 error 4 in yubiserver[8048000+6000] Sep 3 23:16:10 xfce kernel: [ 9717.362258] yubiserver[15156]: segfault at 8 ip 08049623 sp bffff3d0 error 4 in yubiserver[8048000+6000] Sep 4 03:30:20 xfce kernel: [24967.191015] yubiserver[19349]: segfault at 3630363d ip b74ee124 sp bf8c3658 error 4 in libc-2.13.so[b747c000+147000]
root@xfce:/home/mak/yubi/yubiserver-0.3#

i can make small virtual server for you to reproduce, if you want.



Regards,
Chris.


On 2013-09-03 21:27, maxim berlin wrote:
Package: yubiserver
Version: 0.2-2
Severity: important

Dear Maintainer,

on fresh debian install i'm getting this:
Sep  3 22:11:43 xfce yubiserver: *** glibc detected ***
/usr/bin/yubiserver: free(): invalid next size (normal): 0x0959fa70
***
or this, depending of server/desktop setup:
[56285.187282] yubiserver[17962]: segfault at 8 ip 08049623 sp
bff213c0 error 4 in yubiserver[8048000+6000]

yubiserver-admin -y -a m ccccccblfdht 16066960c218
4e36c0d5920113493285a87ea2c589ad
and then

http://localhost:8000/wsapi/2.0/verify?otp=ccccccblfdhtrhtrdkubrvrkftdkgdubbtnucevbitgg
server crushes.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yubiserver depends on:
ii  libc6         2.13-38
ii  libconfig9    1.4.8-5
ii  libev4        1:4.11-1
ii  libgcrypt11   1.5.0-5+deb7u1
ii  libmhash2     0.9.9.9-1.1
ii  libsqlite3-0  3.7.13-1+deb7u1

yubiserver recommends no packages.

yubiserver suggests no packages.

-- Configuration Files:
/etc/yubiserver/yubiserver.sqlite changed:
SQLite format 3 nickname varchar(16) unique not null,
 publicname varchar(16) unique not null,
 created varchar(24) not null,
 internalname varchar(12) not null,
 aeskey varchar(32) not null,
 active boolean default true,
 counter integer not null default 1,
 time integer not null default 1
)/C!!�_tableoathtokensoathtokensCREATE TABLE oathtokens(
 nickname varchar(16) unique not null,
 publicname varchar(12) unique not null,
 created varchar(24) not null,
 secret varchar(40) not null,
 active boolean default true,
 counter integer not null default 1
)3G! nickname varchar(16),
 secret varchar(28),
 id integer primary key
)

-- no debconf information


Best wishes,
 Maxim


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to