Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 11739 Details for
Bug 20726
arno's firewall (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
the wrapper
rc.skel-1.8.0 (text/plain), 624 bytes, created by
Christian Loitsch
on 2003-05-09 19:09:25 UTC
(
hide
)
Description:
the wrapper
Filename:
MIME Type:
Creator:
Christian Loitsch
Created:
2003-05-09 19:09:25 UTC
Size:
624 bytes
patch
obsolete
>#!/sbin/runscript > ># wraps Arno's IPTABLES Firewall > >opts="${opts} showstatus panic" > >start() { > ebegin "Starting firewall" > real_arno start > eend $? >} > >stop() { > ebegin "Stopping firewall (you are unprotected now!)" > real_arno stop > eend $? >} > >showstatus() { > ebegin "Status" > real_arno status > eend $? >} > >panic() { > ebegin "Setting panic rules" > $IPTABLES -F > $IPTABLES -X > $IPTABLES -t nat -F > $IPTABLES -P FORWARD DROP > $IPTABLES -P INPUT DROP > $IPTABLES -P OUTPUT DROP > $IPTABLES -A INPUT -i lo -j ACCEPT > $IPTABLES -A OUTPUT -o lo -j ACCEPT > eend $? >} > >real_arno() { > >IPTABLES=/sbin/iptables >CONFIG_FILE=/dev/null >
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 20726
:
11738
| 11739 |
99628
|
99629
|
159641