I am trying to connect our server to another via SFTP to send files securely, and I would like to automate this connection. Whenever I connect to the remote server with the username assigned ...
How do I force a group ownership assignment when a new file is created in a certain directory on a Linux server?
When a new file or directory is created today, the default ownership is "use...
Dear all,
I had tried to block the inbound ICMP echo request by iptables, but seems like I didn't have the job done right. I used the following command: iptables -A INPUT -p icmp --icmp-t...
Hello,
I want to find the last login time (instead of my current login time) for my computer.
At present I used the command "lastlog" in the way "$lastlog" but it gives the login time o...
I have 2 server. Server A ( 192.168.0.11 - secure ) and Server B (10.0.11.2 -dmz ). From Server B i do ftp to Server A. If i stop the iptables service at Server B, i can ftp and view directory...
My Linux firewall has 3 interfaces eth0 to Internet, eth1 to local LAN (192.168.1.0/24) and eth2 to DMZ (192.168.2.0/24)
In the DMZ area I have a FTP server (192.168.2.253). The FTP server in...
Hello All,
I want block specific sites using IPTABLE on Linux. Can any one help me...
Thanks in advance,
Regards,
Pralay
Hi all,
I've set port forwarding up on my debian box using:
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.0.2:80
iptables -A INPUT -p tcp -m state --state...
How does one use iptables to restrict ssh access to clients within the subnet?
I assume this will also restrict other services such as ftpd and svnserver that use ssh
Dear All,
I use to implement BASE on my snort box. I found SGUIL that is other snort front-end. Anyone has comment about other snort front-end.
Moreover I find the distors t...
The audit demon running on my Redhat ES 4 server is creating a lot of logfiles in /var/log/audit.d/save.xx
As far as I can tell its just going to keep creating these until it runs out of disk...
I have this rule
iptables -t nat -A PREROUTING -p tcp -d 1.2.3.4 --dport 1234 -j REDIRECT --to-ports 12345-12347
There's actually two Qs
- it suppose to redirect connections to 3 differen...
Fedora C2.
I need to encrypt a file received by a CGI script and be able to decrypt it later. I need these processes automated.
I have made the following test script that I hoped would do bo...
I virtualized Ubuntu, Squid and Dansguardian, got it up and running and able to block sites. What I want is to be able to grant users one time passwords to bypass the filter when requested. I ...
hello there,
Anyone using Skype? (www.skype.com)
i learnt that skype uses AES 256-bit encryption to secure its instant messaging, file transfer and pc-to-pc voice call. (btw the quality of...
I just executed following commands on my command prompts.
iptables -I INPUT 1 -p tcp --dport 80 -m string --string "linuxhq.com" --algo kmp -j DROP
iptables -I INPUT 1 -p tcp --dport 80 -m s...
Dear experts,
I would like to use tcpdump to capture all the traffic between my pc and the target host.
I know that the tcpdump it will capture all traffic from the source that I will ...
I have a web server running Ubuntu Server. It isn't running a GUI. I use FTP to put files on it. I use PuTTY to administer it. I use SQLyog to administer MySQL. What antivirus measures sho...
How to configure Nagios with Dell open manage software through check_openmanage plugin
How can I setup IPSec site-to-site and remote access IPSec VPN on RHEL5? Does RHEL5 come with any rpms or need to use other third-party vpn solution from openswan.org or strongswan.org. Plea...
Hello,
I am trying to setup an iptables firewall on a slackware 9 box, running the 2.6.4. kernel. I want to upgrade from ipchains on slack 2, running on my old 486 :)
I would like to allow...
Hi
I have host A on subnet 1 which can reach host B.
Host B has another NIC port which connects to subnet 2
& Host B can reach Host C.
Host A has no route to Host C & I'm not allowed ...
I have a server using Red Hat Linux ES4 with 2 ethernet ports - eth0 is on the LAN and eth1 is connected to the Internet. I have been using the standard Red Hat Security Level Configuration GU...
I have 2 server. Between Server A and B there is a firewall...but the firewall is set to be open from A to B and vice versa. As below output...Server A can authenticate to Server B but unable ...
Environment overview:
OS: CentOS 5.3
Kernel: 2.6.18-128.4.1.el5 #1 SMP
OpenSSH 4.3p2
Summary of Problem
Users connecting to the server via SSH are unable to change their passwords if ...