{"id":20887485,"url":"https://github.com/netscaler/maxmind-geoip-database-conversion-citrix-adc-format","last_synced_at":"2025-04-09T18:30:32.400Z","repository":{"id":66953811,"uuid":"171878766","full_name":"netscaler/MaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format","owner":"netscaler","description":"MaxMind GeoIP Database Conversion Citrix ADC Format","archived":false,"fork":false,"pushed_at":"2019-02-25T09:00:47.000Z","size":9,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-23T20:34:53.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netscaler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-02-21T13:40:34.000Z","updated_at":"2025-01-18T06:54:38.000Z","dependencies_parsed_at":"2023-05-15T19:00:24.937Z","dependency_job_id":null,"html_url":"https://github.com/netscaler/MaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format","commit_stats":null,"previous_names":["netscaler/maxmind-geoip-database-conversion-citrix-adc-format"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netscaler%2FMaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netscaler%2FMaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netscaler%2FMaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netscaler%2FMaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netscaler","download_url":"https://codeload.github.com/netscaler/MaxMind-GeoIP-Database-Conversion-Citrix-ADC-Format/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087551,"owners_count":21045536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:20:21.774Z","updated_at":"2025-04-09T18:30:32.380Z","avatar_url":"https://github.com/netscaler.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Citrix-ADC-GSLB-GeoIP-Conversion-Tool\nTool to convert Maxming GeoIP City database to Citrix ADC (NetScaler) format\nMaxMind GeoIP database cannot be used directly in Citrix ADC. The MaxMind GeoIP database must be converted into NetScaler format and then loaded for IP location detection in GSLB static proximity method and other features like policies.\nThe script provided converts the MaxMind GeoIP2 database to NetScaler database format.\n\nSteps to convert GeoIP2 database to NetScaler format\n1.\tDownload the script [Convert_GeoIPDB_To_Netscaler_Format.pl](https://github.com/pankajharnandka/Citrix-ADC-GSLB-GeoIP-Conversion-Tool/blob/master/Convert_GeoIPDB_To_Netscaler_Format_WithContinent.pl) to a Citrix ADC directory (for example /var/).\n\n2.\tDownload the .csv format of the GeoIP2 database from https://dev.maxmind.com/geoip/geoip2/geolite2/ and extract the database files into the same directory where you have placed the script.\n\n3.\tUnzip the database folder using the following shell command.\ntar -xvzf \n\n4.\tEnter  the file name of the database that is to be converted.\nThe default file names used in the script are that of the Maxmind GeoLite2 City based database.  If you have downloaded GeoLite2 Country or others databases, you must provide the input file names accordingly as listed below.\n\n\t-b \u003cfilename\u003e name of IPv4 block file to be converted. \nDefault file name: GeoLite2-City-Blocks-IPv4.csv\n\n\t-i \u003cfilename\u003e name of IPv6 block file to be converted. \nDefault file name: GeoLite2-City-Blocks-IPv6.csv\n\n\t-l \u003cfilename\u003e name of location file to be converted. \nDefault file name: GeoLite2-City-Locations.csv\n\n\n5.\tExecute  the following shell command to convert the GeoIP2 database format to NetScaler database format.\nperl Convert_GeoIPDB_To_Netscaler_Format.pl -help \n\nThe following files are generated after you run the script.\n\n\t-o \u003cfilename\u003e ipv4 output file. \nDefault output file name: Netscaler_Maxmind_GeoIP_DB_IPv4.csv\n\n\t-p \u003cfilename\u003e ipv6 output file. \nDefault output file name: Netscaler_Maxmind_GeoIP_DB_IPv6.csv\n\n\t-logfile \u003cfilename\u003e\nFile containing list of events/messages\n\n\t-debug prints all the messages to STDOUT\nFile containing messages that needs to be printed\n\nSee Citrix ADC GSLB docs for more details - https://docs.citrix.com/en-us/citrix-adc/12-1/global-server-load-balancing.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetscaler%2Fmaxmind-geoip-database-conversion-citrix-adc-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetscaler%2Fmaxmind-geoip-database-conversion-citrix-adc-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetscaler%2Fmaxmind-geoip-database-conversion-citrix-adc-format/lists"}