Re: [PATCH V2 1/1] selinux-testsuite: Update SCTP asconf client/server

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

 



On Thu, Oct 15, 2020 at 3:49 PM Richard Haines
<richard_c_haines@xxxxxxxxxxxxxx> wrote:
> On Thu, 2020-10-15 at 12:28 +0200, Ondrej Mosnacek wrote:
<snip>
> Just a thought - have you tried running the server in one terminal
> session and the client in another (I've plugged in your Fedora 32
> addresses):
>
> cd ...tests/sctp
> echo 1 > /proc/sys/net/sctp/addip_enable
> echo 1 > /proc/sys/net/sctp/addip_noauth_enable
> runcon -t sctp_asconf_params_server_t ./sctp_asconf_params_server
> 10.0.138.59 10.123.123.123 1035
>
> cd ...tests/sctp
> runcon -t sctp_asconf_deny_param_add_client_t
> ./sctp_asconf_params_client 10.0.138.59 1035

Interesting... I just tried it a couple times and it's not behaving
consistently - the first time I got "SCTP_PRIMARY_ADDR: Permission
denied", then 'Dynamic Address Reconfiguration' twice in a row, then 7
times  "SCTP_PRIMARY_ADDR: Permission denied", then 'Dynamic Address
Reconfiguration' 5 times. and then again "SCTP_PRIMARY_ADDR:
Permission denied".

I tried (manually) different delays between starting the server and
starting the client, but there didn't seem to be a pattern.

-- 
Ondrej Mosnacek
Software Engineer, Platform Security - SELinux kernel
Red Hat, Inc.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux