home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX_BBS      Linux BBSing      935 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263 of 935   
   Janis Kracht to Benny Pedersen   
   neat stuff....   
   19 Feb 16 13:25:56   
   
   Hi Benny,   
      
   >> sudo iptables -I INPUT -p tcp --dport 23 -i eth0 -m state --state NEW   
   >> -m recent --set   
      
   > imho invalid   
      
   That's the first step.  That step must be folllowed by #2 below.  How do you   
   think Shorewall works?  it sets the same type commands as these two with   
   Python scripts    
      
   >> sudo iptables -I INPUT -p tcp --dport 23 -i eth0 -m state --state NEW   
   >> -m recent --update --seconds 30 --hitcount 2 -j DROP   
      
   >> All of a sudden idiots cannot connect here after 30 seconds    
      
   > indeed, just remember i say i would like to help you with shorewall ?   
      
   Not needed, and not wanted here.  I can control it all by setting the dport,   
   and seconds after their initial connect.   
      
   Most people don't understand Iptables.  It's not hard to work with when you   
   understand it.   
      
   Here is what I'm using now, works great: Step 1:   
   sudo iptables -I INPUT -p tcp --dport 23 -i eth0 -m state --state NEW -m   
   recent --set   
      
   Step 2:   
   sudo iptables -I INPUT -p tcp --dport 23 -i eth0 -m state --state NEW -m   
   recent --update --seconds 60 --hitcount 4 -j DROP   
      
   I use the same commands for port 8080 btw.   
      
   These commands will flush your iptables filewall, and remove all currently   
   active rules when you want to change the settings.   
      
   iptables -F   
   iptables -X   
      
   Take care,   
   Janis   
      
   --- BBBS/Li6 v4.10 Dada-2   
    * Origin: Prism bbs (1:261/38)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca