Projet

Général

Profil

« Précédent | Suivant » 

Révision 11fbb86d

Ajouté par Thomas Noël il y a plus de 9 ans

Revert "captiveportal.inc: add table 42 for whitelist"

This reverts commit 82baf4a83e1031566bff16b51798695246f488aa
useless on UnivNautes2014

Voir les différences:

etc/inc/captiveportal.inc
586 586

  
587 587
	/* allowed ipfw rules to make allowed hostnames work */
588 588
	$cprules .= captiveportal_allowedhostname_configure();
589

  
590
        /* allowed ipfw rules for univnautes whitelist */
591
	$cprules .= <<<EOD
592
# accept every traffic from table 42 = univnautes whitelist
593
add 65500 allow ip from any to table(42) in
594
add 65501 allow ip from table(42) to any out
595
table 42 flush
596
EOD;
597 589
	
598 590
	/* load rules */
599 591
	$cprules = "flush\n{$cprules}";

Formats disponibles : Unified diff