Script firewall IPv6.

Script firewall IPv6 è un firewall in base a IP6Tables.
Scarica ora

Script firewall IPv6. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • GPL
  • Prezzo:
  • FREE
  • Nome editore:
  • Dennis Kruyt
  • Sito web dell'editore:
  • http://ipv6.klingon.nl/ipv6firewall/

Script firewall IPv6. Tag


Script firewall IPv6. Descrizione

IPv6 Firewall Script è un firewall in base a IP6Tables. IPv6 Firewall Script è un firewall in base a IP6Tables.Firewall6.sh 122 linee #! / Bin / Bash # BASIC IPv6 Script firewall di Dennis Kruyt (Dennis@klingon.nl) # # Sun gennaio 518:26:282003 - DK # debug #set -x cd / opt / script / firewall sorgente ./config6 Path = / usr / locale / sbin: / usr / locale / bin: / usr / locale / bin: / usr / sbin: / usr / bin: / sbin: / bin: / usr / BIN / X11 # Modifica in Directory Script CD $ {ScriptSdir} script = $ {scriptsdir} /Firewall6.sh Case "$ 1" in Flush) Echo -e "Avvio firewall:" $ {iptable6} -f >> / dev / NULL 2> 1 $ {Iptable6} -x >> / dev / null 2> 1 Echo -e "Impostazione impostazioni predefinite OP Accetta!" ECHO -E "Alert: nessuna regolazione del firewall attiva" # $ {iptable6} -p input accetta $ {Iptable6} -p output accetta $ {iptable6} -P Avanti Accetta; Inizio | Ricarica) ECHO -N "Avvio del firewall:" # Paging! # # Creare un tempo di backup = `Data +% s` tar -czf /opt/backups/Firewall/Firewall.$_timetimeLa.tar.gz / opt / script / firewall # Invio di posta mail@address.com -s "Firewall - (RE) Iniziato" <$ 0 # attendere sleep 1 # kerneloptiontions echo-n "caricamento delle opzioni del kernel " kernel_options6sh echo-n "flushing ed eliminazione di tutte le catene " $ {iptable6}-f/> > / dev / null 2> 1 $ {iptable6} -x >> / dev / null 2> 1 # Politica predefinita ECHO -N "Impostazione della politica predefinita Drop .." $ {Iptable6} -p Input Drop $ {Iptable6} - P output drop $ {iptable6} -p forward drop # ????????????? # $ {Iptable} -f -t mangle # $ {iptable} -t mangle -x echo -e "caricamento catene .." # Crea catena Blacklist $ {Iptable6} --New Blacklist # e lascia cadere i malvagi per me $ Blacklist6; do $ {iptable6} -a Blacklist --SRC $ I -J Drop Down #ICMP Catena $ {iptable6} --NOW IPTable6} --NOW ICMPrules $ {Iptable6} -a ICMPRULE -P ICMPV6 -J ACCETTO # Creazione della catena $ { Iptable6} - Vuoto #Localhost a localhost $ {iptable6} -a out --src $ localhost6 - - $ localhost6 -j accetta # per ora accetta tutto il traffico IPv6 in uscita $ {Iptable6} -a out --SRC $ Sixxs - - ANY6 -J ACCETTA # Crea nella catena $ {Iptable6} --Now in #Localhost a localhost $ {iptable6} -a in --SRC $ localhost6 - - $ localhost6 -j accetta # per ora accetta tutto Traffic $ IPv6 $ {Iptable6} -a in --DSTST $ Sixxs --SRC $ Any6 -J Accetta #ALL che è in fidato potrebbe ssh per i in $ spinged6; fare $ {iptable6} -a in -p TCP - $ Sixxs --Dport 22 --SRC $ I -J Accetta ACCETTO # Vai a tutte le catene IPv6 $ {iptable6} -a input -j Blacklist $ {Iptable6} -a output -J Blacklist $ {Iptable6} -a Avanti -j Blacklist $ {iptable6} -a input -j ICMPrules $ {Iptable6} -a output -J ICMPrules $ {Iptable6} -a Input -J in $ {Iptable6} -a output -J out ;; mostra) echo -e "regole nel firewall: $ {catena} n" $ {iptable6} -l -n ;; *) ECHO -E "Utilizzo: $ {script} {Flush | Start | Ricarica | Mostra} n" uscita 1 ;; EXAC Exit 0Config612 linee Esporta Iptable6 = / Sbin / IP6Tables Export ScriptSdir = / Opt / Script / Firewall Export Export = "Eth0" # Dispositivo Esportazione Sixxs = "3FFE: 8114: 1000 :: 50F / 127" # extern export :: / 0 "Esporta localhost6 =" :: 1/128 "Esporta Thrusted6 =" "Export Blacklist6 =" 3FFE: 8114: 2FFF: 1391 :: 1 "Kernel_options6.sh 7 linee #! / Bin / Bash # Inoltro su # echo "1"> / proc / sys / rete / ipv6 BLABLABLA # Imposta alcune altre impostazioni PROC IPv6 #echo "1"> / proc / sys / rete / ipv6 Blablabla


Script firewall IPv6. Software correlato

Ospfviz.

Ospfviz Project è un software di visualizzazione che visualizza le informazioni del router OSPF sulle reti di routine dinamicamente. ...

180

Scarica

LDAP2DNS.

LDAP2DNS è un programma per creare record DNS direttamente da un database LDAP. ...

145

Scarica

dhcptool.

DHCPTOOL è una piccola applicazione che gestisce e configura un server DHCP. ...

141

Scarica