Re: [Tcpick-project] tcpick feature request
Status: Beta
Brought to you by:
duskdruid
From: Francesco S. <dus...@in...> - 2004-06-05 10:31:26
|
On Fri, 04 Jun 2004 21:44:13 -0300 Davi de Castro Reis <dav...@te...> wrote: [cut] > Unfortunatelly, tcpick prints (as dots) some header stuff together > with the plain text protocol, despite the flags I used. Then I hacked > loop.c to avoid syn packets (with or without a payload). So the line > if(flags.displaydata>0) > became > if(flags.displaydata>0 && (!tcppacket->syn)) > and I could simply use my captured stream as an input for my server or > netcat. [/cut] Hello Davi, I am very happy to know how tcpick is being used by the people. Fortunately the problem of the header stuff should be resolved in the latest version of tcpick. The problem depended on the fact that I haven't been smart enough to know that the solution was it the tcp protocol itself! In tcpick 0.1.23 the lenght of the tcp header is calculated in that way: <tcppacket->doff * 4> But, if you meet this problem again, let me know and I will find a solution. happy hacking! - Francesco Stablum -- http://francesco.stablum.info http://wecanstopspam.org Non accetto allegati in formati proprietari (msword, excel ecc.) utilizzate formati quali pdf, html e testo semplice (txt) http://www.fsf.org/philosophy/no-word-attachments.it.html |