Difference between Iptables and SELinux

2,113 views
Skip to first unread message

Aayush Shah

unread,
Aug 17, 2010, 12:24:30 AM8/17/10
to vg...@googlegroups.com
HI group
      Some one can tell me what is difference between Iptables and SE Linux in detail
       At one stage both seems to be like same
       But if i want to differentiate in Detail what points should i have describe...

Alok Thaker

unread,
Aug 17, 2010, 12:51:18 AM8/17/10
to vg...@googlegroups.com
Hi,

iptables refers to the firewall restrictions but it is not related to filesystem security like in selinux (security enhanced linux) provides you features of restricting the super user root from performing some actions which can harm the services or filesystems.

So they are quite differenent.

Thanks,
Alok
Inferno Solutions !
Go with the best !
www.inferno.co.in !
All Linux-Java Solutions-Training under one Roof !
M:-9925519798/988710678


--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Dhrumil Shah

unread,
Aug 17, 2010, 2:54:51 AM8/17/10
to vg...@googlegroups.com
1. How Can i Authenticate FTP site With User- Name And Password ?

-> Address Of that site would be ftp://192.172.5.101
-> just want to let particular user to access this page with User-name and Password.

2. How Can I upload a File On a FTP Server through Client PC ?

->Client PC will on Windows OS
->Is there any way to Upload via Browser?



Dhrumil Shah(RHCE)
94284-19909

K@r@n Doshi

unread,
Aug 17, 2010, 3:09:53 AM8/17/10
to vg...@googlegroups.com
This are some steps you can follow, which might help u for new username & password:-

1) adduser user1
   passwd redhat

2) solve selinux error while login to ftp through new user.
   selinux :-  setsebool -P ftp_home_dir=1 (will allow  user1)

3) cd  /var/ftp/pub (bcze it is not anonymous user)

4) mget/mput both will work with next pc & your pc.

Hope ur problem would be solved!

K@r@n
kara...@gmail.com
kara...@yahoo.com
Mob:- 99 78 79 78 68


Oracle 9i DBA

Rhce Ceritficate No:-805010074550616
(Electromech Corporation, Ahmedabad)


--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG



--
K@r@n
kara...@gmail.com
kara...@yahoo.com
Mob:- 99 78 79 78 68


Oracle 9i DBA

Rhce Ceritficate No:-805010074550616
(Electromech Corporation, Ahmedabad)


Tejas Barot

unread,
Aug 17, 2010, 3:24:43 AM8/17/10
to vg...@googlegroups.com
Hello,

On Tue, Aug 17, 2010 at 12:24 PM, Dhrumil Shah <dhrumi...@yahoo.com> wrote:
1. How Can i Authenticate FTP site With User- Name And Password ?

-> Address Of that site would be ftp://192.172.5.101
-> just want to let particular user to access this page with User-name and Password.

You can do this by disabling anonymous access.

You can manage allow/deny users from two files which is already available in /etc/vsftpd.

File names are ftpusers and user_list. If you want to deny user then just put users in one of those file.

That's it.

 

2. How Can I upload a File On a FTP Server through Client PC ?

->Client PC will on Windows OS

You can use Open Source FTP client FileZilla. It's very nice GUI based client on both platforms Linux and Windowz....

 
->Is there any way to Upload via Browser?


Don't know about browser but without ftp clients you can upload files by below mentioned ways :-


On Linux.....,

Open Terminal -> Execute Nautiluscommand ,It will open a Nautilus Browser -> in Location tab Type ftp://<user-name>@<ip-or-site-name> Then it will ask for username and password just provide login credentials and once you login you can simply copy/paste files there.

On Windowzz......,

Open Windowz Explorer (not browser) -> In Address Bar type ftp://<user-name>@<ip-or-site-name> Then it will ask for username and password just provide login credentials and once you login you can simply copy/paste files there.

Not sure about windowzzzzzzz but it should work.

Hope it helps you.
 



Dhrumil Shah(RHCE)
94284-19909

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG



--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

"Those who says Linux is not User Friendly that means,
They don't want to be a Expert USER or,
They don't want to get Friendly with Expert FRIEND - Tejas Barot"


Dhrumil Shah

unread,
Aug 17, 2010, 3:26:29 AM8/17/10
to vg...@googlegroups.com
It works on Terminal but
I want Browser base Authentication?











--- On Tue, 17/8/10, K@r@n Doshi <kara...@gmail.com> wrote:

Tejas Barot

unread,
Aug 17, 2010, 3:37:36 AM8/17/10
to vg...@googlegroups.com
Hello,

On Tue, Aug 17, 2010 at 12:56 PM, Dhrumil Shah <dhrumi...@yahoo.com> wrote:
It works on Terminal but
I want Browser base Authentication?

If you want to upload only using browser then use mozilla with add-on fireftp. So It will provide you a FTP into Firefox Browser itself.

To Install FireFTP You can do following :-

1) Open Mozilla Firefox :-

2) Go to Tools -> Add-Ons

3) Click on First Tab -> Get Add-ons

4) In Search Bar Type -> FireFTP or FTP ( Only FTP Will give you some more browser based ftp clients)

5) Click on FireFTP At right side on FireFTP Selection you will get a Buttion "Add to Firefox". Just Click on That

6) Close Firefox Browser and Open Firefox Browser Again.

7) Go to Tools Section Again there you will find FireFTP option.

This can work with only Firefox in Linux and Windowzz...... Don't know about Windowzzzz based browser.

Hope this helps.

 



--
Reply all
Reply to author
Forward
0 new messages