summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-23 07:41:55 +0000
committermarcus <marcus@FreeBSD.org>2003-09-23 07:41:55 +0000
commite19a1e64d248ad6f10230273b0afcd49b570e0ba (patch)
treedcae4425b97cd670a26f1074a999df062d47d4e1 /usr.sbin/ppp/command.c
parent1adbd0035e01b5e125de7222da250f6c0cb4634a (diff)
downloadFreeBSD-src-e19a1e64d248ad6f10230273b0afcd49b570e0ba.zip
FreeBSD-src-e19a1e64d248ad6f10230273b0afcd49b570e0ba.tar.gz
Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index d05471c..635b197 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -773,6 +773,8 @@ static struct cmdtab const NatCommands[] =
{"punch_fw", NULL, nat_PunchFW, LOCAL_AUTH,
"firewall control", "nat punch_fw [base count]"},
#endif
+ {"skinny_port", NULL, nat_SkinnyPort, LOCAL_AUTH,
+ "TCP port used by Skinny Station protocol", "nat skinny_port [port]"},
{"same_ports", NULL, NatOption, LOCAL_AUTH,
"try to leave port numbers unchanged", "nat same_ports yes|no",
(const void *) PKT_ALIAS_SAME_PORTS},
OpenPOWER on IntegriCloud