summaryrefslogtreecommitdiff
path: root/.doctrees/examples/pppd_compat_examples.doctree
blob: bd304cede7f038826f124e383fbe584e289bf96e (plain)
ofshex dumpascii
0000 80 05 95 48 40 00 00 00 00 00 00 8c 0e 64 6f 63 75 74 69 6c 73 2e 6e 6f 64 65 73 94 8c 08 64 6f ...H@........docutils.nodes...do
0020 63 75 6d 65 6e 74 94 93 94 29 81 94 7d 94 28 8c 09 72 61 77 73 6f 75 72 63 65 94 8c 00 94 8c 08 cument...)..}.(..rawsource......
0040 63 68 69 6c 64 72 65 6e 94 5d 94 28 68 00 8c 06 74 61 72 67 65 74 94 93 94 29 81 94 7d 94 28 68 children.].(h...target...)..}.(h
0060 05 8c 19 2e 2e 20 5f 70 70 70 64 5f 63 6f 6d 70 61 74 5f 65 78 61 6d 70 6c 65 73 3a 94 68 07 5d ......_pppd_compat_examples:.h.]
0080 94 8c 0a 61 74 74 72 69 62 75 74 65 73 94 7d 94 28 8c 03 69 64 73 94 5d 94 8c 07 63 6c 61 73 73 ...attributes.}.(..ids.]...class
00a0 65 73 94 5d 94 8c 05 6e 61 6d 65 73 94 5d 94 8c 08 64 75 70 6e 61 6d 65 73 94 5d 94 8c 05 72 65 es.]...names.]...dupnames.]...re
00c0 66 69 64 94 8c 14 70 70 70 64 2d 63 6f 6d 70 61 74 2d 65 78 61 6d 70 6c 65 73 94 75 8c 07 74 61 fid...pppd-compat-examples.u..ta
00e0 67 6e 61 6d 65 94 68 09 8c 04 6c 69 6e 65 94 4b 01 8c 06 70 61 72 65 6e 74 94 68 03 8c 09 5f 64 gname.h...line.K...parent.h..._d
0100 6f 63 75 6d 65 6e 74 94 68 03 8c 06 73 6f 75 72 63 65 94 8c 5f 2f 68 6f 6d 65 2f 72 75 6e 6e 65 ocument.h...source.._/home/runne
0120 72 2f 77 6f 72 6b 2f 61 63 63 65 6c 2d 70 70 70 2e 67 69 74 68 75 62 2e 69 6f 2f 61 63 63 65 6c r/work/accel-ppp.github.io/accel
0140 2d 70 70 70 2e 67 69 74 68 75 62 2e 69 6f 2f 64 6f 63 2f 65 78 61 6d 70 6c 65 73 2f 70 70 70 64 -ppp.github.io/doc/examples/pppd
0160 5f 63 6f 6d 70 61 74 5f 65 78 61 6d 70 6c 65 73 2e 72 73 74 94 75 62 68 00 8c 07 73 65 63 74 69 _compat_examples.rst.ubh...secti
0180 6f 6e 94 93 94 29 81 94 7d 94 28 68 05 68 06 68 07 5d 94 28 68 00 8c 05 74 69 74 6c 65 94 93 94 on...)..}.(h.h.h.].(h...title...
01a0 29 81 94 7d 94 28 68 05 8c 14 70 70 70 64 2d 63 6f 6d 70 61 74 20 65 78 61 6d 70 6c 65 73 94 68 )..}.(h...pppd-compat.examples.h
01c0 07 5d 94 68 00 8c 04 54 65 78 74 94 93 94 8c 14 70 70 70 64 2d 63 6f 6d 70 61 74 20 65 78 61 6d .].h...Text.....pppd-compat.exam
01e0 70 6c 65 73 94 85 94 81 94 7d 94 28 68 1d 68 28 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d ples.....}.(h.h(h.h.h.Nh.Nubah.}
0200 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 26 68 1d 68 23 68 1e 68 03 68 .(h.].h.].h.].h.].uh.h&h.h#h.h.h
0220 1f 68 20 68 1c 4b 04 75 62 68 00 8c 09 70 61 72 61 67 72 61 70 68 94 93 94 29 81 94 7d 94 28 68 .h.h.K.ubh...paragraph...)..}.(h
0240 05 8c 85 41 63 63 65 6c 2d 70 70 70 20 6d 6f 64 75 6c 65 20 60 60 5b 70 70 70 64 2d 63 6f 6d 70 ...Accel-ppp.module.``[pppd-comp
0260 61 74 5d 60 60 20 69 73 20 75 73 65 66 75 6c 20 74 6f 20 65 78 65 63 75 74 65 20 73 63 72 69 70 at]``.is.useful.to.execute.scrip
0280 74 73 20 77 68 65 6e 20 2a 2a 69 70 2d 75 70 7c 69 70 2d 64 6f 77 6e 7c 69 70 2d 63 68 61 6e 67 ts.when.**ip-up|ip-down|ip-chang
02a0 65 2a 2a 20 65 76 65 6e 74 20 66 6f 72 20 63 75 73 74 6f 6d 65 72 27 73 20 73 65 73 73 69 6f 6e e**.event.for.customer's.session
02c0 20 6f 63 63 75 72 73 2e 94 68 07 5d 94 28 68 2d 8c 11 41 63 63 65 6c 2d 70 70 70 20 6d 6f 64 75 .occurs..h.].(h-..Accel-ppp.modu
02e0 6c 65 20 94 85 94 81 94 7d 94 28 68 1d 68 39 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 68 00 8c 07 6c le......}.(h.h9h.h.h.Nh.Nubh...l
0300 69 74 65 72 61 6c 94 93 94 29 81 94 7d 94 28 68 05 8c 11 60 60 5b 70 70 70 64 2d 63 6f 6d 70 61 iteral...)..}.(h...``[pppd-compa
0320 74 5d 60 60 94 68 07 5d 94 68 2d 8c 0d 5b 70 70 70 64 2d 63 6f 6d 70 61 74 5d 94 85 94 81 94 7d t]``.h.].h-..[pppd-compat].....}
0340 94 28 68 1d 68 43 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 .(h.hCh.h.h.Nh.Nubah.}.(h.].h.].
0360 68 15 5d 94 68 17 5d 94 75 68 1b 68 41 68 1d 68 39 75 62 68 2d 8c 23 20 69 73 20 75 73 65 66 75 h.].h.].uh.hAh.h9ubh-.#.is.usefu
0380 6c 20 74 6f 20 65 78 65 63 75 74 65 20 73 63 72 69 70 74 73 20 77 68 65 6e 20 94 85 94 81 94 7d l.to.execute.scripts.when......}
03a0 94 28 68 1d 68 39 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 68 00 8c 06 73 74 72 6f 6e 67 94 93 94 29 .(h.h9h.h.h.Nh.Nubh...strong...)
03c0 81 94 7d 94 28 68 05 8c 1b 2a 2a 69 70 2d 75 70 7c 69 70 2d 64 6f 77 6e 7c 69 70 2d 63 68 61 6e ..}.(h...**ip-up|ip-down|ip-chan
03e0 67 65 2a 2a 94 68 07 5d 94 68 2d 8c 17 69 70 2d 75 70 7c 69 70 2d 64 6f 77 6e 7c 69 70 2d 63 68 ge**.h.].h-..ip-up|ip-down|ip-ch
0400 61 6e 67 65 94 85 94 81 94 7d 94 28 68 1d 68 56 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d ange.....}.(h.hVh.h.h.Nh.Nubah.}
0420 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 54 68 1d 68 39 75 62 68 2d 8c .(h.].h.].h.].h.].uh.hTh.h9ubh-.
0440 27 20 65 76 65 6e 74 20 66 6f 72 20 63 75 73 74 6f 6d 65 72 e2 80 99 73 20 73 65 73 73 69 6f 6e '.event.for.customer...s.session
0460 20 6f 63 63 75 72 73 2e 94 85 94 81 94 7d 94 28 68 1d 68 39 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 .occurs......}.(h.h9h.h.h.Nh.Nub
0480 65 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 68 eh.}.(h.].h.].h.].h.].uh.h7h.h.h
04a0 1c 4b 06 68 1d 68 23 68 1e 68 03 75 62 68 38 29 81 94 7d 94 28 68 05 58 00 01 00 00 45 78 61 6d .K.h.h#h.h.ubh8)..}.(h.X....Exam
04c0 70 6c 65 73 20 62 65 6c 6f 77 20 73 68 6f 77 20 68 6f 77 20 74 6f 20 70 75 74 20 63 75 73 6f 6d ples.below.show.how.to.put.cusom
04e0 65 72 27 73 20 49 50 76 34 20 26 20 49 50 76 36 20 74 6f 20 73 70 65 63 69 66 69 63 20 69 70 73 er's.IPv4.&.IPv6.to.specific.ips
0500 65 74 73 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 72 ets,.depending.on.the.value.of.r
0520 65 63 65 69 76 65 64 20 52 41 44 49 55 53 2d 61 74 74 72 69 62 75 74 65 20 6e 61 6d 65 64 20 60 eceived.RADIUS-attribute.named.`
0540 60 46 69 6c 74 65 72 2d 49 64 60 60 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 74 20 63 61 `Filter-Id``..For.example,.it.ca
0560 6e 20 62 65 20 75 73 65 66 75 6c 20 69 66 20 6f 6e 65 20 6e 65 65 64 73 20 74 6f 20 67 72 61 6e n.be.useful.if.one.needs.to.gran
0580 74 20 61 63 63 65 73 73 20 66 72 6f 6d 20 2a 2a 63 75 73 74 6f 6d 65 72 20 69 70 73 65 74 2a 2a t.access.from.**customer.ipset**
05a0 20 6f 6e 6c 79 20 74 6f 20 2a 2a 73 70 65 63 69 66 69 63 20 69 70 73 65 74 2a 2a 2e 94 68 07 5d .only.to.**specific.ipset**..h.]
05c0 94 28 68 2d 8c 85 45 78 61 6d 70 6c 65 73 20 62 65 6c 6f 77 20 73 68 6f 77 20 68 6f 77 20 74 6f .(h-..Examples.below.show.how.to
05e0 20 70 75 74 20 63 75 73 6f 6d 65 72 e2 80 99 73 20 49 50 76 34 20 26 20 49 50 76 36 20 74 6f 20 .put.cusomer...s.IPv4.&.IPv6.to.
0600 73 70 65 63 69 66 69 63 20 69 70 73 65 74 73 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 74 68 specific.ipsets,.depending.on.th
0620 65 20 76 61 6c 75 65 20 6f 66 20 72 65 63 65 69 76 65 64 20 52 41 44 49 55 53 2d 61 74 74 72 69 e.value.of.received.RADIUS-attri
0640 62 75 74 65 20 6e 61 6d 65 64 20 94 85 94 81 94 7d 94 28 68 1d 68 6c 68 1e 68 03 68 1f 4e 68 1c bute.named......}.(h.hlh.h.h.Nh.
0660 4e 75 62 68 42 29 81 94 7d 94 28 68 05 8c 0d 60 60 46 69 6c 74 65 72 2d 49 64 60 60 94 68 07 5d NubhB)..}.(h...``Filter-Id``.h.]
0680 94 68 2d 8c 09 46 69 6c 74 65 72 2d 49 64 94 85 94 81 94 7d 94 28 68 1d 68 74 68 1e 68 03 68 1f .h-..Filter-Id.....}.(h.hth.h.h.
06a0 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 Nh.Nubah.}.(h.].h.].h.].h.].uh.h
06c0 41 68 1d 68 6c 75 62 68 2d 8c 42 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 74 20 63 61 6e Ah.hlubh-.B..For.example,.it.can
06e0 20 62 65 20 75 73 65 66 75 6c 20 69 66 20 6f 6e 65 20 6e 65 65 64 73 20 74 6f 20 67 72 61 6e 74 .be.useful.if.one.needs.to.grant
0700 20 61 63 63 65 73 73 20 66 72 6f 6d 20 94 85 94 81 94 7d 94 28 68 1d 68 6c 68 1e 68 03 68 1f 4e .access.from......}.(h.hlh.h.h.N
0720 68 1c 4e 75 62 68 55 29 81 94 7d 94 28 68 05 8c 12 2a 2a 63 75 73 74 6f 6d 65 72 20 69 70 73 65 h.NubhU)..}.(h...**customer.ipse
0740 74 2a 2a 94 68 07 5d 94 68 2d 8c 0e 63 75 73 74 6f 6d 65 72 20 69 70 73 65 74 94 85 94 81 94 7d t**.h.].h-..customer.ipset.....}
0760 94 28 68 1d 68 85 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 .(h.h.h.h.h.Nh.Nubah.}.(h.].h.].
0780 68 15 5d 94 68 17 5d 94 75 68 1b 68 54 68 1d 68 6c 75 62 68 2d 8c 09 20 6f 6e 6c 79 20 74 6f 20 h.].h.].uh.hTh.hlubh-...only.to.
07a0 94 85 94 81 94 7d 94 28 68 1d 68 6c 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 68 55 29 81 94 7d 94 28 .....}.(h.hlh.h.h.Nh.NubhU)..}.(
07c0 68 05 8c 12 2a 2a 73 70 65 63 69 66 69 63 20 69 70 73 65 74 2a 2a 94 68 07 5d 94 68 2d 8c 0e 73 h...**specific.ipset**.h.].h-..s
07e0 70 65 63 69 66 69 63 20 69 70 73 65 74 94 85 94 81 94 7d 94 28 68 1d 68 96 68 1e 68 03 68 1f 4e pecific.ipset.....}.(h.h.h.h.h.N
0800 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 54 h.Nubah.}.(h.].h.].h.].h.].uh.hT
0820 68 1d 68 6c 75 62 68 2d 8c 01 2e 94 85 94 81 94 7d 94 28 68 1d 68 6c 68 1e 68 03 68 1f 4e 68 1c h.hlubh-........}.(h.hlh.h.h.Nh.
0840 4e 75 62 65 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f Nubeh.}.(h.].h.].h.].h.].uh.h7h.
0860 68 20 68 1c 4b 08 68 1d 68 23 68 1e 68 03 75 62 68 38 29 81 94 7d 94 28 68 05 8c 20 45 78 61 6d h.h.K.h.h#h.h.ubh8)..}.(h...Exam
0880 70 6c 65 20 41 63 63 65 6c 2d 70 70 70 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3a 94 68 07 5d ple.Accel-ppp.configuration:.h.]
08a0 94 68 2d 8c 20 45 78 61 6d 70 6c 65 20 41 63 63 65 6c 2d 70 70 70 20 63 6f 6e 66 69 67 75 72 61 .h-..Example.Accel-ppp.configura
08c0 74 69 6f 6e 3a 94 85 94 81 94 7d 94 28 68 1d 68 ac 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f tion:.....}.(h.h.h.h.h.Nh.Nubah.
08e0 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 68 1c 4b 0a }.(h.].h.].h.].h.].uh.h7h.h.h.K.
0900 68 1d 68 23 68 1e 68 03 75 62 68 00 8c 0d 6c 69 74 65 72 61 6c 5f 62 6c 6f 63 6b 94 93 94 29 81 h.h#h.h.ubh...literal_block...).
0920 94 7d 94 28 68 05 8c a2 5b 6d 6f 64 75 6c 65 73 5d 0a 70 70 70 64 5f 63 6f 6d 70 61 74 0a 0a 5b .}.(h...[modules].pppd_compat..[
0940 70 70 70 64 2d 63 6f 6d 70 61 74 5d 0a 69 70 2d 75 70 3d 2f 65 74 63 2f 61 63 63 65 6c 2d 70 70 pppd-compat].ip-up=/etc/accel-pp
0960 70 5f 69 70 2d 75 70 2e 73 68 0a 69 70 2d 64 6f 77 6e 3d 2f 65 74 63 2f 61 63 63 65 6c 2d 70 70 p_ip-up.sh.ip-down=/etc/accel-pp
0980 70 5f 69 70 2d 64 6f 77 6e 2e 73 68 0a 69 70 2d 63 68 61 6e 67 65 3d 2f 65 74 63 2f 61 63 63 65 p_ip-down.sh.ip-change=/etc/acce
09a0 6c 2d 70 70 70 5f 69 70 2d 75 70 2e 73 68 0a 72 61 64 61 74 74 72 2d 70 72 65 66 69 78 3d 2f 72 l-ppp_ip-up.sh.radattr-prefix=/r
09c0 75 6e 2f 72 61 64 61 74 74 72 94 68 07 5d 94 68 2d 8c a2 5b 6d 6f 64 75 6c 65 73 5d 0a 70 70 70 un/radattr.h.].h-..[modules].ppp
09e0 64 5f 63 6f 6d 70 61 74 0a 0a 5b 70 70 70 64 2d 63 6f 6d 70 61 74 5d 0a 69 70 2d 75 70 3d 2f 65 d_compat..[pppd-compat].ip-up=/e
0a00 74 63 2f 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 75 70 2e 73 68 0a 69 70 2d 64 6f 77 6e 3d 2f 65 tc/accel-ppp_ip-up.sh.ip-down=/e
0a20 74 63 2f 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 64 6f 77 6e 2e 73 68 0a 69 70 2d 63 68 61 6e 67 tc/accel-ppp_ip-down.sh.ip-chang
0a40 65 3d 2f 65 74 63 2f 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 75 70 2e 73 68 0a 72 61 64 61 74 74 e=/etc/accel-ppp_ip-up.sh.radatt
0a60 72 2d 70 72 65 66 69 78 3d 2f 72 75 6e 2f 72 61 64 61 74 74 72 94 85 94 81 94 7d 94 68 1d 68 bb r-prefix=/run/radattr.....}.h.h.
0a80 73 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 8c 09 78 6d 6c 3a 73 70 sbah.}.(h.].h.].h.].h.]...xml:sp
0aa0 61 63 65 94 8c 08 70 72 65 73 65 72 76 65 94 8c 05 66 6f 72 63 65 94 89 8c 08 6c 61 6e 67 75 61 ace...preserve...force....langua
0ac0 67 65 94 8c 02 73 68 94 8c 0e 68 69 67 68 6c 69 67 68 74 5f 61 72 67 73 94 7d 94 75 68 1b 68 b9 ge...sh...highlight_args.}.uh.h.
0ae0 68 1f 68 20 68 1c 4b 0c 68 1d 68 23 68 1e 68 03 75 62 68 00 8c 0a 61 64 6d 6f 6e 69 74 69 6f 6e h.h.h.K.h.h#h.h.ubh...admonition
0b00 94 93 94 29 81 94 7d 94 28 68 05 8c 32 2a 2a 69 70 73 65 74 73 2a 2a 20 6d 75 73 74 20 65 78 69 ...)..}.(h..2**ipsets**.must.exi
0b20 73 74 20 62 65 66 6f 72 65 20 73 63 72 69 70 74 73 20 61 72 65 20 65 78 65 63 75 74 65 64 2e 94 st.before.scripts.are.executed..
0b40 68 07 5d 94 28 68 27 29 81 94 7d 94 28 68 05 8c 05 4e 6f 74 65 3a 94 68 07 5d 94 68 2d 8c 05 4e h.].(h')..}.(h...Note:.h.].h-..N
0b60 6f 74 65 3a 94 85 94 81 94 7d 94 28 68 1d 68 d5 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d ote:.....}.(h.h.h.h.h.Nh.Nubah.}
0b80 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 26 68 1f 68 20 68 1c 4b 17 68 .(h.].h.].h.].h.].uh.h&h.h.h.K.h
0ba0 1d 68 d1 75 62 68 38 29 81 94 7d 94 28 68 05 68 d3 68 07 5d 94 28 68 55 29 81 94 7d 94 28 68 05 .h.ubh8)..}.(h.h.h.].(hU)..}.(h.
0bc0 8c 0a 2a 2a 69 70 73 65 74 73 2a 2a 94 68 07 5d 94 68 2d 8c 06 69 70 73 65 74 73 94 85 94 81 94 ..**ipsets**.h.].h-..ipsets.....
0be0 7d 94 28 68 1d 68 e5 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d }.(h.h.h.h.h.Nh.Nubah.}.(h.].h.]
0c00 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 54 68 1d 68 e2 75 62 68 2d 8c 28 20 6d 75 73 74 20 65 78 .h.].h.].uh.hTh.h.ubh-.(.must.ex
0c20 69 73 74 20 62 65 66 6f 72 65 20 73 63 72 69 70 74 73 20 61 72 65 20 65 78 65 63 75 74 65 64 2e ist.before.scripts.are.executed.
0c40 94 85 94 81 94 7d 94 28 68 1d 68 e2 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 65 68 0f 7d 94 28 68 11 .....}.(h.h.h.h.h.Nh.Nubeh.}.(h.
0c60 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 68 1c 4b 19 68 1d 68 d1 75 ].h.].h.].h.].uh.h7h.h.h.K.h.h.u
0c80 62 65 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 8c 0f 61 64 6d 6f 6e 69 74 69 6f 6e 2d 6e 6f 74 65 beh.}.(h.].h.]...admonition-note
0ca0 94 61 68 15 5d 94 68 17 5d 94 75 68 1b 68 cf 68 1f 68 20 68 1c 4b 17 68 1d 68 23 68 1e 68 03 75 .ah.].h.].uh.h.h.h.h.K.h.h#h.h.u
0cc0 62 68 38 29 81 94 7d 94 28 68 05 8c 18 45 78 61 6d 70 6c 65 20 69 70 73 65 74 73 20 63 72 65 61 bh8)..}.(h...Example.ipsets.crea
0ce0 74 69 6f 6e 3a 94 68 07 5d 94 68 2d 8c 18 45 78 61 6d 70 6c 65 20 69 70 73 65 74 73 20 63 72 65 tion:.h.].h-..Example.ipsets.cre
0d00 61 74 69 6f 6e 3a 94 85 94 81 94 7d 94 28 68 1d 6a 01 01 00 00 68 1e 68 03 68 1f 4e 68 1c 4e 75 ation:.....}.(h.j....h.h.h.Nh.Nu
0d20 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 bah.}.(h.].h.].h.].h.].uh.h7h.h.
0d40 68 1c 4b 1b 68 1d 68 23 68 1e 68 03 75 62 68 ba 29 81 94 7d 94 28 68 05 58 74 01 00 00 23 21 2f h.K.h.h#h.h.ubh.)..}.(h.Xt...#!/
0d60 62 69 6e 2f 73 68 0a 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 73 6f 63 5f 72 65 73 5f 76 34 20 bin/sh..ipset.create.soc_res_v4.
0d80 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 hash:net.family.inet.ipset.creat
0da0 65 20 73 6f 63 5f 72 65 73 5f 76 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 e.soc_res_v6.hash:net.family.ine
0dc0 74 36 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 72 65 73 5f 76 34 20 68 61 73 68 3a t6.ipset.create.blk_res_v4.hash:
0de0 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b net.family.inet.ipset.create.blk
0e00 5f 72 65 73 5f 76 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 0a 69 70 _res_v6.hash:net.family.inet6.ip
0e20 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 75 73 72 5f 76 34 20 68 61 73 68 3a 69 70 20 66 61 set.create.blk_usr_v4.hash:ip.fa
0e40 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 73 6f 63 5f 75 73 72 5f 76 mily.inet.ipset.create.soc_usr_v
0e60 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 0a 69 70 73 65 74 20 63 72 6.hash:net.family.inet6.ipset.cr
0e80 65 61 74 65 20 73 6f 63 5f 75 73 72 5f 76 34 20 68 61 73 68 3a 69 70 20 66 61 6d 69 6c 79 20 69 eate.soc_usr_v4.hash:ip.family.i
0ea0 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 75 73 72 5f 76 36 20 68 61 73 68 net.ipset.create.blk_usr_v6.hash
0ec0 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 94 68 07 5d 94 68 2d 58 74 01 00 00 23 21 2f :net.family.inet6.h.].h-Xt...#!/
0ee0 62 69 6e 2f 73 68 0a 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 73 6f 63 5f 72 65 73 5f 76 34 20 bin/sh..ipset.create.soc_res_v4.
0f00 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 hash:net.family.inet.ipset.creat
0f20 65 20 73 6f 63 5f 72 65 73 5f 76 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 e.soc_res_v6.hash:net.family.ine
0f40 74 36 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 72 65 73 5f 76 34 20 68 61 73 68 3a t6.ipset.create.blk_res_v4.hash:
0f60 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b net.family.inet.ipset.create.blk
0f80 5f 72 65 73 5f 76 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 0a 69 70 _res_v6.hash:net.family.inet6.ip
0fa0 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 75 73 72 5f 76 34 20 68 61 73 68 3a 69 70 20 66 61 set.create.blk_usr_v4.hash:ip.fa
0fc0 6d 69 6c 79 20 69 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 73 6f 63 5f 75 73 72 5f 76 mily.inet.ipset.create.soc_usr_v
0fe0 36 20 68 61 73 68 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 0a 69 70 73 65 74 20 63 72 6.hash:net.family.inet6.ipset.cr
1000 65 61 74 65 20 73 6f 63 5f 75 73 72 5f 76 34 20 68 61 73 68 3a 69 70 20 66 61 6d 69 6c 79 20 69 eate.soc_usr_v4.hash:ip.family.i
1020 6e 65 74 0a 69 70 73 65 74 20 63 72 65 61 74 65 20 62 6c 6b 5f 75 73 72 5f 76 36 20 68 61 73 68 net.ipset.create.blk_usr_v6.hash
1040 3a 6e 65 74 20 66 61 6d 69 6c 79 20 69 6e 65 74 36 94 85 94 81 94 7d 94 68 1d 6a 0e 01 00 00 73 :net.family.inet6.....}.h.j....s
1060 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 68 c8 68 c9 68 ca 89 68 cb bah.}.(h.].h.].h.].h.].h.h.h..h.
1080 8c 02 73 68 94 68 cd 7d 94 75 68 1b 68 b9 68 1f 68 20 68 1c 4b 1d 68 1d 68 23 68 1e 68 03 75 62 ..sh.h.}.uh.h.h.h.h.K.h.h#h.h.ub
10a0 68 38 29 81 94 7d 94 28 68 05 8c 27 45 78 61 6d 70 6c 65 20 2f 65 74 63 2f 61 63 63 65 6c 2d 70 h8)..}.(h..'Example./etc/accel-p
10c0 70 70 5f 69 70 2d 75 70 2e 73 68 20 73 63 72 69 70 74 3a 94 68 07 5d 94 68 2d 8c 27 45 78 61 6d pp_ip-up.sh.script:.h.].h-.'Exam
10e0 70 6c 65 20 2f 65 74 63 2f 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 75 70 2e 73 68 20 73 63 72 69 ple./etc/accel-ppp_ip-up.sh.scri
1100 70 74 3a 94 85 94 81 94 7d 94 28 68 1d 6a 1d 01 00 00 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 pt:.....}.(h.j....h.h.h.Nh.Nubah
1120 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 68 1c 4b .}.(h.].h.].h.].h.].uh.h7h.h.h.K
1140 2a 68 1d 68 23 68 1e 68 03 75 62 68 ba 29 81 94 7d 94 28 68 05 58 f9 09 00 00 23 21 2f 62 69 6e *h.h#h.h.ubh.)..}.(h.X....#!/bin
1160 2f 73 68 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 41 63 74 69 76 65 22 2e 0a 41 43 54 49 56 45 5f 46 /sh..#.Option."Active"..ACTIVE_F
1180 49 4c 54 45 52 5f 49 44 3d 31 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 50 61 79 73 79 73 74 65 6d 73 ILTER_ID=1..#.Option."Paysystems
11a0 22 2e 0a 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 3d 27 62 6c 6b 5f 75 73 72 5f 76 34 27 0a 42 4c 4f "..BLOCK_SET_V4='blk_usr_v4'.BLO
11c0 43 4b 5f 53 45 54 5f 56 36 3d 27 62 6c 6b 5f 75 73 72 5f 76 36 27 0a 42 4c 4f 43 4b 5f 46 49 4c CK_SET_V6='blk_usr_v6'.BLOCK_FIL
11e0 54 45 52 5f 49 44 3d 32 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 53 6f 63 69 61 6c 22 2e 0a 53 4f 43 TER_ID=2..#.Option."Social"..SOC
1200 49 41 4c 5f 53 45 54 5f 56 34 3d 27 73 6f 63 5f 75 73 72 5f 76 34 27 0a 53 4f 43 49 41 4c 5f 53 IAL_SET_V4='soc_usr_v4'.SOCIAL_S
1220 45 54 5f 56 36 3d 27 73 6f 63 5f 75 73 72 5f 76 36 27 0a 53 4f 43 49 41 4c 5f 46 49 4c 54 45 52 ET_V6='soc_usr_v6'.SOCIAL_FILTER
1240 5f 49 44 3d 33 0a 0a 23 20 61 72 67 76 5b 35 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 49 50 76 34 2d _ID=3..#.argv[5],.contains.IPv4-
1260 61 64 64 72 65 73 73 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 78 address,.#.(https://github.com/x
1280 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 65 6c 2d ebd/accel-ppp/blob/master/accel-
12a0 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a 49 50 56 34 3d pppd/extra/pppd_compat.c)..IPV4=
12c0 24 35 0a 0a 23 20 61 72 67 76 5b 31 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 69 6e 74 65 72 66 61 63 $5..#.argv[1],.contains.interfac
12e0 65 20 6e 61 6d 65 2e 0a 52 41 44 41 54 54 52 3d 27 2f 72 75 6e 2f 72 61 64 61 74 74 72 2e 27 24 e.name..RADATTR='/run/radattr.'$
1300 31 0a 0a 23 20 41 64 64 7c 64 65 6c 65 74 65 20 63 6c 69 65 6e 74 27 73 20 49 50 76 34 7c 49 50 1..#.Add|delete.client's.IPv4|IP
1320 76 36 20 61 64 64 72 65 73 73 65 73 20 74 6f 20 61 20 73 70 65 63 69 66 69 63 20 69 70 73 65 74 v6.addresses.to.a.specific.ipset
1340 2e 0a 23 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 61 6e 64 20 24 49 50 56 36 5f 44 45 4c 45 47 ..#.$IPV6_PREFIX.and.$IPV6_DELEG
1360 41 54 45 44 5f 50 52 45 46 49 58 20 61 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 ATED_PREFIX.are.environment.vari
1380 61 62 6c 65 73 20 6f 66 20 41 63 63 65 6c 2d 70 70 70 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 ables.of.Accel-ppp,.#.(https://g
13a0 69 74 68 75 62 2e 63 6f 6d 2f 78 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 ithub.com/xebd/accel-ppp/blob/ma
13c0 73 74 65 72 2f 61 63 63 65 6c 2d 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 ster/accel-pppd/extra/pppd_compa
13e0 74 2e 63 29 2e 0a 69 66 20 5b 20 2d 66 20 24 52 41 44 41 54 54 52 20 5d 3b 20 74 68 65 6e 0a 20 t.c)..if.[.-f.$RADATTR.];.then..
1400 20 23 20 47 65 74 20 76 61 6c 75 65 20 6f 66 20 22 46 69 6c 74 65 72 2d 49 64 22 20 52 41 44 49 .#.Get.value.of."Filter-Id".RADI
1420 55 53 2d 61 74 74 72 69 62 75 74 65 2e 0a 20 20 46 49 4c 54 45 52 5f 49 44 3d 24 28 61 77 6b 20 US-attribute....FILTER_ID=$(awk.
1440 27 2f 46 69 6c 74 65 72 2d 49 64 2f 20 7b 70 72 69 6e 74 20 24 32 7d 27 20 24 52 41 44 41 54 54 '/Filter-Id/.{print.$2}'.$RADATT
1460 52 29 0a 20 20 69 66 20 5b 20 24 46 49 4c 54 45 52 5f 49 44 20 3d 20 24 41 43 54 49 56 45 5f 46 R)...if.[.$FILTER_ID.=.$ACTIVE_F
1480 49 4c 54 45 52 5f 49 44 20 5d 3b 20 74 68 65 6e 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 ILTER_ID.];.then.....ipset.del.$
14a0 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 BLOCK_SET_V4..$IPV4.-exist.-quie
14c0 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f t.&>./dev/null.....ipset.del.$SO
14e0 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 CIAL_SET_V4.$IPV4.-exist.-quiet.
1500 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 &>./dev/null.....ipset.del.$BLOC
1520 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 K_SET_V6..$IPV6_PREFIX.-exist.-q
1540 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 uiet.&>./dev/null.....ipset.del.
1560 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 $SOCIAL_SET_V6.$IPV6_PREFIX.-exi
1580 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 st.-quiet.&>./dev/null.....ipset
15a0 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 44 45 4c 45 47 41 .del.$BLOCK_SET_V6..$IPV6_DELEGA
15c0 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 TED_PREFIX.-exist.-quiet.&>./dev
15e0 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f /null.....ipset.del.$SOCIAL_SET_
1600 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 V6.$IPV6_DELEGATED_PREFIX.-exist
1620 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 6c 6f 67 67 65 72 20 .-quiet.&>./dev/null.....logger.
1640 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 41 6c 6c 6f 77 65 64 3a 20 49 50 76 34 20 24 49 50 56 -t.ip-change."Allowed:.IPv4.$IPV
1660 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d 44 50 20 24 49 4,.IPv6.$IPV6_PREFIX,.IPv6-DP.$I
1680 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 0a 20 20 65 6c 69 66 20 5b 20 24 PV6_DELEGATED_PREFIX"...elif.[.$
16a0 46 49 4c 54 45 52 5f 49 44 20 3d 20 24 42 4c 4f 43 4b 5f 46 49 4c 54 45 52 5f 49 44 20 5d 3b 20 FILTER_ID.=.$BLOCK_FILTER_ID.];.
16c0 74 68 65 6e 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 then.....ipset.del.$SOCIAL_SET_V
16e0 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 4.$IPV4.-exist.-quiet.&>./dev/nu
1700 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 ll.....ipset.add.$BLOCK_SET_V4..
1720 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c $IPV4.-exist.-quiet.&>./dev/null
1740 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 .....ipset.del.$SOCIAL_SET_V6.$I
1760 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 PV6_PREFIX.-exist.-quiet.&>./dev
1780 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 /null.....ipset.add.$BLOCK_SET_V
17a0 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 6..$IPV6_PREFIX.-exist.-quiet.&>
17c0 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c ./dev/null.....ipset.del.$SOCIAL
17e0 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d _SET_V6.$IPV6_DELEGATED_PREFIX.-
1800 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 exist.-quiet.&>./dev/null.....ip
1820 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 44 45 4c set.add.$BLOCK_SET_V6..$IPV6_DEL
1840 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f EGATED_PREFIX.-exist.-quiet.&>./
1860 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 dev/null.....logger.-t.ip-change
1880 20 22 42 6c 6f 63 6b 65 64 3a 20 49 50 76 34 20 24 49 50 56 34 2c 20 49 50 76 36 20 24 49 50 56 ."Blocked:.IPv4.$IPV4,.IPv6.$IPV
18a0 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d 44 50 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 6_PREFIX,.IPv6-DP.$IPV6_DELEGATE
18c0 44 5f 50 52 45 46 49 58 22 0a 20 20 65 6c 69 66 20 5b 20 24 46 49 4c 54 45 52 5f 49 44 20 3d 20 D_PREFIX"...elif.[.$FILTER_ID.=.
18e0 24 53 4f 43 49 41 4c 5f 46 49 4c 54 45 52 5f 49 44 20 5d 3b 20 74 68 65 6e 0a 20 20 20 20 69 70 $SOCIAL_FILTER_ID.];.then.....ip
1900 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 set.del.$BLOCK_SET_V4..$IPV4.-ex
1920 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 ist.-quiet.&>./dev/null.....ipse
1940 74 20 61 64 64 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 t.add.$SOCIAL_SET_V4.$IPV4.-exis
1960 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 t.-quiet.&>./dev/null.....ipset.
1980 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 del.$BLOCK_SET_V6..$IPV6_PREFIX.
19a0 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 -exist.-quiet.&>./dev/null.....i
19c0 70 73 65 74 20 61 64 64 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 50 52 pset.add.$SOCIAL_SET_V6.$IPV6_PR
19e0 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a EFIX.-exist.-quiet.&>./dev/null.
1a00 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 ....ipset.del.$BLOCK_SET_V6..$IP
1a20 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 V6_DELEGATED_PREFIX.-exist.-quie
1a40 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 53 4f t.&>./dev/null.....ipset.add.$SO
1a60 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 CIAL_SET_V6.$IPV6_DELEGATED_PREF
1a80 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 IX.-exist.-quiet.&>./dev/null...
1aa0 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 53 6f 63 69 61 6c 3a 20 49 ..logger.-t.ip-change."Social:.I
1ac0 50 76 34 20 24 49 50 56 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 Pv4.$IPV4,.IPv6.$IPV6_PREFIX,.IP
1ae0 76 36 2d 44 50 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 0a 20 20 v6-DP.$IPV6_DELEGATED_PREFIX"...
1b00 66 69 0a 65 6c 73 65 0a 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 72 fi.else...logger.-t.ip-change."r
1b20 61 64 61 74 74 72 20 66 69 6c 65 20 6e 6f 74 20 66 6f 75 6e 64 2c 20 24 43 41 4c 4c 45 44 5f 53 adattr.file.not.found,.$CALLED_S
1b40 49 44 20 24 43 41 4c 4c 49 4e 47 5f 53 49 44 22 0a 66 69 94 68 07 5d 94 68 2d 58 f9 09 00 00 23 ID.$CALLING_SID".fi.h.].h-X....#
1b60 21 2f 62 69 6e 2f 73 68 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 41 63 74 69 76 65 22 2e 0a 41 43 54 !/bin/sh..#.Option."Active"..ACT
1b80 49 56 45 5f 46 49 4c 54 45 52 5f 49 44 3d 31 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 50 61 79 73 79 IVE_FILTER_ID=1..#.Option."Paysy
1ba0 73 74 65 6d 73 22 2e 0a 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 3d 27 62 6c 6b 5f 75 73 72 5f 76 34 stems"..BLOCK_SET_V4='blk_usr_v4
1bc0 27 0a 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 3d 27 62 6c 6b 5f 75 73 72 5f 76 36 27 0a 42 4c 4f 43 '.BLOCK_SET_V6='blk_usr_v6'.BLOC
1be0 4b 5f 46 49 4c 54 45 52 5f 49 44 3d 32 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 53 6f 63 69 61 6c 22 K_FILTER_ID=2..#.Option."Social"
1c00 2e 0a 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 3d 27 73 6f 63 5f 75 73 72 5f 76 34 27 0a 53 4f 43 ..SOCIAL_SET_V4='soc_usr_v4'.SOC
1c20 49 41 4c 5f 53 45 54 5f 56 36 3d 27 73 6f 63 5f 75 73 72 5f 76 36 27 0a 53 4f 43 49 41 4c 5f 46 IAL_SET_V6='soc_usr_v6'.SOCIAL_F
1c40 49 4c 54 45 52 5f 49 44 3d 33 0a 0a 23 20 61 72 67 76 5b 35 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 ILTER_ID=3..#.argv[5],.contains.
1c60 49 50 76 34 2d 61 64 64 72 65 73 73 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e IPv4-address,.#.(https://github.
1c80 63 6f 6d 2f 78 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 com/xebd/accel-ppp/blob/master/a
1ca0 63 63 65 6c 2d 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a ccel-pppd/extra/pppd_compat.c)..
1cc0 49 50 56 34 3d 24 35 0a 0a 23 20 61 72 67 76 5b 31 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 69 6e 74 IPV4=$5..#.argv[1],.contains.int
1ce0 65 72 66 61 63 65 20 6e 61 6d 65 2e 0a 52 41 44 41 54 54 52 3d 27 2f 72 75 6e 2f 72 61 64 61 74 erface.name..RADATTR='/run/radat
1d00 74 72 2e 27 24 31 0a 0a 23 20 41 64 64 7c 64 65 6c 65 74 65 20 63 6c 69 65 6e 74 27 73 20 49 50 tr.'$1..#.Add|delete.client's.IP
1d20 76 34 7c 49 50 76 36 20 61 64 64 72 65 73 73 65 73 20 74 6f 20 61 20 73 70 65 63 69 66 69 63 20 v4|IPv6.addresses.to.a.specific.
1d40 69 70 73 65 74 2e 0a 23 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 61 6e 64 20 24 49 50 56 36 5f ipset..#.$IPV6_PREFIX.and.$IPV6_
1d60 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 61 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 DELEGATED_PREFIX.are.environment
1d80 20 76 61 72 69 61 62 6c 65 73 20 6f 66 20 41 63 63 65 6c 2d 70 70 70 2c 0a 23 20 28 68 74 74 70 .variables.of.Accel-ppp,.#.(http
1da0 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 78 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c s://github.com/xebd/accel-ppp/bl
1dc0 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 65 6c 2d 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f ob/master/accel-pppd/extra/pppd_
1de0 63 6f 6d 70 61 74 2e 63 29 2e 0a 69 66 20 5b 20 2d 66 20 24 52 41 44 41 54 54 52 20 5d 3b 20 74 compat.c)..if.[.-f.$RADATTR.];.t
1e00 68 65 6e 0a 20 20 23 20 47 65 74 20 76 61 6c 75 65 20 6f 66 20 22 46 69 6c 74 65 72 2d 49 64 22 hen...#.Get.value.of."Filter-Id"
1e20 20 52 41 44 49 55 53 2d 61 74 74 72 69 62 75 74 65 2e 0a 20 20 46 49 4c 54 45 52 5f 49 44 3d 24 .RADIUS-attribute....FILTER_ID=$
1e40 28 61 77 6b 20 27 2f 46 69 6c 74 65 72 2d 49 64 2f 20 7b 70 72 69 6e 74 20 24 32 7d 27 20 24 52 (awk.'/Filter-Id/.{print.$2}'.$R
1e60 41 44 41 54 54 52 29 0a 20 20 69 66 20 5b 20 24 46 49 4c 54 45 52 5f 49 44 20 3d 20 24 41 43 54 ADATTR)...if.[.$FILTER_ID.=.$ACT
1e80 49 56 45 5f 46 49 4c 54 45 52 5f 49 44 20 5d 3b 20 74 68 65 6e 0a 20 20 20 20 69 70 73 65 74 20 IVE_FILTER_ID.];.then.....ipset.
1ea0 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 del.$BLOCK_SET_V4..$IPV4.-exist.
1ec0 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 -quiet.&>./dev/null.....ipset.de
1ee0 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 l.$SOCIAL_SET_V4.$IPV4.-exist.-q
1f00 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 uiet.&>./dev/null.....ipset.del.
1f20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 $BLOCK_SET_V6..$IPV6_PREFIX.-exi
1f40 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 st.-quiet.&>./dev/null.....ipset
1f60 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 .del.$SOCIAL_SET_V6.$IPV6_PREFIX
1f80 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 .-exist.-quiet.&>./dev/null.....
1fa0 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 44 ipset.del.$BLOCK_SET_V6..$IPV6_D
1fc0 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e ELEGATED_PREFIX.-exist.-quiet.&>
1fe0 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c ./dev/null.....ipset.del.$SOCIAL
2000 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d _SET_V6.$IPV6_DELEGATED_PREFIX.-
2020 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 6c 6f exist.-quiet.&>./dev/null.....lo
2040 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 41 6c 6c 6f 77 65 64 3a 20 49 50 76 34 gger.-t.ip-change."Allowed:.IPv4
2060 20 24 49 50 56 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d .$IPV4,.IPv6.$IPV6_PREFIX,.IPv6-
2080 44 50 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 0a 20 20 65 6c 69 DP.$IPV6_DELEGATED_PREFIX"...eli
20a0 66 20 5b 20 24 46 49 4c 54 45 52 5f 49 44 20 3d 20 24 42 4c 4f 43 4b 5f 46 49 4c 54 45 52 5f 49 f.[.$FILTER_ID.=.$BLOCK_FILTER_I
20c0 44 20 5d 3b 20 74 68 65 6e 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f D.];.then.....ipset.del.$SOCIAL_
20e0 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 SET_V4.$IPV4.-exist.-quiet.&>./d
2100 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f 53 45 54 ev/null.....ipset.add.$BLOCK_SET
2120 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 _V4..$IPV4.-exist.-quiet.&>./dev
2140 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f /null.....ipset.del.$SOCIAL_SET_
2160 56 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e V6.$IPV6_PREFIX.-exist.-quiet.&>
2180 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f ./dev/null.....ipset.add.$BLOCK_
21a0 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 SET_V6..$IPV6_PREFIX.-exist.-qui
21c0 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 53 et.&>./dev/null.....ipset.del.$S
21e0 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 OCIAL_SET_V6.$IPV6_DELEGATED_PRE
2200 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 FIX.-exist.-quiet.&>./dev/null..
2220 20 20 20 69 70 73 65 74 20 61 64 64 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 ...ipset.add.$BLOCK_SET_V6..$IPV
2240 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 6_DELEGATED_PREFIX.-exist.-quiet
2260 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 .&>./dev/null.....logger.-t.ip-c
2280 68 61 6e 67 65 20 22 42 6c 6f 63 6b 65 64 3a 20 49 50 76 34 20 24 49 50 56 34 2c 20 49 50 76 36 hange."Blocked:.IPv4.$IPV4,.IPv6
22a0 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d 44 50 20 24 49 50 56 36 5f 44 45 4c .$IPV6_PREFIX,.IPv6-DP.$IPV6_DEL
22c0 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 0a 20 20 65 6c 69 66 20 5b 20 24 46 49 4c 54 45 52 5f EGATED_PREFIX"...elif.[.$FILTER_
22e0 49 44 20 3d 20 24 53 4f 43 49 41 4c 5f 46 49 4c 54 45 52 5f 49 44 20 5d 3b 20 74 68 65 6e 0a 20 ID.=.$SOCIAL_FILTER_ID.];.then..
2300 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 ...ipset.del.$BLOCK_SET_V4..$IPV
2320 34 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 4.-exist.-quiet.&>./dev/null....
2340 20 69 70 73 65 74 20 61 64 64 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 .ipset.add.$SOCIAL_SET_V4.$IPV4.
2360 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 -exist.-quiet.&>./dev/null.....i
2380 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 pset.del.$BLOCK_SET_V6..$IPV6_PR
23a0 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a EFIX.-exist.-quiet.&>./dev/null.
23c0 20 20 20 20 69 70 73 65 74 20 61 64 64 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 ....ipset.add.$SOCIAL_SET_V6.$IP
23e0 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f V6_PREFIX.-exist.-quiet.&>./dev/
2400 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 36 null.....ipset.del.$BLOCK_SET_V6
2420 20 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 ..$IPV6_DELEGATED_PREFIX.-exist.
2440 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 20 20 20 20 69 70 73 65 74 20 61 64 -quiet.&>./dev/null.....ipset.ad
2460 64 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 d.$SOCIAL_SET_V6.$IPV6_DELEGATED
2480 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 _PREFIX.-exist.-quiet.&>./dev/nu
24a0 6c 6c 0a 20 20 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 53 6f 63 69 ll.....logger.-t.ip-change."Soci
24c0 61 6c 3a 20 49 50 76 34 20 24 49 50 56 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 al:.IPv4.$IPV4,.IPv6.$IPV6_PREFI
24e0 58 2c 20 49 50 76 36 2d 44 50 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 X,.IPv6-DP.$IPV6_DELEGATED_PREFI
2500 58 22 0a 20 20 66 69 0a 65 6c 73 65 0a 20 20 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e X"...fi.else...logger.-t.ip-chan
2520 67 65 20 22 72 61 64 61 74 74 72 20 66 69 6c 65 20 6e 6f 74 20 66 6f 75 6e 64 2c 20 24 43 41 4c ge."radattr.file.not.found,.$CAL
2540 4c 45 44 5f 53 49 44 20 24 43 41 4c 4c 49 4e 47 5f 53 49 44 22 0a 66 69 94 85 94 81 94 7d 94 68 LED_SID.$CALLING_SID".fi.....}.h
2560 1d 6a 2a 01 00 00 73 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 68 c8 .j*...sbah.}.(h.].h.].h.].h.].h.
2580 68 c9 68 ca 89 68 cb 8c 02 73 68 94 68 cd 7d 94 75 68 1b 68 b9 68 1f 68 20 68 1c 4b 2c 68 1d 68 h.h..h...sh.h.}.uh.h.h.h.h.K,h.h
25a0 23 68 1e 68 03 75 62 68 38 29 81 94 7d 94 28 68 05 8c 29 45 78 61 6d 70 6c 65 20 2f 65 74 63 2f #h.h.ubh8)..}.(h..)Example./etc/
25c0 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 64 6f 77 6e 2e 73 68 20 73 63 72 69 70 74 3a 94 68 07 5d accel-ppp_ip-down.sh.script:.h.]
25e0 94 68 2d 8c 29 45 78 61 6d 70 6c 65 20 2f 65 74 63 2f 61 63 63 65 6c 2d 70 70 70 5f 69 70 2d 64 .h-.)Example./etc/accel-ppp_ip-d
2600 6f 77 6e 2e 73 68 20 73 63 72 69 70 74 3a 94 85 94 81 94 7d 94 28 68 1d 6a 39 01 00 00 68 1e 68 own.sh.script:.....}.(h.j9...h.h
2620 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 .h.Nh.Nubah.}.(h.].h.].h.].h.].u
2640 68 1b 68 37 68 1f 68 20 68 1c 4b 67 68 1d 68 23 68 1e 68 03 75 62 68 ba 29 81 94 7d 94 28 68 05 h.h7h.h.h.Kgh.h#h.h.ubh.)..}.(h.
2660 58 f2 03 00 00 23 21 2f 62 69 6e 2f 73 68 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 42 6c 6f 63 6b 65 X....#!/bin/sh..#.Option."Blocke
2680 64 22 2e 0a 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 3d 27 62 6c 6b 5f 75 73 72 5f 76 34 27 0a 42 4c d"..BLOCK_SET_V4='blk_usr_v4'.BL
26a0 4f 43 4b 5f 53 45 54 5f 56 36 3d 27 62 6c 6b 5f 75 73 72 5f 76 36 27 0a 0a 23 20 4f 70 74 69 6f OCK_SET_V6='blk_usr_v6'..#.Optio
26c0 6e 20 22 53 6f 63 69 61 6c 22 2e 0a 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 3d 27 73 6f 63 5f 75 n."Social"..SOCIAL_SET_V4='soc_u
26e0 73 72 5f 76 34 27 0a 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 3d 27 73 6f 63 5f 75 73 72 5f 76 36 sr_v4'.SOCIAL_SET_V6='soc_usr_v6
2700 27 0a 0a 23 20 61 72 67 76 5b 35 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 49 50 76 34 2d 61 64 64 72 '..#.argv[5],.contains.IPv4-addr
2720 65 73 73 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 78 65 62 64 2f ess,.#.(https://github.com/xebd/
2740 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 65 6c 2d 70 70 70 64 accel-ppp/blob/master/accel-pppd
2760 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a 49 50 56 34 3d 24 35 0a 0a /extra/pppd_compat.c)..IPV4=$5..
2780 23 20 44 65 6c 65 74 65 20 63 75 73 74 6f 6d 65 72 27 73 20 49 50 76 34 7c 50 76 36 20 61 64 64 #.Delete.customer's.IPv4|Pv6.add
27a0 72 65 73 73 65 73 20 66 72 6f 6d 20 61 6c 6c 20 69 70 73 65 74 73 2c 0a 23 20 24 49 50 56 36 5f resses.from.all.ipsets,.#.$IPV6_
27c0 50 52 45 46 49 58 20 61 6e 64 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 PREFIX.and.$IPV6_DELEGATED_PREFI
27e0 58 20 61 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 20 66 72 6f 6d X.are.environment.variables.from
2800 20 41 63 63 65 6c 2d 70 70 70 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f .Accel-ppp,.#.(https://github.co
2820 6d 2f 78 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 m/xebd/accel-ppp/blob/master/acc
2840 65 6c 2d 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a 69 70 el-pppd/extra/pppd_compat.c)..ip
2860 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 set.del.$BLOCK_SET_V4..$IPV4.-ex
2880 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 ist.-quiet.&>./dev/null.ipset.de
28a0 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 l.$SOCIAL_SET_V4.$IPV4.-exist.-q
28c0 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f uiet.&>./dev/null.ipset.del.$BLO
28e0 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d CK_SET_V6..$IPV6_PREFIX.-exist.-
2900 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 53 4f quiet.&>./dev/null.ipset.del.$SO
2920 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 CIAL_SET_V6.$IPV6_PREFIX.-exist.
2940 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 42 -quiet.&>./dev/null.ipset.del.$B
2960 4c 4f 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 LOCK_SET_V6..$IPV6_DELEGATED_PRE
2980 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 FIX.-exist.-quiet.&>./dev/null.i
29a0 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 pset.del.$SOCIAL_SET_V6.$IPV6_DE
29c0 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 LEGATED_PREFIX.-exist.-quiet.&>.
29e0 2f 64 65 76 2f 6e 75 6c 6c 0a 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 52 /dev/null.logger.-t.ip-change."R
2a00 65 6d 6f 76 69 6e 67 20 66 72 6f 6d 20 61 6c 6c 20 69 70 73 65 74 73 3a 20 49 50 76 34 20 24 49 emoving.from.all.ipsets:.IPv4.$I
2a20 50 56 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d 44 50 20 PV4,.IPv6.$IPV6_PREFIX,.IPv6-DP.
2a40 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 94 68 07 5d 94 68 2d 58 f2 $IPV6_DELEGATED_PREFIX".h.].h-X.
2a60 03 00 00 23 21 2f 62 69 6e 2f 73 68 0a 0a 23 20 4f 70 74 69 6f 6e 20 22 42 6c 6f 63 6b 65 64 22 ...#!/bin/sh..#.Option."Blocked"
2a80 2e 0a 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 3d 27 62 6c 6b 5f 75 73 72 5f 76 34 27 0a 42 4c 4f 43 ..BLOCK_SET_V4='blk_usr_v4'.BLOC
2aa0 4b 5f 53 45 54 5f 56 36 3d 27 62 6c 6b 5f 75 73 72 5f 76 36 27 0a 0a 23 20 4f 70 74 69 6f 6e 20 K_SET_V6='blk_usr_v6'..#.Option.
2ac0 22 53 6f 63 69 61 6c 22 2e 0a 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 3d 27 73 6f 63 5f 75 73 72 "Social"..SOCIAL_SET_V4='soc_usr
2ae0 5f 76 34 27 0a 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 3d 27 73 6f 63 5f 75 73 72 5f 76 36 27 0a _v4'.SOCIAL_SET_V6='soc_usr_v6'.
2b00 0a 23 20 61 72 67 76 5b 35 5d 2c 20 63 6f 6e 74 61 69 6e 73 20 49 50 76 34 2d 61 64 64 72 65 73 .#.argv[5],.contains.IPv4-addres
2b20 73 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 78 65 62 64 2f 61 63 s,.#.(https://github.com/xebd/ac
2b40 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 65 6c 2d 70 70 70 64 2f 65 cel-ppp/blob/master/accel-pppd/e
2b60 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a 49 50 56 34 3d 24 35 0a 0a 23 20 xtra/pppd_compat.c)..IPV4=$5..#.
2b80 44 65 6c 65 74 65 20 63 75 73 74 6f 6d 65 72 27 73 20 49 50 76 34 7c 50 76 36 20 61 64 64 72 65 Delete.customer's.IPv4|Pv6.addre
2ba0 73 73 65 73 20 66 72 6f 6d 20 61 6c 6c 20 69 70 73 65 74 73 2c 0a 23 20 24 49 50 56 36 5f 50 52 sses.from.all.ipsets,.#.$IPV6_PR
2bc0 45 46 49 58 20 61 6e 64 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 20 EFIX.and.$IPV6_DELEGATED_PREFIX.
2be0 61 72 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 20 66 72 6f 6d 20 41 are.environment.variables.from.A
2c00 63 63 65 6c 2d 70 70 70 2c 0a 23 20 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f ccel-ppp,.#.(https://github.com/
2c20 78 65 62 64 2f 61 63 63 65 6c 2d 70 70 70 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 61 63 63 65 6c xebd/accel-ppp/blob/master/accel
2c40 2d 70 70 70 64 2f 65 78 74 72 61 2f 70 70 70 64 5f 63 6f 6d 70 61 74 2e 63 29 2e 0a 69 70 73 65 -pppd/extra/pppd_compat.c)..ipse
2c60 74 20 64 65 6c 20 24 42 4c 4f 43 4b 5f 53 45 54 5f 56 34 20 20 24 49 50 56 34 20 2d 65 78 69 73 t.del.$BLOCK_SET_V4..$IPV4.-exis
2c80 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 t.-quiet.&>./dev/null.ipset.del.
2ca0 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 34 20 24 49 50 56 34 20 2d 65 78 69 73 74 20 2d 71 75 69 $SOCIAL_SET_V4.$IPV4.-exist.-qui
2cc0 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f 43 4b et.&>./dev/null.ipset.del.$BLOCK
2ce0 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 _SET_V6..$IPV6_PREFIX.-exist.-qu
2d00 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 53 4f 43 49 iet.&>./dev/null.ipset.del.$SOCI
2d20 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 AL_SET_V6.$IPV6_PREFIX.-exist.-q
2d40 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 65 74 20 64 65 6c 20 24 42 4c 4f uiet.&>./dev/null.ipset.del.$BLO
2d60 43 4b 5f 53 45 54 5f 56 36 20 20 24 49 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 CK_SET_V6..$IPV6_DELEGATED_PREFI
2d80 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 65 76 2f 6e 75 6c 6c 0a 69 70 73 X.-exist.-quiet.&>./dev/null.ips
2da0 65 74 20 64 65 6c 20 24 53 4f 43 49 41 4c 5f 53 45 54 5f 56 36 20 24 49 50 56 36 5f 44 45 4c 45 et.del.$SOCIAL_SET_V6.$IPV6_DELE
2dc0 47 41 54 45 44 5f 50 52 45 46 49 58 20 2d 65 78 69 73 74 20 2d 71 75 69 65 74 20 26 3e 20 2f 64 GATED_PREFIX.-exist.-quiet.&>./d
2de0 65 76 2f 6e 75 6c 6c 0a 6c 6f 67 67 65 72 20 2d 74 20 69 70 2d 63 68 61 6e 67 65 20 22 52 65 6d ev/null.logger.-t.ip-change."Rem
2e00 6f 76 69 6e 67 20 66 72 6f 6d 20 61 6c 6c 20 69 70 73 65 74 73 3a 20 49 50 76 34 20 24 49 50 56 oving.from.all.ipsets:.IPv4.$IPV
2e20 34 2c 20 49 50 76 36 20 24 49 50 56 36 5f 50 52 45 46 49 58 2c 20 49 50 76 36 2d 44 50 20 24 49 4,.IPv6.$IPV6_PREFIX,.IPv6-DP.$I
2e40 50 56 36 5f 44 45 4c 45 47 41 54 45 44 5f 50 52 45 46 49 58 22 94 85 94 81 94 7d 94 68 1d 6a 46 PV6_DELEGATED_PREFIX".....}.h.jF
2e60 01 00 00 73 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 68 c8 68 c9 68 ...sbah.}.(h.].h.].h.].h.].h.h.h
2e80 ca 89 68 cb 8c 02 73 68 94 68 cd 7d 94 75 68 1b 68 b9 68 1f 68 20 68 1c 4b 69 68 1d 68 23 68 1e ..h...sh.h.}.uh.h.h.h.h.Kih.h#h.
2ea0 68 03 75 62 68 38 29 81 94 7d 94 28 68 05 8c 22 45 78 61 6d 70 6c 65 20 69 70 74 61 62 6c 65 73 h.ubh8)..}.(h.."Example.iptables
2ec0 2f 69 70 76 36 74 61 62 6c 65 73 20 72 75 6c 65 73 3a 94 68 07 5d 94 68 2d 8c 22 45 78 61 6d 70 /ipv6tables.rules:.h.].h-."Examp
2ee0 6c 65 20 69 70 74 61 62 6c 65 73 2f 69 70 76 36 74 61 62 6c 65 73 20 72 75 6c 65 73 3a 94 85 94 le.iptables/ipv6tables.rules:...
2f00 81 94 7d 94 28 68 1d 6a 55 01 00 00 68 1e 68 03 68 1f 4e 68 1c 4e 75 62 61 68 0f 7d 94 28 68 11 ..}.(h.jU...h.h.h.Nh.Nubah.}.(h.
2f20 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1f 68 20 68 1c 4b 84 68 1d 68 23 68 ].h.].h.].h.].uh.h7h.h.h.K.h.h#h
2f40 1e 68 03 75 62 68 ba 29 81 94 7d 94 28 68 05 58 64 03 00 00 69 70 74 61 62 6c 65 73 20 2d 74 20 .h.ubh.)..}.(h.Xd...iptables.-t.
2f60 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 filter.-A.FORWARD.-m.set.--match
2f80 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 34 20 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d -set.blk_usr_v4.src.-m.set.!.--m
2fa0 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 65 73 5f 76 34 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a atch-set.blk_res_v4.dst.-j.DROP.
2fc0 69 70 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d iptables.-t.filter.-A.FORWARD.-m
2fe0 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 75 73 72 5f 76 34 20 73 72 63 20 .set.--match-set.soc_usr_v4.src.
3000 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f 76 34 20 -m.set.!.--match-set.soc_res_v4.
3020 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d dst.-j.DROP.iptables.-t.filter.-
3040 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 A.FORWARD.-m.set.!.--match-set.b
3060 6c 6b 5f 72 65 73 5f 76 34 20 73 72 63 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 lk_res_v4.src.-m.set.--match-set
3080 20 62 6c 6b 5f 75 73 72 5f 76 34 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 74 61 62 6c 65 73 .blk_usr_v4.dst.-j.DROP.iptables
30a0 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 21 20 2d .-t.filter.-A.FORWARD.-m.set.!.-
30c0 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f 76 34 20 73 72 63 20 2d 6d 20 73 65 74 -match-set.soc_res_v4.src.-m.set
30e0 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 75 73 72 5f 76 34 20 64 73 74 20 2d 6a 20 44 .--match-set.soc_usr_v4.dst.-j.D
3100 52 4f 50 0a 0a 69 70 36 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 ROP..ip6tables.-t.filter.-A.FORW
3120 41 52 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 ARD.-m.set.--match-set.blk_usr_v
3140 36 20 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 6.src.-m.set.!.--match-set.blk_r
3160 65 73 5f 76 36 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 36 74 61 62 6c 65 73 20 2d 74 20 66 es_v6.dst.-j.DROP.ip6tables.-t.f
3180 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d ilter.-A.FORWARD.-m.set.--match-
31a0 73 65 74 20 73 6f 63 5f 75 73 72 5f 76 36 20 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 set.soc_usr_v6.src.-m.set.!.--ma
31c0 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f 76 36 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 tch-set.soc_res_v6.dst.-j.DROP.i
31e0 70 36 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d p6tables.-t.filter.-A.FORWARD.-m
3200 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 65 73 5f 76 36 20 73 72 .set.!.--match-set.blk_res_v6.sr
3220 63 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 36 20 c.-m.set.--match-set.blk_usr_v6.
3240 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 36 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 dst.-j.DROP.ip6tables.-t.filter.
3260 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 -A.FORWARD.-m.set.!.--match-set.
3280 73 6f 63 5f 72 65 73 5f 76 36 20 73 72 63 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 soc_res_v6.src.-m.set.--match-se
32a0 74 20 73 6f 63 5f 75 73 72 5f 76 36 20 64 73 74 20 2d 6a 20 44 52 4f 50 94 68 07 5d 94 68 2d 58 t.soc_usr_v6.dst.-j.DROP.h.].h-X
32c0 64 03 00 00 69 70 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 d...iptables.-t.filter.-A.FORWAR
32e0 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 34 20 D.-m.set.--match-set.blk_usr_v4.
3300 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 65 73 src.-m.set.!.--match-set.blk_res
3320 5f 76 34 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 _v4.dst.-j.DROP.iptables.-t.filt
3340 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 er.-A.FORWARD.-m.set.--match-set
3360 20 73 6f 63 5f 75 73 72 5f 76 34 20 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 .soc_usr_v4.src.-m.set.!.--match
3380 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f 76 34 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 74 61 -set.soc_res_v4.dst.-j.DROP.ipta
33a0 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 bles.-t.filter.-A.FORWARD.-m.set
33c0 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 65 73 5f 76 34 20 73 72 63 20 2d 6d .!.--match-set.blk_res_v4.src.-m
33e0 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 34 20 64 73 74 20 .set.--match-set.blk_usr_v4.dst.
3400 2d 6a 20 44 52 4f 50 0a 69 70 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f -j.DROP.iptables.-t.filter.-A.FO
3420 52 57 41 52 44 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 RWARD.-m.set.!.--match-set.soc_r
3440 65 73 5f 76 34 20 73 72 63 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 es_v4.src.-m.set.--match-set.soc
3460 5f 75 73 72 5f 76 34 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 0a 69 70 36 74 61 62 6c 65 73 20 2d _usr_v4.dst.-j.DROP..ip6tables.-
3480 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 t.filter.-A.FORWARD.-m.set.--mat
34a0 63 68 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 36 20 73 72 63 20 2d 6d 20 73 65 74 20 21 20 2d ch-set.blk_usr_v6.src.-m.set.!.-
34c0 2d 6d 61 74 63 68 2d 73 65 74 20 62 6c 6b 5f 72 65 73 5f 76 36 20 64 73 74 20 2d 6a 20 44 52 4f -match-set.blk_res_v6.dst.-j.DRO
34e0 50 0a 69 70 36 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 P.ip6tables.-t.filter.-A.FORWARD
3500 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 75 73 72 5f 76 36 20 73 .-m.set.--match-set.soc_usr_v6.s
3520 72 63 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f rc.-m.set.!.--match-set.soc_res_
3540 76 36 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 36 74 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 v6.dst.-j.DROP.ip6tables.-t.filt
3560 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 er.-A.FORWARD.-m.set.!.--match-s
3580 65 74 20 62 6c 6b 5f 72 65 73 5f 76 36 20 73 72 63 20 2d 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 et.blk_res_v6.src.-m.set.--match
35a0 2d 73 65 74 20 62 6c 6b 5f 75 73 72 5f 76 36 20 64 73 74 20 2d 6a 20 44 52 4f 50 0a 69 70 36 74 -set.blk_usr_v6.dst.-j.DROP.ip6t
35c0 61 62 6c 65 73 20 2d 74 20 66 69 6c 74 65 72 20 2d 41 20 46 4f 52 57 41 52 44 20 2d 6d 20 73 65 ables.-t.filter.-A.FORWARD.-m.se
35e0 74 20 21 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 72 65 73 5f 76 36 20 73 72 63 20 2d t.!.--match-set.soc_res_v6.src.-
3600 6d 20 73 65 74 20 2d 2d 6d 61 74 63 68 2d 73 65 74 20 73 6f 63 5f 75 73 72 5f 76 36 20 64 73 74 m.set.--match-set.soc_usr_v6.dst
3620 20 2d 6a 20 44 52 4f 50 94 85 94 81 94 7d 94 68 1d 6a 62 01 00 00 73 62 61 68 0f 7d 94 28 68 11 .-j.DROP.....}.h.jb...sbah.}.(h.
3640 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 68 c8 68 c9 68 ca 89 68 cb 8c 02 73 68 94 68 cd 7d 94 ].h.].h.].h.].h.h.h..h...sh.h.}.
3660 75 68 1b 68 b9 68 1f 68 20 68 1c 4b 86 68 1d 68 23 68 1e 68 03 75 62 65 68 0f 7d 94 28 68 11 5d uh.h.h.h.h.K.h.h#h.h.ubeh.}.(h.]
3680 94 28 68 1a 8c 03 69 64 31 94 65 68 13 5d 94 68 15 5d 94 28 8c 14 70 70 70 64 2d 63 6f 6d 70 61 .(h...id1.eh.].h.].(..pppd-compa
36a0 74 20 65 78 61 6d 70 6c 65 73 94 8c 14 70 70 70 64 5f 63 6f 6d 70 61 74 5f 65 78 61 6d 70 6c 65 t.examples...pppd_compat_example
36c0 73 94 65 68 17 5d 94 75 68 1b 68 21 68 1d 68 03 68 1e 68 03 68 1f 68 20 68 1c 4b 04 8c 19 65 78 s.eh.].uh.h!h.h.h.h.h.h.h.K...ex
36e0 70 65 63 74 5f 72 65 66 65 72 65 6e 63 65 64 5f 62 79 5f 6e 61 6d 65 94 7d 94 6a 77 01 00 00 68 pect_referenced_by_name.}.jw...h
3700 0b 73 8c 17 65 78 70 65 63 74 5f 72 65 66 65 72 65 6e 63 65 64 5f 62 79 5f 69 64 94 7d 94 68 1a .s..expect_referenced_by_id.}.h.
3720 68 0b 73 75 62 65 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 8c 06 73 6f 75 h.subeh.}.(h.].h.].h.].h.]...sou
3740 72 63 65 94 68 20 8c 14 74 72 61 6e 73 6c 61 74 69 6f 6e 5f 70 72 6f 67 72 65 73 73 94 7d 94 28 rce.h...translation_progress.}.(
3760 8c 05 74 6f 74 61 6c 94 4b 00 8c 0a 74 72 61 6e 73 6c 61 74 65 64 94 4b 00 75 75 68 1b 68 01 8c ..total.K...translated.K.uuh.h..
3780 0e 63 75 72 72 65 6e 74 5f 73 6f 75 72 63 65 94 4e 8c 0c 63 75 72 72 65 6e 74 5f 6c 69 6e 65 94 .current_source.N..current_line.
37a0 4e 8c 08 73 65 74 74 69 6e 67 73 94 8c 11 64 6f 63 75 74 69 6c 73 2e 66 72 6f 6e 74 65 6e 64 94 N..settings...docutils.frontend.
37c0 8c 06 56 61 6c 75 65 73 94 93 94 29 81 94 7d 94 28 8c 0b 6f 75 74 70 75 74 5f 70 61 74 68 94 4e ..Values...)..}.(..output_path.N
37e0 68 26 4e 8c 09 67 65 6e 65 72 61 74 6f 72 94 4e 8c 09 64 61 74 65 73 74 61 6d 70 94 4e 8c 0b 72 h&N..generator.N..datestamp.N..r
3800 6f 6f 74 5f 70 72 65 66 69 78 94 68 06 8c 0b 73 6f 75 72 63 65 5f 6c 69 6e 6b 94 4e 8c 0a 73 6f oot_prefix.h...source_link.N..so
3820 75 72 63 65 5f 75 72 6c 94 4e 8c 0d 74 6f 63 5f 62 61 63 6b 6c 69 6e 6b 73 94 8c 05 65 6e 74 72 urce_url.N..toc_backlinks...entr
3840 79 94 8c 12 66 6f 6f 74 6e 6f 74 65 5f 62 61 63 6b 6c 69 6e 6b 73 94 88 8c 0d 73 65 63 74 6e 75 y...footnote_backlinks....sectnu
3860 6d 5f 78 66 6f 72 6d 94 88 8c 0e 73 74 72 69 70 5f 63 6f 6d 6d 65 6e 74 73 94 4e 8c 1b 73 74 72 m_xform....strip_comments.N..str
3880 69 70 5f 65 6c 65 6d 65 6e 74 73 5f 77 69 74 68 5f 63 6c 61 73 73 65 73 94 4e 8c 0d 73 74 72 69 ip_elements_with_classes.N..stri
38a0 70 5f 63 6c 61 73 73 65 73 94 4e 8c 0c 72 65 70 6f 72 74 5f 6c 65 76 65 6c 94 4b 02 8c 0a 68 61 p_classes.N..report_level.K...ha
38c0 6c 74 5f 6c 65 76 65 6c 94 4b 05 8c 11 65 78 69 74 5f 73 74 61 74 75 73 5f 6c 65 76 65 6c 94 4b lt_level.K...exit_status_level.K
38e0 05 8c 05 64 65 62 75 67 94 4e 8c 0e 77 61 72 6e 69 6e 67 5f 73 74 72 65 61 6d 94 4e 8c 09 74 72 ...debug.N..warning_stream.N..tr
3900 61 63 65 62 61 63 6b 94 88 8c 0e 69 6e 70 75 74 5f 65 6e 63 6f 64 69 6e 67 94 8c 09 75 74 66 2d aceback....input_encoding...utf-
3920 38 2d 73 69 67 94 8c 1c 69 6e 70 75 74 5f 65 6e 63 6f 64 69 6e 67 5f 65 72 72 6f 72 5f 68 61 6e 8-sig...input_encoding_error_han
3940 64 6c 65 72 94 8c 06 73 74 72 69 63 74 94 8c 0f 6f 75 74 70 75 74 5f 65 6e 63 6f 64 69 6e 67 94 dler...strict...output_encoding.
3960 8c 05 75 74 66 2d 38 94 8c 1d 6f 75 74 70 75 74 5f 65 6e 63 6f 64 69 6e 67 5f 65 72 72 6f 72 5f ..utf-8...output_encoding_error_
3980 68 61 6e 64 6c 65 72 94 6a a5 01 00 00 8c 0e 65 72 72 6f 72 5f 65 6e 63 6f 64 69 6e 67 94 8c 05 handler.j......error_encoding...
39a0 75 74 66 2d 38 94 8c 1c 65 72 72 6f 72 5f 65 6e 63 6f 64 69 6e 67 5f 65 72 72 6f 72 5f 68 61 6e utf-8...error_encoding_error_han
39c0 64 6c 65 72 94 8c 10 62 61 63 6b 73 6c 61 73 68 72 65 70 6c 61 63 65 94 8c 0d 6c 61 6e 67 75 61 dler...backslashreplace...langua
39e0 67 65 5f 63 6f 64 65 94 8c 02 65 6e 94 8c 13 72 65 63 6f 72 64 5f 64 65 70 65 6e 64 65 6e 63 69 ge_code...en...record_dependenci
3a00 65 73 94 8c 0e 64 6f 63 75 74 69 6c 73 2e 75 74 69 6c 73 94 8c 0e 44 65 70 65 6e 64 65 6e 63 79 es...docutils.utils...Dependency
3a20 4c 69 73 74 94 93 94 29 81 94 7d 94 28 8c 04 66 69 6c 65 94 4e 8c 04 6c 69 73 74 94 5d 94 75 62 List...)..}.(..file.N..list.].ub
3a40 8c 06 63 6f 6e 66 69 67 94 4e 8c 09 69 64 5f 70 72 65 66 69 78 94 68 06 8c 0e 61 75 74 6f 5f 69 ..config.N..id_prefix.h...auto_i
3a60 64 5f 70 72 65 66 69 78 94 8c 02 69 64 94 8c 0d 64 75 6d 70 5f 73 65 74 74 69 6e 67 73 94 4e 8c d_prefix...id...dump_settings.N.
3a80 0e 64 75 6d 70 5f 69 6e 74 65 72 6e 61 6c 73 94 4e 8c 0f 64 75 6d 70 5f 74 72 61 6e 73 66 6f 72 .dump_internals.N..dump_transfor
3aa0 6d 73 94 4e 8c 0f 64 75 6d 70 5f 70 73 65 75 64 6f 5f 78 6d 6c 94 4e 8c 10 65 78 70 6f 73 65 5f ms.N..dump_pseudo_xml.N..expose_
3ac0 69 6e 74 65 72 6e 61 6c 73 94 4e 8c 0e 73 74 72 69 63 74 5f 76 69 73 69 74 6f 72 94 4e 8c 0f 5f internals.N..strict_visitor.N.._
3ae0 64 69 73 61 62 6c 65 5f 63 6f 6e 66 69 67 94 4e 8c 07 5f 73 6f 75 72 63 65 94 68 20 8c 0c 5f 64 disable_config.N.._source.h..._d
3b00 65 73 74 69 6e 61 74 69 6f 6e 94 4e 8c 0d 5f 63 6f 6e 66 69 67 5f 66 69 6c 65 73 94 5d 94 8c 0e estination.N.._config_files.]...
3b20 64 6f 63 74 69 74 6c 65 5f 78 66 6f 72 6d 94 89 8c 0d 64 6f 63 69 6e 66 6f 5f 78 66 6f 72 6d 94 doctitle_xform....docinfo_xform.
3b40 88 8c 12 73 65 63 74 73 75 62 74 69 74 6c 65 5f 78 66 6f 72 6d 94 89 8c 16 66 69 6c 65 5f 69 6e ...sectsubtitle_xform....file_in
3b60 73 65 72 74 69 6f 6e 5f 65 6e 61 62 6c 65 64 94 88 8c 0b 72 61 77 5f 65 6e 61 62 6c 65 64 94 88 sertion_enabled....raw_enabled..
3b80 8c 11 6c 69 6e 65 5f 6c 65 6e 67 74 68 5f 6c 69 6d 69 74 94 4d 10 27 8c 08 76 61 6c 69 64 61 74 ..line_length_limit.M.'..validat
3ba0 65 94 4e 8c 0e 70 65 70 5f 72 65 66 65 72 65 6e 63 65 73 94 4e 8c 0c 70 65 70 5f 62 61 73 65 5f e.N..pep_references.N..pep_base_
3bc0 75 72 6c 94 8c 18 68 74 74 70 73 3a 2f 2f 70 65 70 73 2e 70 79 74 68 6f 6e 2e 6f 72 67 2f 94 8c url...https://peps.python.org/..
3be0 15 70 65 70 5f 66 69 6c 65 5f 75 72 6c 5f 74 65 6d 70 6c 61 74 65 94 8c 08 70 65 70 2d 25 30 34 .pep_file_url_template...pep-%04
3c00 64 94 8c 0e 72 66 63 5f 72 65 66 65 72 65 6e 63 65 73 94 4e 8c 0c 72 66 63 5f 62 61 73 65 5f 75 d...rfc_references.N..rfc_base_u
3c20 72 6c 94 8c 26 68 74 74 70 73 3a 2f 2f 64 61 74 61 74 72 61 63 6b 65 72 2e 69 65 74 66 2e 6f 72 rl..&https://datatracker.ietf.or
3c40 67 2f 64 6f 63 2f 68 74 6d 6c 2f 94 8c 09 74 61 62 5f 77 69 64 74 68 94 4b 08 8c 1d 74 72 69 6d g/doc/html/...tab_width.K...trim
3c60 5f 66 6f 6f 74 6e 6f 74 65 5f 72 65 66 65 72 65 6e 63 65 5f 73 70 61 63 65 94 89 8c 10 73 79 6e _footnote_reference_space....syn
3c80 74 61 78 5f 68 69 67 68 6c 69 67 68 74 94 8c 04 6c 6f 6e 67 94 8c 0c 73 6d 61 72 74 5f 71 75 6f tax_highlight...long...smart_quo
3ca0 74 65 73 94 88 8c 13 73 6d 61 72 74 71 75 6f 74 65 73 5f 6c 6f 63 61 6c 65 73 94 5d 94 8c 1d 63 tes....smartquotes_locales.]...c
3cc0 68 61 72 61 63 74 65 72 5f 6c 65 76 65 6c 5f 69 6e 6c 69 6e 65 5f 6d 61 72 6b 75 70 94 89 8c 0d haracter_level_inline_markup....
3ce0 69 6d 61 67 65 5f 6c 6f 61 64 69 6e 67 94 8c 04 6c 69 6e 6b 94 8c 10 65 6d 62 65 64 5f 73 74 79 image_loading...link...embed_sty
3d00 6c 65 73 68 65 65 74 94 89 8c 15 63 6c 6f 61 6b 5f 65 6d 61 69 6c 5f 61 64 64 72 65 73 73 65 73 lesheet....cloak_email_addresses
3d20 94 88 8c 11 73 65 63 74 69 6f 6e 5f 73 65 6c 66 5f 6c 69 6e 6b 94 89 8c 03 65 6e 76 94 4e 75 62 ....section_self_link....env.Nub
3d40 8c 08 72 65 70 6f 72 74 65 72 94 4e 8c 10 69 6e 64 69 72 65 63 74 5f 74 61 72 67 65 74 73 94 5d ..reporter.N..indirect_targets.]
3d60 94 8c 11 73 75 62 73 74 69 74 75 74 69 6f 6e 5f 64 65 66 73 94 7d 94 8c 12 73 75 62 73 74 69 74 ...substitution_defs.}...substit
3d80 75 74 69 6f 6e 5f 6e 61 6d 65 73 94 7d 94 8c 08 72 65 66 6e 61 6d 65 73 94 7d 94 8c 06 72 65 66 ution_names.}...refnames.}...ref
3da0 69 64 73 94 7d 94 68 1a 5d 94 68 0b 61 73 8c 07 6e 61 6d 65 69 64 73 94 7d 94 28 6a 77 01 00 00 ids.}.h.].h.as..nameids.}.(jw...
3dc0 68 1a 6a 76 01 00 00 6a 73 01 00 00 75 8c 09 6e 61 6d 65 74 79 70 65 73 94 7d 94 28 6a 77 01 00 h.jv...js...u..nametypes.}.(jw..
3de0 00 88 6a 76 01 00 00 89 75 68 11 7d 94 28 68 1a 68 23 6a 73 01 00 00 68 23 75 8c 0d 66 6f 6f 74 ..jv....uh.}.(h.h#js...h#u..foot
3e00 6e 6f 74 65 5f 72 65 66 73 94 7d 94 8c 0d 63 69 74 61 74 69 6f 6e 5f 72 65 66 73 94 7d 94 8c 0d note_refs.}...citation_refs.}...
3e20 61 75 74 6f 66 6f 6f 74 6e 6f 74 65 73 94 5d 94 8c 11 61 75 74 6f 66 6f 6f 74 6e 6f 74 65 5f 72 autofootnotes.]...autofootnote_r
3e40 65 66 73 94 5d 94 8c 10 73 79 6d 62 6f 6c 5f 66 6f 6f 74 6e 6f 74 65 73 94 5d 94 8c 14 73 79 6d efs.]...symbol_footnotes.]...sym
3e60 62 6f 6c 5f 66 6f 6f 74 6e 6f 74 65 5f 72 65 66 73 94 5d 94 8c 09 66 6f 6f 74 6e 6f 74 65 73 94 bol_footnote_refs.]...footnotes.
3e80 5d 94 8c 09 63 69 74 61 74 69 6f 6e 73 94 5d 94 8c 12 61 75 74 6f 66 6f 6f 74 6e 6f 74 65 5f 73 ]...citations.]...autofootnote_s
3ea0 74 61 72 74 94 4b 01 8c 15 73 79 6d 62 6f 6c 5f 66 6f 6f 74 6e 6f 74 65 5f 73 74 61 72 74 94 4b tart.K...symbol_footnote_start.K
3ec0 00 8c 0a 69 64 5f 63 6f 75 6e 74 65 72 94 8c 0b 63 6f 6c 6c 65 63 74 69 6f 6e 73 94 8c 07 43 6f ...id_counter...collections...Co
3ee0 75 6e 74 65 72 94 93 94 7d 94 6a bb 01 00 00 4b 01 73 85 94 52 94 8c 0e 70 61 72 73 65 5f 6d 65 unter...}.j....K.s..R...parse_me
3f00 73 73 61 67 65 73 94 5d 94 8c 12 74 72 61 6e 73 66 6f 72 6d 5f 6d 65 73 73 61 67 65 73 94 5d 94 ssages.]...transform_messages.].
3f20 68 00 8c 0e 73 79 73 74 65 6d 5f 6d 65 73 73 61 67 65 94 93 94 29 81 94 7d 94 28 68 05 68 06 68 h...system_message...)..}.(h.h.h
3f40 07 5d 94 68 38 29 81 94 7d 94 28 68 05 68 06 68 07 5d 94 68 2d 8c 3a 48 79 70 65 72 6c 69 6e 6b .].h8)..}.(h.h.h.].h-.:Hyperlink
3f60 20 74 61 72 67 65 74 20 22 70 70 70 64 2d 63 6f 6d 70 61 74 2d 65 78 61 6d 70 6c 65 73 22 20 69 .target."pppd-compat-examples".i
3f80 73 20 6e 6f 74 20 72 65 66 65 72 65 6e 63 65 64 2e 94 85 94 81 94 7d 94 68 1d 6a 17 02 00 00 73 s.not.referenced......}.h.j....s
3fa0 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 75 68 1b 68 37 68 1d 6a 14 bah.}.(h.].h.].h.].h.].uh.h7h.j.
3fc0 02 00 00 75 62 61 68 0f 7d 94 28 68 11 5d 94 68 13 5d 94 68 15 5d 94 68 17 5d 94 8c 08 62 61 63 ...ubah.}.(h.].h.].h.].h.]...bac
3fe0 6b 72 65 66 73 94 5d 94 8c 05 6c 65 76 65 6c 94 4b 01 8c 04 74 79 70 65 94 8c 04 49 4e 46 4f 94 krefs.]...level.K...type...INFO.
4000 8c 06 73 6f 75 72 63 65 94 68 20 8c 04 6c 69 6e 65 94 4b 01 75 68 1b 6a 12 02 00 00 75 62 61 8c ..source.h...line.K.uh.j....uba.
4020 0b 74 72 61 6e 73 66 6f 72 6d 65 72 94 4e 8c 0b 69 6e 63 6c 75 64 65 5f 6c 6f 67 94 5d 94 8c 0a .transformer.N..include_log.]...
4040 64 65 63 6f 72 61 74 69 6f 6e 94 4e 68 1e 68 03 75 62 2e decoration.Nh.h.ub.