Meta
-
Recent Comments
-
Recent Posts
Tags
administrative aspects announcement ARQ Assignment Assignments autonomous systems BGP botnet circuit switching congestion control connect delay DHT DNS email Ethernet Final exam gethostbyname gethostname getsockname Go-back-N Hubs Internet checksum Internet topology Kaminski bug lecture Lectures Midterm multiplexing net neutrality Network Programming NQH's implementation P2P packet switching Peering programming Projects Recitation Routing protocols security selective repeat smtp TCP udp welcomeArchives
Blogroll
History and philosophy
IPv6
Major networking organizations
Network Programming
Similar courses & introductory materials
System Programming
- GNU Make Manual
- IA32 Intel Architecture Software Developer's Manual, Volume 1: Basic Architecture
- IA32 Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference Manual
- IA32 Intel Architecture Software Developer's Manual, Volume 3: System Programming Guide
- Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification
- Using as, the GNU Assembler
Tag Archives: Projects
UBTorrent 32-bit Linux binary uploaded
Sorry it took me a while since I couldn’t find a suitable machine. Justin told me (thanks!) about the gcc -m32 option and here it goes.
Assignments, Midterm and Project 1
Please collect your assignments / go over your midterms during office hours this week if you haven’t already done so. You should receive an email with your project1 grade and comments by the weekend. Office hours: Aditya, Tuesdays noon – … Continue reading
Recitation Notes
You can use the bendecoder provided by calling the be_decode function as mentioned in the Dr. Ngo’s post. This will return a pointer to a be_node. You can lookup the bencode.h file for the implementation of this structure. Note that … Continue reading
Info hash and the ben decoder
The info hash field in the output of the metainfo command is supposed to be SHA1(value), where value is the value of the info key in the torrent file. The info key’s value is a dictionary which begins with a … Continue reading
A note on my implementation of UBTorrent
My ubtorrent only send out choke/unchoke messages after every 10 seconds. This has the following somewhat peculiar effect that you may want to notice when you test yours against mine; Suppose you run mine as a seeder, and yours as … Continue reading
Questions about UBTorrent?
I didn’t receive many questions about UBTorrent, and that makes me worried. You have to start now! Start implementing the metainfo command first, then announce and trackerinfo. Please ask questions soon, before it’s too late.
UBTorrent binaries uploaded
Find them here. This is release 0.7. You can use the release to test your implementation. Please let me know if you have trouble running any of them. The release should be stable. I will probably add cosmetic changes in … Continue reading
Summary of lecture on Mon Oct 18
We spent the entire lecture on programming assignment 2. There are a lot of technical details omitted. I have asked the TAs to cover the specification in the recitations too. Robert asked how often should we do peer re-ranking for … Continue reading
Announcements
Assignment1: Available for pick up next week during office hours and recitations. Project1: If you and your partner have submitted individual copies of the same project, please send Anand and Aditya an email with your UBIT names.