This method generates and stores the list of trusted ip's as Netmask objects at the time Plack starts up, obviating the need to regerenate them on each request.
This method is called for each request, and will ensure the correct remote address is set in the REMOTE_ADDR environment variable.
my $address = get_real_ip( $remote_addres, $x_forwarded_for_header );
This method takes the current remote address and the x-forwarded-for header string, determines the correct external ip address, and returns it.
This method returns an arrayref of Net::Netmask objects for all the trusted proxies given to Koha.
Kyle M Hall <firstname.lastname@example.org>