Forum Discussion
smp_86112
Cirrostratus
Sep 15, 2009b conn protocol syntax
I have LTMs running 9.3.1. I have reached my SSL transaction limint, and was using the b conn command to identify all the clients who are connected to HTTPS VIPs. Reading the b conn help, I see this:
protocol may be specified by number or name (http, or 80).
But the command
b conn protocol 443
fails.
[root@ltm:Active] ~ b conn protocol https
BIGpipe: 010a0037:3: The requested protocol name (https) is invalid.
Obviously I can grep for ':443 ' and do some massaging, but it seems this should be pretty straightforward output from b conn.
- hoolio
Cirrostratus
In 9.3.1, this seems to work: - smp_86112
Cirrostratus
The ones that work for me are protocol 80, tcp, udp, and icmp. Everything else fails: - hoolio
Cirrostratus
Ah... sorry, I missed that. It seems like a bug if 80 works but http or 443 don't. You could open a case with F5 Support to report the issue. - spark_86682Historic F5 AccountThe problem here is that there is confusion between protocols and port numbers. ICMP, TCP, and UDP are protocols (see http://www.iana.org/assignments/protocol-numbers/ for the complete list and their associated numbers). In the given context, http, smtp, 443, 25, and 80 are ports, not protocols.
- smp_86112
Cirrostratus
I understand the distinction you are making, and it is a good and valid one. If that is indeed the case why, it is a pretty frustrating error to see in the doc. - hoolio
Cirrostratus
Ah, I was assuming that I was getting the "No Conns|connections were found" message because the command was valid but there weren't any port 80 connections in the connection table. But now testing with active HTTP connections, 'b conn protocol 80' still returns the no connections found message. As you said, 'b conn protocol' is expecting the protocol number, not the port number. - spark_86682Historic F5 AccountIf by https you mean port 443, then "b conn server any:443" should do the trick.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects