All of lore.kernel.org
 help / color / mirror / Atom feed
* [NEW TARGET] target for modifying conntrack timeout value
@ 2004-12-08 19:47 Richard
  2004-12-08 20:09 ` Pablo Neira
  0 siblings, 1 reply; 16+ messages in thread
From: Richard @ 2004-12-08 19:47 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

Hi,

I sent this out a few days ago and got no reply. Thought that I should put a
more obvious subject. I wonder if someone can include this into svn.

Regards,
Richard


[-- Attachment #2: CTEXPIRE.diff.gz --]
[-- Type: application/x-gzip, Size: 3458 bytes --]

[-- Attachment #3: CTEXPIRE.tar.gz --]
[-- Type: application/x-gzip, Size: 3890 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: [NEW TARGET] target for modifying conntrack timeout value
@ 2004-12-13 21:10 Richard
  2004-12-13 21:14 ` Pablo Neira
  2004-12-15  0:25 ` Pablo Neira
  0 siblings, 2 replies; 16+ messages in thread
From: Richard @ 2004-12-13 21:10 UTC (permalink / raw)
  To: 'Pablo Neira'; +Cc: netfilter-devel



> -----Original Message-----
> From: Richard [mailto:richard@o-matrix.org]
> Sent: Wednesday, December 08, 2004 3:48 PM
> To: 'Pablo Neira'
> Cc: 'netfilter-devel@lists.netfilter.org'
> Subject: RE: [NEW TARGET] target for modifying conntrack timeout value
> 
> > +                ct->timeout.expires = new_expires;
> >                   ^^^
> >
> > Hm I thought that I told you to use ip_ct_refresh... you should. Your
> > target will look smarter and you can forget about proper locking...
> > which is now completely broken...
> 
> Hi Pablo,
> 
> Thanks for the comments. I made the modification and attached the latest
> copy. Now it uses ip_ct_refresh. The target first reads the existing
> expire value, then modify it. If there is something in between, the expire
> value might get changed. Even worse, the conntrack state might change.
> That's why I locked it first, then read and write, finally unlock. If it
> is broken, there is no difference anyway...
> 

Just wonder if there is any update on this please...

Thanks,
Richard

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-01-02 22:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 19:47 [NEW TARGET] target for modifying conntrack timeout value Richard
2004-12-08 20:09 ` Pablo Neira
2004-12-09  1:47   ` Richard
  -- strict thread matches above, loose matches on Subject: below --
2004-12-13 21:10 Richard
2004-12-13 21:14 ` Pablo Neira
2004-12-15  0:25 ` Pablo Neira
2004-12-15  1:16   ` Richard
2004-12-15 19:38     ` Pablo Neira
2004-12-17 18:10       ` Richard
2005-01-02  0:22         ` Pablo Neira
2005-01-02  9:11           ` Richard
2005-01-02 13:15             ` Pablo Neira
2005-01-02 19:12               ` Richard
2005-01-02 19:35                 ` Tom Marshall
2005-01-02 19:42                   ` Richard
2005-01-02 22:24                   ` Richard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.