[ECOS] Re: timeout in tftp_client_test.c

HG henri@broadbandnetdevices.com
Thu Apr 24 15:14:00 GMT 2003


Hi all,


I include a packet capture which better documents the timeout problem
reported previously.
 in sequence we see:

ack of packet 7b to server port 1111 (all is well)

packet 7c sent by server

tftp_get requests an other transfer (broken here)

ack of packet 01 by tftp_get to server port 1111  (really broken this is the
same packet as was sent a long time ago)

server thinks he has an other request :uses port 1113 to send block 1

ack of packet 02 by tftp_get to server port 1111  (really broken this is the
same packet as was sent a long time ago)

ack of packet 03 by tftp_get to server port 1111  (really broken this is the
same packet as was sent a long time ago)
....


anyone has a patch to fix this problem ?????

thanks for any help,

Henri


packet capture (unfortunately the formating by windump was lost in the
cut&paste)  :


08:50:02.282363 IP 192.168.0.4.1111 > 192.168.0.21.7700: udp 516
0x0000  4500 0220 f424 0000 8011 c33e c0a8 0004 E....$.....>....
0x0010  c0a8 0015 0457 1e14 020c 61d5 0003 007b .....W....a....{
0x0020  3030 3030 3331 0d0a 5333 3135 3830 3330 000031..S3158030
0x0030  4431 3443 3846 4246 3030 3043 3846 4232 D14C8FBF000C8FB2
0x0040  3030 3038 3846 4231 3030 3034 3846 4230 00088FB100048FB0
0x0050  3030                                    00
08:50:02.529777 IP 192.168.0.21.7700 > 192.168.0.4.1111: udp 4
0x0000  4500 0020 007f 0000 4011 f8e4 c0a8 0015 E.......@.......
0x0010  c0a8 0004 1e14 0457 000c 5b82 0004 007b .......W..[....{
0x0020  0000 0000 0000 0000 0000 0000 0000      ..............
08:50:02.533421 IP 192.168.0.4.1111 > 192.168.0.21.7700: udp 516
0x0000  4500 0220 f524 0000 8011 c23e c0a8 0004 E....$.....>....
0x0010  c0a8 0015 0457 1e14 020c 0cf6 0003 007c .....W.........|
0x0020  3030 3038 3237 4244 3030 3130 3237 4244 000827BD001027BD
0x0030  4646 4630 3744 0d0a 5333 3135 3830 3330 FFF07D..S3158030
0x0040  4431 4643 4146 4230 3030 3030 4146 4246 D1FCAFB00000AFBF
0x0050  3030                                    00
08:50:02.779266 IP 192.168.0.21.7700 > 192.168.0.4.69:  17 RRQ "hello1.s"
0x0000  4500 002d 0001 0000 4011 f955 c0a8 0015 E..-....@..U....
0x0010  c0a8 0004 1e14 0045 0019 648a 0001 6865 .......E..d...he
0x0020  6c6c 6f31 2e73 004f 4354 4554 0000      llo1.s.OCTET..
08:50:02.780917 IP 192.168.0.21.7700 > 192.168.0.4.1111: udp 4
0x0000  4500 0020 0002 0000 4011 f961 c0a8 0015 E.......@..a....
0x0010  c0a8 0004 1e14 0457 000c 5bfc 0004 0001 .......W..[.....
0x0020  0000 0000 0000 0000 0000 0000 0000      ..............
08:50:02.801852 IP 192.168.0.4.1113 > 192.168.0.21.7700: udp 516
0x0000  4500 0220 f724 0000 8011 c03e c0a8 0004 E....$.....>....
0x0010  c0a8 0015 0459 1e14 020c fa5e 0003 0001 .....Y.....^....
0x0020  5330 3044 3030 3030 3638 3635 3643 3643 S00D000068656C6C
0x0030  3646 3245 3733 3732 3635 3633 3033 0d0a 6F2E7372656303..
0x0040  5333 3135 3830 3330 3830 3030 3430 3141 S31580308000401A
0x0050  3638                                    68
08:50:03.030256 IP 192.168.0.21.7700 > 192.168.0.4.1111: udp 4
0x0000  4500 0020 0003 0000 4011 f960 c0a8 0015 E.......@..`....
0x0010  c0a8 0004 1e14 0457 000c 5bfb 0004 0002 .......W..[.....
0x0020  0000 0000 0000 0000 0000 0000 0000      ..............
08:50:03.031929 IP 192.168.0.21.7700 > 192.168.0.4.1111: udp 4
0x0000  4500 0020 0004 0000 4011 f95f c0a8 0015 E.......@.._....
0x0010  c0a8 0004 1e14 0457 000c 5bfa 0004 0003 .......W..[.....
0x0020  0000 0000 0000 0000 0000 0000 0000      ..............


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list