Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

IG 4 DIRECTORY STRUCTURE MANUAL

DOCUMENT RELEASE 1.00


IG 4 Directory Structure Manual

This guide covers the directory structures, logs and other files found in IG 4
gateway’s SSH-accessible directory. It is intended for administrators who
need to view the logged events occurring in IG 4 to determine operational
status, generate usage reports or make low-level configuration changes to
some of the installed modules.

Copyright © 2015 ANTlabs Pte Ltd


All rights reserved.
Connectivity Made Easy
2
TRADEMARKS AND ACKNOWLEDGEMENTS
The following trademarks and acknowledgments apply to the following:
TM
The IG 4 system and Tru’Connect technology are products and
technologies of Advanced Network Technology Laboratories Pte Ltd,
(ANTlabs). Windows and Microsoft are registered trademarks of
Microsoft Corporation. All other products mentioned in this manual are
trademarks of their respective owners.

DISCLAIMER
No part of this manual may be copied, distributed, transmitted,
transcribed, stored in a retrieval system or translated into any human
or computer language, in any form or by any means, electronic or
otherwise, without the express written permission of ANTlabs.

The software and accompanying written materials (including


instructions for use and this document) are provided “as is” without
warranty of any kind.

ANTlabs does not warrant, guarantee or make any representations


regarding the use, or the results of the use, of the software or written
materials in terms of correctness, accuracy, reliability, trend or
otherwise. ANTlabs reserves the right to make changes without further
notice to any products described herein to improve reliability, function
or design. This documentation is copyrighted and may not be altered
without written consent from ANTlabs.

ANTlabs reserves the right to prosecute companies or individuals who


make, distribute or use illegal copies of this software system and its
accompanying documentation.

Release Date: October 2015


Document Reference No: IG4-DSM-1.00

Connectivity Made Easy


3
CONTENTS
.................................................................................................. 6
INTRODUCTION ................................................................................... 6
1.1 Overview ................................................................................. 6
1.2 Editing Files ............................................................................. 6
.................................................................................................. 7
backup ................................................................................................. 7
2.1 backup/config .......................................................................... 7
2.2 backup/reports ......................................................................... 7
2.2.1 admin_audit_log.csv ............................................................ 7
2.2.2 device_log.csv ..................................................................... 8
2.2.3 session_log.csv ................................................................... 8
2.3 billing_log.csv........................................................................... 9
2.4 cc_status.csv ............................................................................ 9
................................................................................................ 11
log ..................................................................................................... 11
3.1 acc/acc.log ............................................................................. 11
3.2 ftp/xferlog .............................................................................. 11
3.3 login/tcpd.log ......................................................................... 11
3.4 mail/maillog ........................................................................... 11
3.5 pms/pms.log .......................................................................... 12
3.6 php/php.log ........................................................................... 15
3.7 system/ant_ha_auto_sync.log ................................................. 15
3.8 system/appliance_events.log ................................................... 16
3.9 system/dhcp_events.log.......................................................... 16
3.10 system/events.log .................................................................. 17
3.11 system/sys_load.log ............................................................... 18
3.12 user/user_maintenance.log ..................................................... 18
3.13 web/redirect.log ..................................................................... 19
................................................................................................ 20
messages ........................................................................................... 20
4.1 blocked.ant ............................................................................ 20
4.2 ph41l.ant ............................................................................... 20
4.3 location.ant ............................................................................ 20
4.4 svc_failure.ant ........................................................................ 20
................................................................................................ 21
templates ........................................................................................... 21
5.1 account-receipt-template.php .................................................. 21
5.2 account-receipt.php ................................................................ 21
5.3 resources Directory ................................................................. 22
................................................................................................ 23
Login Pages ........................................................................................ 23
6.1 login Directory ........................................................................ 23

Connectivity Made Easy


4
PREFACE

RELATED DOCUMENTATION

You may refer to the ANTlabs website at http://www.antlabs.com/ for


other related materials and documents released by ANTlabs.

CONVENTIONS USED IN THIS MANUAL

Italics are used for:


• Menu selection paths.
• File and directory paths.
• Field input or item selection.

Bold is used for:


• Associated data fields and items in the system.
• Emphasis of content.

Fixed Width is used for:


• Any computer code or scripting item, including C, Perl, HTML and SQL
Query language commands.
• Commands and parameters.

FEEDBACK AND COMMENTS

ANTlabs welcomes all comments and suggestions on the quality and


usefulness of this document. Our users’ feedback is an important component
of the information used for improvement of this document.

Please include in your feedback:

 Name  Postal Address


 Title  Telephone Number
 Company  Document Title & Release No
 Department  Document Reference No.
 E-Mail  Comments/Feedback

Also, please include the chapter, section and/or page number when referring
to specific portions of the document.

Comments can be sent to us in any of the following media:


 email: documentation@antlabs.com
 fax: (+65) 6487-4567

Connectivity Made Easy


5
INTRODUCTION

1.1 Overview
IG 4 maintains a directory containing various logs, reports and configuration
files used and generated by the gateway. Administrators with valid credentials
can login to the IG 4 gateway’s SSH server and download the files available.

The SSH service must be enabled before it can be accessed. This is


configured in the web admin GUI. Refer to the IG 4 Administrator Manual for
details.

The SSH directory consists of several subdirectories in the following hierarchy:

backup
config
reports
log
acc
ftp
login
mail
php
pms
smpp
system
patch
user
web
login
messages
templates
resources

Directories highlighted in bold contain files described in this document.

1.2 Editing Files


For editable configuration files, download them to your local hard drive, edit
them with a text editor, and upload them back to IG 4.

Be sure that the SSH program and text editor do not change the Unix-
formatted text file and line endings. Avoid using text editors like
Notepad that support only Windows line endings.

Connectivity Made Easy


6
backup

2.1 backup/config

The backup/config directory contains configuration backup files that are


generated by the system configuration backup feature in the web admin GUI.

These configuration backup files can be downloaded from this directory for
archival. In addition, configuration backup files can be uploaded into this
directory for restoring the configuration via the web admin GUI.

2.2 backup/reports

The backup/reports directory contains files generated by the reports


maintenance feature in the web admin GUI.

Format: Files in this directory are in comma-separated values (CSV) format


consisting of a header row followed subsequently by data rows.

2.2.1 admin_audit_log.csv
This is a log containing details of admin audit entries.

Header row:

Date & Time,ID,Status,Module,Operation,Details

Sample data rows:

"29/09/2015 02:39PM","root",Success,Remote
Access,"Modify Remote Access configuration","1: SSH
Enabled"

"29/09/2015 02:39PM","root",Success,Remote
Access,"Modify Remote Access configuration","1: SSH
Enabled"

Connectivity Made Easy


7
2.2.2 device_log.csv
This is a log containing details of the network devices that were connected to
the downstream/LAN network.

Header row:

MAC Address,IP Address,VLAN,Connected On,Disconnected


On,Logged In On,Logged Out On,Login Duration

Sample data rows:

00:13:E0:F8:D2:FB,10.46.0.101,"location","30/09/2015
23:49PM","30/09/2015 23:53PM","30/09/2015
23:51PM","30/09/2015 23:53PM","1 mins 37 secs"

00:18:41:5D:3E:F6,10.46.0.93,"location","30/09/2015
23:47PM","30/09/2015 23:57PM","30/09/2015
23:48PM","30/09/2015 23:57PM","8 mins 32 secs"

00:1C:A4:70:35:DD,10.46.0.90,"location","30/09/2015
23:46PM","30/09/2015 23:57PM","30/09/2015
23:50PM","30/09/2015 23:57PM","7 mins 30 secs"

2.2.3 session_log.csv
Logs details of successful login attempts made by users.

Header row:

Logged In On,Login Duration,Authentication Type,User


ID,MAC Address,IP Address,VLAN,Input Octets,Output
Octets,Input Packets,Output Packets

Sample data rows:

"30/09/2015 23:51PM","1 mins 37


secs",radius,"xxxxxxxxx",00:13:E0:F8:D2:FB,10.46.0.101,
"location",228686,50922,269,297

"30/09/2015 23:50PM","7 mins 31


secs",radius,"xxxxxxxxxxxxxx",00:1C:A4:70:35:DD,10.46.0
.90,"location",291921,44423,289,201

Connectivity Made Easy


8
2.3 billing_log.csv
Logs PMS billing events generated for guests’ network access. The content of
the log will vary depending on the PMS type. This example is using MICROS
Fidelio.

Header row:

Date,Guest Name,Room Number, Original Room Number,


Usage Duration, Start Time,Charge Start Time, Amount,
Status, MAC Address, Description

Sample data rows:

"30 Oct, 2015 01:16:18","1612_1225300578",1612,0,,"03


Jan, 1970 07:30:00","30 Oct, 2015 01:16:18","30 Oct,
2015 01:16:18",6300,A,00:05:3C:07:E5:6A,Per Day (24
Hrs) - $31.50

"29 Oct, 2015 23:34:48","1619_1225294488",1619,0,,"02


Jan, 1970 07:30:00","29 Oct, 2015 23:34:48","29 Oct,
2015 23:34:48",3150,A,00:0B:97:56:E9:EB,Per Day (24
Hrs) - $31.50

"29 Oct, 2015 22:33:56","1925_1225290836",1925,0,,"02


Jan, 1970 07:30:00","29 Oct, 2015 22:33:56","29 Oct,
2015 22:33:56",3150,A,00:10:C6:DE:50:D5,Per Day (24
Hrs) - $31.50

2.4 cc_status.csv
Logs Credit card billing status generated for guests’ network access.

Header row:

Date,Local Transaction ID,Payment Gateway Transaction


ID,MAC Address,IP Address,VLAN,Plan,Payment
Gateway,Transaction Status,Transaction Details

Sample data rows:

"13/05/2015
02:09PM","22","V19A1D1F9A73","00:0E:35:E5:4E:D4","10.10.1.
241","210 (VLAN 210)","Fixed Duration 6 hours","Paypal
Payflow Pro","Transaction Completed",""

"13/05/2015
11:49AM","20","","00:0E:35:E5:4E:D4","10.10.1.241","210
(VLAN 210)","Fixed Duration 6 hours","Paypal Payflow
Pro","Transaction Error",""

Connectivity Made Easy


9
"13/05/2015
11:48AM","19","","00:0E:35:E5:4E:D4","10.10.1.241","210
(VLAN 210)","Fixed Duration 6 hours","Paypal Payflow
Pro","Transaction Error","User authentication failed"

"13/05/2015
11:45AM","18","","00:0E:35:E5:4E:D4","10.10.1.241","210
(VLAN 210)","Fixed Duration 6 hours","Paypal Payflow
Pro","Transaction Started",""

"13/05/2015
11:28AM","12","0","00:0E:35:E5:4E:D4","10.10.1.241","210
(VLAN 210)","Fixed Duration 6 hours","Authorize.Net
SIM","Transaction Completed",""

"13/05/2015
11:25AM","11","V78A1BD863E8","00:0E:35:E5:4E:D4","10.10.1.
241","210 (VLAN 210)","Fixed Duration 6 hours","Paypal
Payflow Link","Transaction Completed",""

"12/05/2015
06:27PM","3","","00:30:1B:3A:3F:E3","10.10.1.250","10
(VLAN 10)","Fixed Duration 6 hours","Worldpay Select
Junior","Transaction Started",""

Connectivity Made Easy


10
log

The log directory contains log files generated by various IG 4 features.

3.1 acc/acc.log
Logs events generated by the account printer module.

Sample entries:

Sep 29 12:52:53 IG4000-1 Acc_Printer: Printer Test123 Plan 1


Creating Account : Access Code = 1

Sep 29 12:53:42 IG4000-1 Acc_Printer: Printer Test123 Plan 2


Creating Account : User ID = acvll Password = 7ns2z

3.2 ftp/xferlog
Contains logging information from the FTP server daemon, each server entry
is composed of a single line of the following form, with all fields being
separated by spaces:
current-time transfer-time remote-host file-size filename transfer-
type special-action-flag direction access-mode username service-
name authentication-method authenticated-user-id completion-status

3.3 login/tcpd.log
Logs the time and IP address of logins to the IG 4 gateway’s ssh remote
access services.

Sample entries:

Tue Oct 28 14:23:56 SGT 2015 127.255.0.1 sshd

Tue Oct 28 14:24:15 SGT 2015 202.172.46.155 sshd

3.4 mail/maillog
Logs generated by the qmail SMTP daemon running in IG 4.

Sample of a successful event:

Mon Jul 7 09:10:11 SGT 2015 192.168.123.226 sshd


Mon Jul 7 09:58:13 SGT 2015 10.10.0.230 sshd

Connectivity Made Easy


11
3.5 pms/pms.log
Logs generated by the PMS module.

Sample entries for FCS posting:

[Fri Oct 24 04:27:36 2015] WIias.c,811 <INFO>: command


is [SEND PS2 room_no=1011
,client_mac=00:1C:23:A6:C2:4A,duration=86400,label=T,am
ount=6800]

[Fri Oct 24 04:27:36 2015] WIias_post.c,153 <INFO>:


SEND PS2
room_no=1011,amount=6800,label=T,time=(null),duration=8
6400

[Fri Oct 24 04:27:36 2015] WIias_funcs.c,487 <INFO>:


sending PS to serial, for room_no:'001011'.
usagetime:'86400',date:'20151024"042736"'

Sample entries for FCS check in:

[Fri Oct 24 08:32:37 2015] WIips.c,904 <INFO>: Passing


packet received: 47 [SE CP 2015 "xxxxxxxxxxxxxx
""5342Z0" CH IN ]

[Fri Oct 24 08:32:37 2015] WIias_funcs.c,280 <INFO>:


guest_name - [xxxxxxxxxxx ], room_no - [2015][Fri Oct
24 08:32:37 2015] billing.c,1450 <INFO>:
guest_name=xxxxxxxxxxxx , room_no=2015, time=10/24/08
08:32:37

Connectivity Made Easy


12
Sample entries for FCS check out:

[Fri Oct 24 05:03:13 2015] WIips.c,904 <INFO>: Passing


packet received: 39 [SE CP 2608 " " CH
OU ]

[Fri Oct 24 05:03:13 2015] WIias_funcs.c,335 <INFO>:


guest_name - [ ], room_no - [2608]

[Fri Oct 24 05:03:13 2015] billing.c,1586 <INFO>: Guest


Check-out Event: guest_name= ,
room_no=2608, time=10/24/08 05:03:13

Sample entries for Micros Fidelio posting:

[1224712839/Thu Oct 23 06:00:39 2015] mfias.c:493


<INFO>: Command is [SEND PS2
room_no=1104,label=T,desc=new pms
module,client_mac=00:18:8B:CE:69:D5,duration=86400,amou
nt=2000]

[1224712839/Thu Oct 23 06:00:39 2015]


mfias_funcs.c:1158 <WARN>: Invalid arguments: label

[1224712839/Thu Oct 23 06:00:39 2015] billing.c:1982


<INFO>: Manual billing: room_no=1104, amount=2000

[1224712839/Thu Oct 23 06:00:39 2015] mfips.c:272


<INFO>: Going to write
'PS|P#15786|RN1104|PTC|TA2000|DU000000|CTnew pms
module|DA081023|TI060039|PC1|' over serial link

Sample entries for Micros Fidelio posting acknowledgement:

[1224718855/Thu Oct 23 07:40:55 2015] mfips.c:878


<INFO>: Passing packet received: 42
[PA|P#15789|RN0466|ASOK|DA081023|TI072841|]

[1224718855/Thu Oct 23 07:40:55 2015] mfips.c:330


<INFO>: MFIPS READ 42
[PA|P#15789|RN0466|ASOK|DA081023|TI072841|]

[1224718855/Thu Oct 23 07:40:55 2015] mfias.c:397


<INFO>: Record received:
PA|P#15789|RN0466|ASOK|DA081023|TI072841|

Connectivity Made Easy


13
Sample entries for Micros Fidelio check in:

[1224716872/Thu Oct 23 07:07:52 2015] mfips.c:878


<INFO>: Passing packet received: 96
[GI|RN0712|G#270986|GNxxxxxxxxxx|GFMR|NPN|GSN|GVN|GA081
023|GD081024|DA081023|TI065538|]

[1224716872/Thu Oct 23 07:07:52 2015] mfips.c:330


<INFO>: MFIPS READ 96
[GI|RN0712|G#270986|GNxxxxxxxxxxxxxxx|GFMR|NPN|GSN|GVN|
GA081023|GD081024|DA081023|TI065538|]

[1224716872/Thu Oct 23 07:07:52 2015] mfias.c:397


<INFO>: Record received:
GI|RN0712|G#270986|GNxxxxxxxxxxxxxxx|GFMR|NPN|GSN|GVN|G
A081023|GD081024|DA081023|TI065538|

Sample entries for Micros Fidelio check out:

[1224717492/Thu Oct 23 07:18:12 2015] mfips.c:878


<INFO>: Passing packet received: 38
[GO|RN0965|G#264886|DA081023|TI070559|]

[1224717492/Thu Oct 23 07:18:12 2015] mfips.c:330


<INFO>: MFIPS READ 38
[GO|RN0965|G#264886|DA081023|TI070559|]

[1224717492/Thu Oct 23 07:18:12 2015] mfias.c:397


<INFO>: Record received:
GO|RN0965|G#264886|DA081023|TI070559|

Sample entries for Hobic posting:

[1224818387/Fri Oct 24 11:19:47 2015] mfias.c:381


<INFO>: command is [SEND PS2
room_no=1805,amount=4500,duration=3600,client_mac=00:1E
:C2:07:4D:7A,desc=AED45 for 1 hour of internet access]

[1224818389/Fri Oct 24 11:19:49 2015] mfips.c:232


<INFO>: Sending '69220 HID 10/24 1805 11:19 0000
AED045.00 001EC2-074D7A A' over serial link

Connectivity Made Easy


14
3.6 php/php.log
Logs generated by API and PHP.

Sample entries for php.log:


Mon, 22 Jun 2015 08:03:09 +0800 [account_add 1.01]
success [0] (INPUT:
valid_until=1245643389|plan_id=10|code=8687kg|type=code
|creator=complimentary|api_inte
rface=php) (OUTPUT:
created=1|results=ok|userids=8687kg|passwords=EMPTY!|co
des=8687kg)

Mon, 22 Jun 2015 08:03:10 +0800 [auth_login 2.0] Login


successful [0] (INPUT:
code=8687kg|type=local|client_mac=00:0C:F1:34:B3:5B|cli
ent_ip=10.10.1.238|locat
ion_index=6|ppli=eth0.210|api_interface=php) (OUTPUT:
requestedURL=http://www.yahoo.com/|preloginURL=EMPTY!)

3.7 system/ant_ha_auto_sync.log
Logs generated by high availability synchronizations between the primary and
secondary gateways. Only applicable when two IG 4 gateways are paired for
high availability.

Sample of a successful synchronization:

[2015/09/15 01:05:08] HA Auto-Synchronization: STARTED


with Master of HA ID 1
[2015/09/15 01:05:08] File /usr/local/ant_ha/data/
synchronization: SUCCESS
[2015/09/15 01:05:08] File /var/lib/arpd/clients.mmap
synchronization: SUCCESS
[2015/09/15 01:05:15] Database synchronization: Local
database backed up
[2015/09/15 01:05:40] Database synchronization: SUCCESS
[2015/09/15 01:05:40] HA Auto-Synchronization: ENDED

Connectivity Made Easy


15
3.8 system/appliance_events.log
Logs generated by IG 4 for the following system-level events:

 eth0 link down


 eth1 link down
 eth1 default gateway unreachable
 network link restored
 httpd down
 httpd restored
 mysql down
 mysql restored
 squid down
 squid restored
 dhcpd down
 dhcpd restored
 named down
 named restored
 arpd down
 arpd restored
 antmgr down
 antmgr restored
 dnsredir down
 dnsredir restored
 qmail down
 qmail restored
 CRITICAL: System load above critical threshold
 WARNING: System load reaching critical threshold
 sys_load restored

Sample entries:

Mon Jul 7 14:36:32 2015: httpd down


Mon Jul 7 14:41:34 2015: httpd restored
Tue Jul 8 08:26:49 2015: squid down
Tue Jul 8 08:26:51 2015: httpd down
Tue Jul 8 08:26:55 2015: antmgr down

3.9 system/dhcp_events.log
Logs generated by IG 4 for the following DHCP events:

 DHCPDISCOVER
 DHCPOFFER
 DHCPREQUEST
 DHCPACK
 DHCPRELEASE
 DHCPINFORM
 DHCPNAK

Connectivity Made Easy


16
Sample entries:

[2015/10/28 14:39:56] dhcpd: DHCPDISCOVER from


00:13:02:1e:78:22 (sal6btoc-x60) via eth0.651

[2015/10/28 14:39:56] dhcpd: DHCPOFFER on


10.128.168.200 to 00:13:02:1e:78:22 (sal6btoc-x60) via
eth0.651

[2015/10/28 14:39:56] dhcpd: DHCPREQUEST for


10.128.168.200 (198.41.0.4) from 00:13:02:1e:78:22
(sal6btoc-x60) via eth0.651

[2015/10/28 14:39:56] dhcpd: DHCPACK on 10.128.168.200


to 00:13:02:1e:78:22 (sal6btoc-x60) via eth0.651

3.10 system/events.log
Logs generated by downstream client events.

Sample entries:

[2015/10/26 04:02:29] client: "client_arrived" 0X79


10.45.2.16 10.45.0.1 00:18:DE:12:A5:A4 "eth0.882"
"access_types:charged_internet
intranet;default_url:http:/
/ezxcess.antlabs.com/login.init;ratelimit:512000,512000
" 1224964949

[2015/10/26 04:02:55] client: "billing_start" 0X3C


00:19:2D:8D:BC:47 "eth0.881"
"access_types:charged_internet
intranet;default_url:http://ezxcess.antlabs.com/login.i
nit;ratelimit:512000,512000" 1224964808

[2015/06/26 04:03:16] client: "client_departed" 0X54


10.45.3.28 10.45.0.1 00:19:E3:DA:37:4C "eth0.882"
"access_types:charged_internet
intranet;default_url:http://ezxcess.antlabs.com/login.i
nit;ratelimit:512000,512000" 1224964030 1224964996

[2015/06/26 04:04:38] client: "billing_stop" 0XA3


00:0E:35:38:48:AA "eth0.881"
"access_types:charged_internet
intranet;default_url:http://ezxcess.antlabs.com/login.i
nit;ratelimit:512000,512000" 1224962342 1224962465
1224965078 2358

Connectivity Made Easy


17
3.11 system/sys_load.log
Logs generated by IG 4 for system load information. These are generated
using standard Unix-style load calculation that represents the system load
during the last one, five, and fifteen minute periods. The CPU loads are also
calculated and displayed as total and individual percentages.

Sample entries:

Sun Sep 27 04:05:32 2015, Average Load: 0.29, 0.26, 0.11


[CPU Info]: %user% us, %system% sy, %nice% ni, %idle%
id, %iowait% wa, %irq% hi, %soft% si
[All CPUs]: 0.75% us, 0.33% sy, 0.00% ni, 98.17% id,
0.00% wa, 0.00% hi, 0.75% si
[CPU #0]: 0.00% us, 0.33% sy, 0.00% ni, 98.00% id, 0.00%
wa, 0.00% hi, 1.67% si
[CPU #1]: 1.00% us, 0.33% sy, 0.00% ni, 98.00% id, 0.00%
wa, 0.00% hi, 0.67% si
[CPU #2]: 1.33% us, 0.33% sy, 0.00% ni, 98.33% id, 0.00%
wa, 0.00% hi, 0.00% si
[CPU #3]: 0.67% us, 0.67% sy, 0.00% ni, 99.00% id, 0.00%
wa, 0.00% hi, 0.33% si

3.12 user/user_maintenance.log
Logs generated by IG 4 when user account purging is activated. User details
such as the plan, user ID, validity and login limit are listed.

Sample entries:

=== User Account Purging on Sat Jul 5 03:00:01 2015 ==


No of local account scheduled to be purged: 7
"Enabled","User ID","Access
Code","Plan","Creator","Valid From","Valid
Until","Login Limit","Sharing","Description","Billing
ID","Create On","Update On","Allowed Login
Zones","Device Restriction","Restricted MAC Address"
"yes","pumif","","VIP_1Day_2Devices","pms","03/07/2015
10:15AM","","1/-","2","","","03/07/2015
10:15AM","","all","off",""
"yes","","1234","VIP_1Day_2Devices","admin","03/07/2015
02:30PM","","3/-","","","","03/07/2015
02:30PM","","all","off",""
"yes","","8drgjw","test","complimentary","03/07/2015
03:56PM","10/07/2015 03:56PM","2/-
","","","","03/07/2015 03:56PM","","all","off",""
"yes","","8iuw2d","test","complimentary","03/07/2015
03:53PM","10/07/2015 03:53PM","1/-
","","","","03/07/2015 03:53PM","","all","off",""

Database Clean-Up: Success


=======================================================

Connectivity Made Easy


18
3.13 web/redirect.log
Logs generated by IG 4 when a web request is made.

Sample entry:

[Tue Oct 28 04:03:38 2015]


http://co106w.col106.mail.live.com/mail/LayoutCommon_13
.1.0132.0805.aspx?Theme=6&culture=en-SG
10.45.3.210/- - GET 127.131.114.254:80 61
00:19:D2:5D:73:57
00:19:D2:5D:73:57 Result(charged_internet):
http://co106w.col106.mail.live.com/mail/LayoutCommon_13
.1.0132.0805.aspx?Theme=6&culture=en-SG

Connectivity Made Easy


19
messages

The messages directory contains the various message files that can be
customized in the system.

4.1 blocked.ant
Customizable html/php file displayed to user who are denied access to the
network.

4.2 ph41l.ant
Customizable html/php file displayed when there is an unexpected
configuration error with the gateway.

Note: If this message appears consistently, log a call to ANTlabs technical


support.

4.3 location.ant
Customizable html/php file displayed when the location policies are not
configured.

Note: If this message appears consistently, log a call to ANTlabs technical


support.

4.4 svc_failure.ant
Customizable html/php file displayed when the user’s login policies cannot be
applied. The possible reasons for this error are database issues or high
system load.

Note: If this message appears consistently, log a call to ANTlabs technical


support.

Connectivity Made Easy


20
templates

The templates directory contains the various templates that can be


customized in the system.

5.1 account-receipt-template.php
This is a non-modifiable default template file for the account receipt that is
displayed when invoking the print function after generating user accounts in
the web admin.

<html>
<head>
<title>Receipt</title>
<style type="text/css">
body, th, td {
font-family: Helvetica, Arial, sans-serif;
font-size: 80%;
}

table {
border-collapse: collapse;
margin: 1em 0;
}

th, td {
border: 1px solid grey;
padding: 0.3em;
}
</style>
</head>
<body onload="print()">
<h1>Receipt</h1>
<p>The following user accounts have been created:</p>
<?php printHeaders(); ?>
<?php printUseridTable(); ?>
<?php printCodeTable(); ?>
</body>
</html>

5.2 account-receipt.php
This html/php file is fully customizable. The 3 items to include in the file are:

<?php printHeaders(); ?>


 print the following headers
Creation Date: 10/05/2015 06:51AM
Plan Name: 1 Day Single Use
Price: 20.00
Valid from: 10/05/2015 06:51AM
Valid until:
Description:

Connectivity Made Easy


21
<?php printUseridTable(); ?>
 print out all the user ids and passwords generated in
table format

<?php printCodeTable(); ?>


 print out all the access codes generated in table format

5.3 resources Directory


This directory is used for uploading images or style sheets that are included in
the account-receipt.php file.

Connectivity Made Easy


22
Login Pages

Login pages in IG 4 are customized using PHP scripts.

6.1 login Directory


This directory is for you to upload your customized login pages.

Connectivity Made Easy


23

You might also like