# Removing GeoIP Location from Bro

**URL:** <https://community.zeek.org/t/removing-geoip-location-from-bro/3486>\
**Category:** Zeek\
**Created:** [February 11, 2015, 5:18pm UTC](https://community.zeek.org/t/removing-geoip-location-from-bro/3486 "2015-02-11T17:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Rote](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@John\_Rote](https://community.zeek.org/u/John_Rote)\
**Post date:** [February 11, 2015, 5:18pm UTC](https://community.zeek.org/t/removing-geoip-location-from-bro/3486/1 "2015-02-11T17:18:10Z")

</div>

All,

I am trying to remove Geo IP capability from Bro and have most of it  
removed but when I attempt to remove the global variable, the bro  
check fails.

What are the steps for removing Geo IP from Bro?

Thanks  
John

---

<div class="post-metadata">

**Author:** ![anthony\_kasza1](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@anthony\_kasza1](https://community.zeek.org/u/anthony_kasza1)\
**Post date:** [February 11, 2015, 5:33pm UTC](https://community.zeek.org/t/removing-geoip-location-from-bro/3486/2 "2015-02-11T17:33:54Z")

</div>

You’ll need to remove references to it in a CPP and header file (I forget which ones right now bit will get back to you). You need to remove the functions that use the geoip record type from the bifs. You’ll also need to remove ant references to the geoip functions and the geoip record type definition from script land.

-AK

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:42pm UTC](https://community.zeek.org/t/removing-geoip-location-from-bro/3486/3 "2022-05-06T15:42:27Z")

</div>


