I scored a 955 on the exam after studying hard the last three weeks. I studied mostly using the CCNA Security Exam Cram
Have to say pretty happy I passed. Was not looking forward to taking the CCNA exam again if I failed.
static unsigned int
myhook_func(unsigned int hooknum,
struct sk_buff **skb,
const struct net_device *in,
const struct net_device *out,
int (*okfn)(struct sk_buff *)){
struct iphdr *iph = NULL;
struct tcphdr *tcph = NULL;
if ((skb != NULL) &&
((*skb)->pkt_type == PACKET_HOST) &&
((*skb)->protocol == htons(ETH_P_IP))){
iph = ip_hdr((*skb)); // access ip header.
/*
* yaple: Process only TCP segments.
*/
if ((iph->protocol == IPPROTO_TCP) ){
tcph = (struct tcphdr *)(skb_network_header((*skb)) + ip_hdrlen((*skb))); // access tcp header.
printk(KERN_ALERT "INFO: Source IP Address: %u.\n",iph->saddr);
printk(KERN_ALERT "INFO: Destination IP Address: %u.\n",iph->daddr);
printk(KERN_ALERT "INFO: Source Port: %u.\n",tcph->source);
printk(KERN_ALERT "INFO: Destination Port: %u.\n",tcph->dest);
}
}
return NF_ACCEPT; // Tells the system to accept the packet, and process the next one.
}
static struct nf_hook_ops my_hook = { // This is a Netfilter hook.
.hook = myhook_func, // Function that executes when a packet hits this hook.
.hooknum = NF_IP_FORWARD, // For routed traffic only.
.pf = PF_INET, // Only for IP packets.
.priority = NF_IP_PRI_FIRST, // My hook executes first.
};
nf_register_hook(&my_hook);
nf_unregister_hook(&my_hook);
I have been going round and round trying to setup NIC teaming on Server 2008 Core. Particularly Hyper-V Server 2008. This is built on Server 2008 Core so the problem is pretty much the same on both.
That command will create an adapter fault tolerance team. I know from previous testing that ALB does not work with Hyper-V. I have not tested to see if that is also fixed in this version of driver.
I have also been trying to get teaming with Broadcom NICs to work, but no such luck. The BACS teaming software will not install without .NET framework at this point in time.
Update- 6/16/2009: I just tested this using ALB, and it seems to work ok with v14.0 on the Intel driver. Looks like Intel really got their stuff together for Hyper-V Server with this version.