Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×
Today I will show you the iptables rules I set on my main personal computer, with detailed comments about why I came to use these rules after several years of Linux desktop usage. The rules I use now have been simplified as much as I could and are based on common rules and advice that can be found on the network and also on input I got from experienced network administrators. I. So here they are: # iptables -v -L Chain INPUT (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 663K 905M ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED 105 6300 ACCEPT all -- lo any anywhere anywhere 0 0 ACCEPT icmp -- any any anywhere anywhere icmp destination-unreachable 0 0 ACCEPT icmp -- any any anywhere anywhere icmp time-exceeded 0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench 0 0 ACCEPT icmp -- any any anywhere anywhere icmp parameter-problem 0 0 DROP tcp -- any any anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN state NEW Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination We The link for this article located at 503 Service Unavailable Blog is no longer available. . Enhance your desktop security with iptables by establishing effective rules that balance strong defense and user convenience for optimal performance. Linux Firewall Rules, Iptables for Desktop, Personal Security, Network Protection. . Anthony Pell
'Spamming', when used in a different context, does not necessarily have to be email specific. If you ever had a chance to play arcade fighter's such as Street Fighter 2, you'll notice that certain fighters have "cheap" moves that can be "used over and over", such as M. Bison's scissor kick corner trap (ah the old days). A player could pretty much "spam" this combo over and over. The interesting part about this cheap combo is that it could be countered just as easily with some skill. A basic set of good iptables rules is the perfect counter punch to a slew of common spamming attacks - no need to have SpamAssassin or procmail process the email when it doesn't even get through the front lines! Read on to gain a good base understanding of iptables and its rules. Ha-dou-ken! . The link for this article located at SearchEnterpriseLinux.com is no longer available. . The link for this article located at SearchEnterpriseLinux.com is no longer available.. 'spamming', different, context, necessarily, email, specific. . Brittany Day
Linux has a number of useful bandwidth monitoring and management programs. A quick search on Freshmeat.net for bandwidth returns a number of applications. However, if all you need is a basic overview of your total bandwidth usage, iptables is all you really need -- and it's already installed if you're using a Linux distribution based on the 2.4.x or 2.6.x kernels. Most of the time we use iptables to set up a firewall on a machine, but iptables also provides packet and byte counters. Every time an iptables rule is matched by incoming or outgoing data streams, the software tracks the number of packets and the amount of data that passes through the rules. . It is easy to make use of this feature and create a number of "pass-through rules" in the firewall. These rules do not block or reroute any data, but rather keep track of the amount of data passing through the machine. By using this feature, we can build a simple, effective bandwidth monitoring system that does not require additional software. The link for this article located at Linux.com is no longer available. . It is easy to make use of this feature and create a number of 'pass-through rules' in the firewall. . linux, number, useful, bandwidth, monitoring, management, programs, quick, search, freshme. . Benjamin D. Thomas
... there are a number of issues considered all too rarely by firewall administrators. Most IP level firewalls have a number of options for handling a packet. The packet can typically be accepted, dropped, or sent through another set of rules for inspection (allowing you to break up your ruleset into more manageable pieces). . .. ... there are a number of issues considered all too rarely by firewall administrators. Most IP level firewalls have a number of options for handling a packet. The packet can typically be accepted, dropped, or sent through another set of rules for inspection (allowing you to break up your ruleset into more manageable pieces) When blocking a packet, you are faced with an important choice; whether to drop it silently, or generate an ICMP error message. Each choice has several advantages, and also creates a variety of potential problems. If you generate an error message (i.e. ICMP unreachable), then the remote end will usually immediately stop trying to connect. This makes detecting some types of port scans more difficult since the remote end will likely send off only one packet, and give up after it receives the first error message. This also makes "shotgun" port scanning (i.e. where the attacker simply tries several thousand ports in rapid order) much easier, since the software will receive a definitive answer as to whether the port is blocked or not. Sending an error message does have several advantages, though, the primary one being to make life more difficult for someone who wants to spoof your IP addresses. Since your firewall is likely to generate ICMP error messages, the victim being attacked (by what looks like packets from your systems) will know something is up. To prevent you from sending error messages the attacker must take you offline, or otherwise act overtly to prevent data getting from the victim's network to yours and back. The link for this article located at SecurityPortal is no longer available. . ... there are a number of issuesconsidered all too rarely by firewall administrators. Most IP level. there, number, considered, rarely, firewall, administrators, level. . Anthony Pell
Using the Mason firewall tool, you can easily construct a packet filtering firewall. Mason constructs a firewall for you by listening on your network for normal data and building the rules accordingly. . . .. Using the Mason firewall tool, you can easily construct a packet filtering firewall. Mason constructs a firewall for you by listening on your network for normal data and building the rules accordingly. The link for this article located at William Sterns on LinuxMo is no longer available. . Implement Mason's firewall to develop a robust packet filtering mechanism that dynamically aligns with the regular traffic patterns of your network.. Mason Firewall, Packet Filtering, Network Management. . Anthony Pell
Get the latest Linux and open source security news straight to your inbox.