google-code-export / minicm

Automatically exported from code.google.com/p/minicm
0 stars 0 forks source link

Iptables / netfilter not working #498

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install TransProxy from xda
2. Attempt to use proxy
3.

What is the expected output? What do you see instead?
Expected:none, working proxy
Instead:error:unable to start sth.sh, module iptables not found

What version of MiniCM you are using? On what device (X8)
MiniCM7 2.2.0, nAa 11

What app(s) are involved in the problem?
Transparent Proxy (Transproxy)

Have you tried rebooting your device?
Yes and clear data but no iptables...

What is the adb logcat output when the problem accurs (see:
http://wiki.cyanogenmod.com/index.php?title=Logcat)
Module iptables not found
unable to start redirect

Please provide any additional information below.

Original issue reported on code.google.com by yusiang1...@gmail.com on 13 Apr 2012 at 2:56

GoogleCodeExporter commented 9 years ago
Logcat:

I/ActivityManager( 1435): Starting: Intent { act=android.intent.action.MAIN 
cat=[android.intent.category.LAUNCHER] flg=0x10200000 
cmp=com.hasbox.tproxy/.Main bnds=[3,113][77,192] } from pid 4475
D/szipinf ( 4554): Initializing inflate state
D/szipinf ( 4554): Initializing zlib to inflate
D/ViewConsistency( 4554): AbsListView android.widget.ListView@4056b190 enabled= 
false
D/ViewConsistency( 4554): AbsListView android.widget.ListView@4056b190 enabled= 
false
V/tproxy  ( 4554): Enabled = false
D/dalvikvm( 4554): GC_CONCURRENT freed 183K, 48% free 2955K/5639K, external 
0K/0K, paused 10ms+11ms
I/ActivityManager( 1435): Displayed com.hasbox.tproxy/.Main: +820ms
V/tproxy  ( 4554): proxy.sh start /data/data/com.hasbox.tproxy/files type=http 
host=10.10.10.1 port=3128 auth=false user= pass=*****
E/ShellCommand.java( 4554): Exception while trying to run: 
'/data/data/com.hasbox.tproxy/files/proxy.sh start 
/data/data/com.hasbox.tproxy/files http 10.10.10.1 3128 false  ' Broken pipe
V/tproxy  ( 4554): Error starting proxy.sh (null)
V/tproxy  ( 4554): Enabled = false
W/InputManagerService( 1435): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@407d80b0
V/tproxy  ( 4554): proxy.sh start /data/data/com.hasbox.tproxy/files type=http 
host=10.10.10.1 port=3128 auth=false user= pass=*****
D/su      ( 4614): 10089 com.hasbox.tproxy executing 0 /system/bin/sh using 
shell /system/bin/sh : sh
V/tproxy  ( 4554): Error starting redirect.sh (
V/tproxy  ( 4554): modprobe: module 'ip_tables' not found
V/tproxy  ( 4554): FIX ME! implement getprotobyname() 
bionic/libc/bionic/stubs.c:378
V/tproxy  ( 4554): iptables: No chain/target/match by that name
V/tproxy  ( 4554): modprobe: module 'ip_tables' not found
V/tproxy  ( 4554): FIX ME! implement getprotobyname() 
bionic/libc/bionic/stubs.c:378
V/tproxy  ( 4554): iptables: No chain/target/match by that name
V/tproxy  ( 4554): modprobe: module 'ip_tables' not found
V/tproxy  ( 4554): FIX ME! implement getprotobyname() 
bionic/libc/bionic/stubs.c:378
V/tproxy  ( 4554): iptables: No chain/target/match by that name)
V/tproxy  ( 4554): Enabled = false
W/InputManagerService( 1435): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@406e74a8
W/KeyCharacterMap( 4554): No keyboard for id 0
W/KeyCharacterMap( 4554): Using default keymap: 
/system/usr/keychars/qwerty.kcm.bin
W/InputManagerService( 1435): Starting input on non-focused client 
com.android.internal.view.IInputMethodClient$Stub$Proxy@40808ed8 (uid=10089 
pid=4554)

Original comment by yusiang1...@gmail.com on 13 Apr 2012 at 3:06