Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36337 Details for
Bug 58673
Firestarter init script missing after emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Firestarter init script for Gentoo
firestarter (text/plain), 1.37 KB, created by
J.O. Aho
on 2004-07-28 10:11:03 UTC
(
hide
)
Description:
Firestarter init script for Gentoo
Filename:
MIME Type:
Creator:
J.O. Aho
Created:
2004-07-28 10:11:03 UTC
Size:
1.37 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 2004 J.O. Aho ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/trizt/gentoo-ppc/net-firewall/firestarter/files/firestarter,v 1.10 2004/07/28 19:01:45 lostlogic Exp $ > >FS_CONFIG="/etc/firestarter/firewall.sh" >opts="start stop restart panic status check" >depend() { > need net > after net > before named >} > > >start() { > ebegin "Starting FireStarter..." > # Reset current iptable rules > iptables -F > iptables -X > iptables -Z > $FS_CONFIG > eend 0 >} > >stop() { > ebegin "Terminate FireStarter, set default rules..." > # Reset current iptable rules > iptables -F > iptables -X > iptables -Z > > # Old settings > iptables -P INPUT ACCEPT > iptables -P FORWARD ACCEPT > iptables -P OUTPUT ACCEPT > > eend 0 >} > >panic() { > ebegin "Terminate FireStarter, set DENY rules..." > > # Deny all > iptables -P INPUT DENY > iptables -P FORWARD DENY > iptables -P OUTPUT DENY > > # Reset current iptable rules > iptables -F > iptables -X > iptables -Z > > eend 0 >} > >status() { > # Display iptables rules > iptables -nL >} > >check() { > if [ -e /usr/sbin/lsof ]; > then > /usr/sbin/lsof -i > else > echo "You need to emerge sys-apps/lsof" > fi >} > >restart() { > stop > start >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 58673
: 36337 |
51307