{"id":291,"date":"2011-05-17T08:31:50","date_gmt":"2011-05-17T06:31:50","guid":{"rendered":"http:\/\/antynet.pl\/?p=291"},"modified":"2011-05-26T08:44:55","modified_gmt":"2011-05-26T06:44:55","slug":"pppoe-interfejs-ppp-z-ip-na-innym-interfejsie-ppp-ip-up","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2011\/05\/17\/pppoe-interfejs-ppp-z-ip-na-innym-interfejsie-ppp-ip-up\/","title":{"rendered":"PPPoE &#8211; interfejs ppp z IP na innym interfejsie ppp ( ip-up )"},"content":{"rendered":"<p>R\u00f3\u017cne cuda dziej\u0105 si\u0119 gdy klient zerwie po\u0142\u0105czenie zamiast je zamkn\u0105\u0107.<br \/>\nmin. pojawiaj\u0105 si\u0119 interfejsy ppp z adresami IP, kt\u00f3re s\u0105 ponownie nadane do innego interfejsu.<br \/>\nTragedii niema, PPPoE sam po czasie ubije taki interfejs. Ale po co nam taki ba\u0142agan?<br \/>\nPonadto mo\u017cna tu pomy\u015ble\u0107 nad DoS koncentratora, poni\u017cej drobne rozwi\u0105zanie problemu: <\/p>\n<blockquote><p>del_iface=$(ip  address show  | grep $5 | awk '{print $7}&#8217; | grep -v $PPP_IFACE)<br \/>\nfor x in $del_iface<br \/>\ndo<br \/>\nifconfig ${x} down<br \/>\ndone<\/p><\/blockquote>\n<p>Podobny problem:<br \/>\n<a href=\"http:\/\/zibik.jogger.pl\/2008\/03\/12\/one-session-per-host-w-pppoe-pod-linuksem\/\" rel=\"nofollow noopener\" target=\"_blank\"> &#8222;One session per host&#8221; w PPPoE pod Linuksem <\/a><\/p>\n<p>powodzenia<\/p>\n<p><a href=\"http:\/\/www.serwis.w.zabrzu.pl\/?page_id=181\" rel=\"nofollow noopener\" target=\"_blank\">Tani i wydajny koncentrator PPPoE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u00f3\u017cne cuda dziej\u0105 si\u0119 gdy klient zerwie po\u0142\u0105czenie zamiast je zamkn\u0105\u0107. min. pojawiaj\u0105 si\u0119 interfejsy ppp z adresami IP, kt\u00f3re s\u0105 ponownie nadane do innego interfejsu. Tragedii niema, PPPoE sam po czasie ubije taki interfejs. Ale po co nam taki ba\u0142agan? Ponadto mo\u017cna tu pomy\u015ble\u0107 nad DoS koncentratora, poni\u017cej drobne rozwi\u0105zanie problemu: del_iface=$(ip address show [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-bez-kategorii"],"_links":{"self":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":4,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/291\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}