248
C
HAPTER
10: P
ACKET
F
ILTERING
You can use this information to create pseudocode that simplifies the
process of writing the actual filter. It helps to first write the pseudocode in
outline form, as shown here:
1
Determine if the packet has a broadcast address.
2
Determine if the packet is an XNS datagram.
3
Examine socket values and discard the packet if:
■
The socket value is greater than or equal to 0x76c
and
■
The socket value is less than 0x898
4
Determine if the packet is an IP datagram.
5
If so, then examine socket values and discard the packet if:
■
The socket value is greater than or equal to 0x76c
and
■
The socket value is less than 0x898
6
End the filter.
The pseudocode translates into the following complex packet filter:
Summary of Contents for CoreBuilder 3500
Page 44: ...44 CHAPTER 2 MANAGEMENT ACCESS ...
Page 58: ...58 CHAPTER 3 SYSTEM PARAMETERS ...
Page 86: ...86 CHAPTER 5 ETHERNET ...
Page 112: ...112 CHAPTER 6 FIBER DISTRIBUTED DATA INTERFACE FDDI ...
Page 208: ...208 CHAPTER 9 VIRTUAL LANS ...
Page 256: ...256 CHAPTER 10 PACKET FILTERING ...
Page 330: ...330 CHAPTER 12 VIRTUAL ROUTER REDUNDANCY PROTOCOL VRRP ...
Page 356: ...356 CHAPTER 13 IP MULTICAST ROUTING ...
Page 418: ...418 CHAPTER 14 OPEN SHORTEST PATH FIRST OSPF ...
Page 519: ...RSVP 519 Figure 94 Sample RSVP Configuration Source station End stations Routers ...
Page 566: ...566 CHAPTER 18 DEVICE MONITORING ...
Page 572: ...572 APPENDIX A TECHNICAL SUPPORT ...
Page 592: ...592 INDEX ...