On Tue, 1 Aug 2000, Dmitry Morozovsky wrote:

> On Tue, 1 Aug 2000, Igor Khasilev wrote:
> 
> IK> > � ������, ������ ���� ��� ���������� ��� deny, ��� � allow rules,
> IK> > ��������� ����������� ���?
> IK> 
> IK> ��� ���� ��� icp-peer?
> 
> ������ ��� ����� ����, ��� ��������� �������� "allow" � "deny" -- �����
> ��, ���� ���������� �� ���� ���������� �����... ��� � � ���-�� ������
> �������?
> 
> ������ ����� �� ������ -- peer & group, ��, �������, � ����� ������ �����
> ��������� ������ ����� ��������...
> 
> IK> > �� ����, ������� ���� �� ������� ������ ����:
> IK> > 
> IK> > ���� � allow, � deny            ������� ���������

��� �������.

> IK> > deny ��� allow                  allow any
> IK> > allow ��� deny                  deny any

��� �����, ������� ��������� �������:

    if ( best_deny  && !best_allow ) return(FALSE);
    if ( best_allow && !best_deny  ) return(TRUE);

����� best_deny � best_allow ����� NULL, ���� ��� deny ��� allow �
�������� ��� ����� �� ����� � ��������������� ��������. FALSE �������� -
������ ������.

�.�. ������������ ����� ��������������� �������: ������ �������� ������ �
������ ���� ���� ��������� allow � ����� �������� � ��������. ���
���������� ��� ���������� ������, ��� ����������� ������������������
����������� ����� ���������� (������������ �������), � �����������
������������������ ���������� - ������� (����� ������� �� �����, � �����
���� ������������ ����������).

> IK> > �� ����, �� �������             allow any

� ������ peer ��� � ����, � ������ group - ��������� ��-�� ���������������
������ ������.

> 
> Sincerely,
> D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***
> ------------------------------------------------------------------------
> 
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://www.paco.net/oops/
> 

Igor Khasilev                |
PACO Links, [EMAIL PROTECTED]    |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом