[OpenAFS] Networking AFS related problem

renyhp renyhp@disroot.org
Wed, 2 Feb 2022 12:15:44 +0100


Hello Harald,

thanks!

> I would start with wireshark and filter on UDP ports 7000 and 7001,
> then look if the packets are going out and if you get answers back
> from the file servers and if you do if they are complete. Sometimes
> bad networks drop or truncate UDP packets (either in or out) and if
> they only truncate them, it can help to make your MTU size smaller, so
> that not all default 1500 bytes are used. I test like 1400, 1200, ..
> Restart afsd with additional parameter -rxmaxmtu SIZE.

I have tried using wireshark and the following is a sample of what it
captures on UDP ports 7000 and 7001, containing all the kinds of packets
I see:


Protocol Length   Info
-------------------------
AFS (RX) 74       VLDB Request: probe (514)
RX       107      ACK  Seq: 0  Call: 27  Source Port: 7001  Destination Port: 7003  
RX       107      ACK  Seq: 0  Call: 27  Source Port: 7001  Destination Port: 7003  
AFS (RX) 74       VLDB Request: probe (514)
RX       107      ACK  Seq: 0  Call: 27  Source Port: 7001  Destination Port: 7003  
RX       107      ACK  Seq: 0  Call: 27  Source Port: 7001  Destination Port: 7003  
RX       71       
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       107      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
AFS (RX) 74       FS Request: get-capabilities (65540)
AFS (RX) 74       FS Request: get-capabilities (65540)
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       634      ACK  Seq: 0  Call: 1  Source Port: 7001  Destination Port: 7000  
RX       71       
RX       71       
RX       71       
RX       71       
RX       71       
RX       71       


The source address is always only my private IP address, and the
destination address is always an AFS server address.

Do I understand correctly that I am not receiving any response from the
servers? (Of course I am sure that the servers are actually up and
running.)

Also, is the length of these outgoing packets correct or are the
outgoing packets damaged?

Thank you again,
  renyhp