[pso] [tema4][win]blocat

Florin f.bratu at yahoo.com
Thu May 31 18:44:19 EEST 2007


Buna ziua!
Am si eu o problema legata de tema 4 la care ma tot chinui si nu reusesc sa ii
 dau de cap. Problema este ca tema se comporta "ciudat" atunci cand o
 uploadez pe site. In ce sens: cand o testez acasa pe masina virtuala, trece (o
 mare parte din) teste, insa , cand o uploadez pe site, imi da fail chiar la prima
 incercare de stabilire a conexiunii pe care o face testerul - pe cand acasa acest
 test este trecut. Insa, ce ma ingrijoreaza este ca testerul de pe site se
 blocheaza - adica da timeout inainte sa execute tot testul. Output-ul (sau parte
 din el) este:

[out]
Targeting Windows Server 2003 32bit DEBUG

    cl _test/test.c /I_test /link wsock32.lib > errors1.txt
    cl _test/ipnecklace.c /I_test /link wsock32.lib > errors2.txt
    test inside 172.16.198.1 55555

The IP Traffic Filter Driver service was started successfully.

test: driver load ipdriver.sys....................................passed
test: add firewall rule...........................................passed
test: no of rules.................................................passed
test: enable firewall.............................................passed
test: establish control connection................................passed
test: no of rules.................................................passed
test: pong

local messages:
cc -Wall _test_lin/test.c -I_test_lin -o test
./test outside 172.16.198.196 55555
test: establish control connection................................failed: Interrupted system call
test: ping........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: recv port...................................................failed: Bad file descriptor
test: make connection.............................................passed
test: pong........................................................failed: Bad file descriptor
test: ping........................................................failed: Bad file descriptor
test: recv port...................................................failed: Bad file descriptor
test: ping........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: recv port...................................................failed: Bad file descriptor
test: make connection.............................................passed
test: ping........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: ping........................................................failed: Bad file descriptor
test: recv port...................................................failed: Bad file descriptor
test: ping........................................................passed
test: pong........................................................failed: Connection refused
test: ping........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: send port...................................................failed: Bad file descriptor
test: wait connection.............................................passed
test: pong........................................................failed: Bad file descriptor
test: ping........................................................failed: Bad file descriptor
test: pong........................................................failed: Bad file descriptor
test: ping........................................................failed: Bad file descriptor
test: send port...................................................failed: Bad file descriptor
test: UDP pong
checker: testing timeouted
[\out]

Am dat c/p la acest output dintr-un fisier salvat de mine pe hdd, pentru ca ( iarasi curios! ) nu pot reproduce acest output! Iata de ce:

Am mai facut un mic experiment: am inlocuit toate aparitiile
 PF_DROP din sursa cu PF_ACCEPT; in aceasta situatie, testerul se termina -
 nu da timeout, cu toate ca evident nu trece testele.

Ultimul experiment pe care l-am facut acum cateva minute a fost sa repun
 PF_DROP in pozitiile anterioare. Si acum , nu numai ca testerul nu se mai
 blocheaza, dar trece toate testele cu exceptia unuia de no_of_rules - aceasta
 este si ultima varianta existenta in upload :
 http://cs.pub.ro/~pso/Teme/note/344C3/Bratu%20Florin%20Alexandru/tema4/win/NOTA

Acest comportament nu ma ajuta deloc sa inteleg de unde poate veni greseala
 pe care o fac, mai ales in perspectiva faptului ca , testand la mine acasa,
 testerul trece toate testele care pica pe site - cu toate ca , trebuie sa
 mentionez, testerul de acasa se blocheaza si el; insa aici cred ca e de vina
 configuratia retelei "virtuale" host-masina virtuala, caci si cand am facut tema pe
 Linux am intalnit aceasta problema.

Imi cer scuze daca acest mesaj a fost mult prea lung, si sper ca pana la urma sa
 inteleg ce se petrece.

Multumesc

 
---------------------------------
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070531/b537dd00/attachment.htm


More information about the pso mailing list