Networking Forums

Networking Forums > Computer Networking > Linux Networking > libnetfilter_conntrack with IPv4 & IPv6

Reply
Thread Tools Display Modes

libnetfilter_conntrack with IPv4 & IPv6

 
 
Washington Ratso
Guest
Posts: n/a

 
      07-07-2011, 10:07 PM
I have been using libnetfilter_conntrack to track connections, which
have had IPv4 sources and destinations. Now, I want to upgrade my code
to handle IPv6 sources and destinations. How do I determine if the
source or destination is IPv4 or IPv6? For source, do I have to call
nfct_get_attr twice, once with the ATTR_IPV4_SRC argument and once
with the ATTR_IPV6_SRC argument? Will one return null and the other
not null?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 address not connecting but IPv4-mapped -IPv6 does. Please help. DanielJohnson Network Routers 0 01-07-2009 12:10 AM
Using IPv4 TCPMSS target with IPv6-in-IPv4 Mark T.B. Carroll Linux Networking 1 03-18-2007 10:30 AM
IPv6 to IPv4 tjm Windows Networking 0 03-23-2006 07:53 PM
IPv4 IPv6 And routers kernel.lover Linux Networking 3 02-03-2005 06:17 AM
IPv4 --> IPv6 Anthony T. Wilson Linux Networking 2 12-20-2003 08:23 PM



1 2 3 4 5 6 7 8 9 10 11