/[smecontribs]/rpms/smeserver-coova-chilli/contribs10/smeserver-coova-chilli-0.3-MasqUpdate.patch
ViewVC logotype

Contents of /rpms/smeserver-coova-chilli/contribs10/smeserver-coova-chilli-0.3-MasqUpdate.patch

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


Revision 1.1 - (show annotations) (download)
Mon Dec 21 16:38:34 2020 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-coova-chilli-0_3-5_el7_sme, HEAD
Initial import

1 diff -up smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli20input.MasqUpdate smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli20input
2 --- smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli20input.MasqUpdate 2008-09-02 07:28:02.000000000 -0400
3 +++ smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli20input 2016-05-26 04:48:22.919000000 -0400
4 @@ -8,7 +8,7 @@ inFromChilli()\{
5 /sbin/iptables -A IN_FROM_CHILLI -j state_chk
6 # DHCP requests are allowed
7 /sbin/iptables -A IN_FROM_CHILLI -p udp --dport 67:68 --sport 67:68 -s 0.0.0.0 -d 255.255.255.255 -j ACCEPT
8 - /sbin/iptables -A IN_FROM_CHILLI -s ! $net -j denylog
9 + /sbin/iptables -A IN_FROM_CHILLI ! -s $net -j denylog
10 # Allow wireless clients to ping the server
11 /sbin/iptables -A IN_FROM_CHILLI -p icmp --icmp-type echo-request -j ACCEPT
12 # Mandatory services for chilli (https, coova-chill)
13 diff -up smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli40forwardFrom.MasqUpdate smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli40forwardFrom
14 --- smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli40forwardFrom.MasqUpdate 2016-05-13 06:37:39.000000000 -0400
15 +++ smeserver-coova-chilli-0.3/root/etc/e-smith/templates/etc/rc.d/init.d/masq/00Functions01Chilli40forwardFrom 2016-05-26 04:49:14.387000000 -0400
16 @@ -6,8 +6,8 @@ $OUT .=<<"HERE";
17 forwardFromChilli()\{
18 /sbin/iptables -N FORWARD_FROM_CHILLI
19 /sbin/iptables -A FORWARD_FROM_CHILLI -j state_chk
20 - /sbin/iptables -A FORWARD_FROM_CHILLI -s ! $net -j denylog
21 - /sbin/iptables -A FORWARD_FROM_CHILLI -o ! \$OUTERIF -j denylog
22 + /sbin/iptables -A FORWARD_FROM_CHILLI ! -s $net -j denylog
23 + /sbin/iptables -A FORWARD_FROM_CHILLI ! -o \$OUTERIF -j denylog
24 /sbin/iptables -A FORWARD_FROM_CHILLI -p icmp --icmp-type echo-request -j ACCEPT
25 # Allow http for un-authenticated clients so uamallowed works
26 # Https need to be allowed in AllowedOutgoing

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