Re: [fossil-users] fossil-users Digest, Vol 116, Issue 11
On Sat, Sep 16, 2017 at 8:00 AM, wrote: > Date: Sat, 16 Sep 2017 01:15:25 +0200 > From: Johan Kuuse > Subject: Re: [fossil-users] Shameless self-promotion > > > >El 16 sept. 2017 0:39, "Warren Young" escribió: > >>> On Sep 14, 2017, at 11:12 PM, Johan Kuuse wrote: > >>> > >>> A commit pre-hook running an automatic indenting would have solved this > >>> problem. > >> > >> Coding style is a social norm. It should be enforced by social means, > not > >> technical means. > > > > Must disagree here, at least when we are talker about bigger communities, > > where some kind of technical control/help is necessary to create some > kind > > of "community standard". > While I work, we include a step to run QAC to perform source code analysis and style checks in the build rule for compiling a source file, so each source is validated before it's even compiled. If we wanted to auto-format the source code, we would add a step before QAC. That way, it would be the (re-) formatted code that is validated and compiled. Then, once the build successfully completes, source changes are automatically committed in Fossil. Sometimes, we will do "manual" commits between builds, but our build process insures that what actually got built is also committed. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
On Sat, 16 Sep 2017 14:27:37 -0500 Andy Goth 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. > > Try typing "ping asm32.info" and "ping6 asm32.info" (or whatever else is > giving you trouble) and let us know what they say. Hit Ctrl+C to interrupt > the ping. Well, I don't have ping6 installed and can't find the package that contains it. Linux is sometimes annoying. :) $ping asm32.info PING asm32.info (164.138.218.50) 56(84) bytes of data.$ping asm32.info > > On Sat, Sep 16, 2017 at 1:57 PM, John Found wrote: > > > On Sat, 16 Sep 2017 13:44:51 -0500 > > Andy Goth wrote: > > > > > Please type "openssl version" and let us know what it prints. > > > > > > > OpenSSL 1.1.0f 25 May 2017 > > > > -- > > http://fresh.flatassembler.net > > http://asm32.info > > John Found > > ___ > > fossil-users mailing list > > fossil-users@lists.fossil-scm.org > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > -- > Andy Goth | -- http://fresh.flatassembler.net http://asm32.info John Found ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
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. Try typing "ping asm32.info" and "ping6 asm32.info" (or whatever else is giving you trouble) and let us know what they say. Hit Ctrl+C to interrupt the ping. On Sat, Sep 16, 2017 at 1:57 PM, John Found wrote: > On Sat, 16 Sep 2017 13:44:51 -0500 > Andy Goth wrote: > > > Please type "openssl version" and let us know what it prints. > > > > OpenSSL 1.1.0f 25 May 2017 > > -- > http://fresh.flatassembler.net > http://asm32.info > John Found > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
On Sat, 16 Sep 2017 13:44:51 -0500 Andy Goth wrote: > Please type "openssl version" and let us know what it prints. > OpenSSL 1.1.0f 25 May 2017 -- http://fresh.flatassembler.net http://asm32.info John Found ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Please type "openssl version" and let us know what it prints. I have version 1.0.2l, which has this in include/openssl/bio.h: #define BIO_get_conn_ip(b) BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2) Contrast with the latest OpenSSL which has: typedef union bio_addr_st BIO_ADDR; #define BIO_get_conn_address(b) ((const BIO_ADDR *)BIO_ptr_ctrl(b,BIO_C_GET_CONNECT,2)) And in openssl/crypto/bio/bio_lcl.h: union bio_addr_st { struct sockaddr sa; #ifdef AF_INET6 struct sockaddr_in6 s_in6; #endif struct sockaddr_in s_in; #ifdef AF_UNIX struct sockaddr_un s_un; #endif }; For more information on this change, see: https://github.com/openssl/openssl/commit/28a0841bf58e3813b2e07ad22f19484308e2f70a My suspicion is you're getting an IPv6 address in a sockaddr_in6 whereas Fossil is hardwired for IPv4. On Sat, Sep 16, 2017 at 1:26 PM, John Found wrote: > On Sat, 16 Sep 2017 13:16:20 -0500 > Andy Goth wrote: > > > Do you have the same problem when you run a freshly compiled-from-scratch > > Fossil binary? We want to confirm you don't somehow have old object files > > linked in. > > > > Yes. Checked twice. The fossil repository updated. "make clean", "fossil > clean", > "./configure", "make". > > $fossil version > This is fossil version 2.4 [e6f64f5eeb] 2017-09-08 04:05:39 UTC > > > Notice that the problem is only with *one* of my repositories. > > > > On Sat, Sep 16, 2017 at 1:04 PM, John Found > wrote: > > > > > On Sat, 16 Sep 2017 12:16:54 -0500 > > > Andy Goth wrote: > > > > > > > The value of *ip will be 2. Instead try "p *ip@4" which will print > four > > > > bytes, which will be 2, 0, 1, and 187. > > > > > > (gdb) p *ip@4 > > > $5 = "\002\000\001\273" > > > (gdb) continue > > > Sync done, sent: 1929 received: 0 ip: 2.0.1.187 > > > > > > > > > > > The issue appears to be somewhere within BIO_ptr_ctrl(). > > > > > > > > On Sat, Sep 16, 2017 at 12:10 PM, Andy Bradford < > > > amb-fos...@bradfords.org> > > > > wrote: > > > > > > > > > Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > > > > > > > > > > > It might be useful here to also: > > > > > > > > > > > > print *p > > > > > > > > > > Of course, I meant *ip > > > > > > > > > > Andy > > > > > -- > > > > > TAI64 timestamp: 400059bd5b14 > > > > > > > > > > > > > > > ___ > > > > > fossil-users mailing list > > > > > fossil-users@lists.fossil-scm.org > > > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/ > fossil-users > > > > > > > > > > > > > > > > > > > > > -- > > > > Andy Goth | > > > > > > > > > -- > > > http://fresh.flatassembler.net > > > http://asm32.info > > > John Found > > > ___ > > > fossil-users mailing list > > > fossil-users@lists.fossil-scm.org > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > > > > > > -- > > Andy Goth | > > > -- > http://fresh.flatassembler.net > http://asm32.info > John Found > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
On Sat, 16 Sep 2017 13:16:20 -0500 Andy Goth wrote: > Do you have the same problem when you run a freshly compiled-from-scratch > Fossil binary? We want to confirm you don't somehow have old object files > linked in. > Yes. Checked twice. The fossil repository updated. "make clean", "fossil clean", "./configure", "make". $fossil version This is fossil version 2.4 [e6f64f5eeb] 2017-09-08 04:05:39 UTC Notice that the problem is only with *one* of my repositories. > On Sat, Sep 16, 2017 at 1:04 PM, John Found wrote: > > > On Sat, 16 Sep 2017 12:16:54 -0500 > > Andy Goth wrote: > > > > > The value of *ip will be 2. Instead try "p *ip@4" which will print four > > > bytes, which will be 2, 0, 1, and 187. > > > > (gdb) p *ip@4 > > $5 = "\002\000\001\273" > > (gdb) continue > > Sync done, sent: 1929 received: 0 ip: 2.0.1.187 > > > > > > > > The issue appears to be somewhere within BIO_ptr_ctrl(). > > > > > > On Sat, Sep 16, 2017 at 12:10 PM, Andy Bradford < > > amb-fos...@bradfords.org> > > > wrote: > > > > > > > Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > > > > > > > > > It might be useful here to also: > > > > > > > > > > print *p > > > > > > > > Of course, I meant *ip > > > > > > > > Andy > > > > -- > > > > TAI64 timestamp: 400059bd5b14 > > > > > > > > > > > > ___ > > > > fossil-users mailing list > > > > fossil-users@lists.fossil-scm.org > > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > > > > > > > > > > > -- > > > Andy Goth | > > > > > > -- > > http://fresh.flatassembler.net > > http://asm32.info > > John Found > > ___ > > fossil-users mailing list > > fossil-users@lists.fossil-scm.org > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > -- > Andy Goth | -- http://fresh.flatassembler.net http://asm32.info John Found ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Do you have the same problem when you run a freshly compiled-from-scratch Fossil binary? We want to confirm you don't somehow have old object files linked in. On Sat, Sep 16, 2017 at 1:04 PM, John Found wrote: > On Sat, 16 Sep 2017 12:16:54 -0500 > Andy Goth wrote: > > > The value of *ip will be 2. Instead try "p *ip@4" which will print four > > bytes, which will be 2, 0, 1, and 187. > > (gdb) p *ip@4 > $5 = "\002\000\001\273" > (gdb) continue > Sync done, sent: 1929 received: 0 ip: 2.0.1.187 > > > > > The issue appears to be somewhere within BIO_ptr_ctrl(). > > > > On Sat, Sep 16, 2017 at 12:10 PM, Andy Bradford < > amb-fos...@bradfords.org> > > wrote: > > > > > Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > > > > > > > It might be useful here to also: > > > > > > > > print *p > > > > > > Of course, I meant *ip > > > > > > Andy > > > -- > > > TAI64 timestamp: 400059bd5b14 > > > > > > > > > ___ > > > fossil-users mailing list > > > fossil-users@lists.fossil-scm.org > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > > > > > > -- > > Andy Goth | > > > -- > http://fresh.flatassembler.net > http://asm32.info > John Found > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
On Sat, 16 Sep 2017 12:16:54 -0500 Andy Goth wrote: > The value of *ip will be 2. Instead try "p *ip@4" which will print four > bytes, which will be 2, 0, 1, and 187. (gdb) p *ip@4 $5 = "\002\000\001\273" (gdb) continue Sync done, sent: 1929 received: 0 ip: 2.0.1.187 > > The issue appears to be somewhere within BIO_ptr_ctrl(). > > On Sat, Sep 16, 2017 at 12:10 PM, Andy Bradford > wrote: > > > Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > > > > > It might be useful here to also: > > > > > > print *p > > > > Of course, I meant *ip > > > > Andy > > -- > > TAI64 timestamp: 400059bd5b14 > > > > > > ___ > > fossil-users mailing list > > fossil-users@lists.fossil-scm.org > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > -- > Andy Goth | -- http://fresh.flatassembler.net http://asm32.info John Found ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
The value of *ip will be 2. Instead try "p *ip@4" which will print four bytes, which will be 2, 0, 1, and 187. The issue appears to be somewhere within BIO_ptr_ctrl(). On Sat, Sep 16, 2017 at 12:10 PM, Andy Bradford wrote: > Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > > > It might be useful here to also: > > > > print *p > > Of course, I meant *ip > > Andy > -- > TAI64 timestamp: 400059bd5b14 > > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Thus said Andy Bradford on Sat, 16 Sep 2017 11:09:18 -0600: > It might be useful here to also: > > print *p Of course, I meant *ip Andy -- TAI64 timestamp: 400059bd5b14 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Thus said John Found on Sat, 16 Sep 2017 20:03:16 +0300: > Breakpoint 1, ssl_open (pUrlData=0x55a60c08 ) at > ./src/http_ssl.c:394 > 394 g.zIpAddr = mprintf("%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]); > (gdb) p ip It might be useful here to also: print *p Andy -- TAI64 timestamp: 400059bd5ae3 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Here is what I got (hope I do it right): $gdb --args fossil sync Reading symbols from fossil...done. (gdb) b http_ssl.c:394 Breakpoint 1 at 0x61187: file ./src/http_ssl.c, line 394. (gdb) r Starting program: /usr/bin/fossil sync [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Sync with https://johnfo...@asm32.info/fossil/repo/asmbb Breakpoint 1, ssl_open (pUrlData=0x55a60c08 ) at ./src/http_ssl.c:394 394 g.zIpAddr = mprintf("%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]); (gdb) p ip $1 = (const unsigned char *) 0x55bb5c40 "\002" (gdb) n 397 X509_free(cert); (gdb) p g.zIpAddr $2 = 0x0 (gdb) p g.zIpAddr $3 = 0x0 (gdb) n 394 g.zIpAddr = mprintf("%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]); (gdb) p g.zIpAddr $4 = 0x0 (gdb) n 397 X509_free(cert); (gdb) p g.zIpAddr $5 = 0x55c14130 "2.0.1.187" (gdb) On Sat, 16 Sep 2017 11:29:43 -0500 Andy Goth wrote: > Do you have gdb installed? > > First, ensure you're using a recent version of Fossil, 2.2 or newer. > > Run: > > gdb --args fossil sync [any extra arguments go here] > b http_ssl.c:394 > r > > The sync will begin, then will be interrupted immediately before running > the requested line of code. > > Type "p ip" to print the ip array, though it might be formatted kind of > funny due to being a character array. Then type "n" to execute the line of > code, then type "p g.zIpAddr" to print the properly formatted IP address. > > With that done, you can continue the sync by typing "c". Or you can abandon > it by typing "q". > > Report back with what you find. > > On Fri, Sep 15, 2017 at 3:22 PM, Dewey Hylton > wrote: > > > Sadly, I do not know how to do such a thing as I am not a developer. The > > concept is not foreign to me as I have a bit of experience with python, so > > I'll give it a shot starting with Google. Pointers to get me on the right > > track would be welcomed. > > > > > On Sep 15, 2017, at 3:58 PM, Richard Hipp wrote: > > > > > >> On 9/15/17, Dewey Hylton wrote: > > >> just for completeness ... i verified that i am seeing the same address > > >> during a commit: > > >> > > >> Autosync: https://redacted > > >> Round-trips: 1 Artifacts sent: 0 received: 0 > > >> Pull done, sent: 390 received: 994 ip: 2.0.1.187 > > >> New_Version: 906246b7cd7e5fec91c69502981582bdbfc0a89e > > >> Autosync: https://redacted > > >> Round-trips: 1 Artifacts sent: 2 received: 0 > > >> Sync done, sent: 1344 received: 1045 ip: 2.0.1.187 > > > > > > Please rerun in a debugger with a breakpoint on this line: > > > > > >https://www.fossil-scm.org/fossil/artifact/91aa0e52?ln=394 > > > > > > And let me know if that is where g.zIpAddr is getting set and why it > > > is being set to the wrong IP address. > > > > > >> > > >> > > >> i suppose the environment variables don't matter at this point, but > > this is > > >> what i see: > > >> > > >> uid=10080, gid=10080 > > >> g.zBaseURL = https://redacted > > >> g.zHttpsURL = > > >> g.zTop = /fossil/ansible-ceph > > >> g.zPath = test_env > > >> g.userUid = 6 > > >> g.zLogin = redacted > > >> g.isHuman = 1 > > >> capabilities = abcefghijklmnopqrstwz > > >> g.zRepositoryName = /data/fossil/ansible-ceph.fossil > > >> load_average() = 0.01 > > >> -- > > >> GATEWAY_INTERFACE = CGI/1.0 > > >> HTTP_ACCEPT_ENCODING = gzip, deflate, br > > >> HTTP_HOST = redacted > > >> HTTP_USER_AGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) > > >> Gecko/20100101 Firefox/55.0 > > >> PATH_INFO = test_env > > >> QUERY_STRING = > > >> REMOTE_ADDR = 127.0.0.1 > > >> REQUEST_METHOD = GET > > >> REQUEST_URI = /ansible-ceph/test_env > > >> SCRIPT_NAME = /ansible-ceph > > >> > > >>> On Fri, Sep 15, 2017 at 3:32 PM Richard Hipp wrote: > > >>> > > On 9/15/17, Richard Hipp wrote: > > > > Perhaps Apache is setting the REMOTE_ADDR environment variable. What > > does https://asm32.info/fossil/repo/asmbb/test_env show for the > > administrator? (You have that page turned off for anonymous, so I > > cannot see it.) > > >>> > > >>> Nevermind - the problem is on the client side, not on the server. So > > >>> it is not an Apache problem Not sure what might be causing > > >>> that > > >>> > > >>> -- > > >>> D. Richard Hipp > > >>> d...@sqlite.org > > >>> ___ > > >>> fossil-users mailing list > > >>> fossil-users@lists.fossil-scm.org > > >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > >>> > > >> > > > > > > > > > -- > > > D. Richard Hipp > > > d...@sqlite.org > > > ___ > > > fossil-users mailing list > > > fossil-users@lists.fossil-scm.org > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > ___ > > fossil-users mailing list > > fossil-users@lists.fossil-scm.org > > http://lists.fossil-sc
Re: [fossil-users] Strange IP address on repository sync report.
Thus said John Found on Fri, 15 Sep 2017 22:16:12 +0300: > I recompiled fossil from the latest trunk version, but without change. Did you run ``make clean'' before rebuilding? Thanks, Andy -- TAI64 timestamp: 400059bd5902 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
I'm not seeing the original problem, by the way. $ uname -a Linux blind 4.9.45 #1 SMP Fri Aug 25 01:04:38 CDT 2017 x86_64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz GenuineIntel GNU/Linux $ f clone https://asm32.info/fossil/repo/asmbb asmbb.fossil Round-trips: 6 Artifacts sent: 0 received: 1586 Clone done, sent: 1636 received: 26647661 ip: 164.138.218.50 Rebuilding repository meta-data... 100.0% complete... Extra delta compression... Vacuuming the database... project-id: eb5e52e8846e13a14061ee7131c951c0e03e7539 server-id: c5e2f4730d9532837e6952d5435d0a7d50067bd2 admin-user: andy (password is "d2c435") $ ping asm32.info PING asm32.info (164.138.218.50) 56(84) bytes of data. ^C --- asm32.info ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms $ f sync -R asmbb.fossil Sync with https://asm32.info/fossil/repo/asmbb Round-trips: 1 Artifacts sent: 0 received: 0 Sync done, sent: 1862 received: 1876 ip: 164.138.218.50 On Fri, Sep 15, 2017 at 2:16 PM, John Found wrote: > I am not sure the problem is in fossil itself, but don't know from where > to search it. > Anyway, after sync command on one of my repositories, I get the following: > > Sync with https://asm32.info/fossil/repo/asmbb > Round-trips: 1 Artifacts sent: 0 received: 0 > Sync done, sent: 1930 received: 1817 ip: 2.0.1.187 > > But the IP address of the server is totally different: 164.138.218.50 > > I recompiled fossil from the latest trunk version, but without change. > The other my repositories report the correct IP address of the web server. > > What can be the problem? > > Regards > John Found > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Strange IP address on repository sync report.
Do you have gdb installed? First, ensure you're using a recent version of Fossil, 2.2 or newer. Run: gdb --args fossil sync [any extra arguments go here] b http_ssl.c:394 r The sync will begin, then will be interrupted immediately before running the requested line of code. Type "p ip" to print the ip array, though it might be formatted kind of funny due to being a character array. Then type "n" to execute the line of code, then type "p g.zIpAddr" to print the properly formatted IP address. With that done, you can continue the sync by typing "c". Or you can abandon it by typing "q". Report back with what you find. On Fri, Sep 15, 2017 at 3:22 PM, Dewey Hylton wrote: > Sadly, I do not know how to do such a thing as I am not a developer. The > concept is not foreign to me as I have a bit of experience with python, so > I'll give it a shot starting with Google. Pointers to get me on the right > track would be welcomed. > > > On Sep 15, 2017, at 3:58 PM, Richard Hipp wrote: > > > >> On 9/15/17, Dewey Hylton wrote: > >> just for completeness ... i verified that i am seeing the same address > >> during a commit: > >> > >> Autosync: https://redacted > >> Round-trips: 1 Artifacts sent: 0 received: 0 > >> Pull done, sent: 390 received: 994 ip: 2.0.1.187 > >> New_Version: 906246b7cd7e5fec91c69502981582bdbfc0a89e > >> Autosync: https://redacted > >> Round-trips: 1 Artifacts sent: 2 received: 0 > >> Sync done, sent: 1344 received: 1045 ip: 2.0.1.187 > > > > Please rerun in a debugger with a breakpoint on this line: > > > >https://www.fossil-scm.org/fossil/artifact/91aa0e52?ln=394 > > > > And let me know if that is where g.zIpAddr is getting set and why it > > is being set to the wrong IP address. > > > >> > >> > >> i suppose the environment variables don't matter at this point, but > this is > >> what i see: > >> > >> uid=10080, gid=10080 > >> g.zBaseURL = https://redacted > >> g.zHttpsURL = > >> g.zTop = /fossil/ansible-ceph > >> g.zPath = test_env > >> g.userUid = 6 > >> g.zLogin = redacted > >> g.isHuman = 1 > >> capabilities = abcefghijklmnopqrstwz > >> g.zRepositoryName = /data/fossil/ansible-ceph.fossil > >> load_average() = 0.01 > >> -- > >> GATEWAY_INTERFACE = CGI/1.0 > >> HTTP_ACCEPT_ENCODING = gzip, deflate, br > >> HTTP_HOST = redacted > >> HTTP_USER_AGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) > >> Gecko/20100101 Firefox/55.0 > >> PATH_INFO = test_env > >> QUERY_STRING = > >> REMOTE_ADDR = 127.0.0.1 > >> REQUEST_METHOD = GET > >> REQUEST_URI = /ansible-ceph/test_env > >> SCRIPT_NAME = /ansible-ceph > >> > >>> On Fri, Sep 15, 2017 at 3:32 PM Richard Hipp wrote: > >>> > On 9/15/17, Richard Hipp wrote: > > Perhaps Apache is setting the REMOTE_ADDR environment variable. What > does https://asm32.info/fossil/repo/asmbb/test_env show for the > administrator? (You have that page turned off for anonymous, so I > cannot see it.) > >>> > >>> Nevermind - the problem is on the client side, not on the server. So > >>> it is not an Apache problem Not sure what might be causing > >>> that > >>> > >>> -- > >>> D. Richard Hipp > >>> d...@sqlite.org > >>> ___ > >>> fossil-users mailing list > >>> fossil-users@lists.fossil-scm.org > >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >>> > >> > > > > > > -- > > D. Richard Hipp > > d...@sqlite.org > > ___ > > fossil-users mailing list > > fossil-users@lists.fossil-scm.org > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- Andy Goth | ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users