[network-manager-fortisslvpn] contrib: respond to /remote/fortisslvpn_xml



commit c14d6fd5aaa5aa77b37a829bc228e52b48bd7872
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Sep 22 09:38:12 2015 +0200

    contrib: respond to /remote/fortisslvpn_xml
    
    The official clients seems to need that. Also, some versions FortiOS server
    just terminate the clients that don't ask for this.

 contrib/fortiserve.pl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/contrib/fortiserve.pl b/contrib/fortiserve.pl
index 3f6e1e2..7a5e4f3 100644
--- a/contrib/fortiserve.pl
+++ b/contrib/fortiserve.pl
@@ -261,6 +261,8 @@ sub serve_request
                        '<input type="hidden" NAME="text3" value="0:1666">',
                        '<input type="hidden" NAME="text7" value="0">',
                );
+       } elsif ($request->uri eq '/remote/fortisslvpn_xml') {
+               $response = new HTTP::Response (200 => 'OK', [], 'something');
        } elsif ($request->uri eq '/remote/sslvpn-tunnel') {
                do_ppp ($client);
                $response = new HTTP::Response (200 => 'OK', 'something');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]