# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Cherry Blossom

# Flytrap -- Exploit Enhancements (dev notes)

1 December, 2007

- 1
- 2
…
- 16
- 17
- 18

[1mlist[0m
This field is set to any junk, say `{ NULL, NULL }'.
[1mname[0m
This field is the name of the table function, as referred to by
userspace. The name should match the name of the module (i.e.,
if the name is "nat", the module must be "iptable_nat.o") for
auto-loading to work.
[1mtable[0m
This is a fully-populated `struct ipt_replace', as used by
userspace to replace a table. The `counters' pointer should be
set to NULL. This data structure can be declared `__initdata'
so it is discarded after boot.
[1mvalid_hooks[0m
This is a bitmask of the IPv4 netfilter hooks you will enter the
table with: this is used to check that those entry points are
valid, and to calculate the possible hooks for ipt_match and
ipt_target `checkentry()' functions.
[1mlock[0m
This is the read-write spinlock for the entire table; initialize
it to RW_LOCK_UNLOCKED.
[1mprivate[0m
This is used internally by the ip_tables code.

- 1
- 2
…
- 16
- 17
- 18