On 24 January 2018 at 13:45, Warren Young <[email protected]> wrote:
> On Jan 24, 2018, at 1:47 PM, Warren Young <[email protected]> wrote:
>>
>> On Sep 16, 2017, at 1:27 PM, Andy Goth <[email protected]> wrote:
>>>
>>> Indeed, 1.1.0f is a version which includes the BIO_ADDR type, which is a 
>>> union containing struct sockaddr_in6 among others. I don't think there's 
>>> any question Fossil is trying to read an IPv6 address structure as if it 
>>> were IPv4.
>>
>> Has anyone tried addressing this?  I still see it on my Raspberry Pi running 
>> a recent version of Raspbian.
>
> In case it’s not clear, I mean that I see it with the tip of trunk.  
> [1cbaf3bdd9]
>
> lsb_release -s says, "Raspbian GNU/Linux 9.3 (stretch)”

I'm using a raspberry pi with raspbian, although I don't think it's stretch.

>
>> Since I haven’t seen it on any of my 64-bit hosts, I’m guessing it has 
>> something to do with a peculiarity on 32-bit Linux.
>
> I’ve poked at it some, and it’s only happening in the HTTPS code path.  If I 
> clone http://fossil-scm.org on the Pi, it shows the correct IP, 45.33.6.223.

Not for me....
$ sudo tcpdump port 443
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:11:45.030160 IP 192.168.0.7.36828 > sqlite.org.https: Flags [S],
seq 2345998021, win 29200, options [mss 1460,sackOK,TS val 33726945
ecr 0,nop,wscale 7], length 0
14:11:45.095329 IP sqlite.org.https > 192.168.0.7.36828: Flags [S.],
seq 3106903644, ack 2345998022, win 28960, options [mss 1460,sackOK,TS
val 459170829
ecr 33726945,nop,wscale 7], length 0
14:11:45.095647 IP 192.168.0.7.36828 > sqlite.org.https: Flags [.],
ack 1, win 229, options [nop,nop,TS val 33726952 ecr 459170829],
length 0
14:11:45.095949 IP 192.168.0.7.36828 > sqlite.org.https: Flags [P.],
seq 1:317, ack 1, win 229, options [nop,nop,TS val 33726952 ecr
459170829], length 316
14:11:45.157556 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
ack 317, win 235, options [nop,nop,TS val 459170895 ecr 33726952],
length 0
14:11:45.162647 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
seq 1:1449, ack 317, win 235, options [nop,nop,TS val 459170896 ecr
33726952], length
1448
14:11:45.163125 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
seq 1449:2897, ack 317, win 235, options [nop,nop,TS val 459170896 ecr
33726952], length 1448
14:11:45.163187 IP 192.168.0.7.36828 > sqlite.org.https: Flags [.],
ack 1449, win 251, options [nop,nop,TS val 33726959 ecr 459170896],
length 0
14:11:45.163353 IP sqlite.org.https > 192.168.0.7.36828: Flags [P.],
seq 2897:3081, ack 317, win 235, options [nop,nop,TS val 459170896 ecr
33726952], length 184
14:11:45.163468 IP 192.168.0.7.36828 > sqlite.org.https: Flags [.],
ack 2897, win 274, options [nop,nop,TS val 33726959 ecr 459170896],
length 0
14:11:45.164153 IP 192.168.0.7.36828 > sqlite.org.https: Flags [.],
ack 3081, win 296, options [nop,nop,TS val 33726959 ecr 459170896],
length 0
14:11:45.190109 IP 192.168.0.7.36828 > sqlite.org.https: Flags [P.],
seq 317:443, ack 3081, win 296, options [nop,nop,TS val 33726961 ecr
459170896], length 126
14:11:45.242410 IP sqlite.org.https > 192.168.0.7.36828: Flags [P.],
seq 3081:3132, ack 443, win 235, options [nop,nop,TS val 459170979 ecr
33726961], length 51
14:11:45.244928 IP 192.168.0.7.36828 > sqlite.org.https: Flags [P.],
seq 443:642, ack 3132, win 296, options [nop,nop,TS val 33726967 ecr
459170979], length 199
14:11:45.336303 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
ack 642, win 243, options [nop,nop,TS val 459171075 ecr 33726967],
length 0
14:11:45.336625 IP 192.168.0.7.36828 > sqlite.org.https: Flags [P.],
seq 642:1645, ack 3132, win 296, options [nop,nop,TS val 33726976 ecr
459171075], length 1003
14:11:45.391737 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
ack 1645, win 259, options [nop,nop,TS val 459171131 ecr 33726976],
length 0
14:11:45.428202 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
seq 3132:4580, ack 1645, win 259, options [nop,nop,TS val 459171167
ecr 33726976], length 1448
14:11:45.428495 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
seq 4580:6028, ack 1645, win 259, options [nop,nop,TS val 459171167
ecr 33726976], length 1448
14:11:45.428715 IP sqlite.org.https > 192.168.0.7.36828: Flags [P.],
seq 6028:6345, ack 1645, win 259, options [nop,nop,TS val 459171167
ecr 33726976], length 317
14:11:45.428846 IP 192.168.0.7.36828 > sqlite.org.https: Flags [.],
ack 6028, win 342, options [nop,nop,TS val 33726985 ecr 459171167],
length 0
14:11:45.429000 IP sqlite.org.https > 192.168.0.7.36828: Flags [P.],
seq 6345:6376, ack 1645, win 259, options [nop,nop,TS val 459171167
ecr 33726976], length 31
14:11:45.430025 IP 192.168.0.7.36828 > sqlite.org.https: Flags [P.],
seq 1645:1676, ack 6376, win 364, options [nop,nop,TS val 33726985 ecr
459171167], length 31
14:11:45.430401 IP 192.168.0.7.36828 > sqlite.org.https: Flags [R.],
seq 1676, ack 6376, win 364, options [nop,nop,TS val 33726985 ecr
459171167], length
0
14:11:45.431612 IP sqlite.org.https > 192.168.0.7.36828: Flags [F.],
seq 6376, ack 1645, win 259, options [nop,nop,TS val 459171167 ecr
33726976], length
0
14:11:45.431989 IP 192.168.0.7.36828 > sqlite.org.https: Flags [R],
seq 2345999666, win 0, length 0
14:11:45.484591 IP sqlite.org.https > 192.168.0.7.36828: Flags [.],
ack 1645, win 259, options [nop,nop,TS val 459171224 ecr 33726985],
length 0
14:11:45.485021 IP 192.168.0.7.36828 > sqlite.org.https: Flags [R],
seq 2345999666, win 0, length 0
14:11:45.486278 IP sqlite.org.https > 192.168.0.7.36828: Flags [R],
seq 3106910020, win 0, length 0
^C
29 packets captured
29 packets received by filter
0 packets dropped by kernel


$ fossil sync
Sync with https://www.fossil-scm.org
Round-trips: 1   Artifacts sent: 0  received: 79
Sync done, sent: 1144  received: 3184  ip: 45.33.6.223

I don't have write permissions to this repo. What happens if you clone
on a different user account?


>
> I tried to get GDB to dump the contents of *iBio, but it complains that it’s 
> an incomplete type.  I’m guessing I need debug libraries for OpenSSL, but 
> Googled instructions for installing them don’t work.  (“apt install 
> libssl-dbg.”)
>
> About the only constructive thing I can add is that it looks like the call on 
> like 393 should probably be a call to BIO_set_conn_ip() rather than to the 
> underlying function.  That’s mainly cosmetic, but I found that Googling on 
> the underlying function call was less helpful, since it’s intended to be an 
> internal interface.

-- 
-------
inum: 883510009027723
sip: [email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to