������ ����.
Oops ������� ����� ����� ����������� VVSU � ����� ������������ � � �.
��������� � ��������� ���� ������ � ��������� �����, � ����� ���������
� �� ����� � ��������.
�����, ��� ������� � ��������� ���� �������� �� ������������,
� �������� ������� � �������� ������������ (������ ������� �� �������).
����������� ��������� ����. �����:
# ������ �������: ��������� �������, ������ ��������� �������
acl VVSU dstdom vvsu.ru
acl CITY dstdom include:/usr/local/oops/ip/city.dns
# ���� /usr/local/oops/ip/city.dns �������� ������ ������� ����
# a.ru b.com � �.�. ��� ������ �� ������
# ����� ���������� ������� �� ����, � ������ ���������� ����� ������
# ���������� ���������
bind_acl v.v.v.v VVSU
# ��������� � ���������� �
bind_acl �.�.�.� CITY
# ��������� � ���������� �
bind_acl b.b.b.b !CITY !VVSU
# ������ � ��������� �������� � � ����� - ���� ��� �����������
group all_vvsu {
networks v.v.v.v/23 v.v.v.v/22;
http {
allow dstdomain vvsu.ru ;
allow dstdomain include:/usr/local/oops/ip/city.dns ;
deny dstdomain * ;
}
}
# ������ � �������� - ����������� �� �������
group classes {
networks_acl CLASSES_IP !NO_CLASSES_IP;
bandwidth 5k ;
http {
allow dstdomain * ;
}
}
# ... � ��� ��������� ����� ����������
� ������� ��� ��������, ��
- ����� �������� ��������� ��������� ����: � ��������, ��� ����� 5
�������� ������ ���� /19 � /24, �� � ��� ����� ����� ����� �������
(���-��������). ����, ��� ACL ���� "ip_������_��������" �� ������������,
���������� ���������� ������ ���� �������, � ��� ��������, ���
����� ��� ��������� ���������� �����.
� ��� �� ������ �������� ���� � ������ - � ���.
- � group { .... http { allow ... �� ����������� ACL ���� dstdom,
��������
allow CITY ;
��� ��������?
������ ������������ ������, ������� � ��������.
� ������ CITY ������ �����, ������, alpha.ru. ������ � ����
��������������, ��� � ��������������, ����� ���������� � ���
����������� ��������.
�����, ���� ����� beta.ru, ������ IP(www.beta.ru) = IP (alpha.ru) -
�� ����, beta - ����������� ������ �� alpha. �� �����-�� �������
beta.ru �� ������ � ACL CITY (��� � ��� �������, ������������ ����
������ �������� ������). ������, ������ � beta.ru ������ ���� �����
���������� � � ������������ ��������.
������! - ������ ������������� ���� �����
���������� �, �� �������� �� ��������������. (� �� ������� �� ������,
������ ��� � ����������� � � ��� ������ �� 10����, �������� ����
������, � ����� ��� �� ������ - �� ��� ���, ���������� �����������,
����� ����������� ������������ �������� �������.)
Any suggestions?
�.
Yours sincerely
Maxim Mamayev
---------------------------------------------
VVSU Center of Information Technologies, Vladivostok,Russia
Tel. +7 (4232) 258621
=====================================================================
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/