diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-31 10:10:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-31 10:10:20 +0000 |
commit | 3579df3582b5e5ea53be8cd8eef240f3f0cabb10 (patch) | |
tree | 134d5838ab0cf927660bf0d8357b0b9d246c4042 /main | |
parent | c952dfb853a64d1bb2a3c4293ce60b5c531a6e1c (diff) | |
download | aports-3579df3582b5e5ea53be8cd8eef240f3f0cabb10.tar.bz2 aports-3579df3582b5e5ea53be8cd8eef240f3f0cabb10.tar.xz |
main/alpine-baselayout: set default permissions for ping
we no longer do suid root ping. allow normal users to ping by default
and create a special group called 'ping' to be allowed to ping by
default.
Diffstat (limited to 'main')
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 9 | ||||
-rw-r--r-- | main/alpine-baselayout/group | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD index 14144e05cb..b71ee84842 100644 --- a/main/alpine-baselayout/APKBUILD +++ b/main/alpine-baselayout/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=alpine-baselayout -pkgver=3.0.1 +pkgver=3.0.2 pkgrel=0 pkgdesc="Alpine base dir structure and init scripts" url="http://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout" @@ -153,6 +153,7 @@ EOF net.ipv4.tcp_syncookies = 1 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1 +net.ipv4.ping_group_range=999 59999 kernel.panic = 120 EOF cat > "$pkgdir"/etc/fstab <<EOF @@ -184,7 +185,7 @@ d7da26e76752b2e31c66b63f40a73397 color_prompt 0ea6be55b18804f166e6939e9d5f4099 blacklist.conf f9e3eac60200d41dd5569eeabb4eddff i386.conf 17ba4f49c51dd2ba49ccceb0ecadaca4 kms.conf -d4ccf7b4f885915d4f3224230e410058 group +48be87f9fa4cb5a9da7ba7e9f84b367f group ab3ec2a6923f10a0d34b532b1eb692b6 inittab 53a187610b94b1f3ae053d1b77fdf353 passwd 2939a40b911cac04c85263072c663973 profile @@ -197,7 +198,7 @@ a00b56dbd437d3f2c32ced50974daa3cfc84a8dd1cbaf75cf307be20b398fc75 color_prompt 70becab743ff2071247bd144499eadbb1b42a5436dcc63991d69aa63ee2fe755 blacklist.conf 6c46c4cbfb8b7594f19eb94801a350fa2221ae9ac5239a8819d15555caa76ae8 i386.conf 079f74b93a4df310f55f60fea5e05996d3267c50076ae16402fa9e497ea5fdb2 kms.conf -b5024a5d7389d42349f36cd8bae8dddac3a314cc84f1f7a67dcaf94d3ee440ab group +ae62d4fa03d11ce75f767627e5d3b8681cc69d99b944496331673674b0d3e82f group d4623f3c1155b3ad8ec1f60103ce469fa1fe38066b24f34052166d2676735d07 inittab c0522652611c93a16abf0f73b1b6766a99f9de50f5d1f32979a25ae76bb77d0f passwd 8ef550a4efc4bed1630b47c48aefbf1c63ae6e8d9c1246be92135465965712d2 profile @@ -210,7 +211,7 @@ sha512sums="94a75cbd309e7b7d3b1bbbddb6f361335336d804c2a331b9963de7cee38633217bcd 2b8e55339955c9670b5b9832bf57e711aca70cd2ebf815a9623fbb7fcd440cca4dd6a4862750885f779080d5c5416de197ff9a250cf116b1c8cf130fafbdaae8 blacklist.conf 49109d434b577563849c43dd8141961ca798dada74d4d3f49003dac1911f522c43438b8241fa254e4faacdd90058f4d39a7d69b1f493f6d57422c1f706547c95 i386.conf b407351a5a64b00100753a13a91f4b1cb51017ae918a91fd37f3a6e76e3b6f562be643e74f969a888bdd54b0ad2d09e3b283d44ae4b5efccca7d7e9f735c5afb kms.conf -8af6fd701ef21bf19fa233d75d16dfb330be8ad523c2d1103a82895f42b7480bc1c5ccb19846dea80059c47ec75096e4e091d60a96429d3ec200a823a9c19dcc group +8fc0a662d47e0d8af0e1abdb4e67309ff84634afce5c3bc7614c61a3f1d365cd636746904f44021b1a63809d5f47c5bdd4661a1193f1120ab82c093979daf4d3 group 4758ee5725ffa4650a4e474047c2351668e9c089bb3d72840fba9ea261172a8deef4131e9d8726c83bedd9cb7f61ab01ca6f534b2933a2404f8037439cb90ee2 inittab 3e3d68c1daabb05d5b890a0dd079578301f140121b74435f32ed3a3511586f9fca5ad16cc44bf4f4642f7fa6577f71d9528ae8e02994b2d13eb3031c6070c37e passwd c4088a7148c0f161809852d248d2c2272d9c72be3f968c2e2ba40806f508238496eda0f8f2a42aa092773a56800b1dae9f843a42d93f1bb16ba5f58c111d531b profile diff --git a/main/alpine-baselayout/group b/main/alpine-baselayout/group index e20dff7ec6..a7ea3f80f4 100644 --- a/main/alpine-baselayout/group +++ b/main/alpine-baselayout/group @@ -43,5 +43,6 @@ smmsp:x:209:smmsp locate:x:245: abuild:x:300: utmp:x:406: +ping:x:999: nogroup:x:65533: nobody:x:65534: |