![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mail-wrapper 1.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 02-19-2008 03:00 PM |
| What is a wrapper script | thana | UNIX for Dummies Questions & Answers | 1 | 01-28-2008 08:11 AM |
| Secure FTP Wrapper 3.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 01-03-2008 05:10 AM |
| wrapper for Common Tools | cantgetname | Shell Programming and Scripting | 2 | 02-22-2007 11:25 PM |
| What is wrapper script and how to write | chiru | UNIX for Dummies Questions & Answers | 1 | 06-12-2006 06:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Tcp wrapper
I installed tcp wrappers version 7.6
and modify my inetd.conf file from ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd to ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l created /etc/hosts.allow file and modify it to only allow ftp from mydomain only but this is denying ftp traffic from everywhere including mydomain every time I attempt to ftp it sends a warning message to syslog warning: can't verify hostname: gethostbyname failed I issued tcpdmatch in.ftpd 127.0.0.1 it report permit can you help? Thanks in Advance |
|
|||||
|
Change your hosts.allow entry - I set up mine for my local subnet to look like yours (using my numbers) and it failed with service not available right after it worked before the change.
I believe it's the x.x you have in there: in.ftpd: 191.95.x.x/255.255. 0.0 I changed it (a couple of times) and found this to work; in.ftpd: 191.95. /255.255. 0.0 in.ftpd: 191.95./255.255. 0.0 will not work - needs that space - I still am looking to see if the /255.255.0.0 is valid (will post back) |
|
||||
|
Thanks RTM, I tried your suggestions
in.ftpd: 191.95. /255.255. 0.0 but this still does not work. still getting the same warning in syslog "warning can't verity hostname: gethostbyname failed. nslookup can resolve the ip address. |
|
|||||
|
Do the following to verify DNS - if you don't get anything back on the PTR then DNS is messing you up:
% nslookup Default Server: which1.mycom.com Address: 1.14.1.2 > medusa Server: which1.mycom.com Address: 1.14.1.2 Name: medusa.mycom.com Address: 1.14.64.76 > set type=ptr > 1.14.64.76 Server: which1.mycom.com Address: 1.14.1.2 76.64.14.1.in-addr.arpa name = medusa.mycom.com 64.14.1.in-addr.arpa nameserver = which1.mycom.com 64.14.1.in-addr.arpa nameserver = which2.mycom.com which1.mycom.com internet address = 1.14.1.2 which2.mycom.com internet address = 1.14.2.2 |
|
||||
|
my Dns is resolving ip address, I carried out your suggestion to test the dns and the Dns work fine.
when I disabled tcp wrappers in /etc/inetd.conf I was able to ftp from anywhere and no warning message in syslog but with tcp wrappers enable in /etc/inetd.conf that is ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l then ftp from my LAN does not work hence error message in syslog |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|