[pso] Tema5 - Windows

Mihai Nicolae asksmash at gmail.com
Thu Aug 27 04:07:38 EEST 2009


entru tema 5 pe Windows am folosit Firewall-Hook Driver si trebuie in 
functia de filtrare sa returnez una din cele 3 valori: FORWARD,
DROP sau ICMP_ON_DROP. Daca returnez DROP (acolo unde trebuie) nu trec 
nici un test, daca returnez ICMP_ON_DROP trec testele de mai jos.
Daca dau DROP la pachet nu inteleg de ce trebuie sa si semnalizez 
masinii remote ca nu i-a fost acceptat pachetul trimitand un pachet
ICMP?
De ce pic testul de wait connection prima data si nu peste tot? Regulile 
vad ca sunt testate inainte de fiecare wait connection si totusi
unul e passed, altul failed.

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........................................................passed
test: ping........................................................passed
test: send port...................................................passed
test: wait 
connection.............................................failed: The op
eration completed successfully.

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.................................................passed
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.................................................passed
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.................................................passed
test: no of 
rules.................................................failed: The op
eration completed successfully.

test: ping........................................................passed
test: pong........................................................passed
test: recv port...................................................passed
test: ping........................................................passed
test: pong........................................................passed
test: no of 
rules.................................................failed: The op
eration completed successfully.

test: no of 
rules.................................................failed: The op
eration completed successfully.

test: pong........................................................passed
test: ping........................................................passed
test: driver unload ipdriver......................................passed



More information about the pso mailing list