The NTP standard configuration in Debian Squeeze is the following (with comments removed):
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 0.debian.pool.ntp.org iburst
server 1.debian.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
I don't understand how the two first "restrict" order works. If I refer to the manpage, the first argument of restrict must be a pointed address (Ipv4 or v6) or "default".
What this -4 or -6 order mean?