[pso] [tema5] Teste lin tema 5
Octavian Voicu
octavian.voicu at gmail.com
Tue Jun 9 19:34:31 EEST 2009
On Tue, Jun 9, 2009 at 7:04 PM, Sinziana M <sinziana.mazilu at gmail.com>wrote:
> Buna,
>
> Am o problema la tema 5 pe linux.
> Ea pe masina mea trece testele, insa cand o uploadez pe site, imi pica
> testul de "establish control connection".
>
> test: establish control connection................................failed: Interrupted system call
>
>
> test: no of rules.................................................failed: Interrupted system call
> test: pong........................................................failed: Bad file descriptor
> test: ping........................................................failed: Bad file descriptor
>
>
> test: send port...................................................failed: Bad file descriptor
>
> Aveti vreo idee?
>
Establish control connection face un TCP connect catre outside. Inainte de
connect-ul propriu-zis, seteaza un timer la 5 secunde (cu alarm). Mesajele
de eroare "Interrupted system call" sunt de la faptul ca se declanseaza
timerul pentru ca connect-ul nu se realizeaza, deci firewall-ul tau
blocheaza pachetul SYN/ACK ca raspuns la pachetul SYN de conectare. In test,
conexiunea este initiata imediat dupa apelarea ioctl-ului FW_ENABLE.
Nu prea vad de ce ti-ar merge local si nu pe site. La TCP nu ar trebui sa
folosesti niciun timer in stadiul asta (decat pentru FIN).
--
Octavian Voicu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20090609/b83178fb/attachment.htm>
More information about the pso
mailing list