iptables error in android: iptables-save and iptables-restore not working

This is a discussion on iptables error in android: iptables-save and iptables-restore not working within the Droid Development forums, part of the Droid Hacking category; I have compiled Linux for android emulator with full netfilter functionality enabled. And got a iptables binary after building android from source. When i push ...

+ Reply to Thread
Results 1 to 1 of 1

Thread: iptables error in android: iptables-save and iptables-restore not working

  1. Junior Droid
    preetb123's Avatar
    Member #
    170391
    Join Date
    Feb 2011
    Posts
    25
    Phone
    Android Emulator(1.5 to 2.3)
    #1

    iptables error in android: iptables-save and iptables-restore not working

    I have compiled Linux for android emulator with full netfilter functionality enabled. And got a iptables binary after building android from source.

    When i push this binary to the emulator

    i can execute commands like below successfully.

    iptables -L
    iptables -F
    iptables -A INPUT -s Google -j DROP


    with this error:

    # # iptables -L
    getsockopt for multiport failed strangely: No such file or directory
    getsockopt for multiport failed strangely: No such file or directory
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    #


    and

    # iptables -A INPUT -s Google -j DROP
    getsockopt for multiport failed strangely: No such file or directory
    getsockopt for multiport failed strangely: No such file or directory
    FIX ME! implement getgrnam() bionic/libc/bionic/stubs.c:344


    but atleast the above commands they work!

    but when i try

    iptables-save or
    iptables-restore


    i get error saying

    iptables-save: not found

    In my config file

    CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m

    what is the problem..?? and how can i enable full iptables functionality in android or how can i save the current active iptables rules safely and reload them when next reboot.

    please help. thank you!
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. how to cross-compile iptables for android?
    By preetb123 in forum Android Roms
    Replies: 2
    Last Post: 10-22-2011, 02:03 PM
  2. Iptables
    By mbg19 in forum LithiumMod
    Replies: 1
    Last Post: 12-03-2010, 09:55 PM
  3. FRG22 Roms with IPTables support?
    By bungster in forum Android Roms
    Replies: 8
    Last Post: 10-10-2010, 09:32 PM
  4. Replies: 5
    Last Post: 06-06-2010, 03:32 PM
  5. Nandroid Restore Error
    By cj1896 in forum Hacking Help
    Replies: 7
    Last Post: 03-02-2010, 06:20 PM

Search tags for this page

android emulator iptables
,

android iptable

,

android iptables

,
android iptables getsockopt for multiport failed strangely:
,
android iptables-save
,
getsockopt for multiport failed
,

getsockopt for multiport failed strangely

,
getsockopt for multiport failed strangely no such file or di
,

getsockopt for multiport failed strangely: no such file or d

,
iptables emulator android
,
iptables getsockopt for multiport failed strangely
,
iptables getsockopt for multiport failed strangely: no such
,

no iptables binary found on your rom

,
no iptables binary found on your rom android 2.1
,
no iptables binary found on your rom!
Click on a term to search our site for related topics.

Tags for this Thread