Re: AF_UNIX sockets problem - no error but datagram never arrives - 5 attachments
- From: Michael Rasmussen <mir@xxxxxxxxx>
- Date: Fri, 24 Feb 2006 23:56:58 +0100
On Fri, 24 Feb 2006 14:32:02 -0600, David Zimny wrote:
Then I used the exact same socket code (except my socket names changed
from "/tmp/SktOne" and "/tmp/SktTwo" to "/tmp/sktPodserv" and
"/tmp/sktPodservCGI") in my CGI and server programs. They both create and
bind their sockets OK, and the CGI calls sendto() successfully, but the
datagram never arrives at the server. This happens even when I run the cgi
from the command line with the same user account as the server.
A take it that when you write CGI it means the CGI program is called thrue
a webserver? If that is the case then a possible reason for your
malfunctioning could be coursed by a webserver running chroot. If so
/tmp/sktPodservCGI could be placed under /chroot/tmp/ whereas the server
socket would be under /tmp
--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
.
Relevant Pages
- CGI not novel, instant CAI gratification is garbage (was: JDEE/CGI/flashcards ...)
... CGI is just an interface to run ... network to the server, the application processes the ... Google Groups had a simple tree view that for really large threads ... (comp.lang.lisp) - How Hackers Attack Web Servers, CGIs, PHP, ASP, etc.
... Web Site Hacking - General & Miscellaneous ... NetWare Enterprise Web Server - two issues ... SITEWare cleartext passwords, read arbitrary files ... Web Site Hacking - CGI, Perl, ASP, PHP etc. ... (soc.culture.indonesia) - AF_UNIX sockets problem - no error but datagram never arrives - 5 attachments
... I am writing two linux apps - a CGI program and a machinery monitoring ... server program - that need to communicate with eachother on the same ... I wrote a small test program that uses AF_UNIX, SOCK_DGRAM sockets to pass ... I have attached the source code for the test program. ... (comp.os.linux.development.apps) - Re: Hard or Easy? To find string, then grab criterion matched lines above and below?
... There is no cgi or Web Server involved in ... I didn't know "cgi was off limits" or taboo in this ... he conditionally pulls data from FILE-A and uses this data to ... So please tell me how anything he said can be seen as a CGI question, ... (comp.lang.perl.misc) - [ANN] acgi-0.1.0
... no special webserver setup or system privledges required ... a acgi application consists of a cgi server backend which loops, ... incoming requests; the requests are delegated to this backend server via a ... (comp.lang.ruby) |
|