Software :: Create Iptables Binary To Use It In An Android Application?
Jan 9, 2011
how to create iptables binary, that i can use in my android application for performing some firewall related functionality like restricting some websites/packet filtering. and will it be possible to alter the rules later?iptables binary will contain the rulesets stored and which can be modified. how this can be achieved.?
View 2 Replies
ADVERTISEMENT
Jun 16, 2011
I wonder if it is possible to avoid JNI in order to port a c/c++ STL application to android ?Do I have an alternative for calling C/C++ (STL) code ?
View 2 Replies
View Related
Dec 31, 2010
Http://www.breitbart.com/article.php...show_article=1
I just read the above article. Someone in Communist China has found a way to create a virus in the Android operating system. Android is a Linux fork.
It looks as though the virus is quite specific: it only works on certain apps downloaded from Communist China. I'm hoping that the Google Android version of Linux is different enough from the standard Linux it was "forked" off of that it will be of no concern to we desktop Linux users.
Does this mean that we Linux users must begin running anti-virus software as a continuous process now? What is the chance standard distros will be affected?
View 6 Replies
View Related
Jun 7, 2011
Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:
Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].
View 4 Replies
View Related
Sep 1, 2011
I have a droid phone, and I have ubuntu 9 running on it. This is done by chrooting since the phone runs a linux kernel. And it works... I have a question though. tightvncserver does work, and its able to listen on 127.0.0.1.. Its how you view your X session. So you chroot to Ubuntu, then start vncserver. Then switch back to android and login to ubuntu via vnc client. but apache, mysql, and postgresql do not work. Well. They dont seem too.. except for mysql. Mysql will start but only if you tell it not to use networking by saying skip-networking in my.cnf
Mysql says: mysqld cant create ip socket permission denied Apache2 says it can find 127.0.0.1 but doesnt actually run same with postgresql... All seem to be compiled with arm architecture. So why does tightvncwork? Why is it so special? How can it listen on the loop back (127.0.0.1) when nothing else can...
I have /proc and /dev bind to the chroot side. I can run ifconfig okay, and I can run /etc/init.d/networking start okay.. But apache2, mysql, etc have problems binding. I have removed apparmor even though technically its not running, but I removed it and its configuration files, just because I thought perhaps mysql looks at apparmor, but I doubted it.
View 1 Replies
View Related
Sep 26, 2010
I am working on a project where I need to use the C language to generate a tree of processes. I understand how fork() works but I cant seem to get fork() to create two children from one parent and then have the two children create two more children.
Right now what i am seeing is a chain...where the parent creates one child...and that child creates another ONE child..etc.
Here is what I have so far:
for (i=0; i<n;i++){
if (childpid = fork()) break;
}
if (childpid == -1){
perror ("
[Code]....
View 3 Replies
View Related
Nov 17, 2010
How to create binary file with text in it, something like
Quote:
Hola Mundo!
I want it binary, because I want to execute it directly from Bios before Windows.
View 7 Replies
View Related
May 4, 2011
I installed everything and am running android OS on Ubuntu (using androidphonedriver guide). The problem I'm having now is that I don't know how to install android market application to be able to install other apps like opera etc.).
View 1 Replies
View Related
Mar 27, 2011
Im reading this tutorial that is old(kernel 2.4) for iptables. It states that iptables should not be read at the application level of the TCP model because of packet boundaries. Does this still hold true today?
View 1 Replies
View Related
Jun 19, 2011
I need to create filename 70-android.rules in the directory /etc/udev/rules.d/I have Adm privileges in my user account properties, but when I use sudo to create this file the Ubuntu OS does not allow me the privilege... I am running Ubuntu 10.04 LTS and here's the Terminal output below:daddy@gatomon-laptop:/etc/udev/rules.d$ sudo cat > 70-android.rulesbash: 70-android.rules: Permission denieddaddy@gatomon-laptop:/etc/udev$ ls -ltotal 8drwxr-xr-x 2 root root 4096 2011-03-16 18:03 rules.d-rw-r--r-- 1 root root 218 2010-04-19 04:30 udev.conf
View 2 Replies
View Related
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
Apr 20, 2010
Do I have to create a rule for:
Code:
$IPT -A fwalert -p tcp --tcp-flags SYN,ACK SYN,ACK -m conntrack --ctstate NEW $RLIMIT -j LOG $LOGLIMIT --log-tcp-options --log-level 4 --log-prefix
to drop rather than log if my table has a default policy of drop with :
Code:
$IPT -t fwalert -P DROP
View 3 Replies
View Related
Feb 23, 2010
I'm not an iptables expert. Anybody know how to create a rule/chain that will log info similar to what tcpdump -s0 would do?
View 3 Replies
View Related
Jun 20, 2009
i was trying to crate a script to show the last time iptables had seen a given IP address (contained in the ipt_recent kernel hook -- my user-defined table name is 'iplist'). The ipt_recent table yields the following information (IPv4 addresses masked for paranoid reasons):
Code:
src=www.xxx.yyy.zzz ttl: 114 last_seen: 9355600126 oldest_pkt: 1 9355600126
src=www.xxx.yyy.zzz ttl: 109 last_seen: 10020040763 oldest_pkt: 1 10020040763
src=www.xxx.yyy.zzz ttl: 111 last_seen: 8106864077 oldest_pkt: 3 8103790647, 8106530788, 8106864077
src=www.xxx.yyy.zzz ttl: 109 last_seen: 9937861664 oldest_pkt: 1 9937861664
src=www.xxx.yyy.zzz ttl: 115 last_seen: 8244867102 oldest_pkt: 1 8244867102
The attempted command used was:
Code:
cat /proc/net/ipt_recent/iplist | awk '{print ($1 ,system("date -d @" $5));}'
Such command yields the following (I'm willing to live with the trailing zero):
Code:
Wed Jun 20 05:48:46 EDT 2266
src=www.xxx.yyy.zzz 0
[code]....
I presume the ipt_recent table uses the standard UNIX epoch timestamp. Am I using the date command syntax incorrectly, is this a 32-bit vs 64-bit break, or it is something else? Please note that I am using FC10, and I have double-checked my system clock settings (both BIOS and OS). The system has only been running during 2009 (no reboot yet).
View 2 Replies
View Related
Jan 16, 2010
I want to simplify some of my rules, so I want to create rules for certain services like xmpp, web, etc. since some of them use multiple ports, and I toggle them on/off a lot. Can I simply put the jump to rule clauses in the Input chain, and once the sub chains run, does it return to the input chain after the jump to rule clause? I want to do this so I don't have a ton of rules in the input chain. I think that if I simply make a list of all the rules to jump to in the input chain, it will work itself through all of them until it finds a matching filter in one of them correct?
View 9 Replies
View Related
Sep 9, 2010
can i actually edit /etc/sysconfig/iptables and create/delete rules inside that file?will it work? i just find using the IPTABLES -A or -D command a hassle
View 3 Replies
View Related
Mar 28, 2010
I want to ask if I can create application using Paskal, C++ or C# under Linux Ubuntu 9.10
View 2 Replies
View Related
Jul 31, 2010
I want to create a bigger application based on the linux.I know c language,mysql database and some of the networking concepts.
View 7 Replies
View Related
Jul 31, 2015
I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.
View 3 Replies
View Related
Jun 13, 2011
how do I create a launcher for an application using DosBox? I tried in Alacarte, but it does not show up. I did this both as root and as user.Disregard. It did create the launchers. It just put them in "Other" even though I told it to create them in "Internet" so they are there, but just not where I want them. That is okay since now I can add them to my favorites and put them in the order I want.
I guess I will like Gnome 3 better as I find tweaks to make it work like I want it to work. Still though, it is not nearly as user friendly as my heavily tweaked Gnome 2 with Compiz.Another question though: How do I get it to select and use a photo I want for the background instead of the stock images? It is annoying as all get-out to have the screen turn to grey rather than stay the way I want it. :
View 5 Replies
View Related
Jun 27, 2010
Ok I just downloaded this program called Phex, it is a really cool program and i get it to run, but only from command line. I downloaded this program and its already compiled and works fine but i can only launch it from a command line by typing "java -jar phex.jar" I have created launchers before and they have worked, but this one just doesn't work. I have all permissions on the directory and the files, but how to create a launcher for this file.
View 8 Replies
View Related
Mar 24, 2011
I'm trying to develop a Qt application with Eclipse.What I've is what you see. A Form with a text, and 3 buttons:[URL] A button is for exit application, another is for clear text field and the third is for changing text. The first two buttons work fine, but the third doesn't.The only I want for the change button is to change text "original" by "modified"
View 12 Replies
View Related
Sep 9, 2009
I want to create a customize CD of selected application of centos & want same can be auto installed on fresh machine without any user interventions( like partition etc). I mean u just put the cd in drive & it directly give you login screen . that's all (but installation must be on HDD)
View 2 Replies
View Related
Oct 30, 2014
I'm looking for a way to create a cross-platform GUI application. The result must be able to run on linux, windows and OSX. And it must be a point-and-click GUI.For development I should be able to rely on Open-Source tools on linux only (that means no access to Windows or OSX)The target should be able to install the result relatively easily, that means any dependencies must be freely available, and the setup steps must be very minimal (probably means no installing development tools or running compilers)
My first thought was java, but the standard Swing GUI can look a bit ugly on some platforms. So I'm wondering if there's anything else. My next thought was C++/Qt, but I don't think I can cross-compile this from Debian for Windows or OSX, can I? Next I thought of python and PyQt, but it looks like PyQt isn't available for OSX. And finally I even thought of making some kind of web application running on a tiny web server of some kind, then accessing it with a native browser, but I'm pretty sure this doesn't meet the "easy to install" criteria. I'm finding this so tricky, do all the existing cross-platform applications use natively-compiled C++ for this? Or is there an obvious alternative that I'm overlooking?
View 6 Replies
View Related
May 29, 2011
How do I create a custom application launcher in Gnome 3? I used to be able to right click on the panel and choose 'Create custom launcher' in Gnome 2, but that doesn't seem to work here.
View 14 Replies
View Related
Feb 13, 2011
I am writing little first-step-applications for my N900 (Maemo Linux). Everything worked fine till now. I already have own applications for the device, but non of them uses an external data file.
Now I am trying to create an application for my N900 which uses an external .txt file. The package is created successfully, the application is installed successfully, however the binary does not see the .txt (maybe it is not in the package?).
I am using MADDE Developer 0.6.72 to create the project skeleton. I am using Qt creator for create the code. After once the code is created successfully then I am running the following commands in MADDE Developer 0.6.72 for the updated skeleton folder created above.
I writed the following lines into MADDE developer:
<<
//create project sceleton
MADDE-0.6.72 ~/madde
- $ mad pscreate -t qt_simple skeleton
Skeleton skeleton, type=qtprog created
[Code]....
View 5 Replies
View Related
Sep 7, 2010
Our application is based on the C++ devlopment which requires so many of packages dependent on the Ubuntu OS, Graphics libraries, Development packages and other dependent libraries. So we need to configure all those every time in a new PC when we add. Is there any other way to do this job very easily and the any method to create our application executable to run in all PCs with the dependencies packages installed.
View 1 Replies
View Related
Dec 29, 2010
I am using RHEL 4.7 (32bit) on HP Proliant 380G6 series server. We are using Electric Cloud Agents on these servers. Nowadays we are facing some memory issues and its creates some kernel panic and then restarts the server. When i reported the issue to my application team, they asked me to come with the core dump. I googled it enough, then i set ulimit value as unlimited. (previously it was 0, then i made a entry in /etc/profile file as follows
ulimit -c unlimited) But still whenever my server restarts due to that kernel panic, it couldnt generate the core dump. My application was installed on /opt
The attached document has the kernel panic logs
View 3 Replies
View Related
Sep 12, 2010
I want to create a small simple application that will let me change the Output of the Sounds option to go from speakers to my headphones. I can do this easily enough through System --> Preferences --> Sound, but I'd like to create a GUI front end for me to do this. This is more as a learning exercise than anything else.What is the best language for me to build the windows to do this? Also, how do I find the commands to let me toggle the sound settings? Where are they documented? I'm using Ubuntu 10.04.
View 2 Replies
View Related