https://issues.apache.org/bugzilla/show_bug.cgi?id=40841

--- Comment #5 from [email protected] ---
Created attachment 29281
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29281&action=edit
rediff against 2.2.22 modified to affect only mod_proxy_ftp.c

The segfault still happens with 2.2.22 and the patch still fixes it.

Example: ftp.netfilter.org returns an AAAA as well as an A address.

AAAA 2001:780:45:1d:20d:93ff:fe9b:e442
A    213.95.27.115

When trying to connect to the AAAA address we get a "connection refused":


flepo tmp # tcpdump -i ppp0 -n -v -s 2048 -A ip6
tcpdump: listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size
2048 bytes
00:31:59.102705 IP6 (hlim 64, next-header TCP (6) payload length: 40)
2001:a60:18ff:eedf:d11d:2256:d944:ad16.3798 >
2001:780:45:1d:20d:93ff:fe9b:e442.21: Flags [S], cksum 0x4d0c (incorrect ->
0x5481), seq 2079833585, win 14320, options [mss 1432,sackOK,TS val 73277849
ecr 0,nop,wscale 9], length 0
`....(.@ .
.....B....{.........7.M..........
.^!........
00:31:59.115245 IP6 (hlim 58, next-header TCP (6) payload length: 20)
2001:780:45:1d:20d:93ff:fe9b:e442.21 >
2001:a60:18ff:eedf:d11d:2256:d944:ad16.3798: Flags [R.], cksum 0x1a1e
(correct), seq 0, ack 2079833586, win 0, length 0
.....B . ....E...
`......"V.D..........{...P.......
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel



Then mod_proxy_ftp tries the "A" address and segfaults after doing the "EPSV"
command without the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to