Project

General

Profile

Actions

Bug #3789

closed

rc.update_bogons.sh and login shell ignore http proxy settings

Added by Buster de over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
08/01/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

Hi,

I need to configure a http proxy for www access.
It seems that /etc/rc.update_bogons.sh ignores proxy settings:

Aug 1 12:38:35 root: rc.update_bogons.sh is sleeping for 56036
Aug 1 12:38:35 root: rc.update_bogons.sh is starting up.
Aug 1 12:38:35 root: Could not extract fullbogons-ipv6.txt
Aug 1 12:38:35 root: Could not download http://files.pfsense.org/lists/fullbogons-ipv6.txt
Aug 1 12:36:17 root: Could not extract fullbogons-ipv4.txt
Aug 1 12:36:17 root: Could not download http://files.pfsense.org/lists/fullbogons-ipv4.txt
Aug 1 12:33:59 root: rc.update_bogons.sh is beginning the update cycle.
Aug 1 12:33:59 root: rc.update_bogons.sh is starting up.

Furthermore local shell login ignores proxy setting too.

[2.1.4-RELEASE][root@firewall]/root(6): env | grep -i proxy

gives empty result and fetch won't work

[2.1.4-RELEASE][root@firewall]/root(9): fetch http://files.pfsense.org/lists/fullbogons-ipv4.txt
fetch: transfer timed out

This one works:

[2.1.4-RELEASE][root@firewall]/root(8): env http_proxy=http://172.28.133.242:3128 /etc/rc.update_bogons.sh now

log from webinterface:

Aug 1 12:55:36 root: rc.update_bogons.sh is ending the update cycle.
Aug 1 12:55:36 root: Bogons V6 file downloaded but not updating IPv6 bogons table because IPv6 Allow is off
Aug 1 12:55:36 root: Bogons V4 file downloaded: 2644 addresses added.
Aug 1 12:55:31 root: rc.update_bogons.sh is beginning the update cycle.
Aug 1 12:55:31 root: rc.update_bogons.sh is starting up.

/etc/rc.firmware_auto might be affected too (I didn't test).

Actions

Also available in: Atom PDF