Linux / UNIX Tech Support Forum
This is a discussion on IPtables vs TCPWrappers within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, how to find if a service is blocked by IPtables or TCPWrappers? how to find which tool is ...
Register free or login to your account to remove all advertisements.
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
Hi all,
how to find if a service is blocked by IPtables or TCPWrappers? how to find which tool is used to block perticular service? is there any command or file to conform this?
__________________
Thanks, Surendra Kumar Anne Linux: Fast, friendly, flexible and .... free! Support Open source. http://www.linuxnix.com |
|
||||
|
You can run iptables -n -L and verify open port or services.
Code:
iptables -n -L iptables -n -L | less iptables -n -L | grep '80' iptables -n -L | grep '202.54.1.2' For TCPwrappers take a look at /etc/hosts.allow and /etc/hosts.deny file.
__________________
Vivek Gite |
|
||||
|
I want this info if we are in network/internet to access that system..
In that case how we can find which tool(iptables/tcpwrappers) is used to block particular service?
__________________
Thanks, Surendra Kumar Anne Linux: Fast, friendly, flexible and .... free! Support Open source. http://www.linuxnix.com |
|
||||
|
hay any updates on this?
__________________
Thanks, Surendra Kumar Anne Linux: Fast, friendly, flexible and .... free! Support Open source. http://www.linuxnix.com |
|
||||
|
Did you run command I gave you? Those are two methods that will tell if port or IP blocked using iptables or tcpwrappers.
__________________
Vivek Gite |
|
||||
|
Hay i did those things.. but it will show on local machine not on remote machine..
__________________
Thanks, Surendra Kumar Anne Linux: Fast, friendly, flexible and .... free! Support Open source. http://www.linuxnix.com |
|
|||
|
So am I understanding this correct? You want to be able to tell which service, be it iptables, or tcp wrappers is blocking your connection to a remote server?
What are you using this info for? -Rob |
![]() |
|
|
| Tags |
| grep, iptables, less command, tcp wrappers |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Iptables Help | santhosheph | CentOS / RHEL / Fedora | 0 | 9th June 2008 03:36 PM |
| Iptables | nixsen | CentOS / RHEL / Fedora | 2 | 29th November 2007 03:01 PM |
| iptables help | vitaminme | Networking, Firewalls and Security | 1 | 4th September 2007 02:42 AM |
| IPTABLES Help | asim.mcp | Linux software | 3 | 8th July 2006 02:53 AM |
| IPTABLES help | vasanth | Linux software | 1 | 9th March 2005 09:15 AM |