modified configure

Signed-off-by: jason-foo <fujianshuang@gmail.com>
fixed bug: UDP: removed binding ip to sock when application sends data out

I misunderstood about the relationship of binding and sending data: In fact
sending data to a specific destination never means the application wants to bind
that address to it's socket.

Signed-off-by: jason-foo <fujianshuang@gmail.com>
Replaced fifo with Unix domain socket.

I used fifo for communication mechanism between the daemon server and the user
application library, but fifo has a lot of limitations. Now we don't need to
worry about them any more.

Signed-off-by: jason-foo <fujianshuang@gmail.com>
moved get second function to utils.c

Signed-off-by: jason-foo <fujianshuang@gmail.com>
fixed bug: converted udp port to network byte order twice

Signed-off-by: jason-foo <fujianshuang@gmail.com>
Added record lock to detect if user application is still running

I reused the pid file as a bit record lock. Two features are implemented on it:
1) there is at most one stupid server at the same time
2) when user applications either passively exit or are aborted accidentally, the
   server will detect it's not running any more, and collection the resource
   allocated to this application.

Signed-off-by: jason-foo <fujianshuang@gmail.com>
fixed bug: forgot to free sk_buff with unknown ip protocol

Signed-off-by: jason-foo <fujianshuang@gmail.com>
remove useless test script

Signed-off-by: jason-foo <fujianshuang@gmail.com>
Added a kernel module for test

This module just filters ip and arp packets, but our implementation is base on
data link socket.
You can block packets form the original protocol statck in kernel, and test if
our version works.

Signed-off-by: jason-foo <fujianshuang@gmail.com>
tcp handshake 1st
small fixes

Signed-off-by: jason-foo <fujianshuang@gmail.com>
fixed bug: we got the same sequence of pseudo random numbers when allocating L4
ports

Signed-off-by: jason-foo <fujianshuang@gmail.com>
fixes on readme format

Signed-off-by: jason-foo <fujianshuang@gmail.com>
add netfilter module
have nothing to say
handshake ok on my pc
add tcp control block
merged latest version from jason.foo
Signed-off-by: prehistoricpenguin <theidexisted@gmail.com>
1. merged latest framework from jason.foo
2. test simple tcp handshake on my pc