[ previous ] [ next ] [ threads ]
 
 From:  "Angel Javier Ripa" <Angel dot Javier dot Ripa at ie dot edu>
 To:  "Manuel Kasper" <mk at neon1 dot net>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] captive portal problem
 Date:  Tue, 11 Oct 2005 11:06:02 +0200
This is the truss.log

(null)()					 = 1 (0x1)
accept(0x4,{ AF_INET 10.21.121.126:4091 },0xbfbff804) = 6 (0x6)
fork()						 = 40613 (0x9ea5)
close(6)					 = 0 (0x0)
SIGNAL 20
SIGNAL 20
SIGNAL 20
select(0x5,0xbfbff890,0x0,0x0,0x0)		 ERR#4 'Interrupted
system call'
sigaction(SIGCHLD,0xbfbff5cc,0xbfbff5b4)	 = 0 (0x0)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 = 40613 (0x9ea5)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 ERR#10 'No child
processes'
sigreturn(0xbfbff630)				 ERR#4 'Interrupted
system call'
select(0x5,0xbfbff890,0x0,0x0,0x0)		 = 1 (0x1)
accept(0x4,{ AF_INET 10.21.121.126:4093 },0xbfbff804) = 6 (0x6)
fork()						 = 40628 (0x9eb4)
close(6)					 = 0 (0x0)
SIGNAL 20
SIGNAL 20
SIGNAL 20
select(0x5,0xbfbff890,0x0,0x0,0x0)		 ERR#4 'Interrupted
system call'
sigaction(SIGCHLD,0xbfbff5cc,0xbfbff5b4)	 = 0 (0x0)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 = 40628 (0x9eb4)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 ERR#10 'No child
processes'
sigreturn(0xbfbff630)				 ERR#4 'Interrupted
system call'
select(0x5,0xbfbff890,0x0,0x0,0x0)		 = 1 (0x1)
accept(0x4,{ AF_INET 10.21.121.126:4095 },0xbfbff804) = 6 (0x6)
fork()						 = 40633 (0x9eb9)
close(6)				
SIGNAL 20
SIGNAL 20
SIGNAL 20
select(0x5,0xbfbff890,0x0,0x0,0x0)		 ERR#4 'Interrupted
system call'
sigaction(SIGCHLD,0xbfbff5cc,0xbfbff5b4)	 = 0 (0x0)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 = 66131 (0x10253)
wait4(0xffffffff,0xbfbff610,0x1,0x0)		 = 0 (0x0)
sigreturn(0xbfbff630)				 ERR#4 'Interrupted
system call'
select(0x5,0xbfbff890,0x0,0x0,0x0)		 = 1 (0x1)
accept(0x4,{ AF_INET 10.21.197.249:1540 },0xbfbff804) = 6 (0x6)
fork()						 = 66140 (0x1025c)
close(6)

-----Mensaje original-----
De: Manuel Kasper [mailto:mk at neon1 dot net] 
Enviado el: lunes, 10 de octubre de 2005 21:10
Para: Angel Javier Ripa
Asunto: RE: [m0n0wall] captive portal problem

On 10.10.05 21:08 +0200, Angel Javier Ripa wrote:

> I have tree instances of mini_httpd process running on port 8001.
> Which of them I should use?

Huh? When no client is currently loading a captive portal page, there
should be only one of them around (the others are child processes
forked to handle a connection). Usually the parent process is the one
with the lowest PID, but you can also type "cat
/var/run/mini_httpd.cps.pid" to see its PID.

- Manuel