[pso] [Tema4] no of rules
Cosmin Ratiu
cosminratiu at gmail.com
Sat May 31 14:00:59 EEST 2008
Salut, Laura.
Intrebarile tale ar fi putut primi raspuns daca te uitai peste sursele
testului.
Incerc sa iti raspund eu:
1) Chestia cu "no of rules": Se testeaza daca nr. de reguli care exista in
driverul tau corespunde cu cel asteptat. "failed:Success" pt. ca nu
corespunde, dar ioctl nu intoarce cod de eroare, de aceea "Success".
2) Iti da timeout pt. ca probabil nu se face conexiunea de control. Driverul
tau opreste si conexiuni pe care nu ar trebui sa le opreasca. Verifica ce
faci in hook-uri cu atentie.
3) Regulile sunt trimise in network byte order.
Cosmin.
2008/5/30 Laura Cristina <laura.cristina04 at gmail.com>:
> +
>
> Porturile si adresele din regulile statice venite din userspace sunt
> network-byte-order sau nu? Trebuie facuta conversie?
>
> Se poate adauga o regula statica daca exista deja o regula dinamica cu
> aceeasi parametri si invers?
>
> 2008/5/30 Laura Cristina <laura.cristina04 at gmail.com>:
>
> Pentru tema 5 era intrebarea :)
>>
>> +
>>
>> De ce ar putea sa imi dea timeout?
>>
>> local messages:
>> cc -Wall _test/test.c -o test
>> ./test outside 192.168.76.128 55555
>>
>>
>> test: establish control connection
>> checker: testing timeouted
>>
>>
>>
>> On Fri, May 30, 2008 at 6:03 PM, Laura Cristina <
>> laura.cristina04 at gmail.com> wrote:
>>
>>> Ce inseamna
>>>
>>> test: no of rules.................................................failed: Success
>>>
>>> --
>>> Ruse Laura 344C3
>>>
>>
>>
>>
>> --
>> Ruse Laura 344C3
>>
>
>
>
> --
> Ruse Laura 344C3
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080531/9e8d3a95/attachment.htm
More information about the pso
mailing list