From owner-freebsd-i386@FreeBSD.ORG Mon Feb 21 10:49:47 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3F1106566B; Mon, 21 Feb 2011 10:49:47 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 805AD8FC16; Mon, 21 Feb 2011 10:49:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1LAnlhb052829; Mon, 21 Feb 2011 10:49:47 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1LAnl2u052825; Mon, 21 Feb 2011 10:49:47 GMT (envelope-from brucec) Date: Mon, 21 Feb 2011 10:49:47 GMT Message-Id: <201102211049.p1LAnl2u052825@freefall.freebsd.org> To: brucec@FreeBSD.org, freebsd-i386@FreeBSD.org, brucec@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: i386/85652: [loader] [patch] deal with out-of-memory errors during booting X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 10:49:47 -0000 Synopsis: [loader] [patch] deal with out-of-memory errors during booting Responsible-Changed-From-To: freebsd-i386->brucec Responsible-Changed-By: brucec Responsible-Changed-When: Mon Feb 21 10:49:37 UTC 2011 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=85652 From owner-freebsd-i386@FreeBSD.ORG Mon Feb 21 11:07:00 2011 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7D91065673 for ; Mon, 21 Feb 2011 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4528FC08 for ; Mon, 21 Feb 2011 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1LB70p6075716 for ; Mon, 21 Feb 2011 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1LB6xn3075714 for freebsd-i386@FreeBSD.org; Mon, 21 Feb 2011 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Feb 2011 11:06:59 GMT Message-Id: <201102211106.p1LB6xn3075714@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-i386@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-i386@FreeBSD.org X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/154578 i386 [boot] BTX Loader hangs > 1,5 min after listing BIOS d o i386/154132 i386 [boot] Failure during boot w/ supermicro H8QGi o i386/153851 i386 [keyboard] keyboard issues on new Intel Mother boards. o i386/152942 i386 [install] "acd0[READ(offset=32768, length=2048)]error= o i386/151122 i386 [boot] BTX 1.02 crashes on boot o i386/150766 i386 Dell Vostro 3700 siffle sous FreeBSD / Dell Vostro 370 f i386/150486 i386 Installation Problem o i386/149647 i386 [panic] Dell Inspiron 530 (FX09) panic at boot with 8. o i386/148848 i386 [hang] Load freezing at boot on HP Mini 311 o i386/148624 i386 PERC H200 Controller on Dell R610 Not recognized o i386/148509 i386 [boot] [patch] Improvements to i386/boot2's comments o i386/147912 i386 [boot] FreeBSD 8 Beta won't boot on Thinkpad i1300 11 o i386/147842 i386 [install] Installation Failure on Panasonic CF-Y5 o i386/147458 i386 [boot] FreeBSD 8 can't boot from dvd, unless dvd is ex o i386/146446 i386 [install] FreeBSD 8.0 installation hangs at an early s o i386/146221 i386 [boot] incompatibility of the BTX with toshiba tecra R o i386/145718 i386 [est] [patch] fix freq calculation from MSR for CPUs w o i386/145079 i386 [boot] BTX halted on P3 server f i386/144956 i386 [boot] Early minute-plus delay in boot on Intel Nehale o i386/144326 i386 [ata] PERC H200 Integrated/Adapter not recognized on D o i386/143587 i386 [boot] [hang] BTX 1.02 freezes upon assigning Bios C d o i386/142946 i386 [boot] Can't boot installation DVD. BTX halted o i386/142934 i386 [boot] Cannot boot FreeBSD 6.4, 7.x on Hint Corp VX Pr o i386/142421 i386 [ata] optical drives not found o i386/142190 i386 [boot] BTX Loader issue on Gigabyte Motherboard o i386/142108 i386 [panic] vm_fault: fault on nofault entry, addr: c32a40 o i386/141942 i386 [irq] interrupt storm (VIA 6421A atapci controller) o i386/141675 i386 [boot] memory and BTX halted on Sunfire X4170 o i386/141470 i386 [boot] BTX halted immediatly on selecting any of the b o i386/141468 i386 [boot] FreeBSD 8.0 boot manager can cause disk not pro o i386/141119 i386 [irq] Stop starting on computer with ISA network card o i386/140655 i386 [panic] Lenovo X300: fatal trap 12 after /sbin/halt -p o i386/140645 i386 [irq] High INTERRUPT rate on CPU 0 o i386/140448 i386 [boot] BTX loader hangs after displaying BIOS drives o i386/140268 i386 [install] 8.0-RC* does not install on MSI MS-7255 [reg o i386/139999 i386 [panic] random freeze and crash o i386/139743 i386 [ichsmb] [patch] ichsmb driver doesn't detects SMB bus o i386/139115 i386 [cpufreq] low cpu frequency reported [regression] o i386/138948 i386 [twa] [regression] da0: Fi o i386/138737 i386 [endian] [patch] Patch for bswap64(9) operation on IA o i386/138126 i386 [panic] Kernel panic trap 12 on bigger load o i386/137925 i386 [boot] BTX loader hangs when raid volume present [regr o i386/134984 i386 [boot] [hang] boot from i386 DVD on Lenovo R500 fails o i386/134242 i386 [boot0] [patch] improvement i386 boot0 error diagnose o i386/133727 i386 chars [[[[[[[[[[[[[ occur during install process (sett o i386/133388 i386 [est] est causes wrong dev.cpu.0.freq_levels values o i386/132416 i386 Popup motherboard bios setup window when rebooting sys o i386/132230 i386 [boot] [reboot] 7.1-RELEASE /boot/loader non-functiona o i386/131426 i386 hald makes cdrom fail o i386/130110 i386 [boot] BTX-Halted - booting with SAS/SATA Controller o i386/129550 i386 [pae] [kqueue] crash with PAE kernel o i386/127374 i386 Suspend/Resume with Keystroke only once on Thinkpad T4 o i386/127343 i386 [hang] System locks -- simular to PR 123729 o i386/127337 i386 [boot] FreeBSD 7.1/i386 BTX boot problem on Pavilion d o i386/126666 i386 [boot] [hang] boot failure for nForce 630i / GeForce 7 o i386/126162 i386 [acpi] ACPI autoload failed : loading required module o i386/125592 i386 [hang] FreeBSD 7 server in hang o i386/124633 i386 [boot] [panic] 7.0 does not boot from CD o i386/124124 i386 [boot] [panic] Page fault while booting livefs iso of o i386/123990 i386 [boot] BTX halted on Thinkpad x60s o i386/123462 i386 clock is too fast a i386/122887 i386 [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed o i386/122623 i386 [build] [patch] bsd.cpu.mk doesn't handle opteron/athl f i386/121903 i386 [ips] [boot] can't boot on IBM x235 ServeRaid 6M [regr f i386/120933 i386 [boot] 6.x and 7.x do not boot from CD on IBM HS20 883 f i386/119175 i386 [busdma] [patch] Typo in bus_dmamem_alloc() f i386/118350 i386 [boot] [hang] BTX loader hangs on PC Engines WRAP f i386/117297 i386 [hang] System hangs up every day f i386/116844 i386 [boot] [hang] cannot boot from cd when using Dell Vost f i386/115947 i386 [hang] Dell poweredge 860 hangs when stressed and ACPI f i386/115854 i386 [boot] [install] Install FreeBSD with USB CDROM causes f i386/114208 i386 [boot] Problem booting the FreeBSD CD ISO image f i386/114192 i386 Fail to boot with "error issuing ATA_IDENTIFY command" o i386/113110 i386 [mk] [patch] i686 is not an alias of pentiumpro on GCC f i386/112580 i386 [boot] BTX Halted on HP DV6255 Notebook f i386/112487 i386 [sio] kernel panic on swi0:sio f i386/109610 i386 [panic] Fatal trap 12: page fault while in kernel mode f i386/109568 i386 [panic] Reboot server with "Fatal trap 12" f i386/108185 i386 [panic] freebsd 6.2 fatal kernel trap f i386/107382 i386 [install] "Fatal trap 12" when installing FreeBSD 6.1 f i386/106850 i386 [powerd] powernow0 attach returned 6 f i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server f i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works f i386/104719 i386 [ata] Seagate ST3802110A errors/delays when using PIO4 f i386/102562 i386 [em] no traffic pass through a em card after approx. a f i386/102410 i386 [install] FreeBSD 6.1-RELEASE installation boot freeze f i386/101616 i386 [hang] FreeBSD freeze on bootup, Compaq Proliant (lega f i386/101062 i386 [hang] Freeze on detect Intel 900 VGA on boot with ACP f i386/100831 i386 [sio] sio ignores BIOS information about serial ports f i386/100420 i386 [boot] boot1/boot2 lba error f i386/100204 i386 FreeBSD reports raid as broken - but it is not f i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi f i386/98765 i386 [ata] timeouts on sata drive (Asus a7n8x-e) f i386/98215 i386 [geode] [regression] FreeBSD can no longer boot Geode f i386/98154 i386 6-STABLE crashes when being online via modem (Fujitsu f i386/97287 i386 Screen Corruption In FreeBSD 6.X When Apps Started In f i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 f i386/96357 i386 FreeBSD cannot recognize all the logical partitions f i386/93793 i386 [keyboard] Keyboard stops working after a shutdown -p f i386/93752 i386 Cannot activate the serial ports on boot probe. BIOS o f i386/92193 i386 [boot] Can't boot from 6.0 Installation CD: BTX halted s i386/88755 i386 [install] FreeBSD R6.0 on ThinkPad R40 installation re s i386/88139 i386 [i386] [request] 53C875 Chipset HP 5064-6016 doesn't w o i386/85656 i386 [i386] [patch] expose more i386 specific CPU informati o i386/85655 i386 [i386] [patch] expose cpu info for i386 systems o i386/85653 i386 [i386] [patch] relieve hangs in tight loops in process f i386/80268 i386 [panic] System with Transmeta Efficeon cpu crashes whi f i386/79091 i386 [i386] [patch] Small optimization for i386/support.s f i386/74153 i386 [pst] FreeBSD 5.3 cannot boot ftom pst f i386/71000 i386 [boot] BTX halted when booting from CD on a machine wi f i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice 111 problems total. From owner-freebsd-i386@FreeBSD.ORG Thu Feb 24 07:46:29 2011 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 641C71065673; Thu, 24 Feb 2011 07:46:29 +0000 (UTC) (envelope-from creddym@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 972738FC14; Thu, 24 Feb 2011 07:46:28 +0000 (UTC) Received: by wyb32 with SMTP id 32so297498wyb.13 for ; Wed, 23 Feb 2011 23:46:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=A7RHomDfeEen2UrxdzERCGyKKfgOXuT7iy+bvpdEBa8=; b=lMWKij+Py4aU8bWPGkDkrpmyJ3OvdhHm7XszCUEjpt7zpXQveDvmyeX8YAfSo8/J0S C7WVO14g2ZCo6L3E/jcNtr+HiGYJzGC+AhEpUQvTD8bDSMNzRLv8dlaeM/FYU1LRsreD c5ys4/o1fpjYsc+/NT5yJwPsrZQQt++wujrT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=xifYm+hEUEgRMbZcf5Xjgkm/gXEnOdORULkMf6IUpD/C55DgTf7UmrYB2Wd9AX9MG4 agjxouFhj9VI5Emr87yPE1qZgHRe1BfGziGyYs71TwRU7fHurbu6RbQCyUnURKuCtDH8 /svMs9IF+sNh0A0bNsa6Q2/C7G4iOXeJXBGVE= MIME-Version: 1.0 Received: by 10.216.142.224 with SMTP id i74mr343926wej.83.1298531946834; Wed, 23 Feb 2011 23:19:06 -0800 (PST) Received: by 10.216.78.147 with HTTP; Wed, 23 Feb 2011 23:19:06 -0800 (PST) Date: Thu, 24 Feb 2011 12:49:06 +0530 Message-ID: From: chandra reddy To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-i386@freebsd.org Subject: Why FreeBSD fetch does not download a file via a proxy for HTTPS URLS (the same works fine for HTTP urls) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 07:46:29 -0000 Hi All, I am working on a project where i need to download a file via a proxy server using HTTPS protocol. I found that fetch does not work/support HTTPS requests over a proxy. My setup would be like this: Intranet Internet ----------------------------------------------------------------------- | https or http | https | Client m/cs -----------------------------> Porxy Server -------------------------------> Destination Server (or Download server) | | ----------------------------------------------------------------------- I can use https or http protocol between Client and Proxy but only HTTPS is used between proxy and Destination server(or Download server) . I tried to use "squid" proxy as my proxy server and tried to download a file from my download server to Client m/c using FreeBSD "fetch" command. It fails to download a file via proxy for HTTPS requests Please note that Proxy setup is 100% correct and a web server (Apache) running fine. [I have tested it using my Mozilla browser on my PC]. I have done the following: 1. *Download a file using HTTPS over a proxy server* #env HTTP_PROXY=http://:3128/ /usr/sbin/fetch -v -o /tmp/download.out 'https:///index.htm' looking up connecting to:443 connection established fetch: https:///index.htm Authentication error Even I have tried this also and found the same error. #env HTTP_PROXY=https://:3128/ /usr/sbin/fetch -v -o /tmp/download.out 'https:///index.htm' My question is why it is not connected via "Proxy sever". It tries to connect directly. I could see that if I use HTTP protocol then it connects via proxy. Please see the logs here. 2. *Download a file using HTTP over a proxy server* #env HTTP_PROXY=http://:3128/ /usr/sbin/fetch -v -o /tmp/download.out 'http:///index.htm' looking up connecting to :3128 connection established requesting http://destination-server-ip/index.htm Even I have tried this also and found that works fine. #env HTTP_PROXY=https://:3128/ /usr/sbin/fetch -v -o /tmp/download.out 'http:///index.htm' I have debugged "fetch" and found that the following check is stopping HTTPS requests over a proxy. *http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/http.c .OR. http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/http.c?annotate=1.78.2.5.4.1 * 1375: 1.58 des 1376: if (purl && strcasecmp(URL->scheme, SCHEME_HTTPS) != 0) { 1.51 des 1377: URL = purl; I could overcome the above problem if I do the following change. 1375: 1.58 des 1376: if (purl) { 1.51 des 1377: URL = purl; I want to know why HTTPS over proxy is not working with "libfetch". I want to make it work how can do it? Thanks -Chandra From owner-freebsd-i386@FreeBSD.ORG Fri Feb 25 17:07:14 2011 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA381106566B; Fri, 25 Feb 2011 17:07:14 +0000 (UTC) (envelope-from creddym@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C222B8FC0C; Fri, 25 Feb 2011 17:07:13 +0000 (UTC) Received: by wwb31 with SMTP id 31so2433307wwb.31 for ; Fri, 25 Feb 2011 09:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hFtKhz+k1r4Gx+b9nyEZNwjTtFGSILGNVXJ6NTwJrYM=; b=v49c29Gwq3lAudbeTD12arjgzyXR8zLOGHHJGP/KUtkr+NO6tlg7pJtKdxGFB4hf2B o36tWUkLue4zp+jgpQkdbeuuPjIXrPg2pErKA6EeiEPGWqg2LiUWdEhhkj0Qg1h1Au9W lPCkiFnLZjCqZZ0K+ZK8FA0plc6FFWOwYAiaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NezypnHHcAPA8UxigfDnY8q5peM0C7Y6ANGxxgwSOdnZBOaugXLOGwXaZDWZfwU/ZK lTNNhNfuGNoo8CWkv4VQ7ov4tIhDmvWW3sozDNRqtI8WQO40DjUHWYhGDUanGPfal0nw C/yRDtOaG87BvqDXrucuWSSRnjoXDdOY3LrUI= MIME-Version: 1.0 Received: by 10.216.19.133 with SMTP id n5mr7062484wen.83.1298653632370; Fri, 25 Feb 2011 09:07:12 -0800 (PST) Received: by 10.216.78.147 with HTTP; Fri, 25 Feb 2011 09:07:12 -0800 (PST) In-Reply-To: References: Date: Fri, 25 Feb 2011 22:37:12 +0530 Message-ID: From: chandra reddy To: rwmaillists@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, freebsd-i386@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Why FreeBSD fetch does not download a file via a proxy for HTTPS URLS (the same works fine for HTTP urls) X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 17:07:14 -0000 Hi RW, Thanks alot for your reply. Do you mean to say "curl" also not using a CONNECT to tunnel through to the actual server? How can I achieve downloading files HTTPS over a proxy? Thanks <%20http://permalink.gmane.org/gmane.os.freebsd.devel.hackers/42588> -Chandra > Hi All, > > I am working on a project where i need to download a file via a proxy > server using HTTPS protocol. I found that fetch does not work/support > HTTPS requests over a proxy. I just checked and neither do wget nor curl. > I could overcome the above problem if I do the following change. > > 1375: > 1.58 > > des 1376: if (purl) { 1.51 > > des 1377: URL = purl; > I don't think that would work, presumably it would just cause an attempt at an ssl connection to the proxy, followed by a GET request for an https URL. https through a proxy is supposed to use a CONNECT to tunnel through to the actual server. On Thu, Feb 24, 2011 at 12:49 PM, chandra reddy wrote: > Hi All, > > I am working on a project where i need to download a file via a proxy > server using HTTPS protocol. I found that fetch does not work/support HTTPS > requests over a proxy. > > My setup would be like this: > > > > Intranet > Internet > ----------------------------------------------------------------------- > | https or http | > https > | Client m/cs -----------------------------> Porxy Server > -------------------------------> Destination Server (or Download server) > | | > ----------------------------------------------------------------------- > > > I can use https or http protocol between Client and Proxy but only HTTPS > is used between proxy and Destination server(or Download server) . > > I tried to use "squid" proxy as my proxy server and tried to download a > file from my download server to Client m/c using FreeBSD "fetch" command. > It fails to download a file via proxy for HTTPS requests Please note that > Proxy setup is 100% correct and a web server (Apache) running fine. > [I have tested it using my Mozilla browser on my PC]. > > I have done the following: > > 1. *Download a file using HTTPS over a proxy server* > > #env HTTP_PROXY=http://:3128/ /usr/sbin/fetch -v -o > /tmp/download.out 'https:///index.htm' > > looking up > > connecting to:443 > > connection established > > fetch: https:///index.htm Authentication error > Even I have tried this also and found the same error. > > #env HTTP_PROXY=https://:3128/ /usr/sbin/fetch -v -o > /tmp/download.out 'https:///index.htm' > > > My question is why it is not connected via "Proxy sever". It tries to > connect directly. I could see that if I use HTTP protocol then it connects > via proxy. > Please see the logs here. > > 2. *Download a file using HTTP over a proxy server* > > #env HTTP_PROXY=http://:3128/ /usr/sbin/fetch -v -o > /tmp/download.out 'http:///index.htm' > > looking up > > connecting to :3128 > > connection established > > requesting http://destination-server-ip/index.htm > Even I have tried this also and found that works fine. > > #env HTTP_PROXY=https://:3128/ /usr/sbin/fetch -v -o > /tmp/download.out 'http:///index.htm' > > I have debugged "fetch" and found that the following check is stopping > HTTPS requests over a proxy. > > *http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/http.c > > .OR. > > http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/http.c?annotate=1.78.2.5.4.1 > > * > > 1375: > 1.58 des 1376: if (purl && strcasecmp(URL->scheme, SCHEME_HTTPS) != 0) { > 1.51 des 1377: URL = purl; > > > > I could overcome the above problem if I do the following change. > > 1375: > 1.58 des 1376: if (purl) { > 1.51 des 1377: URL = purl; > > > I want to know why HTTPS over proxy is not working with "libfetch". I want > to make it work how can do it? > > Thanks > -Chandra > > -- Thanks, cr(); -------------------------------------------------------------------------------------------------------------------------- "Remote debugging a buggy debugger with a cross buggy debugger is a funny thing" -------------------------------------------------------------------------------------------------------------------------- From owner-freebsd-i386@FreeBSD.ORG Sat Feb 26 23:22:24 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC87B106566B; Sat, 26 Feb 2011 23:22:24 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 820BC8FC0C; Sat, 26 Feb 2011 23:22:24 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p1QNMNnT085150; Sat, 26 Feb 2011 18:22:23 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p1QNMNsi085129; Sat, 26 Feb 2011 23:22:23 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 26 Feb 2011 23:22:23 GMT Message-Id: <201102262322.p1QNMNsi085129@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:22:25 -0000 TB --- 2011-02-26 21:20:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-02-26 21:20:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2011-02-26 21:20:00 - cleaning the object tree TB --- 2011-02-26 21:20:22 - cvsupping the source tree TB --- 2011-02-26 21:20:22 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/pc98/supfile TB --- 2011-02-26 21:20:36 - building world TB --- 2011-02-26 21:20:36 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-26 21:20:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-26 21:20:36 - TARGET=pc98 TB --- 2011-02-26 21:20:36 - TARGET_ARCH=i386 TB --- 2011-02-26 21:20:36 - TZ=UTC TB --- 2011-02-26 21:20:36 - __MAKE_CONF=/dev/null TB --- 2011-02-26 21:20:36 - cd /src TB --- 2011-02-26 21:20:36 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 26 21:20:36 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Feb 26 23:10:54 UTC 2011 TB --- 2011-02-26 23:10:54 - generating LINT kernel config TB --- 2011-02-26 23:10:54 - cd /src/sys/pc98/conf TB --- 2011-02-26 23:10:54 - /usr/bin/make -B LINT TB --- 2011-02-26 23:10:54 - building LINT kernel TB --- 2011-02-26 23:10:54 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-26 23:10:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-26 23:10:54 - TARGET=pc98 TB --- 2011-02-26 23:10:54 - TARGET_ARCH=i386 TB --- 2011-02-26 23:10:54 - TZ=UTC TB --- 2011-02-26 23:10:54 - __MAKE_CONF=/dev/null TB --- 2011-02-26 23:10:54 - cd /src TB --- 2011-02-26 23:10:54 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 26 23:10:54 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' undeclared (first use in this function) /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c: At top level: /src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_bw' /src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_rtt' /src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' *** Error code 1 Stop in /obj/pc98.i386/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-02-26 23:22:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-02-26 23:22:22 - ERROR: failed to build lint kernel TB --- 2011-02-26 23:22:23 - 5885.61 user 1019.99 system 7342.19 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-i386@FreeBSD.ORG Sat Feb 26 23:30:46 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382B3106564A; Sat, 26 Feb 2011 23:30:46 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id E6CD18FC1B; Sat, 26 Feb 2011 23:30:45 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p1QNUjQ4042417; Sat, 26 Feb 2011 18:30:45 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p1QNUjiw042412; Sat, 26 Feb 2011 23:30:45 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 26 Feb 2011 23:30:45 GMT Message-Id: <201102262330.p1QNUjiw042412@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 23:30:46 -0000 TB --- 2011-02-26 21:20:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-02-26 21:20:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-02-26 21:20:00 - cleaning the object tree TB --- 2011-02-26 21:20:27 - cvsupping the source tree TB --- 2011-02-26 21:20:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-02-26 21:25:52 - building world TB --- 2011-02-26 21:25:52 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-26 21:25:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-26 21:25:52 - TARGET=i386 TB --- 2011-02-26 21:25:52 - TARGET_ARCH=i386 TB --- 2011-02-26 21:25:52 - TZ=UTC TB --- 2011-02-26 21:25:52 - __MAKE_CONF=/dev/null TB --- 2011-02-26 21:25:52 - cd /src TB --- 2011-02-26 21:25:52 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 26 21:25:52 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Feb 26 23:17:37 UTC 2011 TB --- 2011-02-26 23:17:37 - generating LINT kernel config TB --- 2011-02-26 23:17:37 - cd /src/sys/i386/conf TB --- 2011-02-26 23:17:37 - /usr/bin/make -B LINT TB --- 2011-02-26 23:17:37 - building LINT kernel TB --- 2011-02-26 23:17:37 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-26 23:17:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-26 23:17:37 - TARGET=i386 TB --- 2011-02-26 23:17:37 - TARGET_ARCH=i386 TB --- 2011-02-26 23:17:37 - TZ=UTC TB --- 2011-02-26 23:17:37 - __MAKE_CONF=/dev/null TB --- 2011-02-26 23:17:37 - cd /src TB --- 2011-02-26 23:17:37 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 26 23:17:37 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c:641: error: 'SCTPCTL_RTTVAR_EQRET_MAX' undeclared (first use in this function) /src/sys/netinet/sctp_sysctl.c:641: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' /src/sys/netinet/sctp_sysctl.c: At top level: /src/sys/netinet/sctp_sysctl.c:1109: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_bw' /src/sys/netinet/sctp_sysctl.c:1113: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_rtt' /src/sys/netinet/sctp_sysctl.c:1117: error: 'struct sctp_sysctl' has no member named 'sctp_rttvar_eqret' *** Error code 1 Stop in /obj/i386.i386/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-02-26 23:30:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-02-26 23:30:44 - ERROR: failed to build lint kernel TB --- 2011-02-26 23:30:44 - 6012.07 user 999.95 system 7844.14 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full