nagaedan
September 6th, 2008, 02:27 PM
i new in socket programming
and i try to learn raw protokol
and i have study about covert channel by crowland
http://www.firstmonday.org/issues/issue2_5/rowland/
i have modified program only using IP ID
and use compression algorithm
i have no idea that program reliable or not
so i have been thinking like this :
|--------syn IPID-----> |
| |
| <----resp ------------- |
| |
|-------> loss |
| timeout |
|------>resend-------->|
|<---------resp----------|
|---------syn IPID----->|
| <---Loss--------|
|time out |
|--->resend----------->| because ipid have accepted i try to ignored and
|<--------resp-----------| send respond
and after i try i have failed, and i have no idea any more
because
send_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)
after sendto(send_socket, &send_tcp, 40, (struct sockaddr *)&sin, sizeof(sin));
i write
read(send_socket, (struct recv_tcp *)&recv_pkt, 9999);
to listen respond,
and it just listen even if there is incoming paket
please help me
and i try to learn raw protokol
and i have study about covert channel by crowland
http://www.firstmonday.org/issues/issue2_5/rowland/
i have modified program only using IP ID
and use compression algorithm
i have no idea that program reliable or not
so i have been thinking like this :
|--------syn IPID-----> |
| |
| <----resp ------------- |
| |
|-------> loss |
| timeout |
|------>resend-------->|
|<---------resp----------|
|---------syn IPID----->|
| <---Loss--------|
|time out |
|--->resend----------->| because ipid have accepted i try to ignored and
|<--------resp-----------| send respond
and after i try i have failed, and i have no idea any more
because
send_socket = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)
after sendto(send_socket, &send_tcp, 40, (struct sockaddr *)&sin, sizeof(sin));
i write
read(send_socket, (struct recv_tcp *)&recv_pkt, 9999);
to listen respond,
and it just listen even if there is incoming paket
please help me