Linux Netfilter discussions
 help / color / mirror / Atom feed
* Issue in conntrack udpate cmd for UDP -- "conntrack -U -p udp -t xx" updates only unreplied connections
@ 2015-03-11 12:02 Murugan Venugopal
  2015-03-15 20:44 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Murugan Venugopal @ 2015-03-11 12:02 UTC (permalink / raw)
  To: netfilter

Hi,

I face an Issue in conntrack udpate cmd for UDP.
 "conntrack -U -p udp -t xx" cmd only updates unreplied connections,
while ASSURED UDP connections are left out.

# conntrack -U -p udp -t 60


# conntrack -L -p udp | grep ASSU
conntrack v1.0.0 (conntrack-tools): 23 flow entries have been shown.
udp      17 598 src=125.17.98.97 dst=8.8.8.8 sport=33029 dport=53
packets=5 bytes=340 src=8.8.8.8 dst=125.17.98.97 sport=53 dport=33029
packets=5 bytes=508 [ASSURED] mark=0 use=3
udp      17 598 src=125.17.98.97 dst=8.8.8.8 sport=49407 dport=53
packets=15 bytes=900 src=8.8.8.8 dst=125.17.98.97 sport=53 dport=49407
packets=15 bytes=1635 [ASSURED] mark=0 use=2

Packages used:
conntrack-tools-1.0.0
libnetfilter_conntrack-0.9.1
libnfnetlink-1.0.0
iptables-1.4.16
Linux kernel 2.6.34.8


Please let me know, whether there are any reason to skip assured
connection out of updation. If possible, how to update assured
connection too.

Regards,
Murugan

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

* Re: Issue in conntrack udpate cmd for UDP -- "conntrack -U -p udp -t xx" updates only unreplied connections
  2015-03-11 12:02 Issue in conntrack udpate cmd for UDP -- "conntrack -U -p udp -t xx" updates only unreplied connections Murugan Venugopal
@ 2015-03-15 20:44 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-03-15 20:44 UTC (permalink / raw)
  To: Murugan Venugopal; +Cc: netfilter

On Wed, Mar 11, 2015 at 05:32:40PM +0530, Murugan Venugopal wrote:
> Hi,
> 
> I face an Issue in conntrack udpate cmd for UDP.
>  "conntrack -U -p udp -t xx" cmd only updates unreplied connections,
> while ASSURED UDP connections are left out.
> 
> # conntrack -U -p udp -t 60
> 
> 
> # conntrack -L -p udp | grep ASSU
> conntrack v1.0.0 (conntrack-tools): 23 flow entries have been shown.
> udp      17 598 src=125.17.98.97 dst=8.8.8.8 sport=33029 dport=53
> packets=5 bytes=340 src=8.8.8.8 dst=125.17.98.97 sport=53 dport=33029
> packets=5 bytes=508 [ASSURED] mark=0 use=3
> udp      17 598 src=125.17.98.97 dst=8.8.8.8 sport=49407 dport=53
> packets=15 bytes=900 src=8.8.8.8 dst=125.17.98.97 sport=53 dport=49407
> packets=15 bytes=1635 [ASSURED] mark=0 use=2
> 
> Packages used:
> conntrack-tools-1.0.0
> libnetfilter_conntrack-0.9.1
> libnfnetlink-1.0.0
> iptables-1.4.16
> Linux kernel 2.6.34.8
> 
> 
> Please let me know, whether there are any reason to skip assured
> connection out of updation. If possible, how to update assured
> connection too.

Note that the follow up packet resets the timeout to what the default
timeout policy specifies.

If you want to adopt specific timeout policies for a subset of flows,
you have to use the cttimeout infrastructure [1].

[1] http://lwn.net/Articles/485195/

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

end of thread, other threads:[~2015-03-15 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 12:02 Issue in conntrack udpate cmd for UDP -- "conntrack -U -p udp -t xx" updates only unreplied connections Murugan Venugopal
2015-03-15 20:44 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox