tag:blogger.com,1999:blog-33511796.post3568607491667815941..comments2012-09-27T02:43:10.195+10:00Comments on Chevrolet '66: How to block Skype traffic with one iptables ruleUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-33511796.post-2029802120303854162012-09-27T02:43:10.195+10:002012-09-27T02:43:10.195+10:00Those having iptables related errors dont copy/pas...Those having iptables related errors dont copy/paste it type it manually.<br /><br />However check the date. Post is 5 years old and I can confirm this no longer functions as a working way to block skype.Alanhttps://www.blogger.com/profile/17512028945222860616noreply@blogger.comtag:blogger.com,1999:blog-33511796.post-28871083258710076862011-01-06T23:57:49.294+11:002011-01-06T23:57:49.294+11:00When I try to start the firewall with this line, I...When I try to start the firewall with this line, I get the following error:<br /><br />Couldn't load match `u32':/lib64/iptables/libipt_u32.so<br /><br />I downloaded the file libipt_u32.so and placed at the directory, but then I got an error message regarding conflict of versions.<br /><br />Is it there another way to make it?Leo Carvalhohttps://www.blogger.com/profile/02388996928286361210noreply@blogger.comtag:blogger.com,1999:blog-33511796.post-21078034690052481252009-11-10T07:51:31.390+11:002009-11-10T07:51:31.390+11:00"I tried the command and got
iptables v1.4.2:..."I tried the command and got<br />iptables v1.4.2: Invalid rule number `-p'"<br /><br />When I copied/pasted the rule from Firefox in Windows into a putty session, I got this:<br /><br />iptables -I FORWARD .p udp .m length ..length 39 .m u32 ..u32 .27&0x8f=7. ..u32 .31=0x527c4833. .j DROP<br /><br />Note that the hyphens are replaced with periods, so I ended up with this error:<br /><br />[1] 9849<br />-su: 0x8f=7.: command not found<br />myhost:~# iptables v1.4.2: Invalid rule number `.p'<br />Try `iptables -h' or 'iptables --help' for more information.<br /><br />[1]+ Exit 2 iptables -I FORWARD .p udp .m length ..length 39 .m u32 ..u32 .27<br /><br />All I had to do was input the command manually and it accepted it... no problem.Syntaxhttps://www.blogger.com/profile/17094126988207941406noreply@blogger.comtag:blogger.com,1999:blog-33511796.post-35669134916113934582009-04-09T05:15:00.000+10:002009-04-09T05:15:00.000+10:00i doesn't work anyway , at least no more.iptab...i doesn't work anyway , at least no more.<BR/><BR/>iptables -I FORWARD 1 -p udp -m length --length 39 -m u32 --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP<BR/><BR/>^ be very carefull with with spaces and tabsUnknownhttps://www.blogger.com/profile/06529550093430718247noreply@blogger.comtag:blogger.com,1999:blog-33511796.post-18274733786948758612009-03-25T23:03:00.000+11:002009-03-25T23:03:00.000+11:00@Anonymous - it might help if you could copy and p...@Anonymous - it might help if you could copy and paste the exact command and output that you got.Amos Shapirahttps://www.blogger.com/profile/06753629010354122346noreply@blogger.comtag:blogger.com,1999:blog-33511796.post-28615289456925516062009-03-17T22:59:00.000+11:002009-03-17T22:59:00.000+11:00I tried the command and gotiptables v1.4.2: Invali...I tried the command and got<BR/>iptables v1.4.2: Invalid rule number `−p'<BR/><BR/>Very strange, as simpler command<BR/>iptables -I FORWARD -p udp -j ACCEPT<BR/><BR/>works...Anonymousnoreply@blogger.com