[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [woody] curseur mode console et fermeture connexion ppp...



(François TOURDE) writes:

[...]

> Très juste, j'avais oublié. Je ne sais pas si c'est diald ou un autre, mais
> il existe un outil qui permet de ne relancer la connection que sur un type
> de traffic. Ex: Une mise à jour d'un DNS, un accès NTP ne relancent pas le
> link, mais un accès news ou web ou mail le font.

pppd permet aussi de le faire depuis le 2.4.1 je crois:

man pppd

[...]
      active-filter filter-expression
              Specifies  a  packet  filter  to be applied to data
              packets  to  determine  which  packets  are  to  be
              regarded  as link activity, and therefore reset the
              idle timer, or cause the link to be brought  up  in
              demand-dialling  mode.   This  option  is useful in
              conjunction with the idle option if there are pack­
              ets  being sent or received regularly over the link
              (for example, routing  information  packets)  which
              would  otherwise prevent the link from ever appear­
              ing to be idle.  The filter-expression syntax is as
              described  for  tcpdump(1),  except that qualifiers
              which are inappropriate for a  PPP  link,  such  as
              ether  and  arp,  are not permitted.  Generally the
              filter expression should  be  enclosed  in  single-
              quotes to prevent whitespace in the expression from
              being interpreted by the shell.

il faut aussi:(dans la config. du noyo, en standard chez moi)

CONFIG_PPP_FILTER
  Say Y here if you want to be able to filter the packets passing over
  PPP interfaces.  This allows you to control which packets count as
  activity (i.e. which packets will reset the idle timer or bring up
  a demand-dialled link) and which packets are to be dropped entirely.
  You need to say Y here if you wish to use the pass-filter and
  active-filter options to pppd.

Je ne l'utilisais plus depuis que je suis passé en ipppd, mais je
viens de voir que ça existe aussi avec.
Je vais pouvoir filtrer les martiens pour le idle time-out!



Reply to: