Home
last modified time | relevance | path

Searched refs:ippeerlimit (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/ntp/ntpd/
H A Dntp_restrict.c136 printf("%s/%s: hits %u ippeerlimit %hd mflags %s rflags %s", in dump_restrict()
137 as, ms, res->count, res->ippeerlimit, in dump_restrict()
215 restrict_def4.ippeerlimit = -1; /* Cleaner if we have C99 */ in init_restrict()
216 restrict_def6.ippeerlimit = -1; /* Cleaner if we have C99 */ in init_restrict()
549 r4a->ippeerlimit = match->ippeerlimit; in restrictions()
571 r4a->ippeerlimit = match->ippeerlimit; in restrictions()
578 r4a->ippeerlimit = 0;
607 short ippeerlimit, in hack_restrict()
603 hack_restrict(restrict_op op,sockaddr_u * resaddr,sockaddr_u * resmask,short ippeerlimit,u_short mflags,u_short rflags,u_long expire) hack_restrict() argument
[all...]
H A Dcomplete.conf.in52 restrict default ippeerlimit 0 nomodify limited kod nopeer noserve nomrulist
53 restrict source ippeerlimit 1
54 restrict source ippeerlimit 2 nomodify limited kod
H A Dntp_peer.c574 int ippeerlimit, in peer_config()
625 return newpeer(srcadr, hostname, dstadr, ippeerlimit, hmode, version,
794 int ippeerlimit, in newpeer()
907 /* Check ippeerlimit wrt ip_count */ in newpeer()
908 if (ippeerlimit > -1) { in newpeer()
909 if (ip_count + 1 > ippeerlimit) { in newpeer()
910 DPRINTF(2, ("newpeer(%s) denied - ippeerlimit %d\n", in newpeer()
914 ippeerlimit)); in newpeer()
918 DPRINTF(1, ("newpeer(%s) - ippeerlimit %d ignored\n", in newpeer()
922 ippeerlimit)); in newpeer()
571 peer_config(sockaddr_u * srcadr,const char * hostname,endpt * dstadr,int ippeerlimit,u_char hmode,u_char version,u_char minpoll,u_char maxpoll,u_int flags,u_int32 ttl,keyid_t key,const char * ident) peer_config() argument
764 newpeer(sockaddr_u * srcadr,const char * hostname,endpt * dstadr,int ippeerlimit,u_char hmode,u_char version,u_char minpoll,u_char maxpoll,u_int flags,u_char cast_flags,u_int32 ttl,keyid_t key,const char * ident) newpeer() argument
[all...]
H A Dntp_config.c1070 if (-1 != rest_node->ippeerlimit) { in dump_config_tree()
1071 fprintf(df, " ippeerlimit %d", in dump_config_tree()
1072 rest_node->ippeerlimit); in dump_config_tree()
1608 short ippeerlimit, in destroy_restrict_node()
1620 my_node->ippeerlimit = ippeerlimit; in destroy_int_fifo()
2648 short ippeerlimit; in config_access()
2773 ippeerlimit = my_node->ippeerlimit; in config_access()
2900 ippeerlimit, in config_access()
1586 create_restrict_node(address_node * addr,address_node * mask,short ippeerlimit,attr_val_fifo * flag_tok_fifo,int nline) create_restrict_node() argument
2618 short ippeerlimit; config_access() local
[all...]
H A Dntp_proto.c745 stoa(&rbufp->recv_srcadr), r4a.ippeerlimit, hismode, in receive()
1499 r4a.ippeerlimit, MODE_CLIENT, hisversion, in receive()
1620 r4a.ippeerlimit, MODE_BCLIENT, hisversion, in receive()
1644 r4a.ippeerlimit, MODE_CLIENT, hisversion, in receive()
1766 r4a.ippeerlimit, MODE_PASSIVE, hisversion, in receive()
H A Dntp_request.c1374 * Note that we ignore any previously-specified ippeerlimit. in do_conf()
1860 cr.ippeerlimit = ntohs(cr.ippeerlimit); in do_restrict()
1873 cr.ippeerlimit, cr.mflags, in do_restrict()
1876 DPRINTF(1, ("%s: %s %s mask %s ippeerlimit %hd %s %s failed", in do_restrict()
1879 cr.ippeerlimit, mflags_str(cr.mflags),
H A Dinvoke-ntp.conf.texi1460 @item @code{restrict} @kbd{address} @code{[@code{mask} @kbd{mask}]} @code{[@code{ippeerlimit} @kbd{int}]} @code{[@kbd{flag} @kbd{...}]}
1486 @code{ippeerlimit}
H A Dntp.conf.def1534 .Op Cm ippeerlimit Ar int
1562 .Cm ippeerlimit
/freebsd/contrib/ntp/include/
H A Dntp_config.h119 short ippeerlimit;
324 short ippeerlimit,
117 short ippeerlimit; global() member
H A Dntp.h862 short ippeerlimit; /* limit of associations matching */ member
877 short ippeerlimit; /* IP peer limit */
846 short ippeerlimit; /* IP peer limit */ global() member
H A Dntp_request.h672 short ippeerlimit; /* ip peer limit */ member
/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std275 offsetof(ippeerlimit) = 8
/freebsd/contrib/ntp/
H A DNEWS654 ephemeral peering. Another is the new 'ippeerlimit' directive,
664 Use the 'ippeerlimit' directive to limit the number of peers
749 Use the 'ippeerlimit' directive to limit the number of peer
841 restrictions() must return restrict flags and ippeerlimit. HStenn.
861 - restrict ... ippeerlimit N
866 The 'ippeerlimit' directive limits the number of time associations
4420 ephemeral peering. Another is the new 'ippeerlimit' directive,
4430 Use the 'ippeerlimit' directive to limit the number of peers
4515 Use the 'ippeerlimit' directive to limit the number of peer
4607 restrictions() must return restrict flags and ippeerlimit
[all...]
H A DCommitLog2414 Remove "ippeerlimit -1" entries as that is the default and saveconfig now omits it.
2477 Correct out of bounds ippeerlimit line/col reporting.
15356 Initialize ippeerlimit in restrict_def[46]. HStenn
15359 Initialize ippeerlimit in restrict_def[46]. HStenn
15492 Properly set ippeerlimit in hack_restrict()
15495 Properly set ippeerlimit in hack_restrict()
15498 Show ippeerlimit for the address of the incoming packet
15501 Show ippeerlimit for the address of the incoming packet
15549 Pass ippeerlimit to all newpeer() calls.
15552 Pass ippeerlimit t
[all...]
H A DChangeLog481 Implement ippeerlimit. HStenn, JPerlinger.
569 * restrictions() must return restrict flags and ippeerlimit. HStenn.