Hi,
My name is Brian Medley and I am currently involved in a project school.
The project's goal is to encrypt all network traffic over a LAN.
We were thinking of encrypting the data inside of an Ethernet frame before
sending it to the card.
I looked inside of /usr/src/linux/net/ethernet/eth.c and found a function
(eth_header) which will create the frame header, but did not see anything
todo with placing data into a frame. So, we decided to try and trace the
"send" function down to where data is placed onto the network.
I looked in /usr/src/linux/net/socket.c and found out that the "sys_send"
(pretty sure it corresponds to "send") function actually calls
"sys_sendto". So, we went there and saw that sys_sendto calls
sock_sendmsg. So, we checked out sock_sendmsg and ascertained that the
function sock->ops->sendmsg is called.
This sendmsg function is a pointer to a function (I think). I can't
find where this pointer is set.
My questions are:
Where can I find out what function sock->ops->sendmsg is pointing to?
Is encrypting the data in the ethernet frame what you would recommend?
Have I missed something?
Do you have any comments?
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]