Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Controlling wireless access based on MAC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Oct 24, 2003 7:54 pm    Post subject: Controlling wireless access based on MAC Reply with quote

I was thinking about the following scenario:

Someone stumbles onto my wireless network, which is open...

Is it possible to recognise that their MAC address is new on the network, and, perhaps by using iptables rules, redirect any of their requests to a local server?

So, they stumble upon the network, try to go to www.google.com, and instead, I redirect that to an internal webserver, wherein I describe where they are, and ask them to, perhaps, press an OK button, which I can script to pass them through the iptables rules previously mentioned.

Is iptables the way to go here? Can I actually hijack their DNS queries and send my own responses?
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Fri Oct 24, 2003 10:05 pm    Post subject: Reply with quote

I am not an expert but if you fear something like that you should use ipsec to encrypt your network thus making it secure to abusive outside usage.
Again as i am saying i am no expert but i had a friend that did that sort of thing and he told me that ir worked very well
Back to top
View user's profile Send private message
garn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 131

PostPosted: Fri Oct 24, 2003 11:04 pm    Post subject: Reply with quote

you could run your own dns server, have the dhcp server send your dns server not the isps

you'd still have to come up with a creative way of only catching the first query and not the ones after it
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sat Oct 25, 2003 2:47 am    Post subject: Reply with quote

This is more of a project I'd like to implement, I was just wondering what steps I should take first. I believe it wouldn't matter which query I get, since I could run a script from that page disabling future filtering.

Which DNS server would lend itself to this?
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
Sequentious
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 290
Location: London Ontario Canada

PostPosted: Sat Oct 25, 2003 5:09 am    Post subject: Reply with quote

http://nocat.net/

Check out their software they've written. I've been thinking about implementing it myself.
_________________
--
Chris I
chris@cidesign.ca :: www.cidesign.ca/~chris/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum