LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-27-2018, 05:29 AM   #1
jweinberg
LQ Newbie
 
Registered: Nov 2018
Posts: 2

Rep: Reputation: Disabled
running applications in reporting "flight chart" mode ...


You could run applications in "debugging" mode and log every and any thing that happens with them. Each application has its ways of logging their own internal data and functionality, some may not be entirely honest.

Can you run the Linux kernel in "debugging" mode for all applications, so that anything they do or try to do and the timing is "monitored"?

In case of exposed applications such as browsers, you would not only "enable javascript" and/or enable it for specific sites, but be able to specify the functionality within javascript for that site.

java applets and web-start include such implementations using "manifest" kinds of files

https://docs.oracle.com/javase/8/doc.../manifest.html

"firewalls" just based on IP addresses are silly nowadays. Ideally:

a) the kernel should only do the "monitoring"
b) an application running as proxy through which everything going in and out of your computer regardless of the browser you use and protocol is transparently channeled, would only allow (or not) some kind of functionality based on some sort of DAG/xml-ish data for each site, domain and path
c) each session of an application, attempt at running any kind of code, should come with a declared "flight chart"
d) if what the application does doesn't match its "flight chart" or if it doesn't come with one and tries some internal functionality not allow to it ...

Do you know of such ideas even if partially implemented and/or discussed?
 
Old 11-27-2018, 10:44 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The kernel is quite ignorant of JavaScript or XML processing, browser sessions, or the proxy function of an application. Monitoring/debugging at this level requires application functionality.

What the kernel can do for you:
  • Using strace, you can see a process' system calls. Using ltrace, library calls (this is already a level above the kernel, actually)
  • Using the audit subsystem, you can monitor for system calls and file accesses.
  • Using the netfilter module in the kernel, which you can access with the iptables command, you can emit log messages at certain points during network packet processing.
 
  


Reply



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
[SOLVED] df reporting 100% but du reporting 20% guna_pmk Linux - Server 1 04-15-2011 11:34 AM
Detailed "flow chart" that describes file access and permissions processing? SaintDanBert Linux - Security 4 01-28-2011 11:06 PM
"Stack Series" chart in open office calc gsmedia Linux - Software 0 07-13-2009 04:07 AM
gl-117 flight simulator not running graphixfx Linux - Games 3 07-05-2009 07:36 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration