coredhcp:用Go编写的快速,多线程,模块化和可扩展的DHCP服务器

时间:2021-02-03 14:30:32
【文件属性】:
文件名称:coredhcp:用Go编写的快速,多线程,模块化和可扩展的DHCP服务器
文件大小:83KB
文件格式:ZIP
更新时间:2021-02-03 14:30:32
go golang dhcp dhcp-server dhcpd 核心地址 用Go编写的快速,多线程,模块化和可扩展的DHCP服务器 这仍在进行中 配置示例 在CoreDHCP中,几乎所有东西都作为插件实现。 插件在配置中的顺序很重要:对每个请求进行评估,依次调用每个插件,直到一个中断评估并响应或丢弃该请求为止。 以下配置运行仅DHCPv6的服务器,使用自定义服务器ID和DNS侦听所有接口,并从文本文件读取租约。 server6: # this server will listen on all the available interfaces, on the default # DHCPv6 server port, and will join the default multicast groups. For more # control, see the `listen` directive in cmds/coredhcp/config.yml.example . plugins: - server_id: LL 00:de:ad:be:ef:00 - file: "lea
【文件预览】:
coredhcp-master
----go.mod(2KB)
----.github()
--------workflows()
----go.sum(46KB)
----logger()
--------logger.go(1KB)
----cmds()
--------coredhcp-generator()
--------client()
--------coredhcp()
----integ()
--------leases-dhcpv6-test.txt(33B)
--------server6_test.go(3KB)
----plugins()
--------router()
--------plugin.go(4KB)
--------range()
--------netmask()
--------allocators()
--------leasetime()
--------example()
--------prefix()
--------nbp()
--------dns()
--------file()
--------searchdomains()
--------serverid()
----config()
--------errors.go(820B)
--------config_test.go(2KB)
--------config.go(9KB)
----LICENSE(1KB)
----.ci()
--------tests.sh(809B)
--------checklicenses_config.json(395B)
--------setup-integ.sh(4KB)
----README.md(4KB)
----.stickler.yml(58B)
----handler()
--------handler.go(993B)
----.gitignore(189B)
----server()
--------serve.go(4KB)
--------handle.go(7KB)

网友评论