[CentOS] need help in configuring iptables for smtp traffic

2008-01-17 Thread ankush grover
single smtp server. Any suggestions/comments are most welcome Thanks & Regards Ankush Grover ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] need help in configuring iptables for smtp traffic

2008-01-20 Thread ankush grover
Hi Alain, Thanks for replying to my question. > > My understandin is: > You are load balancing your outgoing traffic Yes, load balancing outgoing traffic > > > > route add $smtpserver1 netmask 255.255.255.255 gw $publicip1 > > route add $publicip1 gw $gw1 > > You are trying to force the GW f

[CentOS] Need help in analyzing ntop data

2008-02-04 Thread ankush grover
Hi, I want to do some analysis of NTOP data. Currently I have installed NTOP on Centos 5.1 and I am able to see some network data being graphed. But there is no documentation given whether NTOP is showing Network Throughput in MBytes or MBits for ex I am getting Throughput Min: 163.7k , Max: 3

[CentOS] strategy/technology to backup 20TB or more user's data

2008-02-05 Thread ankush grover
Hi Friends, I am currently using Samba on Centos 4.4 as a domain member of AD 2003 with each user having a quota of 2GB(no of users is around 2,000). Now the management wants to increase the quota to 10GB with this there will be more than 20TB of data to be backup weekly which will take lots of h

Re: [CentOS] yum upgrade php dependency failure

2008-02-05 Thread ankush grover
On Feb 6, 2008 10:30 AM, Ed Morrison <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to upgrade php to version 5. When running yum upgrade I > get this failure: > > --> Running transaction check > --> Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear > --> Finished Dependency Resol

[CentOS] equota reporting wrong blocks

2008-02-07 Thread ankush grover
Hi Friends, I am running samba as domain member of AD 2k3 on Centos 4.4 . Quota of 2GB is set for each user but for one of the user quota or edquota is showing wrong blocks even though disk space occupied by that user is 809M. quota bhavesh.kumar Disk quotas for user bhavesh.kumar (uid 11254):

[CentOS] Re: discrepancy between what quota reports and what du reports

2008-02-07 Thread ankush grover
On Feb 7, 2008 4:31 PM, ankush grover <[EMAIL PROTECTED]> wrote: > Hi Friends, > > > I am running samba as domain member of AD 2k3 on Centos 4.4 . Quota of > 2GB is set for each user but for one of the user quota or edquota is > showing wrong blocks even though disk space

[CentOS] discrepancy between what quota reports and what du reports (second time post)

2008-02-18 Thread ankush grover
Hi Friends, I am running samba as domain member of AD 2k3 on Centos 4.4 . Quota of 2GB is set for each user but for 2-3 uers quota or edquota is showing wrong blocks even though disk space occupied by that user is very less than the quota specified for ex 810 MB. quota bhavesh.kumar Disk quotas

[CentOS] put command is not working in tftp server

2008-02-27 Thread ankush grover
Hi Friends, I am trying to configure a tftp server on Centos 5.0. get command is working fine but not the put command. I searched on the google and tried few things like 777 on /tftpboot, changing ownership to nobody on /tftpboot and also in /etc/xinetd.d/tftp, adding -c as server_args but still

Re: [CentOS] put command is not working in tftp server

2008-02-27 Thread ankush grover
On Wed, Feb 27, 2008 at 10:27 PM, Lorenzo Quatrini <[EMAIL PROTECTED]> wrote: > nate ha scritto: > > > ankush grover wrote: > > > >> Please let me know if you need any further inputs. > > > > I'm not sure if it applies to all tftp servers but f

Re: [CentOS] vsftp and nonpriv_user option question

2007-09-15 Thread ankush grover
On 9/7/07, Blackburn, Marvin <[EMAIL PROTECTED]> wrote: > > > So what is the advantage of using nopriv_user=ftpsecure ? > > Hi, May be this gives u an answer http://forums.fedoraforum.org/archive/index.php/t-62225.html Regards Ankush ___ CentOS mailin

[CentOS] system time automatically fowards in time and then comes back to normal

2009-11-21 Thread ankush grover
Hi friends, I am running Nagios 2.7-1 on Centos 5.0 32-bit hosted on Vmware ESX 4.0. The issue I am seeing on the server is sometimes nagios is showing the below messages in /var/log/messages and as the system time gets changed some false alarms gets generated. I searched it on the google but I am

[CentOS] redirecting outside connections to https on apache

2008-04-14 Thread ankush grover
Hi friends, There are about 15 applications hosted on different in our infrastructure mostly running on apache/iis/tomcat. We have a frontend apache server running on Centos 4.4 64bit which make these applications accessible to outside world. For the applications which are running on tomcat we ar

[CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass

2008-07-06 Thread ankush grover
Hi Friends, I am using Centos 5.2 and using ProxyPass to access applications running on other servers. Everything is working fine except for one of the applications I need to auto add forward slash when any user tries to access that application. For ex ProxyPass /testdiaryhttp:/

[solved]Re: [CentOS] How to Auto Add forward slash "/" when accessing a link/url through ProxyPass

2008-07-09 Thread ankush grover
On Sun, Jul 6, 2008 at 8:21 PM, nate <[EMAIL PROTECTED]> wrote: > ankush grover wrote: > >> I have the below lines added in httpd.conf file >> >> RewriteEngine On >> RewriteCond %{REQUEST_URI} /testdiary >> RewriteRule /testdiary(.)$

[CentOS] Need help in writing a shell/bash script

2011-12-30 Thread ankush grover
Hi Friends, I am trying to write a shell script which can merge the 2 columns into 3rd one on Centos 5. The file is very long around 31200 rows having around 1370 unique groups and around 12000 unique user-names. The 1st column is the groupname and then 2nd column is the user-name. 1st Column (Gr

Re: [CentOS] Need help in writing a shell/bash script

2012-01-07 Thread ankush grover
Thanks supergiantpotato and Edo. Scripts worked for me. Thanks a lot :) On Sat, Dec 31, 2011 at 12:45 AM, wrote: > John R Pierce wrote: >> On 12/30/11 9:58 AM, Les Mikesell wrote: >>> Here's a perl approach: >> >> which, unlike all the other versions, doesn't require the data be >> pre-sorted,

[CentOS] Unable to compile mod_jk on Centos 5.2 64-bit

2008-09-02 Thread ankush grover
Hi Friends, I am trying to compile mod_jk on Centos 5.2 64-bit but I am getting apxs not found. Whereas apxs is already there on the server type apxs apxs is /usr/sbin/apxs ./configure CFLAGS=' -arch x86_64 ' APXSLDFLAGS=' -arch x86_64 ' --with-apxs=/usr/sbin/apxs checking build system type...

Re: [CentOS] Unable to compile mod_jk on Centos 5.2 64-bit (solved)

2008-09-06 Thread ankush grover
On Tue, Sep 2, 2008 at 4:11 PM, Farkas Levente <[EMAIL PROTECTED]> wrote: > ankush grover wrote: >> Hi Friends, >> >> I am trying to compile mod_jk on Centos 5.2 64-bit but I am getting >> apxs not found. Whereas apxs is already there on the server > Hi,

Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread ankush grover
On Fri, Sep 19, 2008 at 8:43 PM, Joey Mendez <[EMAIL PROTECTED]> wrote: > I appreciate your reply to my email. The steps ou have given me are things > that I have done and are already in place. I still cannot get the eth to > activate unless I issue it a static IP it for some reason will not activa

Re: [CentOS] using NOPASSWD in sudoers

2008-09-19 Thread ankush grover
On Thu, Sep 18, 2008 at 11:19 PM, Ski Dawg <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > I am trying to change our /etc/sudoers (using visudo) to allow 2 > commands to be run as root without a password, but it isn't working. > Here is the part of the sudoers file that is in question. > > # User

[CentOS] centralized logs server and also storing the logs on the local server

2008-11-08 Thread ankush grover
Hi Friends, I am running most of my company's Linux Servers on Centos 4.x/5.x 32 and 64-bit. I am now trying to configure a centralized logging server where logs of all the linux servers will be stored and also I want to store all the logs on the local server aka means logs will be sent to the cen

[CentOS] restricting mails from "mail" command to specific domains only in postfix

2009-01-01 Thread ankush grover
Hi Friends, I have configured Postfix mail server on Centos for relaying mails from 5 linux servers (including itself) within the same LAN. The postfix mail server should relay mails from these 5 linux servers for specific domains only. For example hosts 192.168.0.23/24/25/26/27 and the postfix m

Re: [CentOS] restricting mails from "mail" command to specific domains only in postfix

2009-01-02 Thread ankush grover
On Sat, Jan 3, 2009 at 5:07 AM, mouss wrote: > ankush grover a écrit : >> Hi Friends, >> >> I have configured Postfix mail server on Centos for relaying mails >> from 5 linux servers (including itself) within the same LAN. The >> postfix mail server should relay

[CentOS] Issues with Ldap client on Centos 5

2009-01-21 Thread ankush grover
Hi Friends, We are running some of the Centos 5 32 bit, 5.2 64-bit systems. These systems are ldap clients and the ldap server is Windows 2003 Server. Sometimes 1 or 2 services on these servers sucks 100% cpu and the load becomes high on the server. Below is an example where one the httpd process

[CentOS] Unable to grep 5 mins logs

2011-06-13 Thread ankush grover
Hi Friends! I need to prepare a script which will grep logs from the current time to previous 5 mins that is if the current time is Mon Jun 13 12:40:40 IST 2011 then all the logs between the interval Mon Jun 12:35 - 12:40 2011 should be grepped by the script and append it to another file. However,

Re: [CentOS] Unable to grep 5 mins logs

2011-06-13 Thread ankush grover
Combine 2-3 greps: > > for (( i = 5; i>=0; i-- )) ; do grep `date "+%a"` | grep `date "+%b"` | > grep `date "+%d"` | grep `date "+%Y"` | $(date "+%R" -d "-$i > min") /var/ossec/logs/active-responses.log>>  /tmp/newlog.log;done > > Change order of greps to gain speed at first cutting part of lines w

Re: [CentOS] Unable to grep 5 mins logs

2011-06-14 Thread ankush grover
>> >> It is really slow when 2-3 greps are combined. >> > > But it will do the job until you solve this with more elegance. > > What you can try is to compile search pattern from 2-3 date outputs so > it will match the text in the log. > > > dayname="$(date "+%a")"; month="$(date "+%b")"; time="$(d

Re: [CentOS] SIEM

2012-12-10 Thread ankush grover
Try anyone of these.. http://communities.alienvault.com/ http://www.cyberoam-iview.org/ On Tue, Dec 11, 2012 at 8:31 AM, Ray Van Dolson wrote: > ArcSi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] load balancer recommendations

2013-01-24 Thread ankush grover
You can try Zen Load Balancer http://www.zenloadbalancer.com/ On Thu, Jan 24, 2013 at 1:20 PM, andreas wrote: > Στις 23-01-2013 16:25, Bowie Bailey έγραψε: > > On 1/20/2013 10:12 AM, Nikolaos Milas wrote: > >> > >> You'll undoubtedly find more material on the iNet, but I hope the > >> above > >

Re: [CentOS] 2way authentication for SSH?

2013-01-28 Thread ankush grover
you can use openotp which is free upto 25 users. http://www.rcdevs.com/products/openotp/ On Mon, Jan 28, 2013 at 1:37 PM, Alexander Dalloz wrote: > Am 28.01.2013 08:51, schrieb Rudi Ahlers: > > Hi, > > > > Does anyone know of a stable / working "2way authentication" system for > > SSH, and even

Re: [CentOS] selinux and tinydns

2013-02-13 Thread ankush grover
On Thu, Feb 14, 2013 at 11:33 AM, Philip Manuel wrote: > Hi all, > > tinydns starts up fine, selinux reports no issues (now after a day of > clearing errors). > > If I turn selinux back to permissive in /etc/sysconfig/selinux, and > reboot, tinydns responds to queries. > > If I turn selinux b

Re: [CentOS] Critical update for bash released today.

2014-09-26 Thread Ankush Grover
It is listed how one can check whether his system is vulnerable to shellshock or not & how to verify after the upgrade of bash rpm. https://garage.godaddy.com/webpro/security/shellshock-vulnerability-need-know/ On Fri, Sep 26, 2014 at 4:24 PM, Johnny Hughes wrote: > On 09/25/2014 01:49 AM, Jame

Re: [CentOS] Critical update for bash released today.

2014-09-26 Thread Ankush Grover
Better one -> https://support.godaddy.com/help/article/12120/patching-bash-on-your-server-shellshock-patch On Fri, Sep 26, 2014 at 4:33 PM, Ankush Grover wrote: > It is listed how one can check whether his system is vulnerable to > shellshock or not & how to verify after the upgrad

[CentOS] Script for enabling screen savers in GNOME and KDE on Centos 5.x

2012-03-27 Thread ankush grover
Hi Friends, I am trying to configure screensavers settings on Gnome and KDE running Centos 5.x 32-bit environment. I need to prepare a script which will be push by Puppet and this script should be able to change settings like idle_delay, set customized password-protected screen saver, enabling loc

Re: [CentOS] Log viewing and analysis tools

2012-08-28 Thread ankush grover
Please check which one suits you more both are web-based Octopussy or loganalyer http://loganalyzer.adiscon.com/ http://sourceforge.net/projects/syslog-analyzer/ On Tue, Aug 28, 2012 at 3:21 PM, David McGuffey wrote: > I have a requirement to allow our security officer to regularly view and >

[CentOS] squid cache question

2012-10-02 Thread ankush grover
Hi Friends, Same question has been asked on the Squid mailing list but so far no reply on the mailing list so posting it here also. We are trying to cache some files from apple.com like .dmg, .pkg, .ipa etc.. so that local clients can fetch the data from the cache. The problem we are facing is t

Re: [CentOS] squid cache question

2012-10-06 Thread ankush grover
Any update on this? We are stuck and need help.. Thanks & Regards Ankush On Wed, Oct 3, 2012 at 9:20 AM, ankush grover wrote: > Hi Friends, > > Same question has been asked on the Squid mailing list but so far no reply > on the mailing list so posting it here also. > > &g

Re: [CentOS] squid cache question

2012-10-08 Thread ankush grover
anyway.. Thanks & Regards Ankush On Mon, Oct 8, 2012 at 3:32 PM, John Doe wrote: > From: ankush grover > > > We are trying to cache some files from apple.com like .dmg, .pkg, > > .ipa etc.. so that local clients can fetch the data from the cache. > > The prob