-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter out Intelsat satellite network plane wifi from Impossible Travel #1358
Filter out Intelsat satellite network plane wifi from Impossible Travel #1358
Conversation
Intelsat provides in-flight wifi for a number of airlines (American, Alaska, etc) but like any ASN provides geographic information for a fixed spot on the globe. This leads to false positives when persons using in-flight wifi have login activity shortly before or after a login from in-flight.
Hi Geoff, thanks for submitting! I've been reviewing your PR and I'm wondering why the current rule code doesn't satisfy your situation... It appears that Intelsat gets identified by IPinfo as a VPN, and therefore the current code would not use it for any distance calculations in further events. (It does generate an alert, but the alert is INFO level and auto-dismissed, so it shouldn't generate any noise. The reason we still generate an alert for VPNs is in case the VPN designation was a mistake - you'll still have a record of the alert and the event details, if you review your alert history.) Please let me know if there's something I'm not seeing! |
@ben-githubs It may be that not all of their subnets will return as VPN and I have a few alerts that have triggered as Highs as the default severity. No errors in my table lookups for ipinfo_privacy either. |
That makes sense! I've adjusted the logic slightly to handle alerting/caching the same way the VPN check does, but still uses the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! I wonder if there are other ASNs that are worth excluding?
Couple of minor suggestions.
Just an FYI, I am the DevRel of IPinfo and have been following this PR. We are working on the engineering feature for recognizing in-flight WiFi providers. We do not want to point to just a fixed amount of ASN and say these provide In-Flight WiFi. In fact, whenever anyone from our engineering team travels by plane, they log networking information from the in-flight WiFi which we use to create a more reliable flagging mechanism for this feature. This feature is currently in active development. I will update you once it is released. |
Oh that's very cool, thanks @abdullahdevrel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! We'll keep an eye out for the new IPinfo feature to detect in-flight wifi providers.
Background
Intelsat provides in-flight wifi for a number of airlines (American, Alaska, etc) among other mobile services but like any ASN provides geographic information for a fixed spot on the globe. This leads to false positives when persons using in-flight wifi have login activity shortly before or after a login from in-flight. An example:
Changes
Adds a check on
ipinfo_asn
lookups and excludes Intelsat's ASNAS22351
from triggering the rule or being included innew_login_stats
. Any additional satellite network ASNs identified can be added to theSATELLITE_NETWORK_ASNS
constant.Testing