![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Manipulate lines with sed/awk | TheBigAmbulance | Shell Programming and Scripting | 2 | 06-29-2009 05:29 PM |
| manipulate postscript via sed | lada niva | Shell Programming and Scripting | 3 | 02-03-2009 12:36 PM |
| Linux cache | joshighanshyam | Linux | 0 | 05-06-2008 05:53 AM |
| How to manipulate date? | phani | Shell Programming and Scripting | 5 | 04-06-2005 03:17 PM |
| UBC cache vs. Metadata cache | sushaga | UNIX for Advanced & Expert Users | 2 | 04-25-2002 04:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello fpmurphy, Thanks for reply.
Yes, i am aware of IPv6 and the Neightbor Discovery Protocol, but i'm totally sure that IPv4 will be with us for a long time, at least implemented on corporative LANs because of its simplicity and short address size. About CAP_NET_ADMIN, yes, the user must be root to run the application i'm designing, i think this won't be a problem, because if you want to secure the host i think you would be the sysadmin. Didn't think about this IOCTL commands, it's a big step ahead, i'm reading the sources right now. Thank you very very much! |
|
||||
|
Hello everybody,
Finally, i came up with how to do it, it's not the way i thought it was going to be, but it works. The solution is in SIOCxARP. My program's algorithm listens for ARP traffic, and when receives a valid frame, uses SIOCSARP to add an entry to the ARP cache. The kernel does it before, but just in case, this will overwrite it. When it detects a malicious frame, it uses SIOCDARP to delete the entry previously created by the kernel in the cache, so the ARP attack has no impact over the secured host. Thank you VERY MUCH for your help, fpmurphy, Corona688. |
|
||||
|
Hello everybody,
Finally, i came up with how to do it, it's not the way i thought it was going to be, but it works. The solution is in SIOCxARP. My program's algorithm listens for ARP traffic, and when receives a valid frame, uses SIOCSARP to add an entry to the ARP cache. The kernel does it before, but just in case, this will overwrite it. When it detects a malicious frame, it uses SIOCDARP to delete the entry previously created by the kernel in the cache, so the ARP attack has no impact over the secured host. Thank you VERY MUCH for your help, fpmurphy, Corona688. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|