Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: cgiirc: msg#00106

Subject: Re: cgiirc
Le jeudi 18 août 2005 à 10:42 +0200, Eric Tanguy a écrit :
> I try to make cgiirc working on my system. Apache works fine and selinux
> Allow HTTPD scripts to connect to the network is enable. So i can cgiirc
> to connect to an irc server. I can see what is said on the channel but i
> can't make any action. If i disable selinux all works fine. If i enable
> selinux i have this in /var/log/audit/audit.log : 
> type=AVC msg=audit(1124298167.251:3778508): avc:  denied  { read } for
> pid=3907 comm="irc.cgi" name="formats" dev=dm-0 ino=8323109
> scontext=system_u:system_r:httpd_sys_script_t
> tcontext=system_u:object_r:httpd_sys_script_exec_t tclass=dir
> type=SYSCALL msg=audit(1124298167.251:3778508): arch=40000003 syscall=5
> success=no exit=-13 a0=94586b8 a1=18800 a2=94586b8 a3=9430fe0 items=1
> pid=3907 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48
> sgid=48 fsgid=48 comm="irc.cgi" exe="/usr/bin/perl"
> type=CWD msg=audit(1124298167.251:3778508):
> cwd="/var/www/cgi-bin/cgiirc"
> type=PATH msg=audit(1124298167.251:3778508): item=0 name="formats"
> flags=103  inode=8323109 dev=fd:00 mode=040755 ouid=0 ogid=0 rdev=00:00
> type=AVC msg=audit(1124298171.144:3812320): avc:  denied  { connectto }
> for  pid=3922 comm="client-perl.cgi" name="sock"
> scontext=system_u:system_r:httpd_sys_script_t
> tcontext=system_u:system_r:httpd_sys_script_t tclass=unix_stream_socket
> type=SYSCALL msg=audit(1124298171.144:3812320): arch=40000003
> syscall=102 success=no exit=-13 a0=3 a1=bfc86690 a2=45b3bc0 a3=6e
> items=1 pid=3922 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48
> egid=48 sgid=48 fsgid=48 comm="client-perl.cgi" exe="/usr/bin/perl"
> type=AVC_PATH msg=audit(1124298171.144:3812320):
> path="/tmp/cgiirc-0coinr388dt/sock"
> type=SOCKADDR msg=audit(1124298171.144:3812320):
> saddr=01002F746D702F6367696972632D30636F696E7233383864742F736F636B0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
> 
> But it's very difficult to understand where is the problem.
> Someone could help me?
> Thanks
> 

Noone could help me with this problem ?

--
Eric Tanguy | Nantes, France 
<eric.tanguy@xxxxxxxxxxxxxx>
Key : A4B8368F | Key Server : subkeys.pgp.net 
Fedora Core release 4 (Stentz) sur athlon kernel 2.6.12-1.1398_FC4




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe