<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[LHN Linux Forums - Linux - Software, Applications & Programming]]></title>
		<link>http://www.linuxhomenetworking.com/forums/</link>
		<description>Installing, setting it up, upgrading and making it safe ...</description>
		<language>en</language>
		<lastBuildDate>Mon, 06 Sep 2010 12:27:09 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>1440</ttl>
		<image>
			<url>http://www.linuxhomenetworking.com/forums/images/misc/rss.png</url>
			<title><![CDATA[LHN Linux Forums - Linux - Software, Applications & Programming]]></title>
			<link>http://www.linuxhomenetworking.com/forums/</link>
		</image>
		<item>
			<title>need a shell script for creating report</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19532-need-a-shell-script-for-creating-report?goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 09:14:37 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
`cat /var/log/secure | grep "refused connect" |awk '{print $9}'|sed 's/::ffff://g'|uniq -c | sort -nr |head -2 | awk '{print $2}'...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
`cat /var/log/secure | grep &quot;refused connect&quot; |awk '{print $9}'|sed 's/::ffff://g'|uniq -c | sort -nr |head -2 | awk '{print $2}' &gt;/root/sample`<br />
for IP in `cat /root/sample`;<br />
do<br />
iptables -A INPUT -s $IP -j DROP<br />
done<br />
<br />
<br />
<br />
With this script it ll create a file sample,in that file generate the most number of refused connect IP's, with that i need a shell script to Create a report based on the Blocked IP list. <br />
Report should contain the following : <br />
<br />
--- Date, Blocked IP, country of origin, no of attempts, status<br />
<br />
<br />
Thanks,<br />
Hariharan V.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19532-need-a-shell-script-for-creating-report</guid>
		</item>
		<item>
			<title>Apache configure with ssl</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19531-Apache-configure-with-ssl?goto=newpost</link>
			<pubDate>Mon, 30 Aug 2010 05:53:51 GMT</pubDate>
			<description>Hi All, 
 
I ve a task to configure an apache 2.2 with ssl, 
can any one will give me the steps plzzzzzzzz........... 
 
Thanks, 
Hariharan V.</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I ve a task to configure an apache 2.2 with ssl,<br />
can any one will give me the steps plzzzzzzzz...........<br />
<br />
Thanks,<br />
Hariharan V.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19531-Apache-configure-with-ssl</guid>
		</item>
		<item>
			<title>Error in my script</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19529-Error-in-my-script?goto=newpost</link>
			<pubDate>Tue, 24 Aug 2010 06:24:22 GMT</pubDate>
			<description>Hi All, 
 
I ve task to take a back up a folder from remote server,i wrote a script for create a file with extent ion of .tar.gz but i got an error...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I ve task to take a back up a folder from remote server,i wrote a script for create a file with extent ion of .tar.gz but i got an error is given below in red color font.<br />
 <br />
servicepath=&quot;/etc/httpd/&quot;<br />
service_name=&quot;httpd&quot;<br />
country=&quot;TW&quot;<br />
cur_date=`date +%d-%m-%Y`<br />
extention=&quot;tar.gz&quot;<br />
filename=&quot;$service_name-$country-$cur_date-$extention&quot;<br />
`tar -czvf $filename $servicepath`<br />
<br />
when i ran this script i got an error like<br />
<font color="red">[root@localhost ~]# sh  httpd.sh <br />
tar: Removing leading `/' from member names<br />
httpd.sh: line 7: /etc/httpd/: is a directory<br />
[root@localhost ~]# </font><br />
<br />
Finally i need sloution for that error and a script to copy the tar.gz file in to remote server<br />
<br />
Regards,<br />
Hariharan V.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19529-Error-in-my-script</guid>
		</item>
		<item>
			<title>How to block the IP in particular folder</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19525-How-to-block-the-IP-in-particular-folder?goto=newpost</link>
			<pubDate>Thu, 19 Aug 2010 07:29:35 GMT</pubDate>
			<description><![CDATA[Hi all, 
I ve task like block the refused connection IP's from /var/log/secure file 
 
 
`cat /var/log/secure | grep "refused connect" | awk '{print...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
I ve task like block the refused connection IP's from /var/log/secure file<br />
<br />
<br />
`cat /var/log/secure | grep &quot;refused connect&quot; | awk '{print $9}' |sed 's/::ffff://g' |grep 190.184.35.27 &gt;/root/sample` <br />
IP=&quot;/root/sample/&quot;<br />
`iptables -A INPUT -s $IP -j DROP`<br />
<br />
When i run this script, i get an error like this<br />
<font color="#FF0000">[root@localhost ~]# sh ipblock.sh </font><br />
<font color="#FF0000">iptables v1.3.8: invalid mask `' specified</font><br />
 <font color="#FF0000">Try `iptables -h' or 'iptables --help' for more information.</font><br />
<font color="#FF0000">[root@localhost ~]# </font><br />
<br />
As soon as give me some idea.........<br />
<br />
Thanks,<br />
Hariharan V.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19525-How-to-block-the-IP-in-particular-folder</guid>
		</item>
		<item>
			<title>Need of shell script</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19524-Need-of-shell-script?goto=newpost</link>
			<pubDate>Thu, 19 Aug 2010 07:22:11 GMT</pubDate>
			<description>Hi all, 
I am new for linux, 
I have task to take back up a imp folders and file one host to another host. 
 
In this task i cerat a folder in this...</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
I am new for linux,<br />
I have task to take back up a imp folders and file one host to another host.<br />
<br />
In this task i cerat a folder in this file format in one host, But i cant to copy that folder to another host with hepl of SCP (Secure  Copy).<br />
Any one can give me the Script<br />
<br />
1. Setup weekly backup of httpd configuration files in each tunnel server and send it to Main Server [ Automate the process  ]<br />
                 --- File format should be : servicename-countryname-date.tar.gz (e.g): httpd-TW-10-08-10.tar.<br />
Reply me.....As soon as possible<br />
<br />
Regards,<br />
Hariharan V.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19524-Need-of-shell-script</guid>
		</item>
		<item>
			<title>ipables - stealth port 80</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19521-ipables-stealth-port-80?goto=newpost</link>
			<pubDate>Wed, 11 Aug 2010 05:39:53 GMT</pubDate>
			<description><![CDATA[This is how I did set up my iptables. It's easy and simple, but it suits my needs. 
 
iptables -A INPUT -i lo -j ACCEPT 
iptables -A INPUT -m...]]></description>
			<content:encoded><![CDATA[<div>This is how I did set up my iptables. It's easy and simple, but it suits my needs.<br />
<br />
iptables -A INPUT -i lo -j ACCEPT<br />
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br />
iptables -A INPUT -p tcp --dport 80 -j ACCEPT<br />
iptables -A INPUT -j DROP<br />
<br />
What I'm not happy yet is about port 80. At the &quot;stealth up&quot; test, it is shown as closed. I would rather prefer it to be stealth. i know most people advocate that closed or stealth, is equally secure. I wouldn't argue that. It's just because, if there's no difference, then my preference is to have it shown stealth.<br />
<br />
Now, I'm quite new to Linux and don't have a clue about getting that change done. I tried to search for a solution here in the forums, but got a 4 page results.... and also tried earlier to google it, with no success.<br />
<br />
Any help would be much appreciated.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>wilinu</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19521-ipables-stealth-port-80</guid>
		</item>
		<item>
			<title>Atheros Gigabit Ethernet Adapter</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19509-Atheros-Gigabit-Ethernet-Adapter?goto=newpost</link>
			<pubDate>Wed, 30 Jun 2010 09:40:09 GMT</pubDate>
			<description>Hi anyone can help how to install the atheros gigabit adapter. Im having a problem installing the driver of this network card.  
  
I tried  
lspci |...</description>
			<content:encoded><![CDATA[<div>Hi anyone can help how to install the atheros gigabit adapter. Im having a problem installing the driver of this network card. <br />
 <br />
I tried <br />
lspci | grep Ethernet<br />
and luckily that adapter is present<br />
 <br />
but when i compile the driver module, instruction on the readme.txt a error appears/ Here is the error.<br />
 <br />
[root@localhost src]# make<br />
make -C /lib/modules/2.6.18-164.el5PAE/build SUBDIRS=/drivers/atheros/src modules<br />
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-PAE-i686'<br />
CC [M] /drivers/atheros/src/at_main.o<br />
In file included from /drivers/atheros/src/at.h:29,<br />
from /drivers/atheros/src/at_main.c:27:<br />
/drivers/atheros/src/kcompat.h:1116: error: redefinition of typedef 'irq_handler_t'<br />
include/linux/interrupt.h:67: error: previous declaration of 'irq_handler_t' was here<br />
make[2]: *** [/drivers/atheros/src/at_main.o] Error 1<br />
make[1]: *** [_module_/drivers/atheros/src] Error 2<br />
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-PAE-i686'<br />
make: *** [default] Error 2<br />
[root@localhost src]# make install<br />
make -C /lib/modules/2.6.18-164.el5PAE/build SUBDIRS=/drivers/atheros/src modules<br />
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-PAE-i686'<br />
CC [M] /drivers/atheros/src/at_main.o<br />
In file included from /drivers/atheros/src/at.h:29,<br />
from /drivers/atheros/src/at_main.c:27:<br />
/drivers/atheros/src/kcompat.h:1116: error: redefinition of typedef 'irq_handler_t'<br />
include/linux/interrupt.h:67: error: previous declaration of 'irq_handler_t' was here<br />
make[2]: *** [/drivers/atheros/src/at_main.o] Error 1<br />
make[1]: *** [_module_/drivers/atheros/src] Error 2<br />
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-PAE-i686'<br />
make: *** [default] Error 2<br />
[root@localhost src]# <br />
&#12288;<br />
&#12288;<br />
 <br />
i tried make and make install<br />
 <br />
I hope for someone could help me. Thanks linuxhomenetworking.com in advance</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>genlor</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19509-Atheros-Gigabit-Ethernet-Adapter</guid>
		</item>
		<item>
			<title>Steps for installing Apache 2.2</title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19508-Steps-for-installing-Apache-2.2?goto=newpost</link>
			<pubDate>Mon, 28 Jun 2010 11:21:41 GMT</pubDate>
			<description>Hi All, 
I have task to install an Apache 2.2 in Centos 5.3, 
So any one can give me the steps to install and how to configure.</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
I have task to install an Apache 2.2 in Centos 5.3,<br />
So any one can give me the steps to install and how to configure.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>Hariharan</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19508-Steps-for-installing-Apache-2.2</guid>
		</item>
		<item>
			<title><![CDATA[New WinXP Image Doesn't Backup Profile Files to Linux PDC]]></title>
			<link>http://www.linuxhomenetworking.com/forums/showthread.php/19506-New-WinXP-Image-Doesn-t-Backup-Profile-Files-to-Linux-PDC?goto=newpost</link>
			<pubDate>Thu, 24 Jun 2010 18:42:32 GMT</pubDate>
			<description><![CDATA[Hey there, we're using a Linux samba PDC server that's pretty much perfectly described in your HOWTO guide here: 
...]]></description>
			<content:encoded><![CDATA[<div>Hey there, we're using a Linux samba PDC server that's pretty much perfectly described in your HOWTO guide here:<br />
<br />
<a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch10_:_Windows,_Linux,_and_Samba" target="_blank">http://www.linuxhomenetworking.com/w...nux,_and_Samba</a><br />
<br />
And it has worked fairly well for a number of years like that.  However, we've got a new build of Windows XP that connects to the Linux Samba server (by default we have folks' N: drive map to their /home/* directory), but when they logoff it doesn't save their profile (My Documents, Desktop, Settings, etc) to their /home/profiles/* directory.  I've even done the registry update in the HOWTO:<br />
<br />
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic  es\Netlogon\Parameters]<br />
&quot;requiresignorseal&quot;=dword:00000000<br />
&quot;signsecurechannel&quot;=dword:00000000<br />
<br />
We still have one of the old WinXP machines that is still backing up the /home/profile/* directory to the Linux PDC successfully, so I'm not figuring it's a problem with the server, but some weird setting/registry with the new image.  I've tried to do a comparison of different settings between the two, but haven't come across anything that works.<br />
<br />
If someone can successfully help me figure out what's wrong here, I'd provide some monetary compensation!  Thanks.</div>

 ]]></content:encoded>
			<category domain="http://www.linuxhomenetworking.com/forums/forumdisplay.php/78-Linux-Software-Applications-amp-Programming"><![CDATA[Linux - Software, Applications & Programming]]></category>
			<dc:creator>ovns</dc:creator>
			<guid isPermaLink="true">http://www.linuxhomenetworking.com/forums/showthread.php/19506-New-WinXP-Image-Doesn-t-Backup-Profile-Files-to-Linux-PDC</guid>
		</item>
	</channel>
</rss>
