I'm working on an assigned group project at University where we have to re-implement the TCP/IP stack to support some extra stuff (http://discolab.rutgers.edu/mtcp/), and then demonstrate it.
我正在大学的一个指定的小组项目,我们必须重新实现TCP / IP堆栈以支持一些额外的东西(http://discolab.rutgers.edu/mtcp/),然后演示它。
The thesis/design we're working from says the original researchers changed the sourcecode for FreeBSD to support the extra bits and bobs.
我们正在研究的论文/设计说原始研究人员改变了FreeBSD的源代码,以支持额外的位和bob。
We've got a version of FreeBSD and have started making the changes we want, but are having trouble figuring out how to either 1) compile the entire FreeBSD sourcecode so we can test things by installing countless versions of slightly modified FreeBSD or 2) compile just our changes and somehow link that into an already compiled and working version of FreeBSD as a patch or API or something.
我们有一个FreeBSD版本并且已经开始进行我们想要的更改,但是无法弄清楚如何编译整个FreeBSD源代码以便我们可以通过安装无数版本的稍微修改过的FreeBSD或2)编译来测试只是我们的更改,并以某种方式将其链接到已经编译和工作的FreeBSD版本作为补丁或API或其他东西。
Any pointers would be great! Cheers, Jon
任何指针都会很棒!干杯,乔恩
2 个解决方案
#1
5
The FreeBSD Handbook contains a section on Building and Installing a Custom Kernel. The Handbook has very good instructions for a number of FreeBSD administration tasks.
FreeBSD手册包含有关构建和安装自定义内核的部分。本手册对许多FreeBSD管理任务有很好的指导。
#2
0
Why do this over a simple load-balancing solution? The goal of TCP/IP is to handle data reliably between two machines over a network. There are other layers of abstraction that are much more capable of dealing with the problem of server congestion that won't require drastic changes to fundamental internet protocols. Don't even get me started on the trouble of routing packets of this sort on a network you don't explicitly control (over the internet, for instance).
为什么这是通过简单的负载平衡解决方案? TCP / IP的目标是通过网络在两台机器之间可靠地处理数据。还有其他抽象层能够更好地处理服务器拥塞问题,而不需要对基本互联网协议进行大幅度改变。甚至不要让我开始在你没有明确控制的网络上(例如通过互联网)路由这种数据包的麻烦。
#1
5
The FreeBSD Handbook contains a section on Building and Installing a Custom Kernel. The Handbook has very good instructions for a number of FreeBSD administration tasks.
FreeBSD手册包含有关构建和安装自定义内核的部分。本手册对许多FreeBSD管理任务有很好的指导。
#2
0
Why do this over a simple load-balancing solution? The goal of TCP/IP is to handle data reliably between two machines over a network. There are other layers of abstraction that are much more capable of dealing with the problem of server congestion that won't require drastic changes to fundamental internet protocols. Don't even get me started on the trouble of routing packets of this sort on a network you don't explicitly control (over the internet, for instance).
为什么这是通过简单的负载平衡解决方案? TCP / IP的目标是通过网络在两台机器之间可靠地处理数据。还有其他抽象层能够更好地处理服务器拥塞问题,而不需要对基本互联网协议进行大幅度改变。甚至不要让我开始在你没有明确控制的网络上(例如通过互联网)路由这种数据包的麻烦。