remoteham


L'OM éloigné



VE2ACG Guy

Synopsis celeris exempli

History

Here is my vision.... ..

For those who know me, for years I was involved in the remote control of radio transmitters.

In 1978, my first experiment was with a modified RCA AT-3 transmitter controlled by DTMF over PSTN, and a variable frequency of 100khz on 80m was achieved on the pretune transmitter. In 1998 and during my works at Nortel Networks, I was introduced to the World Wide Web, and subsequently to the various tools available to construct a web based application to control and simulate a transmitter front panel. I chose my modified Collins Radio interface and made the frequency tuning linear as per the outstanding works of the electrical and mechanical engineers of the Collins Radio company. This interface controls my modified RCN CMC AN/SRT-502 transmitter. In 1979, one of my contacts, a ham operator from U.S.A., told me "You should try to use your system on the INTERNET"., at that time I did not know about the internet and I had forgotten about it, it was the time of the complete phased out of the relays switching telephone system.

AWStats 7.3 on Centos 6.6 with SELinux.


1)To remove the error cannot read httpd log file, a .te file as to be created with a selinux policy module.Figure 1 show the installed module.


Figure 1

mylogaccess.te

module mylogaccess 1.0;
           require {
	            type httpd_log_t;
	            type httpd_sys_script_t;
	            class file read;
}
#============= httpd_sys_script_t ==============
allow httpd_sys_script_t httpd_log_t:file read;

From the selinux audit log.

[root@localhost ~]# grep 1429491721.626:7226 /var/log/audit/audit.log.2 | audit2why
      type=AVC msg=audit(1429491721.626:7226): avc:  denied  { read } for  pid=28950 
      comm="awstats.pl" name="access_log" dev=dm-0 ino=523747 
      scontext=system_u:system_r:httpd_sys_script_t:s0 
      tcontext=system_u:object_r:httpd_log_t:s0 tclass=file

2) To remove the Whois html window cannot connect error, the (?) in AWStats.

Figure 2

Figure 2 show the working html window, the visitor is one of the folks at the GE TSG.

In SELinux Administration set Boolean on Apache Allow HTTPD scripts and modules to connect to the network httpd_can_network_connect, see Figure 3

Figure 3