Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIPE notice on STDOUT that shouldn't go to STDOUT? #4

Open
robert-scheck opened this issue Jun 22, 2019 · 4 comments
Open

RIPE notice on STDOUT that shouldn't go to STDOUT? #4

robert-scheck opened this issue Jun 22, 2019 · 4 comments

Comments

@robert-scheck
Copy link

Is it really intended that the RIPE notice ends up on STDOUT? I thought comments in OpenBGPD should start using a hash mark…

# rpki-client -e rsync tals/*.tal > vrp.filter
rpki-client:  ...trace: error:02001002:system library:fopen:No such file or directory
rpki-client:  ...trace: error:2006D080:BIO routines:BIO_new_file:no such file
rpki-client: /var/cache/rpki-client/ca.rg.net/rpki/RGnet/WWz_C2qLO_yVk8-8glRCLHuz7Fw.mft: BIO_new_file
rpki-client:  ...trace: error:02001002:system library:fopen:No such file or directory
rpki-client:  ...trace: error:2006D080:BIO routines:BIO_new_file:no such file
rpki-client: /var/cache/rpki-client/ca.rg.net/rpki/RGnet-OU/ovsCA/aaI5ikDRYL7nJH9kwrv4b80iIAI.mft: BIO_new_file
# 
# head vrp.filter
The RIPE NCC Certification Repository is subject to Terms and Conditions
See http://www.ripe.net/lir-services/ncc/legal/certification/repository-tc

The RIPE NCC Certification Repository is subject to Terms and Conditions
See http://www.ripe.net/lir-services/ncc/legal/certification/repository-tc

roa-set {
    1.0.0.0/24 source-as 13335
    1.1.1.0/24 source-as 13335
    1.160.0.0/12 maxlen 24 source-as 3462
# 
@job
Copy link
Collaborator

job commented Jun 22, 2019 via email

@cjeker
Copy link

cjeker commented Oct 16, 2019

This was fixed in openrsync some time ago (should now behave like rsync).
The MOTD in rsyncd should only be printed if -v was passed to rsync.

@robert-scheck
Copy link
Author

As per 0.3.0 the RIPE notice still exists (without passing -v to rsync or to rpki-client).

@robert-scheck
Copy link
Author

It gets silent once I pass --no-motd to Samba rsync. This however would require a code change like (a conditional) args[i++] = "--no-motd"; at main.c:719, because openrsync doesn't seem to have this option. Any upstream opinions on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants