FWIW, it'd be useful to pick a dynamic port for now (50000 is fine). Picking a port already assigned to another service (or even currently unassigned) is a bad idea.

If rpki-rtr needs an assigned port, it'd be useful to have the ADs request early assignment through IANA -- though the current rpki-rtr ID doesn't even discuss the need for such a port.

Joe

On 6/22/2011 3:45 PM, Hannes Gredler wrote:
in lieu of a well-known port for rpki-rtr (and lack of dynamic dissectors in 
tcpdump :-/)
i have hardcoded the protocol to tcp port 2222; - make your session to emit PDUs
at tcp port 2222 (or change the portnumber to 50000) and you should see nice 
printouts.

On Wed, Jun 22, 2011 at 03:22:57PM -0400, Spies, Sebastian Martin wrote:
| Nice tool.
| I tested your dissector and could see most of the PDUs. However, some PDUs 
were not visible:
|
| Serial Notify:
| 15:02:42.403365 IP (tos 0x0, ttl 64, id 13606, offset 0, flags [none], proto 
TCP (6), length 52)
|     cache-server.50000>  cache-client.45076: Flags [P.], cksum 0x5097 
(correct), seq 21:33, ack 9, win 65535, length 12
|       0x0000:  4500 0034 3526 0000 4006 2b08 **** ****  E..45&..@.+...**
|       0x0010:  **** **** c350 b014 1049 ec16 e114 d886  **...P...I......
|       0x0020:  5018 ffff 5097 0000 0000 1b24 0000 000c  P...P......$....
|       0x0030:  0000 0002
|
| Serial Query (truncated):
| 15:02:42.403559 IP (tos 0x0, ttl 64, id 30034, offset 0, flags [DF], proto 
TCP (6), length 48)
|     cache-client.45076>  cache-server.50000: Flags [P.], cksum 0x1ab9 (incorrect 
->  0x54e4), seq 9:17, ack 33, win 5840, length 8
|       [|RPKI-RTR]
|       0x0000:  4500 0030 7552 4000 4006 aadf **** ****  E..0uR@.@.....**
|       0x0010:  **** **** b014 c350 e114 d886 1049 ec22  **.....P.....I."
|       0x0020:  5018 16d0 1ab9 0000 0001 1b24 0000 000c  P...............
|
|
| 15:02:42.403918 IP (tos 0x0, ttl 64, id 30035, offset 0, flags [DF], proto 
TCP (6), length 44)
|     cache-client.45076>  cache-server.50000: Flags [P.], cksum 0x1ab5 (incorrect 
->  0x54ed), seq 17:21, ack 33, win 5840, length 4
|       0x0000:  4500 002c 7553 4000 4006 aae2 **** ****  E..,uS@.@.....**
|       0x0010:  **** **** b014 c350 e114 d88e 1049 ec22  **.....P.....I."
|       0x0020:  5018 16d0 1ab5 0000 0000 0000            P...........
|
|
| Best regards,
| Sebastian
|
|>  -----Original Message-----
|>  From: [email protected] [mailto:[email protected]] On Behalf Of
|>  Hannes Gredler
|>  Sent: Tuesday, June 21, 2011 5:57 AM
|>  To: [email protected]
|>  Subject: [sidr] tcpdump supportf for rpki-rtr protocol
|>
|>  fyi - have added some code to tcpdump.org which may help in debugging
|>  interop issues;
|>
|>  https://github.com/mcr/tcpdump/commit/917f5f341f4901bde415293be91190336
|>  2c1fbfe
|>
|>      verbose output looks like this:
|>
|>      12:37:23.335204 IP (tos 0x0, ttl 64, id 27027, offset 0, flags
|>  [DF], proto TCP (6), length 332)
|>   1.3.0.2.2222>  1.3.0.1.57487: Flags [P.], cksum 0x4fab (correct),
|>          seq 1:281, ack 9, win 32763, options [nop,nop,TS val 485909147
|>  ecr 485909145], length 280
|>   RPKI-RTRv0, Cache Response PDU (3), length: 8
|>   Cache-Nonce: 0x0000
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 0.0.0.0/0-14, origin-as 16, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 31.1.0.0/16-16, origin-as 1100, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/8-17, origin-as 100, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/10-13, origin-as 200, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/11-14, origin-as 300, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/12-16, origin-as 400, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/13-18, origin-as 500, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/14-25, origin-as 600, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/18-26, origin-as 700, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/19-28, origin-as 800, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/24-32, origin-as 900, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 41.0.0.0/32-32, origin-as 1100, flags 0x01
|>   RPKI-RTRv0, IPV4 Prefix PDU (4), length: 20
|>   IPv4 Prefix 91.0.0.0/10-16, origin-as 3320, flags 0x01
|>   RPKI-RTRv0, End of Data PDU (7), length: 12
|>   Cache-Nonce: 0x0000, Serial: 1
|>
|>  tx,
|>
|>  /hannes
|>  _______________________________________________
|>  sidr mailing list
|>  [email protected]
|>  https://www.ietf.org/mailman/listinfo/sidr
| _______________________________________________
| sidr mailing list
| [email protected]
| https://www.ietf.org/mailman/listinfo/sidr
_______________________________________________
sidr mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sidr
_______________________________________________
sidr mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sidr

Reply via email to