dragonresearch / rpki.net

Dragon Research Labs rpki.net RPKI toolkit
54 stars 30 forks source link

cach0.sea.rg.net rpki-server is sick, Received PDU version 91, expected 0 #613

Closed sraustein closed 11 years ago

sraustein commented 11 years ago

ca0.vmini.rpki.net:/root# rtr-origin --client tcp 147.28.0.84 43779 2013-08-19 00:16:14 rtr-origin/client[5862]: [Startup] 2013-08-19 00:16:14 rtr-origin/client[5862]: [Starting raw TCP connection to 147.28.0.84:43779] 2013-08-19 00:16:14 rtr-origin/client[5862]: [Trying addr 147.28.0.84 port 43779] 2013-08-19 00:16:14 rtr-origin/client[5862]: [reset_query] 2013-08-19 00:16:15 rtr-origin/client[5862]: [Exception: UnsupportedProtocolVersion: Received PDU version 91, expected 0] 2013-08-19 00:16:15 rtr-origin/client[5862]: [Exiting after unhandled exception]

work0.psg.com:/etc# rtr-origin --client tcp 147.28.0.84 43779 2013-08-19 00:22:03 rtr-origin/client[33632]: [Startup] 2013-08-19 00:22:03 rtr-origin/client[33632]: [Starting raw TCP connection to 147.28.0.84:43779] 2013-08-19 00:22:03 rtr-origin/client[33632]: [Trying addr 147.28.0.84 port 43779] 2013-08-19 00:22:03 rtr-origin/client[33632]: [reset_query] 2013-08-19 00:22:03 rtr-origin/client[33632]: [Exception: UnsupportedProtocolVersion: Received PDU version 91, expected 0] 2013-08-19 00:22:03 rtr-origin/client[33632]: [Exiting after unhandled exception]

198.180.150.1/42420 works fine from every place, including all vmini

_Trac ticket #600 component rtrorigin priority major, owner sra, created by randy on 2013-08-19T01:05:51Z, last modified 2013-08-19T01:34:59Z

sraustein commented 11 years ago

You REALLY need to remember to SIGHUP inetd after editing inetd.conf.

If you run tcpdump on a test session with cache0.sea.rpki.net and examine the TCP data (tcpdump -X or tcptrace -e), you'll find that cache0.sea.rpki.net response to connection attempts to the rpki-rtr port with:

{{{ [Errno 2] No such file or directory: '/var/rpki-rtr' }}}

Since that string doesn't exist in the current inetd.conf but did exist in a previous version (see #597), we deduce that you once again hacked inetd.conf (and, in this case, deleted the old /var/rpki-rtr directory) without sending a SIGHUP to inetd to tell it o read the updated configuration.

Trac comment by sra on 2013-08-19T01:29:55Z

sraustein commented 11 years ago

aiiii!

You REALLY need to remember to SIGHUP inetd after editing inetd.conf.

great idea :(

you once again hacked inetd.conf (and, in this case, deleted the old /var/rpki-rtr directory)

your request. i shoulda hupped. no excuse.

Trac comment by randy on 2013-08-19T01:32:06Z

sraustein commented 11 years ago

Closed with resolution bug-in-somebody-elses-code