Category Archives: Software

Recompiling kannel-1.4.1 in GNU/Linux Ubuntu 8.04

Posted in kerneltrap.org on March 31, 2009 – 11:02am Previously I successfully recompiled kannel-1.4.1 in GNU/Linux Ubuntu 8.04 Desktop as I have described here. But, when I tried to do the same in a fresh installation of GNU/Linux Ubuntu 8.04 … Continue reading

Posted in GNU/Linux Ubuntu, Hacking, kannel, Software, Software Usage | Tagged | Leave a comment

Setting Up an SMS Gateway with Ubuntu 8.04, Kannel and Huawei E220 GSM Modem

Posted in kerneltrap.org on March 18, 2009 – 1:07pm Setting up Kannel 1.4.1 in Ubuntu 8.04 Desktop was easy. The challenging part was finding the right GSM modem or cellphone because some hardware vendors still refuse to cooperate with us … Continue reading

Posted in GNU/Linux Ubuntu, Hacking, kannel, kannel, Learning Experience, Software, Software Usage, Telecommunications | Tagged , , , , | 3 Comments

Fiddling with sys_call_table in Linux Kernel 2.6.21.5

Posted in kerneltrap.org on October 14, 2008 – 5:52pm A friend of mine would like to try to implement a new system call based on the example in Chapter 8 of Linux Kernel Module Programming Guide 2.6 Series in Linux … Continue reading

Posted in Hacking, Linux Kernel Module, Software | Tagged , , , , , , | 5 Comments

How does the IPv4 Receiving Mechanism Assemble Fragmented Datagrams?

Posted in kerneltrap.org on October 4, 2008 – 9:26pm How does the IP receiving mechanism assemble fragmented datagrams? First of all, this writing is based on Linux kernel 2.6.21.5. When I looked into ip_frag_reasm() that was commented with /* Build … Continue reading

Posted in Hacking, Linux Kernel, Networking, Software | Tagged , | 2 Comments

Information On skb_copy_datagram_iovec()

Posted in kerneltrap.org on October 3, 2008 – 2:01pm Information on skb_copy_datagram_iovec() This writing is based on Linux kernel 2.6.21.5. This function is defined in net/core/datagram.c. The main task of this function is to copy the data of an skb … Continue reading

Posted in Hacking, Linux Kernel, Networking, Software | Tagged , | 1 Comment

The Crisp Boundary between HardIRQ-context, SoftIRQ-context, and User-context

Posted in kerneltrap.org on October 3, 2008 – 1:56pm As mentioned in Rusty’s Unreliable Guide to Kernel Locking, the Linux kernel has three contexts of thread executions: hard-IRQ context, soft-IRQ context, and user/process-context. As on July 10, 2008, the guide … Continue reading

Posted in Hacking, Linux Kernel, Software | Tagged , , , , , | 2 Comments

Tuning to a New Unusual Multicast Address

Posted in kerneltrap.org on September 28, 2008 – 10:52am During my work on the ATN TP4/CLNP Networking Suite, I helped a friend of mine to be able to capture Ethernet frames destined to unusual Ethernet multicast addresses. What I mean … Continue reading

Posted in Hacking, Linux Kernel, Network, Networking, Software | Tagged , , | 1 Comment

How to Start Hacking the Linux Kernel

Posted in kerneltrap.org on June 20, 2008 – 2:54pm Someone posted such a question here. Personally, I started to hack the Linux kernel when developing a new networking suite called the ATN TP4/CLNP Networking Suite for use with GNU/Linux systems … Continue reading

Posted in Hacking, Linux Kernel, Software | Tagged , , | 1 Comment

What does SOCK_ZAPPED mean?

Posted in kerneltrap.org on June 13, 2008 – 11:38am SOCK_ZAPPED, which is defined in include/net/sock.h, is a status flag of a socket (struct sock) to indicate that the socket has a name assigned to it already (i.e., the socket is … Continue reading

Posted in Hacking, Linux Kernel, Networking, Software | Tagged , , , , | Leave a comment

What Kind of Ethernet MAC Addresses are These?

Posted in kerneltrap.org on June 12, 2008 – 1:47am It turned out that any wireless Ethernet card’s device driver in a non-promiscuous mode does not drop any Ethernet frame with the following destination MAC address: YY:xx:xx:xx:xx:xx, where YY is an … Continue reading

Posted in Hacking, ifconfig, Linux Kernel, Networking, Software, Software Usage | Tagged | Leave a comment