Sponsored Content
Full Discussion: TCP Wrappers on AIX 5.3
Operating Systems AIX TCP Wrappers on AIX 5.3 Post 302692737 by moshesa on Tuesday 28th of August 2012 05:00:51 AM
Old 08-28-2012
TCP Wrappers on AIX 5.3

Hi,

I have in my organization varied OS types (AIX,RHEL,Solaris)
My need was to block ftp connections from some addresses on my organization,
but to not disable the protocol.
In the linux servers i did that with the hosts.deny file that used by the vsftpd deamon.
In my AIX servers, i have the simple ftp protocol that not support hosts.deny and hosts.allow files.
I read on the internet about the TCP Wrapper that can implement this function and cause the tcpd refers the hosts.deny & hosts.allow files.

I tried to install TCP Wrappers on my AIX test machine by this link:
'http://www.ibm.com/developerworks/aix/library/au-tcpwrapper/index.html'

and it does not work right.

When I write rule in the hosts.deny like:
Code:
ALL:ALL

or
Code:
ftpd:ALL

The rule works and the connections are blocked.

but when I write the rule with spesific host, the rule doesn't work and the connection is possible Smilie .

Thank you all.


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by zaxxon; 08-28-2012 at 06:17 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

TCP Wrappers

I have installed TCP wrappers , Good package ... I have a problem with the hosts_options part ... I am not able to use the twist command .. It just dosent respond I have compiled wrappers 7.6 for Solaris 8 with ipv6 support ... Everything works fine except the twist doesnt work I have... (1 Reply)
Discussion started by: DPAI
1 Replies

2. IP Networking

IBM-AIX and TCP/IP Problem

I am having a problem and I feel it's network related. I have an RS6000 running AIX. I use a terminal emulation program that allows me to connect to my server via TCP/IP. When I try and make the connection, it takes F-O-R-E-V-E-R to get a login prompt on the screen. I also cannot ftp to... (3 Replies)
Discussion started by: Docboyeee
3 Replies

3. Solaris

logging solaris 10 tcp-wrappers

I want to log tcp-wrapper events Solaris 10. I researched and saw that I could make a syslog entry in the hosts.deny, which I did below. After restarting syslog and having ssh blocking, I see nothing logging. I also do not get the email that should be generated. The file was taken from a... (2 Replies)
Discussion started by: csgonan
2 Replies

4. Solaris

TCP Wrappers - again

has anyone ever tried using a client list in thier hosts.allow file Example of hosts.allow) in.ftpd: /etc/ftp.hosts "ftp.hosts" has my list of IP address that are allow access.... However I cant get this work...Any Comments or Help? (0 Replies)
Discussion started by: dodge_man
0 Replies

5. AIX

TCP wrappers

With things installed and wrapping ftpd on AIX 5.1 in hosts.deny I have; ALL: ALL in hosts.allow; ftpd: x.x.x.x ALL: x.x.x.x I get this on connect via ftp; 421 Service not available, remote server has closed connection So its working as far as blocking but the hosts.allow seems to be... (1 Reply)
Discussion started by: traken
1 Replies

6. AIX

TCP port 70000 on AIX 6.1? (Surely higher than allowed maximum?)

Looking at /etc/services on AIX 6.1, I noticed some bizarre port numbers which exceed the 16-bit maximum port number for TCP (i.e. they are higher than 65535.) sco_printer 70000/tcp sco_spooler # For System V print IPC sco_s5_port 70001/tcp lpNet_s5_port ... (5 Replies)
Discussion started by: garethr
5 Replies

7. UNIX for Advanced & Expert Users

TCP Wrappers and restricting users

I'm using vsftpd which is being controlled by inetd. I have a user that I want to only be able to connect from one specific IP address on the same internal network so I can backup files on a separate system. Is this possible with TCP wrappers? I got the notion that it was because of a few... (4 Replies)
Discussion started by: mashiox
4 Replies

8. AIX

TCP/UDP port range for default AIX NFS?

May I know what is the TCP/UCP port range for any default AIX NFS? Based on rpcinfo -p, I got the following output: program vers proto port service 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100000 4 ... (4 Replies)
Discussion started by: famasutika
4 Replies

9. AIX

Where is the same TCP parameters in AIX?

I am try to tuning a parameter in AIX 5L and 6 (for performance issue.) I find a link(https://forums.oracle.com/forums/thread.jspa?threadID=886358) The thread mention two parameter below, I can use "ndd" command to tuning. tcp_deferred_ack_interval = 2 tcp_deferred_ack_max = 2 but I... (3 Replies)
Discussion started by: nnnnnnine
3 Replies

10. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies
SHIB-METAGEN(1) 						    Shibboleth							   SHIB-METAGEN(1)

NAME
shib-metagen - Generate metadata for a Shibboleth SP SYNOPSIS
shib-metagen [-12ADLNO] [-c cert [-c cert ...]] [-e entity-id] [-f format [-f format ...]] [-h host [-h host ...]] [-n host [-n host ...]] [-o organization] [-a admin [-a admin ...]] [-s support [-s support ...]] [-t tech [-t tech ...]] [-u url] DESCRIPTION
Generate metadata for a Shibboleth SP. The metadata is printed to standard output. Most of the parameters are optional, but at least one of -h or -n must be given to specify the hostname to use in constructing URLs for the Shibboleth service for the SP. Other metadata can be added by using the other command-line parameters. Most parameters can be given multiple times. OPTIONS
-1 Generate SAML 1.0 metadata. The default, if neither -1 nor -2 is given, is to generate metadata for both SAML 1.0 and SAML 2.0. -2 Generate SAML 2.0 metadata. The default, if neither -1 nor -2 is given, is to generate metadata for both SAML 1.0 and SAML 2.0. -A Include artifact metadata. -a admin An administrative contact for this Shibboleth SP. This option may be omitted, in which case administrative contact metadata is not included, or may be given multiple times to list multiple contacts. admin should be in the form "first/last/email" where first is the given name and last is the surname. -c cert Specifies the SSL certificate used to identify this Shibboleth SP. This option may be given multiple times to specify multiple certificates. If it is not given, the default certificate is sp-cert.pem in the current working directory. -D Include discovery service information in the metadata. By default, discovery service information is not included. -e entity-id The entity ID for this SP. This must be a unique identifier for this SP and must be a URL. If -o is given and -u is not given, entity-id is used as the URL for the organization running this Shibboleth SP. If it is not specified, it defaults to "https://host/shibboleth" where host is the argument to the first -h option. -f format Include this NameIDFormat in the metadata. This option may be given more than once. -h host A hostname for this SP (possibly a virtual host). Either this option or -n must be specified at least once. It should be repeated for every virtual host that responds to the Shibboleth protocol. -h should be used for hostnames or virtual hosts that use SSL. -L Include Single Logout information in the metadata. This is not included by default. -N Include NameID management information in the metadata. This is not included by default. -n host A hostname for this SP (possibly a virtual host). Either this option or -h must be specified at least once. It should be repeated for every virtual host that responds to the Shibboleth protocol. -n should be used for hostnames or virtual hosts that do not use SSL to protect the Shibboleth communication. -O Include XML namespace declarations in the generated metadata. This is the default. -o organization The name of the organization that runs this Shibboleth SP. This option may be given only once and may be omitted, in which case organization metadata is not included. This is normally not necessary but may be used by other software systems for purposes such as displaying lists of entities with human-readable names. -s support A support contact for this Shibboleth SP. This option may be omitted, in which case support contact metadata is not included, or may be given multiple times to list multiple contacts. support should be in the form "first/last/email" where first is the given name and last is the surname. -t tech A technical contact for this Shibboleth SP. This option may be omitted, in which case technical contact metadata is not included, or may be given multiple times to list multiple contacts. tech should be in the form "first/last/email" where first is the given name and last is the surname. -u url Sets the URL for the organization. This information is only used if the -o option is also given to specify the name of the organization. If -o is given and -u is not given, the entity ID (set with -e) is used as the organization URL. AUTHOR
This manual page was written by Russ Allbery for Debian GNU/Linux. COPYRIGHT
Copyright 2009, 2011 Russ Allbery. This manual page is hereby placed into the public domain by its author. 2.4.3 2012-02-16 SHIB-METAGEN(1)
All times are GMT -4. The time now is 05:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy