Re: Linux Networking Internals Question

2018-06-16 Thread V.Ravikumar
nical > details, we can say that generally the 5 tuple of the packet (SRC > address, DST address, SRC port, DST port and protocol) is what > determines to which socket it will go. > > Regards, > Rami Rosen > http://ramirose.wixsite.com/ramirosen > > > > > On 16

Linux Networking Internals Question

2018-06-16 Thread V.Ravikumar
Hi All, I wanted to know how a packet received will be handovered to a correct user process. Basically I want to understand what are the various header parameters in packet which will help to find the open socket descriptor of respective user process. I'm not able to find the exact answers in t

Re: Books for protocol development

2012-09-24 Thread V.Ravikumar
On Mon, Sep 24, 2012 at 9:03 PM, wrote: > Hi! > > On 17:02 Mon 24 Sep , V.Ravikumar wrote: > > Hello all , > > > > Could some body please suggest any books/links for Linux networking > > protocol development. > > Protocol development at L2/L3 layers

Books for protocol development

2012-09-24 Thread V.Ravikumar
Hello all , Could some body please suggest any books/links for Linux networking protocol development. Protocol development at L2/L3 layers. Thanks in advance. Ravi ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbie

Re: System Tap help

2012-04-11 Thread V.Ravikumar
On Thu, Apr 12, 2012 at 10:38 AM, V.Ravikumar wrote: > Hi all, > I'm probing sys_write system call using system tap to get modified file > name along with UID. > Here is code snippet. > > probe kernel.function ("vfs_write") > { > > filename =

System Tap help

2012-04-11 Thread V.Ravikumar
Hi all, I'm probing sys_write system call using system tap to get modified file name along with UID. Here is code snippet. probe kernel.function ("vfs_write") { filename = user_string($file->f_dentry->d_name->name) // for 2.6.18 kernel. printf ("%d %s\n",uid,filename) } I got sam

Re: wrapfs sources

2012-04-06 Thread V.Ravikumar
going so far as 2.6.18. I don't have > enough manpower to support all the kernels people want, so I maintain only > the last few stable kernels. If someone were to backport wrapfs to an > older kernel, I'll be happy to test and maintain it going forward. > > Cheers, >

wrapfs sources

2012-04-03 Thread V.Ravikumar
Hi all, Could some body let me know wrapfs sources which is compatible to Linux 2.6.18 kernel sources. I tried to get sources using google search , but all are compatible with latest kernel sources. Thanks & Regards, Ravi ___ Kernelnewbies mailing list

Re: Hooking a system call.

2012-03-27 Thread V.Ravikumar
On Mon, Mar 26, 2012 at 1:18 PM, Mulyadi Santosa wrote: > Hi... > > On Mon, Mar 26, 2012 at 11:45, V.Ravikumar > wrote: > > As part of auditing purpose I need to intercept/hook open/read/write > system > > calls. > > > > As I was lack of knowledge into ke

Re: Hooking a system call.

2012-03-26 Thread V.Ravikumar
On Mon, Mar 26, 2012 at 1:18 PM, Mulyadi Santosa wrote: > Hi... > > On Mon, Mar 26, 2012 at 11:45, V.Ravikumar > wrote: > > As part of auditing purpose I need to intercept/hook open/read/write > system > > calls. > > > > As I was lack of knowledge into ke

Hooking a system call.

2012-03-25 Thread V.Ravikumar
As part of auditing purpose I need to intercept/hook open/read/write system calls. I tried with below sample program. When I do a insmod of the module that was built, my system was hanged. On some re-search I came to know that we can not modify system call table as it is read only. void **sys_cal

Re: Heap memory is not re-claiming.

2011-10-17 Thread V.Ravikumar
On Sat, Oct 15, 2011 at 9:31 AM, Mulyadi Santosa wrote: > Hi :) > > On Fri, Oct 14, 2011 at 16:15, pankaj singh wrote: > > Nice doc ...:) > > > > On Fri, Oct 14, 2011 at 10:28 AM, rohan puri > wrote: > >> Reference to an article by Mulayadi Santosa :- > >> > >> > http://linuxdevcenter.com/pu

Re: Heap memory is not re-claiming.

2011-10-13 Thread V.Ravikumar
On Thu, Oct 13, 2011 at 2:12 PM, Jeff Donner wrote: > On Thu, Oct 13, 2011 at 1:26 AM, V.Ravikumar > wrote: > > I've a daemon process and I'm allocating heap memory for big character > > buffers using malloc/free. > > Each can take 5MB. > > > > T

Heap memory is not re-claiming.

2011-10-13 Thread V.Ravikumar
Hello all, I've a daemon process and I'm allocating heap memory** for big character buffers using malloc/free. Each can take 5MB. Though I freed/deleted memory allocated for the buffers, the increased memory during the allocation time is not re-claiming back.This I observed using *top* command.

Re: File change notification along with user

2011-10-11 Thread V.Ravikumar
On Wed, Oct 12, 2011 at 12:04 PM, rohan puri wrote: > > > On Wed, Oct 12, 2011 at 10:50 AM, V.Ravikumar < > ravikumar.valla...@gmail.com> wrote: > >> Other than fanotify , I can achieve my requirement through a >> driver/module. If this can be achieved through

Re: File change notification along with user

2011-10-11 Thread V.Ravikumar
On Wed, Oct 12, 2011 at 11:30 AM, Abhijit Pawar wrote: > On 10/12/2011 10:50 AM, V.Ravikumar wrote: > > Other than fanotify , I can achieve my requirement through a driver/module. > If this can be achieved through a driver/module please provide me inputs to > start. > > Than

Re: File change notification along with user

2011-10-11 Thread V.Ravikumar
Other than fanotify , I can achieve my requirement through a driver/module. If this can be achieved through a driver/module please provide me inputs to start. Thanks, Ravi On Wed, Sep 21, 2011 at 10:27 AM, rohan puri wrote: > > > On Wed, Sep 21, 2011 at 10:03 AM, V.

File change notification along with user

2011-09-20 Thread V.Ravikumar
Hi all, Is it possible to write a module/driver which notifies file/directory change asynchronously along with user name(or with uid) who modified it. inotify will do change notification but it will not provide uid who modified/created the file. audit and inotify combination can work, but I'm lo

Re: how to detect a user who changed a particular file in Linux.

2011-05-17 Thread V.Ravikumar
On Mon, May 16, 2011 at 7:45 PM, Greg KH wrote: > On Mon, May 16, 2011 at 03:02:10PM +0530, V.Ravikumar wrote: > > > > Hi all, > > > > (Note : I'm writing this mail to this kernel group as I did not find any > > suitable mechanism in application level

how to detect a user who changed a particular file in Linux.

2011-05-16 Thread V.Ravikumar
Hi all, (Note : I'm writing this mail to this kernel group as I did not find any suitable mechanism in application level for my below need). If a file modified by some user then how can we detect that user who modified it. Linux audit was not suitable for my need. Can this be achieved through