What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Any way to see IPv6 connections?

Morac

Senior Member
I’m running Merlin 384.11_2 on an AC88U. The network status page only shows IPv4 connections. Is there any way to see IPv6 ones?

Also are ivp6 connections included in the count on the tools page?

Finally is there some way to have the network connections page remember the sorting order by setting a browser cookie or something?
 
I tried gripping all established connections (IPv4 and IPv6) and it was slightly less than what’s on the Tools page. That also doesn’t included UDP.
That's because UDP is a connectionless protocol.
 
That's because UDP is a connectionless protocol.

I know that, but I think the Tools page may be counting it since the connections on that page is larger than the number of established connections output by the command.
 
According to the source code it's counting ESTABLISHED connections + ASSURED udp connections (if that's the figure you're referring to).

https://github.com/RMerl/asuswrt-me...b2286/release/src/router/httpd/sysinfo.c#L268
Code:
            fp = fopen("/proc/net/nf_conntrack", "r");
            if (fp) {
                while (fgets(buf, sizeof(buf), fp) != NULL) {
                if (strstr(buf,"ESTABLISHED") || ((strstr(buf,"udp")) && (strstr(buf,"ASSURED"))))
                    established++;
                }
                fclose(fp);
            }
            sprintf(result,"%u",established);
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top