Hello,

I am running rpstir version 0.11. I realize that the test client is just a 
means of exercising functionality in the rpstir daemon/server however when I 
try to append or announce a prefix using the "serial_notify" I receive the 
following error:

root@sdn-emunet:~# rpstir-rpki-rtr-test-client write | 
rpstir-rpki-rtr-test-client client 172.16.254.192 1234

serial_notify 46494 1222175232 ipv4_prefix 1 24 24 192.168.2.0 103 end_of_data 
46494 1222175232

version 0 Error Report (Invalid Request), length = 47, encapsulated PDU length 
= 12, error text = [19] "unexpected PDU type"

rpstir-rtr-test-client[21440]: NOTICE: remote side closed connection

The "serial_query" works fine with the same parameters so I am assuming if it 
were the argument itself it should not pose an issue. I changed the parameters 
anyway everything from the IP, length and maxlength and the error does not 
change at all. I also looked at the code and instead of doing sizeof() for the 
pdu length it uses offsetof function which syntactically will yield the same 
length across different platform architectures. So I am stuck as to why it 
generates this error.

My objective for using this test client to add my own prefixes rather than 
generating a TAL to be indexed into the database/cache. If I am required to use 
a TAL for that then I need to know how to create a TAL manually without having 
to go to an RIR to do so. I am running inside a test environment and none of 
these servers are public facing or "real" BGP gateways. I am just testing my 
router which is a Juniper router running JUNOS version 12.2R9 or later that 
supports RPKI. The rpstir server connects fine with Juniper and updates cache, 
etc. I just need to generate my own prefixes without using a TAL unless there 
is way to create a TAL. I believe I can insert my own prefixes with the rpstir 
test client using the "serial_notify" to announce a new prefix that is valid.

Thanks in advance for any help.

V/r,
Freemon


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
rpstir-devel mailing list
rpstir-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpstir-devel

Reply via email to