[pso] [Tema5] Posibil bug in checker - Linux
Stefan Bucur
stefan.bucur at gmail.com
Tue Jun 24 17:13:15 EEST 2008
Salutare!
As dori sa semnalez un posibil bug in mecanismul de checking al temei
5 (varianta Linux, cel putin). In momentul de fata eu am implementata
o versiune de tema care stie doar sa raspunda la comenzi ioctl() si sa
mentina lista de reguli statice (practic inca nu face nimic din ce ar
trebui :) ). Nimic legat de retea nu am scris inca, dar eram curios sa
vad care este workflow-ul de testare si am rulat testele pe aceasta
varianta intermediara de tema. Rezultatul a fost ca trece majoritatea
testelor, si la cele care da "fail" urmeaza apoi cuvantul "Success",
ca mai jos:
test: mknod /dev/ipnecklace.......................................passed
test: insmod ipdriver.ko..........................................passed
test: add firewall rule...........................................passed
test: no of rules.................................................passed
test: enable firewall.............................................passed
test: establish control connection................................passed
test: no of rules.................................................failed:
Success
test: pong........................................................passed
test: ping........................................................passed
test: send port...................................................passed
test: wait connection.............................................passed
test: ping........................................................passed
test: pong........................................................passed
test: send port...................................................passed
test: pong........................................................passed
test: ping........................................................passed
test: add firewall rule...........................................passed
test: no of rules.................................................failed:
Success
test: send port...................................................passed
test: wait connection.............................................passed
test: pong........................................................passed
test: ping........................................................passed
test: ping........................................................passed
test: pong........................................................passed
test: add firewall rule...........................................passed
test: no of rules.................................................failed:
Success
test: send port...................................................passed
test: UDP pong....................................................passed
test: UDP ping....................................................passed
test: pong........................................................passed
test: ping........................................................passed
test: recv port...................................................passed
test: make connection.............................................passed
test: ping........................................................passed
test: pong........................................................passed
test: no of rules.................................................failed:
Success
test: no of rules.................................................failed:
Success
test: ping........................................................passed
test: pong........................................................passed
test: recv port...................................................passed
test: ping........................................................passed
test: pong........................................................passed
test: no of rules.................................................failed:
Success
test: no of rules.................................................failed:
Success
test: pong........................................................passed
test: ping........................................................passed
Este acesta comportamentul dorit al checker-ului? Am uploadat pe site
varianta intermediara a temei, daca aveti nevoie de ea.
Numai bine,
Stefan Bucur
More information about the pso
mailing list