[opensuse-factory] SPAM: SF2 Script with multiline and commenting line
What offers t SF2 is very2 good but lack these feature: - able to enter multiline with additionak comment Look at configuration of Squid, with the "squid" syntax script i can write like this: FW_SERVICES_EXT_TCP="80" #this is http FW_SERVICES_EXT_TCP="443" #this is https FW_SERVICES_EXT_TCP="21" #this is ftp fro Mr.A and B currently i must type this in sf2: FW_SERVICES_EXT_TCP="80 443 21" current scripts syntax difficult for large network with customize ports service for any clients. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
FW_SERVICES_EXT_TCP="80" #this is http FW_SERVICES_EXT_TCP="443" #this is https FW_SERVICES_EXT_TCP="21" #this is ftp fro Mr.A and B
currently i must type this in sf2: FW_SERVICES_EXT_TCP="80 443 21"
current scripts syntax difficult for large network with customize ports service for any clients.
It's just bash variable assignments, and I don't see a problem. Run sed to modify the variable settings, or if you create the whole thing automatically by a method of your choice, have that method create the whole file (and you woulnd't need to keep the comments). SuSEfirewall2 is more powerful and easier to use than a lot of the firewall GUI stuff I've seen. In your example, you could write FW_SERVICES_EXT_TCP=" 80 443 21 " or FW_SERVICES_EXT_TCP= FW_SERVICES_EXT_TCP="$FW_SERVICES_EXT_TCP 80" FW_SERVICES_EXT_TCP="$FW_SERVICES_EXT_TCP 443" FW_SERVICES_EXT_TCP="$FW_SERVICES_EXT_TCP 21" if you wanted to. Don't necessarily expect yast to still be able to handle it then though. Volker -- Volker Kuhlmann is list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
participants (2)
-
The Nice Spider
-
Volker Kuhlmann