FreeBSD Bugzilla – Attachment 183688 Details for
Bug 219622
[NEW PORT] net/ndproxy: Implementation of IPv6 Neighbor Discovery proxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated port shell archive
ndproxy.shar (text/plain), 5.94 KB, created by
Alexandre Fenyo
on 2017-06-21 19:27:01 UTC
(
hide
)
Description:
updated port shell archive
Filename:
MIME Type:
Creator:
Alexandre Fenyo
Created:
2017-06-21 19:27:01 UTC
Size:
5.94 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># . ># ./ndproxy ># ./ndproxy/distinfo ># ./ndproxy/files ># ./ndproxy/files/pkg-message.in ># ./ndproxy/files/ndproxy.in ># ./ndproxy/Makefile ># ./ndproxy/pkg-descr ># >echo c - . >mkdir -p . > /dev/null 2>&1 >echo c - ./ndproxy >mkdir -p ./ndproxy > /dev/null 2>&1 >echo x - ./ndproxy/distinfo >sed 's/^X//' >./ndproxy/distinfo << '7ac88d4d6bf90f1074f2aa226f67cf5d' >XTIMESTAMP = 1498071338 >XSHA256 (AlexandreFenyo-ndproxy-1.15-v1.15_GH0.tar.gz) = fc028bd6f78b27d65ca5978daf4613473b62a941f9a4855935218a6673eb55b6 >XSIZE (AlexandreFenyo-ndproxy-1.15-v1.15_GH0.tar.gz) = 8274715 >7ac88d4d6bf90f1074f2aa226f67cf5d >echo c - ./ndproxy/files >mkdir -p ./ndproxy/files > /dev/null 2>&1 >echo x - ./ndproxy/files/pkg-message.in >sed 's/^X//' >./ndproxy/files/pkg-message.in << '075c0a3d9082ae3192f2fb4f54a957db' >X------------------------------------------------------------------------------- >XIMPORTANT! MAKE SURE TO READ THE FOLLOWING! >X >XPlease remember to reinstall this port after kernel source update. >X >Xndproxy is configured using four sysctl kernel states. The boot script >X(%%PREFIX%%/etc/rc.d/ndproxy) can set those states using rc.conf variables. >X >XHere is the corresponding rc.conf variable to each sysctl kernel state: >X >Xsysctl kernel state rc.conf corresponding variable >X------------------------------------------------------------------------------- >Xnet.inet6.ndproxyconf_uplink_interface ndproxy_uplink_interface >Xnet.inet6.ndproxyconf_downlink_mac_address ndproxy_downlink_mac_address >Xnet.inet6.ndproxyconf_exception_ipv6_addresses ndproxy_exception_ipv6_addresses >Xnet.inet6.ndproxyconf_uplink_ipv6_addresses ndproxy_uplink_ipv6_addresses >X >XThe network interface set in ndproxy_uplink_interface will be put into >Xpermanently promiscuous mode. >X >XIMPORTANT! MAKE SURE TO READ THE ABOVE! >X------------------------------------------------------------------------------- >075c0a3d9082ae3192f2fb4f54a957db >echo x - ./ndproxy/files/ndproxy.in >sed 's/^X//' >./ndproxy/files/ndproxy.in << 'f734405c34ad3e8cd129bc409dba1a6f' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X >X# PROVIDE: ndproxy >X# REQUIRE: NETWORKING sysctl >X# KEYWORD: nojail >X >X. /etc/rc.subr >X >Xname="ndproxy" >Xrcvar=ndproxy_enable >Xstart_cmd="ndproxy_start" >Xstop_cmd="ndproxy_stop" >X >Xndproxy_start() >X{ >X echo "Starting ndproxy:" >X sysctl net.inet6.ndproxyconf_uplink_interface > /dev/null 2>&1 >X if [ $? -eq 1 ]; then >X kldload ndproxy > /dev/null 2>&1 >X if [ $? -eq 1 ]; then >X echo Failure loading ndproxy. >X return; >X fi >X fi >X >X sysctl net.inet6.ndproxycount=0 >X >X sysctl net.inet6.ndproxyconf_uplink_interface=${ndproxy_uplink_interface} >X sysctl net.inet6.ndproxyconf_downlink_mac_address=${ndproxy_downlink_mac_address} >X sysctl net.inet6.ndproxyconf_exception_ipv6_addresses=${ndproxy_exception_ipv6_addresses} >X sysctl net.inet6.ndproxyconf_uplink_ipv6_addresses=${ndproxy_uplink_ipv6_addresses} >X >X if [ -z "${ndproxy_uplink_interface}" ]; then >X echo "Warning: ndproxy_uplink_interface should be defined in rc.conf (see ndproxy(4))." >X fi >X >X if [ -z "${ndproxy_downlink_mac_address}" ]; then >X echo "Warning: ndproxy_downlink_mac_address should be defined in rc.conf (see ndproxy(4))." >X fi >X >X if [ -z "${ndproxy_uplink_ipv6_addresses}" ]; then >X echo "Warning: ndproxy_uplink_ipv6_addresses should be defined in rc.conf (see ndproxy(4))." >X fi >X >X # Note that ndproxy_exception_ipv6_addresses may be left empty. >X >X if [ -n "${ndproxy_uplink_interface}" ]; then >X ifconfig ${ndproxy_uplink_interface} | head -1 | grep PPROMISC > /dev/null >X if [ $? -eq 1 ]; then >X echo "Putting interface ${ndproxy_uplink_interface} into permanently promiscuous mode." >X ifconfig ${ndproxy_uplink_interface} promisc >X fi >X fi >X >X echo Done. >X} >X >Xndproxy_stop() >X{ >X echo "Stopping ndproxy:" >X >X sysctl net.inet6.ndproxyconf_uplink_interface > /dev/null 2>&1 >X if [ $? -eq 1 ]; then >X echo Failure unloading ndproxy. >X else >X kldunload ndproxy > /dev/null 2>&1 >X if [ $? -eq 1 ]; then >X echo Failure unloading ndproxy. >X else >X echo Done. >X fi >X fi >X} >X >Xload_rc_config $name >Xrun_rc_command "$1" >f734405c34ad3e8cd129bc409dba1a6f >echo x - ./ndproxy/Makefile >sed 's/^X//' >./ndproxy/Makefile << '0534f86d41852189c3f6542d8f39fe95' >X# $FreeBSD$ >X >XPORTNAME= ndproxy >XPORTVERSION= 1.15 >XCATEGORIES= net >X >XMAINTAINER= fbsd.bugzilla@fenyo.net >XCOMMENT= Implementation of IPv6 Neighbor Discovery proxy >X >XLICENSE= BSD2CLAUSE >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XSUB_FILES= pkg-message >X >XUSE_RC_SUBR= ndproxy >XUSE_GITHUB= yes >XGH_ACCOUNT= AlexandreFenyo >XGH_TAGNAME= v${PORTVERSION} >X >XPLIST_FILES= ${KMODDIR}/${PORTNAME}.ko man/man4/${PORTNAME}.4.gz >X >XUSES= kmod >X >Xpre-build: >X (cd ${BUILD_WRKSRC}; ${MAKE} depend) >X >Xdo-install: >X ${INSTALL_KLD} ${WRKSRC}/${PORTNAME}.ko ${STAGEDIR}${KMODDIR} >X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${PREFIX}/man/man4/ >X >X.include <bsd.port.mk> >0534f86d41852189c3f6542d8f39fe95 >echo x - ./ndproxy/pkg-descr >sed 's/^X//' >./ndproxy/pkg-descr << '2ecb2f96fe45f486b83ab9ec2a1101d9' >XThe ndproxy(4) kernel module implements IPv6 Neighbor Discovery >Xproxying with many options to handle several use-cases. >X >XIt replies to a neighbor solicitation with a specific neighbor >Xadvertisement, in order to let the PE uplink router send further >Xpackets to a CPE downlink router, that may or may not be the same >Xnode that the one which runs ndproxy. >X >XThe main difference with the ndp(8) command-line tool is that, with >Xndproxy(4), the host running ndp can be used only to redirect >Xpackets to another IPv6 internal router, for instance a dedicated >Xone with hardware support of IPv6 routing processes. >X >XWWW: http://www.fenyo.net/newweb/ndproxy.html >2ecb2f96fe45f486b83ab9ec2a1101d9 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 219622
:
183016
|
183688
|
184712
|
184713
|
184753
|
184854