/[smecontribs]/rpms/smeserver-dansguardian/contribs7/smeserver-dansguardian-2.9-block8080-2.patch
ViewVC logotype

Annotation of /rpms/smeserver-dansguardian/contribs7/smeserver-dansguardian-2.9-block8080-2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri May 30 09:12:21 2008 UTC (16 years, 6 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-dansguardian-2_9-5_el4_sme
ss-dans block8080-2

1 dungog 1.1 --- smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk40networks.block8080-2 2008-05-30 19:06:04.000000000 +1000
2     +++ smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk40networks 2008-05-30 19:07:42.000000000 +1000
3     @@ -7,7 +7,7 @@
4     $OUT .=<<"EOF";
5     for network in $locals
6     do
7     - /sbin/iptables -A \$NEW_local_chk -d $LocalIP/$LocalNetmask -j ACCEPT
8     + /sbin/iptables -A \$NEW_local_chk -d $LocalIP -p tcp --destination-port $squid{TransparentPort} -j ACCEPT
9     /sbin/iptables -A \$NEW_local_chk -s \$network -p tcp --destination-port $squid{TransparentPort} -j DROP
10     /sbin/iptables -A \$NEW_local_chk -s \$network -p tcp --destination-port $squid{TCPPort} -j DROP
11     /sbin/iptables -A \$NEW_local_chk -d \$network -p tcp --destination-port $squid{TCPPort} -j DROP

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed