LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2009, 05:09 AM   #1
manusys
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
Angry Need to Restrict TFTP Access


Hi,

I have configured tftp server. I need to restrict tftp access. Is there any otpion in /etc/xinet.d/tftp config file ??

I have tried in /etc/xinet.d/tftp config file but no luck.

Please suggest.


Thanks & Regards
manusys
 
Old 11-20-2009, 06:18 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by manusys View Post
Hi,

I have configured tftp server. I need to restrict tftp access. Is there any otpion in /etc/xinet.d/tftp config file ??

I have tried in /etc/xinet.d/tftp config file but no luck.

Please suggest.


Thanks & Regards
manusys
you absolutely can do this using the only_from directive
can we see how you are trying to achieve this??

you can also do it with tcp wrappers (/etc/hosts.deny|/etc/hosts.allow)
because xinetd is compiled with libwrap


Code:
[root@host ~]# ldd /usr/sbin/xinetd | grep wrap
        libwrap.so.0 => /usr/lib/libwrap.so.0 (0x0076c000)

Last edited by centosboy; 11-20-2009 at 06:20 AM.
 
Old 11-23-2009, 07:13 AM   #3
manusys
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the solution. But i know the "only_from" directive. The scenario is like; i have configured TFTP server for backing up config files of switches for this i have script. We have arnd 300 switches.

What i want to do is i have to restrict tftp access & want only few people to access it & copy those config files back from tftp server.

Please suggest..!

Thanks...
 
Old 11-23-2009, 10:07 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by manusys View Post
Hi,

Thanks for the solution. But i know the "only_from" directive. The scenario is like; i have configured TFTP server for backing up config files of switches for this i have script. We have arnd 300 switches.

What i want to do is i have to restrict tftp access & want only few people to access it & copy those config files back from tftp server.

Please suggest..!

Thanks...
well as tftp does not use authentication, then restriction by ip would be best using either of the suggested methods.
if this is not good, then i suggest ftp method which would work in a similar way except the userass would be in the url/path
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict directory access nazimrj Linux - Newbie 9 09-13-2006 09:49 AM
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 09:40 AM
Restrict Network Access alxdotnet Linux - Software 3 04-10-2004 11:05 PM
RH 9 : Enable My LAN to Access TFTP Server Using NAT mr13stu Linux - Networking 0 02-19-2004 04:14 PM
Restrict access by IP waifurchin Linux - Security 3 02-02-2003 08:54 AM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration