Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ICMP and RMI

 
Ronald Wouters
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
during testing of RMI for URLyBird I discovered that apparently ICMP needs to be enabled on my firewall for RMI to work correctly.
Below you see the output of an "Ethereal" network scan.
You can clearly see that after data is returned from my server (192.168.1.3) to my client (192.168.1.2), there is an ICMP entry in the logfile of the scan saying "Destination unreachable (Host administratively prohibited)".
If I shutdown the firewall on my server, everything works just fine.
So, what gives ? Why is ICMP needed during an RMI "conversation" ?
No. Time Source Destination Protocol Info
12 2006-01-31 05:40:30.010969 192.168.1.3 192.168.1.2 RMI JRMI, ReturnData

Frame 12 (300 bytes on wire, 300 bytes captured)
Ethernet II, Src: Xinetron_12
Internet Protocol, Src: 192.168.1.3 (192.168.1.3), Dst: 192.168.1.2 (192.168.1.2)
Transmission Control Protocol, Src Port: 1099 (1099), Dst Port: 32867 (32867), Seq: 19, Ack: 82, Len: 234
Java RMI
Java Serialization


No. Time Source Destination Protocol Info
15 2006-01-31 05:40:30.187560 192.168.1.3 192.168.1.2 ICMP Destination unreachable (Host administratively prohibited)

Frame 15 (102 bytes on wire, 102 bytes captured)
Ethernet II, Src: Xinetron_12
Internet Protocol, Src: 192.168.1.3 (192.168.1.3), Dst: 192.168.1.2 (192.168.1.2)
Internet Control Message Protocol


[ January 30, 2006: Message edited by: Ronald Wouters ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic