LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 08-22-2013, 09:21 AM   #1
monergy
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
incomplete iptables implemented in android jellybean 4.1.1?


Hi,

We wanted to redirect traffic in our android device (rooted) to another host(the device is a manufactured screen so there are no brand names). To do it, we have the following command below.

Code:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination*74.54.111.227:80
iptables -t nat -A POSTROUTING -p tcp --dport 8080 -j MASQUERADE
The problem however is that the iptables is giving this error
Code:
"protoent* getprotobynumber(int)(3) is not implemented"
.
It seems that there is a missing kernel module or unimplemented function.

My idea now is that I would have to recompile the android kernel with the option
Code:
"CONFIG_NETFILTER_XT_MATCH_OWNER=m "
to make this work. I am not sure though if that is the right approach to enable the missing module in iptables, I am worried I may ruin the device.

Hopefully someone can help me how to solve the*
Code:
"protoent* getprotobynumber(int)(3) is not implemented"
, or maybe there is a different way to go?

Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a much of a noticeable difference between ICS and Jellybean? Cultist Linux - Mobile 3 08-19-2013 04:19 AM
Application download error in Android, with removable memory and incomplete Novatian Linux - Mobile 1 08-22-2012 08:33 PM
LXer: Jellybean to Follow Ice Cream Sandwich | Android LXer Syndicated Linux News 0 09-16-2011 12:30 PM
iptables error in android: iptables-save and iptables-restore not working preetb123 Linux - Mobile 5 04-11-2011 01:56 PM
howto test a linux firewall implemented in iptables pavan.daemon Linux - Security 7 09-22-2007 09:54 AM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration