int13h/squert

ip2c.tcl behind proxy fails

Opened this issue · 0 comments

Hi,

I get this timeout when using squert behind ftp/http/https proxy:

Populating SQueRT IP-to-country mappings...
AFRINIC timed out. Moving on..
APNIC timed out. Moving on..
ARIN timed out. Moving on..
LACNIC timed out. Moving on..
RIPE timed out. Moving on..
No new information exists, exiting.

Seems that ip2c.tcl use ftp tcl module that doesn't have proxy support and doesn't care about proxy settings in /etc/environment and/or .bashrc.
The only fix that I can see is rewriting ip2c.tcl with curl tcl module or http tcl module which both have proxy support.

Kind regards.