iframe header
  • Join FlightAware (Why Join?)
  • Login
  • US Flag 
04:43AM EDT

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FlightXML Alert Remote Host
PostPosted: Wed Mar 07, 2012 1:44 am 
Offline

Joined: Tue Jan 31, 2012 11:42 pm
Posts: 40
When receiving POST callbacks to my server endpoint from FlightXML for incoming flight alerts, I want to authenticate the request so that I know it is coming from FlightAware rather than just blindly trusting incoming POST data.

Any suggestions on how I could do that? User-Agent could easily be spoofed. Can the remote IP posting to my server be relied on to stay constant, or are there a number of IPs that could post to me?


Top
 Profile  
 
 Post subject: Re: FlightXML Alert Remote Host
PostPosted: Wed Mar 07, 2012 11:23 am 
Offline
mduell - FlightAware user avatar

Joined: Wed Jul 27, 2005 3:00 pm
Posts: 4710
Location: FAWHQ
In the short term the best option is probably checking the remote IP.

Our current IP ranges are:
216.52.171.64/26
70.42.6.128/25
2600:0C13:1002:0004::/64
72.251.200.64/26
89.151.84.224/28

We've discussed using client-side SSL certificates in the future but have no planned implementation date.


Top
 Profile  
 
 Post subject: Re: FlightXML Alert Remote Host
PostPosted: Wed Mar 07, 2012 5:39 pm 
Offline

Joined: Tue Jan 31, 2012 11:42 pm
Posts: 40
Thanks, I've implemented remote IP checking for now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
iframe sidebar


 

Airport Tracker/Info


-or-