[Sussex] Security and Network Problems [WAS: FTP - Fedora core 3]

Brendan Whelan b_whelan at mistral.co.uk
Thu Aug 11 10:36:56 UTC 2005


Jon,

Thanks for the offer of checking my configuration - the information is at
the bottom of this email.

Also, I need to restrict the FTP users to their home directory i.e. so that
they can read, write and delete in their home directory but cannot move
around my system. I have tried various combinations of user/group/other for
the directories but I either prevent the user from getting to their home or
they can wander around my directories.

I have:
/home/ftp_users/user_1
/home/ftp_users/user_2 etc

Many thanks,

Brendan
-----------------------------------------------------------------------
ifconfig -a gave:

eth0 Link encap:Ethernet HWaddr 00:12:3F:ED:53:6C

inet addr:192.169.40.30 Bcast:192.169.40.255 Mask:255.255.255.0

inet6 addr: fe80::212:3fff:feed:536c/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:145 errors:0 dropped:0 overruns:0 frame:0

TX packets:283 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:9955 (9.7 KiB) TX bytes:20260 (19.7 KiB)

Base address:0xece0 Memory:fe3e0000-fe400000

eth1 Link encap:Ethernet HWaddr 00:12:3F:ED:53:6D

inet addr:192.168.40.31 Bcast:192.168.40.255 Mask:255.255.255.0

inet6 addr: fe80::212:3fff:feed:536d/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:94117 errors:0 dropped:0 overruns:0 frame:0

TX packets:53936 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:11196264 (10.6 MiB) TX bytes:8450191 (8.0 MiB)

Base address:0xccc0 Memory:fdee0000-fdf00000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:23436 errors:0 dropped:0 overruns:0 frame:0

TX packets:23436 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:3826771 (3.6 MiB) TX bytes:3826771 (3.6 MiB)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

----------------------------------------------------------------------------
--

route -n gave:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.169.40.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

192.168.40.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1

0.0.0.0 192.168.40.254 0.0.0.0 UG 0 0 0 eth1









More information about the Sussex mailing list