* How to build a better security setup for my problem?
@ 2004-03-13 17:41 Vlad H.
2004-03-13 17:50 ` Antony Stone
0 siblings, 1 reply; 4+ messages in thread
From: Vlad H. @ 2004-03-13 17:41 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
Hello to all,
I have to give internet access to a small group of users from a local network. Internet interface is eth0 and local lan interface is eth1. I guess these rules are ok for my intention:
iptables -t mangle -A FORWARD -i eth1 -o eth0 -s x.x.x.x -m mac --mac-source aa:aa:aa:aa:aa:aa -j ACCEPT
iptables -t mangle -A FORWARD -i eth1 -o eth0 -s y.y.y.y -m mac --mac-source bb:bb:bb:bb:bb:bb -j ACCEPT
iptables -t mangle -A FORWARD -i eth1 -o eth0 -j DROP
But I recently found out that mac address can be changed. So, I need a third security identifier for iptables or any other solution to increase security. Any clues on this? thx.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
[-- Attachment #2: Type: text/html, Size: 955 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to build a better security setup for my problem?
2004-03-13 17:41 How to build a better security setup for my problem? Vlad H.
@ 2004-03-13 17:50 ` Antony Stone
2004-03-13 18:19 ` Vlad H.
0 siblings, 1 reply; 4+ messages in thread
From: Antony Stone @ 2004-03-13 17:50 UTC (permalink / raw)
To: netfilter
On Saturday 13 March 2004 5:41 pm, Vlad H. wrote:
> Hello to all,
>
> I have to give internet access to a small group of users from a local
> network. Internet interface is eth0 and local lan interface is eth1. I
> guess these rules are ok for my intention:
>
> But I recently found out that mac address can be changed. So, I need a
> third security identifier for iptables or any other solution to increase
> security. Any clues on this? thx.
What is your concern? What activity are you trying to prevent? What
activity are you trying to allow (ie: what sort of access to the Internet do
you want to allow people - mail? web? ftp? telnet? ssh? etc...)
Antony.
--
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to build a better security setup for my problem?
2004-03-13 17:50 ` Antony Stone
@ 2004-03-13 18:19 ` Vlad H.
2004-03-13 18:33 ` Antony Stone
0 siblings, 1 reply; 4+ messages in thread
From: Vlad H. @ 2004-03-13 18:19 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
1.) What activity are you trying to allow?
General internet access for a small group of users from a larger local network: web, ftp, mail, etc.
2.) What activity are you trying to prevent?
Deny internet access for all other local users.
3.) What is your concern?
A denied user can change his mac address to aa:aa:aa:aa:aa:aa and ip address to x.x.x.x for example and become a valid internet user.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
[-- Attachment #2: Type: text/html, Size: 810 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to build a better security setup for my problem?
2004-03-13 18:19 ` Vlad H.
@ 2004-03-13 18:33 ` Antony Stone
0 siblings, 0 replies; 4+ messages in thread
From: Antony Stone @ 2004-03-13 18:33 UTC (permalink / raw)
To: netfilter
On Saturday 13 March 2004 6:19 pm, Vlad H. wrote:
> 1.) What activity are you trying to allow?
> General internet access for a small group of users from a larger local
> network: web, ftp, mail, etc.
Okay, so you want these people to be able to do more or less anything, out to
the Internet....
> 2.) What activity are you trying to prevent?
> Deny internet access for all other local users.
Well, yes, I assumed that - what I really meant was "what do you suspect your
denied users will get up to, which you wish to detect and make ineffective?"
In this case it seems that the answer is IP and MAC address stealing /
spoofing.
> 3.) What is your concern?
> A denied user can change his mac address to aa:aa:aa:aa:aa:aa and ip
> address to x.x.x.x for example and become a valid internet user.
True. Here are a few ideas which might help you:
1. Run arpwatch and keep an eye on the MAC/IP combinations which you see on
the network.
2. Install an ssh server on the machines which are allowed access to the
Internet, and periodically check that they can be connected to (using a
digital signature, not a password).
3. Set up a VPN between the allowed clients and the firewall, so that a
machine which cannot set up a VPN tunnel cannot route to the Internet.
4. Set up a proxy firewall instead of a packet filter, with user
authentication for things like ssh, ftp, http, and selective filtering for
things like pop3 & smtp.
5. Require users to log in to a (local) web server with a username and
password, which if successful runs a script to install the netfilter rule
enabling them access to the Internet. The rule is removed either after some
period of time, or when they close their browser connection, or something
similar which meets your needs.
6. Don't give the users root (or Administrator) access to their machines so
they cannot change their IP & MAC addresses.
7. Use a tool such as nmap to check the uptimes of clients which should be
allowed access, and investigate any which seem to jump forward or backward.
Hope something here helps,
Antony.
--
If you want to be happy for an hour, get drunk.
If you want to be happy for a year, get married.
If you want to be happy for a lifetime, get a garden.
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-13 18:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 17:41 How to build a better security setup for my problem? Vlad H.
2004-03-13 17:50 ` Antony Stone
2004-03-13 18:19 ` Vlad H.
2004-03-13 18:33 ` Antony Stone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox