| Summary: | The default install of shorewall puts a possibly incorrect value in /etc/shorewall/policy | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matt Miller <jmatthew3> |
| Component: | Current packages | Assignee: | Martin Holzer (RETIRED) <mholzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | andreas.w.simon |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Matt Miller
2004-02-05 12:54:13 UTC
is this fixed with 2.0.0 ? The default policy file from shorewall 2.0.1 still has loc net ACCEPT But this is because it matches the default zones file, where loc is defined. The default seems to be a small network (loc) with a demilitarized zone. But even this "default" configuration doesn't do much because there are no rules defined. Generally shorewall won't run on your system without configuring first. Shorewall doesn't know if you have a standalone system, a big network, a demilitarized zone, which ports you want to be open, which you want closed, etc. You must configure it. Of course the default files can be changed to work for a standalone system right from the start if this is desired. maybe you could send this upstream BTW the shorewall ebuild already contains the message: "Read the documentation from http://www.shorewall.net" "available at /usr/share/doc/${PF}/html/index.htm" "Do not blindly start shorewall, edit the files in /etc/shorewall first" Thus the result "shorewall broke networking" is actually expected if it's not first configured. Maybe it would make sense to make the last line more concrete: "Do not blindly start shorewall, edit the files in /etc/shorewall first, otherwise it could break your network connectivity" I think there is really nothing to fix upstream because the default is not wrong. It just doesn't match the setup of the bug reporter. The change the bug reporter made is btw mentioned in the Shorewall Quickstart Guides (which get installed with the documentation). fixed with 2.0.3a |