Merge branch 'master' of ssh://git.crans.org/git/usr-scripts
This commit is contained in:
commit
a9b7d12314
57 changed files with 19532 additions and 17967 deletions
|
@ -168,7 +168,9 @@ NETs_regexp = { 'all' : '^138\.231\.1(3[6789]|4[0123456789]|5[01])\.\d+$' }
|
|||
# ci-dessus...
|
||||
rid = {
|
||||
# Rid pour les machines fixes
|
||||
'fil' : (256, 2047),
|
||||
'adherents' : (256, 2047),
|
||||
# Rid pour les machines filaire ipv4
|
||||
'fil' : (0, 2047),
|
||||
# Rid pour les machines wifi
|
||||
'wifi' : (2048, 4095),
|
||||
# Rid pour les machines du vlan adm
|
||||
|
@ -204,7 +206,8 @@ ipv6_machines_speciales = {
|
|||
|
||||
# Les préfixes ipv6
|
||||
prefix = { 'subnet' : [ '2a01:240:fe3d::/48' ],
|
||||
'serveurs' : [ '2a01:240:fe3d:4::/64'],
|
||||
'serveurs' : [ '2a01:240:fe3d:4::/64' ],
|
||||
'adherents' : [ '2a01:240:fe3d:4::/64' ],
|
||||
'fil' : [ '2a01:240:fe3d:4::/64' ],
|
||||
'adm' : [ '2a01:240:fe3d:c804::/64' ],
|
||||
'wifi' : [ '2a01:240:fe3d:c04::/64' ],
|
||||
|
@ -274,9 +277,12 @@ file_pickle = { 4 : '/tmp/ipt_pickle',
|
|||
6 : '/tmp/ip6t_pickle'
|
||||
}
|
||||
|
||||
blacklist_sanctions = ['upload', 'warez', 'p2p', 'autodisc_p2p','autodisc_virus','virus','autodisc_upload', 'bloq']
|
||||
blacklist_sanctions = ['upload', 'warez', 'p2p', 'autodisc_p2p','autodisc_virus','virus', 'bloq']
|
||||
if bl_carte_et_definitif:
|
||||
blacklist_sanctions.append('carte_etudiant')
|
||||
blacklist_sanctions_soft = ['autodisc_virus','ipv6_ra','mail_invalide','virus',
|
||||
'upload', 'warez', 'p2p', 'autodisc_p2p', 'autodisc_upload', 'bloq','carte_etudiant','chambre_invalide']
|
||||
'upload', 'warez', 'p2p', 'autodisc_p2p', 'bloq','carte_etudiant','chambre_invalide']
|
||||
blacklist_bridage_upload = ['autodisc_upload']
|
||||
|
||||
adm_users = [ 'root', 'identd', 'daemon', 'postfix', 'freerad', 'amavis',
|
||||
'nut', 'respbats', 'list', 'sqlgrey', 'ntpd', 'lp' ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue