sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Newbie needs help...


From: Martin Papik
Subject: Re: [Sks-devel] Newbie needs help...
Date: Mon, 05 May 2014 01:50:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


I'm somewhat new myself, but here goes.

To me it looks like one or more of your peers doesn't have you
configured. To find out which one you have a few choices.

1) look at the logs to see which peers you do receive keys from, the
ones you don't are probably broken

2) tcpdump

3) iptables rules for statistics of how many bytes are exchanged with
the IP addresses that are resolved, you have them in the snippet you sent.

Also make sure you do receive some keys for someone, recon.log, you
should see entries like this:


2014-05-03 07:00:57 Requesting 1 missing keys from <ADDR_INET
[162.17.206.197]:11372>, starting with 299E952D7F78266B1C33B4C618ABA111
2014-05-03 07:00:58 1 keys received

I've looked through my log, I have your server configured, but I don't
see anything coming from your side, which possibly means you're not
receiving any keys from anyone. I don't see any traffic from you, so
perhaps you have a more fundamental problem. Are there any firewall,
routing or NAT-ing restrictions?

For starters, check if this works:

telnet sks-server.randala.com 11370 -b 89.46.222.116

It should connect, and you should see a line with some binary and some
text, the text will contain words like bitquantum
yminsky.dedup,yminsky.merge http port mbar, so if you see that your
outgoing connections are okay.

I tried connecting to your server and it seems to close down. Do you
have multiple IPs on the server? Do you have a firewall?

PS my server is sks-server.randala.com

I hope this helped.

Martin

On 05/05/2014 12:10 AM, Martin A. wrote:
> Hi,
> 
> I hope someone could help me... I'm new to sks keyserver and have 
> several problems... As you could see at 
> http://sks.static.lu/pks/lookup?op=stats the "Statistics" are 
> broken... I don't know why :( At 7 AM - 2014-05-04 I was not 
> working on the server. If I do a cat /var/log/sks/recon.log I got 
> the following log:
> 
> 
> 2014-05-04 22:45:11 DB closed 2014-05-04 22:45:28 Opening log 
> 2014-05-04 22:45:28 sks_recon, SKS version 1.1.3 2014-05-04 
> 22:45:28 Copyright Yaron Minsky 2002-2003 2014-05-04 22:45:28 
> Licensed under GPL.  See COPYING file for details 2014-05-04 
> 22:45:28 Opening PTree database 2014-05-04 22:45:28 Setting up 
> PTree data structure 2014-05-04 22:45:28 PTree setup complete 
> 2014-05-04 22:46:29 address for sks-server.randala.com:11370 
> changed from [] to [<ADDR_INET [85.195.123.236]:11370>, <ADDR_INET
>  [2a01:7a0:2:153::252]:11370>] 2014-05-04 22:46:29 address for 
> keyserver.ut.mephi.ru:11370 changed from [] to [<ADDR_INET 
> [85.143.112.59]:11370>] 2014-05-04 22:46:29 address for 
> sks.disunitedstates.com:11370 changed from [] to [<ADDR_INET 
> [91.205.174.236]:11370>, <ADDR_INET 
> [2a02:c200:0:10::404:211]:11370>] 2014-05-04 22:46:29 address for 
> keyserver.serviz.fr:11370 changed from [] to [<ADDR_INET 
> [37.187.1.147]:11370>, <ADDR_INET [2001:41d0:a:193::1]:11370>] 
> 2014-05-04 22:46:29 address for pgp.freiwuppertal.de:11370 changed 
> from [] to [<ADDR_INET [109.239.48.152]:11370>, <ADDR_INET 
> [2a00:1158:3::1a2]:11370>] 2014-05-04 22:46:29 <recon as client> 
> error in callback.: Sys_error("Connection reset by peer") 
> 2014-05-04 22:47:29 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:48:31 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:49:29 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:50:27 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:51:26 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:52:25 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:53:26 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:54:26 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:55:26 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:56:27 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:57:30 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 22:58:29 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 22:59:30 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 23:00:30 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 23:01:29 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer") 2014-05-04 23:02:30 <recon
> as client> error in callback.: Sys_error("Connection reset by
> peer") 2014-05-04 23:03:29 <recon as client> error in callback.: 
> Sys_error("Connection reset by peer")
> 
> 
> Maybe someone would help this to get this server working... Also I 
> have added my sksconf file...
> 
> 
> # /etc/sks/sksconf # # The configuration file for your SKS server.
>  # You can find more options in sks(8) manpage.
> 
> # Set server hostname hostname: sks.static.lu
> 
> # Set recon binding address recon_address: 0.0.0.0
> 
> # Set recon port number recon_port: 11370
> 
> # Set hkp binding address hkp_address: 0.0.0.0
> 
> # Set hkp port number hkp_port: 11371
> 
> # Have the HKP interface listen on port 80, as well as the hkp_port
> #use_port_80:
> 
> # From address used in synchronization emails used to communicate 
> with PKS from_addr: address@hidden
> 
> # Command used for sending mail (you can use -f option to specify 
> the # envelope sender address, if your MTA trusts the sks user) 
> #sendmail_cmd: /usr/lib/sendmail -t -oi
> 
> # Runs database statistics calculation on boot (time and cpu 
> expensive) initial_stat: membership_reload_interval: 1 stat_hour: 
> 23
> 
> # bdb's db_tune program suggests a pagesize of 65536 for
> [K]DB/key. In practice # this caused page deadlocks. I found 8K
> (16) and 16K (32) to be better values pagesize:          16 # # The
> tuner recommended 4096 (8) for the pagesize for PTree/ptree. I have
> had # very good results with 8196 ptree_pagesize:    16
> 
> 
> Thank you for your help :)
> 
> kind regards Martin
> 
> _______________________________________________ Sks-devel mailing 
> list address@hidden 
> https://lists.nongnu.org/mailman/listinfo/sks-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTZsQ0AAoJELsEaSRwbVYrYqIP+wVKrS/JaTzHx/4v8WSIYib1
e/BtyXI0XO5gYlSXXZ9FEWphr67UmwLzWCxhMc3wLcftYujMef2splB62z14F7W3
J8luYKqQwl3+12L/1SnB1fiIxsBSXu4HuhRkakv/zwjsCjRW7sRzhOw7CjBPCBwW
70vBbWfGJMKpwxjhuZ5oOtlSxr+F59CgDk15Za/P2eltsKxSyhDRPTGe1ZSQ1f6M
J9i4bIRFNesvT6jdf73WSw3ICb5nNOGMLoiXZHWyF1rpBFKvxiyQ57Wk579n9sLi
x/Zk4Ruo8QMolyawW8fq5g5uufdLF6fVKszST8LGBAtHcUW3Gt14L0z/+s3oKA4R
kSADggrY4v6g4S4ebUK08/RW9ta+qPSVurbhv6gg89V4Mztgd71ZdaKDS9bPTwoH
u2a/QUFXOv12tdPg96sV9e7/bAdMLWlqMy0KvIQAcEUCoiTieTWiqxu5fXN3LYVP
EKjjj8/1yEQAuVje8QwtmHGQz3n2uT4jp6F9s/rnLb35RbZViu/QFeEg5sNsZZP3
rThaurInNs9+Pfths1VbMV0jc5ngWJ+ez70g3ArQEWffPsIVPPThw92oAl+4YWI+
D5/Zlh052mPcL/Wm2SNwCrGNRYgD3ukiVcvWDgGCcP+f2yqkZphI5+aC3tVBZtG5
JSHJpyy2fUcYeU3uXb6y
=EAMP
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]