Re: Help with a Bash script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> If you start the executor with your file as the first parameter, it will 
>> execute the lines one by one.
>>
>> # ./executor script
>>
>>     
> Many thanks for your help there, much appreciated.
>
> - -- 
> Michael
> http://maverickapollo.wordpress.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJLvfmeAAoJEEcwpNahApVBDs4H/04yGl12sLBb95inPW6yuJdg
> r867BkHyttZv4EIF8uZVxNVf0LSe9yj4cqr+1rx68clKgoaaLi4AFPxY4C10a/9O
> GYXojPqxSl5gOMYld8Y5eQ0nEqmo7o50hO4Pg2JOlnumunWTTpRsZfZFm8Jjpd48
> dGz/stP117x9U+qALB+WjVcPdqX48+hK/ifky5Inofrs8YKOJdxT7ghO5GaOyJx1
> 5tmCgV7+avOcISdVjkSjvIQ2QQOWQ69+ZM7kjHB84e7tms3KaUMl0UrtNVoxG7QV
> Ci4ISwExK9PZGoHbmon6o2dGuq9hwuDfJ8RmvBRy0Sm5AAqN2pQhrUC2cq9VEeQ=
> =uf/v
> -----END PGP SIGNATURE-----
>   

It dawns on me that if you are attempting to block all traffic from
those china addresses that you should also remove the "-p tcp" part of
the rules so that everything coming from those addresses is blocked, not
just tcp traffic.

Kevin
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux