Re: 4.1.31 ip_ftp_pxy.c error

Steve Clark <[email protected]>
Newsgroups gmane.comp.security.firewalls.ipfilter
Message-ID <2177_1228742022_493D1D85_2177_2617_1_493D1D53.8050106@netwolves.com>
Steve Clark wrote:
> Darren Reed wrote:
> 
>>Steve,
>>
>>I don't know which web server/site you were connecting to
>>that produced the problem, but I'm having a stab at fixing it.
>>
>>Try the attached patch.
>>
>>Darren
>>
>>
>>
> 
> <..snip..>
> 
> Here is the results - still the same - looks like the junk flag is getting
> reset before it should. Now that I understand what you are trying to
> do I'll continue to look at the code.
> 
> Steve
> 
Raising the debug level shows where the flag is getting reset.

Dec  8 08:07:13 Z2873 kernel: IN: 18 seq 4ef2d0ca/0 ack 21220521/0 len 7/59 off 52
Dec  8 08:07:13 Z2873 kernel: sel 0 seqmin 0/0 offset 0/0
Dec  8 08:07:13 Z2873 kernel: sel 0 ackmin 0/0 offset 0/0
Dec  8 08:07:13 Z2873 kernel: rv 1 t:seq[0] 21220521 seq[1] 0 0/0
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_process:len 7/0 off 59 wptr c265e0c7 junk 0 [220-
Dec  8 08:07:13 Z2873 kernel: ]
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_valid=3 len 7 rv 1 ptr c265e0c0/c265e0c7 buf [220-
Dec  8 08:07:13 Z2873 kernel: ]
Dec  8 08:07:13 Z2873 kernel: ftps_seq[1] = 4ef2d0d1 inc 0 len 0
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_process: mlen 75
Dec  8 08:07:13 Z2873 kernel: seqoff 0 thseq 4ef2d0d1 ackmin 0
Dec  8 08:07:13 Z2873 kernel: ackoff 0 thack 21220521 seqmin 0
Dec  8 08:07:13 Z2873 kernel: IN: 18 seq 4ef2d0d1/0 ack 21220521/0 len 75/127 off 52
Dec  8 08:07:13 Z2873 kernel: sel 0 seqmin 0/0 offset 0/0
Dec  8 08:07:13 Z2873 kernel: sel 0 ackmin 0/0 offset 0/0
Dec  8 08:07:13 Z2873 kernel: rv 1 t:seq[0] 21220521 seq[1] 0 0/0
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_process:len 75/0 off 127 wptr c265e10b junk 3 [  ****************************
***** WARNING *****************************
Dec  8 08:07:13 Z2873 kernel: ]
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_process:junk 3 -> 0
Dec  8 08:07:13 Z2873 kernel: ippr_ftp_valid=0 len 75 rv 1 ptr c265e0c0/c265e10b buf [  ****************************
***** WARNING *****************************
Dec  8 08:07:13 Z2873 kernel: ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.