seanhold3n / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 0 forks source link

Access Control Won't Allow Net Traffic #310

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which device (manufacturer, type)?
Motorola Droid

Which firmware is installed?
Bugless Beast Version ESE81 by Pete (Current)
Same issue with Ultimate Droid V9 and Bugless Beast V.9

What version of wireless tether are you using?
wireless_tether_2_0-pre8, pre9, and pre10

What steps will reproduce the problem?
1. Start WiFi-Tether
2. Connect Authenticated device (Computer or iTouch)
3. When Access control is active, IPs are given, but no net traffic
4. Turn off Access Control, and all net traffic is allowed

Please provide any additional information below.
I have tried with WEP active and with out, and the same result is produced.
I have read that others have been able to get the Access Control to work.
What purpose is the Access Control for, if WEP is being used? It it
supposed to be a second layer of protection to prevent unwanted net traffic?

Original issue reported on code.google.com by RaG...@gmail.com on 7 Apr 2010 at 12:47

GoogleCodeExporter commented 9 years ago
Just to clearify how the access-control works:
1) Every device will be able to connect to the phone. The phone will give to 
every 
client an ip-address. All connected clients show up in the access-control list. 
This 
way you are able to simple select single client without entering mac-addresses 
(and 
that's the reason why every device is able to connect).
2) Only authorized client are NAT'ed! Which means that only authorized clients 
are 
able to produce traffic!

So ... the access-control gives you the ability to see which clients are 
connected 
and you are able to control who produces traffic.

Original comment by harald....@gmail.com on 7 Apr 2010 at 1:03

GoogleCodeExporter commented 9 years ago

Original comment by harald....@gmail.com on 7 Apr 2010 at 1:04

GoogleCodeExporter commented 9 years ago
Having the same problem.
Device: Moto Droid
ROM: Kangerade 3.4 (FroYo)
Kernel: Chevy#1 LV 1.25GHz

Without access control enabled, tethering works perfectly. Once it's enabled, I 
allow access to my laptop, and the app shows that it in green with a check 
mark, but the laptop has no internet access. As soon as access control is 
disabled, internet access works again.

What's more, if I leave access control on and restart the tethering app, I then 
get an error on startup, and the log says "Enabling access control: failed".

Original comment by boris...@gmail.com on 30 Jun 2010 at 6:49

GoogleCodeExporter commented 9 years ago
The problem you're having isn't a problem with the application, it's with your 
kernel. It was configured and compiled without all of the necessary netfilter 
options. 

Walking you through the steps is a little out of the scope of this project, but 
you need to make sure that the kernel configuration includes both
CONFIG_NETFILTER_XT_MATCH_MAC=y
and
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y

Good luck!

Original comment by thedrexs...@gmail.com on 26 Jul 2010 at 5:27

GoogleCodeExporter commented 9 years ago
Thanks for this - I did not even know access control was not working with my 
kernel!  Have added the switches and tested, works great.  Anyone having this 
issue should check the same links as before for updated kernels.

Original comment by i.collec...@gmail.com on 10 Aug 2010 at 3:44

GoogleCodeExporter commented 9 years ago
I'm new to this, so you'll have to excuse me.  I know I need to add those two 
switches to my kernel to enable this option- how do I go about doing that?

Original comment by ness...@gmail.com on 10 Aug 2010 at 8:56

GoogleCodeExporter commented 9 years ago
yeah how do we enable those access control switches to the kernel?

Original comment by feetc...@gmail.com on 17 Oct 2010 at 12:25