<DD>\r
Fix small bugs and modify pages. Add processing time measurement for research.\r
</DD>\r
+<DT>\r
+Ver.1.4.8 at 2006.11.19</DT>\r
+<DD>\r
+Fix small bugs and modify pages and measurement items.\r
+</DD>\r
\r
</DL>\r
<b>Please see CVS in SourceForge.net to check the file difference between versions.</b>\r
<table bgcolor="lightyellow" border="1">
<tr><td>
-<b>Please keep this window as it is or in minimized mode. </b>
-Start other browsers or other programs for network usage.
+<b>Please keep this window as it is or in minimized mode.
+Start browsers or other applications for network usage. </b>
Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
-to start browsing (In some browsers,
-it is needed to push SHIFT or CTRL key to open new window.
-The window may be popped up automatically, if it is
-permited in the browser setting). </td></tr> </table>
+to start browsing
+(If the page is not opened by CLICK, push SHIFT key and CLICK.
+The window can be popped up automatically, if it is
+permited in the browser setting).
+</td></tr>
+</table>
</BODY>
</HTML>
<table bgcolor="lightyellow" border="1">
<tr><td>
-<b>Please keep this window as it is or in minimized mode. </b>
-Start other browsers or other programs for network usage.
-Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
- to start browsing
-(In some browsers,
-it is needed to push SHIFT or CTRL key to open new window.
-The window may be popped up automatically, if it is
-permited in the browser setting).
-</td></tr>
+<b>Please keep this window as it is or in minimized mode.
+Start browsers or other applications for network usage. </b>
+Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
+to start browsing
+(If the page is not opened by CLICK, push SHIFT key and CLICK.
+The window can be popped up automatically, if it is
+permited in the browser setting).
+</td></tr>
</table>
</body>
<table bgcolor="lightyellow" border="1">
<tr><td>
<b>This page can be closed.</b> But it is recommended to save this page for termination request.
-If possible, keep this window as it is or in minimized mode.
-And start other browsers or other programs for network usage.
-Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
- to start browsing
-(In some browsers,
-it is needed to push SHIFT or CTRL key to open new window.
-The window may be popped up automatically, if it is
-permited in the browser setting).
-</td></tr>
+If possible, please keep this window as it is or in minimized mode.
+Start browsers or other applications for network usage.
+Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
+to start browsing
+(If the page is not opened by CLICK, push SHIFT key and CLICK.
+The window can be popped up automatically, if it is
+permited in the browser setting).
+</td></tr>
</table>
</BODY>
<table bgcolor="lightyellow" border="1">
<tr><td>
-<b>Please keep this window as it is or in minimized mode. </b>
-Start other browsers or other programs for network usage.
-Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
- to start browsing
-(In some browsers,
-it is needed to push SHIFT or CTRL key to open new window.
-The window may be popped up automatically, if it is
-permited in the browser setting).
-</td></tr>
+<b>Please keep this window as it is or in minimized mode.
+Start browsers or other applications for network usage. </b>
+Or click <a href="%%STARTURL%%" target="_blank"><b>[Start Page]</b></a>
+to start browsing
+(If the page is not opened by CLICK, push SHIFT key and CLICK.
+The window can be popped up automatically, if it is
+permited in the browser setting).
+</td></tr>
</table>
<script type="text/JavaScript">
<table bgcolor="lightyellow" border="1">
<tr><td>
-<b>\e$B$3$N%Z!<%8$O$3$N$^$^$+!"Kt$O:G>/2=>uBV$K$7$F2<$5$$!#\e(B</b>
-\e$B%M%C%H%o!<%/MxMQ$O!"JL$K%V%i%&%6$=$NB>$N%M%C%H%o!<%/MxMQ%W%m%0%i%`$r5/F0$7$F9T$C$F$/$@$5$$!#\e(B
+<b>\e$B$3$N%Z!<%8$O!"$3$N$^$^$+Kt$O:G>/2=>uBV$K$7$F2<$5$$!#\e(B
+\e$B%M%C%H%o!<%/MxMQ$O!"JL$K%V%i%&%6$=$NB>$N%M%C%H%o!<%/MxMQ%W%m%0%i%`$r5/F0$7$F9T$C$F$/$@$5$$!#\e(B</b>
\e$B$^$?$O!"\e(B<a href="%%STARTURL%%" target="_blank"><b>[\e$B%9%?!<%H%Z!<%8\e(B]
-</b></a>\e$B$+$i3+;O$7$F$/$@$5$$!J%V%i%&%6$K$h$C$F$O!"%7%U%H$^$?\e(B
-\e$B$O%3%s%H%m!<%k%-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3$N$^$^$+!"Kt$O:G>/2=>uBV$K$7$F2<$5$$!#\e(B</b>
-\e$B%M%C%H%o!<%/MxMQ$O!"JL$K%V%i%&%6$=$NB>$N%M%C%H%o!<%/MxMQ%W%m%0%i%`$r5/F0$7$F9T$C$F$/$@$5$$!#\e(B
+<b>\e$B$3$N%Z!<%8$O!"$3$N$^$^$+Kt$O:G>/2=>uBV$K$7$F2<$5$$!#\e(B
+\e$B%M%C%H%o!<%/MxMQ$O!"JL$K%V%i%&%6$=$NB>$N%M%C%H%o!<%/MxMQ%W%m%0%i%`$r5/F0$7$F9T$C$F$/$@$5$$!#\e(B</b>
\e$B$^$?$O!"\e(B<a href="%%STARTURL%%" target="_blank"><b>[\e$B%9%?!<%H%Z!<%8\e(B]
-</b></a>\e$B$+$i3+;O$7$F$/$@$5$$!J%V%i%&%6$K$h$C$F$O!"%7%U%H$^$?\e(B
-\e$B$O%3%s%H%m!<%k%-!<$r2!$7$J$,$i%/%j%C%/$9$kI,MW$,$"$j$^$9!#%]%C%W%"%C%W5v2D$K@_Dj$9$l$P<+F0I=<(2DG=$G$9!K!#\e(B</td></tr>
+</b></a>\e$B$+$i3+;O$7$F$/$@$5$$!J%/%j%C%/$G%9%?!<%H%Z!<%8$,3+$+$J$1$l$P!"\e(B
+\e$B%7%U%H%-!<$r2!$7$J$,$i%/%j%C%/$7$F$/$@$5$$!#\e(B
+\e$B$^$?%]%C%W%"%C%W5v2D$K@_Dj$9$l$P<+F0E*$K%]%C%W%"%C%W$7$^$9!K!#\e(B
+</td></tr>
</table>
<script type="text/JavaScript">
RemoveOverlapRule(overlapRule4,overlapRule6);
KillOverlapProcess(overlapRule4,overlapRule6,clientAddr4,clientAddr6);
- if(debug>0)err_msg("INFO: user %s forces to close overlapped client", userid);
+ err_msg("INFO: user %s forces to close overlapped client", userid);
PutClientMsg("Network is closed. Please End Web and Retry. ");
}
return FALSE;
char extraId[USERMAXLN];
char userProperty[BUFFMAXLN];
time_t timeIn, timeOut;
+int ipStatus; /* flag for IPV4ONLY,IPV6ONLY or IPV46DUAL */
int connectionMode; /* client connect mode */
/* variable to measuring processing time (in msec) */
struct timeval timeBeginCgi, timeBeginWait, timeConnect, timeDisconnect;
void PutCloseMsg(time_t timeOut, time_t timeIn);
void SetProcessTitle(char *useridshort, char *clientAddr4, char * ruleNumber4, char *clientAddr6, char * ruleNumber6, int ipStatus);
-void logConnectMode(char *userid);
+void logConnectMode();
void closeExit(int signo);
/***************************************************/
int parentpid;
int duration; /* requested usage duration */
int authResult;
- int ipStatus; /* flag for IPv4 or IPv6 */
char watchMode[WORDMAXLN]; /* client watch mode Http or Java or Timeout */
/* get time at the cgi starting (in msec) */
void closeExit(int signo)
{
/* save the connect mode */
- logConnectMode(userid);
+ logConnectMode();
/* signal is disabled */
Signal(SIGTERM, SIG_DFL);
}
-/************************************/
-/* save connectMode to syslog */
-/************************************/
-void logConnectMode(char *userid)
+/*****************************************/
+/* save connectMode and others to syslog */
+/*****************************************/
+void logConnectMode()
{
char *mode[4]={"NONE","JAVA","HTTP","TIME"};
long time1sec,time2sec,time3sec;
long time1usec,time2usec,time3usec;
+ /* set value on failure */
+ if(connectionMode<0 || connectionMode>3) connectionMode=NOCONNECT;
+ if(connectionMode==NOCONNECT){
+ gettimeofday(&timeBeginWait, NULL) ;
+ gettimeofday(&timeConnect, NULL) ;
+ }
+
/* get time at the end of connection (in msec) */
gettimeofday(&timeDisconnect, NULL) ;
- /* time difference (seconds(sec) and micro-seconds(usec)) */
+ /* calc time difference (seconds(sec) and micro-seconds(usec)) */
time1sec=(timeBeginWait.tv_sec - timeBeginCgi.tv_sec);
time1usec=(timeBeginWait.tv_usec - timeBeginCgi.tv_usec);
- if(time1usec<0){
+ /* if microsec diff is minus, bolow from sec diff */
+ if(time1usec<0){
time1usec += 1000000; time1sec--;
}
time2sec=(timeConnect.tv_sec - timeBeginWait.tv_sec);
time3usec += 1000000; time3sec--;
}
- if(connectionMode<0 || connectionMode>3) connectionMode=0;
- if(debug>0) err_msg("INFO: user %s is watched by [%s] procsec(%ld.%ld,%ld.%ld,%ld.%ld)",
+ if(debug>0) err_msg("INFO: user=%s watchmode=%s procsec=%ld.%ld,%ld.%ld,%ld.%ld ipversion=%d useragent=%s",
userid, mode[connectionMode],
time1sec,time1usec,
time2sec,time2usec,
- time3sec,time3usec);
+ time3sec,time3usec,
+ ipStatus, getenv("HTTP_USER_AGENT"));
}