summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-11[deb] arch is any, not allKali Kaneko (leap communications)
2019-12-10[deb] fix upstream urlKali Kaneko (leap communications)
2019-12-10randomize gws on same location, and allow to forbidKali Kaneko (leap communications)
2019-10-17[docker] getmyip service isn't a forking serviceMicah Anderson
2019-10-17[docker] Switch to using chaperone for initMicah Anderson
This will allow us to setup a cronjob that will once per night download the geoipdb update.
2019-10-17[pkg] Fix up multi-stage DockerfileMicah Anderson
. Stop installing geoipupdate in first stage . Remove apt package lists when finished to reduce size . Remove bash tricks done for reducing layer sizes, they are removed due to multi-stage . Replace RUN mkdir with WORKDIR . Install ca-certificatges in second stage, as its needed to authenticate the remote server the geoip database is pulled from . Switch to RUN cp for the GEOIP.conf.default . Run geoipupdate in second stage to seed the database, without it, getmyip will fail to start
2019-10-16Make sure that geoipupdate is installed in final build stageMicah Anderson
2019-10-16Entrypoint flags need to be specified by commasMicah Anderson
2019-10-10Merge branch 'dockerfile' into 'master'micah
Add Dockerfile and .gitlab-ci.yaml See merge request leap/getmyip!1
2019-10-10Add Dockerfile and .gitlab-ci.yamlmicah
2018-12-19[feat] add TLSKali Kaneko (leap communications)
2018-12-13gofmtKali Kaneko (leap communications)
2018-12-13return sorted list of gw hostsKali Kaneko (leap communications)
2018-12-13initial debianizationKali Kaneko (leap communications)
2018-12-13vendor packagesKali Kaneko (leap communications)
2018-12-13add license informationkali kaneko
2018-12-13refactor for readabilityKali Kaneko
2018-12-13geolocate gateways and kd-treeKali Kaneko
during initialization, we fetch the eip-config.json file from the configured provider. we geolocate the gateways (using a golang package that has some cities missing, hence the workaround) and initialize a KD-Tree with the gateways. using the KD-Tree, it is very cheap to calculate the nearest gateway for every request, which is provider as a filed in the json to the client - as a suggestion to be used or not in the gateway selection process.
2018-12-11add descriptionkali kaneko
2018-12-11formattingkali kaneko
2018-12-11rename readmekali kaneko
2018-12-11add usage to readmekali kaneko
2018-12-11remove binarykali kaneko
2018-12-11consider X-Forwarded-For header, pass port/path as parameterskali kaneko
2018-12-11set path to debians default for geoipupdatekali kaneko
2018-12-11initial commitkali kaneko