[zorp-hu] Pingu Black config style

Magosanyi Arpad mag@bunuel.tii.matav.hu
Thu, 12 Apr 2001 22:49:39 +0200


--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

Azoknak, akiknek t=FAl bonyolult a Zorp konfigja.
[A magyar verzi=F3=E9rt lapozz lejjebb]

For those who feel that the configuration of Zorp is too complex.

Here is the Pingu Black config style for Zorp(0.8.2).
If you unpack the .tar.gz into /etz/zorp, you will find the following impor=
tant
things:
pingublack:	This should be given in instances.conf for on-the fly policy
	parsing.
config:		An example config.
local/pingublack.py:	This is the main stuff. If you want to generate a
	policy offline, you should issue something like this:
	/etc/zorp/local/pingublack.py policy /etc/zorp/config >/etc/zorp/genconfig
local/pb:	These are shadow definitions for the Zorp classes,
	only used in offline operation.

The config file talks for itself, there are the following attributes:
For services:
                'bindaddress',=20
                'userport',
                'listenport',
                'fromzone',
                'tozone',
                'proxy',
                'local_ip_to_show',
                'local_port_to_show',
                'forge_addr',
                'remote_ip',
                'remote_port'
for zones:
	'ip',
	'adminparent',
	'umbrella'

If(!) I will have the mood, it will generate ipchains rules as well, but th=
e interfaces should be generated for that, and (which is harder) I will nee=
d the logic for searching the umbrella for a zone.

---Magyar v=E1ltozat----Hungarian version----------------
Hi!

Itt a Zorphoz (0.8.2) a Pingu Black config style.
A kopasz gizell=E1t kicsomizva a /etc/zorp k=F6nyvt=E1rba, a k=F6vetkez=F5 =
l=E9nyegeket
kapod:
pigublack:	Ezt kell megadni az instances.conf-ban, ha on-the fly
szeretn=E9d a policyt nyomni.
config:		Egy p=E9lda konfig
local/pingublack.py:	Ez a nagy l=E9nyeg. Ha off-line akarsz policyt gener=
=E1lni,
	a k=F6vetkez=F5h=F6z hasonl=F3t kell b=EDrni:
	/etc/zorp/local/pingublack.py policy /etc/zorp/config >/etc/zorp/genconfig
local/pb:	Ezek shadow defin=EDci=F3k a Zorp classokra, csak az offline m=FB=
k=F6d=E9shez kellenek.

A config file =F6nmag=E1=E9rt besz=E9l, a k=F6vetkez=F5 attrib=FAtumok vann=
ak:
Service-n=E9l:
                'bindaddress',=20
                'userport',
                'listenport',
                'fromzone',
                'tozone',
                'proxy',
                'local_ip_to_show',
                'local_port_to_show',
                'forge_addr',
                'remote_ip',
                'remote_port'
Zone-n=E1l:
	'ip',
	'adminparent',
	'umbrella'

Ha(!) majd lesz kedvem, megcsin=E1lom azt is hogy ipchains-et gener=E1ljon,=
 de ahhoz
az interface-eket is defini=E1lni kell, =E9s (ami nehezebb) kell arra logik=
a hogy
egy z=F3n=E1hoz megtal=E1lja az umbrella-t.

--=20
GNU GPL: csak tiszta forr=E1sb=F3l

--azLHFNyN32YCQGCU
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="pingublack-public.tar.gz"
Content-Transfer-Encoding: base64

H4sIAJwR1joAA+08XZPbxpF6JX7FaJUNSRsLkVzu0seESW1s+aPi+FQnX64qK93WkBySEEEA
BYArk6n8WD3qIU+u6CH3ct09HxgQ4K5WXlF2GSOVCMz0zPT3dM9gFPvhfD0O+GT5+MGHKp1O
vzc4O4PfTndw1rF/dXnQGfTOz/rdTn8AcN3uaWfwgJ19MIyssk4znjD2YMXnN8Ld1v4LLXEu
/yCa8OBDaMG7y78zGPRPQf69fueslv8hSkn+8fjeVeDu8j/tdM5r+R+iVMn/6soP/ezqyos3
9zJHpwvi7Pdvk//Z6fmg2+2i/z/rDLoPWOdeZr+l1PIvyf9vURLfpxO4y/p/1h+g/Q9O+7X9
H6Lslf/folDckwN4D/vvDga1/R+i3CD/JD6Q/Enmcv3vDaT8e73zWv6HKM5UzNhKpCmfi1Yg
rkXgrtJ5e+g04sQPMwYvBDIV4/W8CPAoh2jEPE0d52MTU5c7l732/62fZiIUyT34gLv7//PO
WR3/HaTslf/XWXYo/w9ef3f973X7tfwPUSYBeG6Gwn6aRD9shsqVf2y06nKgstf+P19w/37c
/+32f3q2a//n/bPa/g9RpP1fjNMs4ZNMCb32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