Nice to meet you. ^^
I've tried to implement IPsec(AH) in the Linux Kernel.
To achieve this, I think that there must be the area for AH.
So I modified the header file 'include/linux/skbuff.h'
to insert AH structure in 'sk_buff'.
here's that header file modified
include/linux/skbuff.h:
...omitted...
/* Transport layer header */
union
{
struct tcphdr *th;
struct udphdr *uh;
struct icmphdr *icmph;
struct igmphdr *igmph;
struct iphdr *ipiph;
struct spxhdr *spxh;
unsigned char *raw;
} h;
/* IPsec header */
union
{
struct ipsec_ah *ah; /* AH only now, ESP will be here later... */
} ipsec_h;
/* Network layer header */
union
{
struct iphdr *iph;
struct ipv6hdr *ipv6h;
struct arphdr *arph;
struct ipxhdr *ipxh;
unsigned char *raw;
} nh;
/* Link layer header */
union
{
struct ethhdr *ethernet;
unsigned char *raw;
} mac;
struct dst_entry *dst;
char cb[48];
...omitted...
And include some code in 'net/ipv4/ip_output.c, net/ipv4/ip_input.c'
to process the IPsec AH header.
And then compile the kernel with no warning, no error.
After that works, I reboot the computer and using that new kernel image...
But...
After some system boot-up scripts...
There's critical message from kernel as the following.
RPC: impossible RPC reply size -8!
Kernel panic: skput:over: c8028ab0:0 put:114 dev:eth0
In swapper task - not syncing
What should I do for solving this problem?
Would you mind telling me the solutions?
Thank you for reading this... ^^;;;
--
Everything is inspiration!
bsdinet@yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:16 EST