Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It would depend on the other rules. For instance if you have a rule that allows ESTABLISHED, RELATED (which is very common) and it is before the string match and it is set to ACCEPT then the packet would probably not hit the string rule. Because the google search was initiated by you so it became an ESTABLISHED connection and the page was loaded.
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70
Rep:
You had the destination port in the rule for the INPUT not the source. As the data is coming from the other ends port 80 it is actually a source. If it where being requested from your computer then it would be a destination.
only rule i have preceeding this is to DROP all connections (to make this a mostly closed rule) and to log all SYN, FIN, ACK, RST and NULL packets before dropping
will try to change --dport to --sport and see if it works
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.