Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Vinicius Coque
Yes it works, but using fqdn as destination, iptables can take too long time to resolve the address. Using nslookup is a better solution, I think. Vinícius Coque On Wed, Oct 28, 2009 at 6:44 PM, Marcus Moeller wrote: > Hi all, > > does it work to define iptables rules with a fqdn as destination

Re: [CentOS] permission script

2009-10-25 Thread Vinicius Coque
The output message "Permission denied" comes from STDERR not from STDIN. You should redirect stderr to stdin on your command, to make it work. ifconfig wlan0 down 2>&1 | grep -i denied On Sun, Oct 25, 2009 at 2:42 PM, Eugeneapolinary Ju < eugeneapolinar...@yahoo.com> wrote: > I just wrote a li

Re: [CentOS] New sshd_config - what has changed?

2009-09-17 Thread Vinicius Coque
Yes, it is a new option, since it was added. ChrootDirectory is a new feature introduced in OpenSSH 4.9 On Thu, Sep 17, 2009 at 10:32 AM, Robert Moskowitz wrote: > > Vinicius Coque wrote: > > See "man sshd_config" > > > > #AddressFamily any > > Valid ar

Re: [CentOS] New sshd_config - what has changed?

2009-09-17 Thread Vinicius Coque
See "man sshd_config" #AddressFamily any Valid arguments are 'any', 'inet' (use IPv4 only) or 'inet6' (use IPv6 only) #ChrootDirectory none Specifies a path to chroot to after authentication. On Thu, Sep 17, 2009 at 9:35 AM, Robert Moskowitz wrote: > I see that there is a new sshd_config in th

Re: [CentOS] question on wget

2009-09-11 Thread Vinicius Coque
You can use "wget -c URL", to continue downloading file On Fri, Sep 11, 2009 at 3:29 PM, Dave wrote: > Hello, >I've got an ftp site, not mine, that has content on it that i want > to download. It's not anonymous so it requires a log in. The problem is > either the ISP has a bandwidth th

Re: [CentOS] Remote backup of server

2009-09-04 Thread Vinicius Coque
You could use Bacula (www.bacula.org) On Fri, Sep 4, 2009 at 1:23 PM, happymaster23 wrote: > Hello, > > I want mount directory of one server to another over internet. I was > looking to NFS4, but there are no security mechanisms. I need > encrypted connection using private key (something like SFT