0x00配置文件

rsync xinetd配置文件

/etc/xinetd.d/rsync

创建rsync的密码文件

格式username:password
vim /etc/rsyncd.secrets

创建rsync共享配置文件

vim /etc/rsyncd.conf

secrets file = /etc/rsyncd.secrets #密码文件位置,认证文件设置,设置用户名和密码
#motd file = /etc/rsyncd.motd #欢迎信息文件名称和存放位置(此文件没有,可以自行添加)
read only = no # yes只读 值为NO意思为可读可写模式,数据恢复用NO
list = yes
uid = nobody #以什么身份运行rsync
gid = nobody

[out]

#模块名 comment = Welcome #欢迎信息 path = /home/rsync/out #rsync同步的路径 auth users = rsync #授权帐号,认证的用户名,如果没有这行则表明是匿名,多个用户用,分隔。 hosts allow = X.X.X.X #允许访问的IP auth users = username #/etc/rsyncd.secrets中的用户名

修改权限与所有权

chown root.root /etc/rsyncd.*
chmod 600 /etc/rsyncd.*
service xinetd restart

0x01安全加固

使用iptables限制ip

未经授权访问的危害在这里就不叙述了

例如限制内网192.168.101.0/24访问:

iptables -A INPUT -i eth0 -p tcp -s 192.168.101.0/24 --dport 873 -m state --state NEW,ESTABLISHED -j ACCEPT

iptables -A OUTPUT -o eth0 -p tcp --sport 873 -m state --state ESTABLISHED -j ACCEPT

使用rsyncd.conf配置host allow限制ip

hosts allow = X.X.X.X #允许访问的IP

添加用户密码

添加rsync用户权限访问,注意配置的是rsyncd.conf中的:

*密码文件位置,认证文件设置,设置用户名和密码
secrets file = /etc/rsyncd.secrets  

*授权帐号,认证的用户名,如果没有这行则表明是匿名,多个用户用,分隔。
auth users = rsync 

0x02 参考

Rsync安全配置

675 对 “Rsync安全配置”的想法;

  1. Trump’s pressure on investigators prompted Rep.
    https://grazioso1990.diary.ru/ https://www.metal-archives.com/users/hippocrepian1990 https://onedio.ru/profile/jhkjlkjlk-197-5 https://lennyzz1966.bandcamp.com/album/meeting-master-at-the-airport https://jobs.thedrinksbusiness.com/profiles/3307818-jamie-montoya

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  2. Trump’s pressure on investigators prompted Rep.
    https://www.obesityhelp.com/members/vasj611971/about_me/ https://imageevent.com/groundling1979 https://muvizu.com/Profile/velociman1982/Latest https://tubeteencam.com/user/kalist1996/profile https://onedio.ru/profile/redivel-196-1

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  3. Trump’s pressure on investigators prompted Rep.
    http://hubaocracy1974.idea.informer.com/ https://aristology1956.bravesites.com/ https://cannabis.net/user/130692 https://www.hentai-foundry.com/user/dokc1957/profile https://onedio.ru/profile/olivk-195-3

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  4. Trump’s pressure on investigators prompted Rep.
    http://www.babelcube.com/user/felicia-chapman-53 http://photozou.jp/user/top/3333412 https://www.divephotoguide.com/user/daskyp1970 http://photozou.jp/user/top/3334831 https://participer.ge.ch/profiles/gaudiloquent1984/activity

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  5. Trump’s pressure on investigators prompted Rep.
    https://godotengine.org/qa/user/abominate1957 https://refocillate1951.educatorpages.com/ https://www.cakeresume.com/me/felicia-fcdc66 https://www.divephotoguide.com/user/fusionbreak1994 http://photozou.jp/user/top/3333612

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  6. Trump’s pressure on investigators prompted Rep.
    https://files.fm/hebenon1956/info https://slikouronlife.co.za/artist/140482 https://files.fm/reticle1978/info https://pastehere.xyz/y4SbOblsw/ https://flowerpower1983.diary.ru/

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  7. Trump’s pressure on investigators prompted Rep.
    https://minkx1959.educatorpages.com/ http://www.babelcube.com/user/charles-munns https://haveagood.holiday/users/311107 https://www.fundable.com/john-cruz-1 https://www.hentai-foundry.com/user/fkbnaskin1999/profile

    Zoe Lofgren, who sits on the House committee probing the insurrection, to warn that the ex-President had issued a “call to arms.”
    “Calling out for demonstrations if, you know, anything adverse, legally, happens to him, is pretty extraordinary. And I think it’s important to think through what message is being sent,” the California Democrat told CNN’s Pamela Brown on Sunday.
    In yet another sign of Trump’s incessantly consuming inability to accept his election loss, he issued a statement that same evening slamming former Vice President Mike Pence for refusing his demands to overturn the result of the democratic election in 2020, and falsely claimed that the then-vice president had the power to do so.

  8. With thanks! I like this.
    [url=https://dissertationwritingtops.com/]dissertation proposal[/url] dissertation help services [url=https://helpwritingdissertation.com/]proquest dissertations[/url] custom dissertation writing services

  9. Sexy drunk girl eagerly sucks beer from a martini glass in a real porn video.
    Pussies get pounded extra hard when these hot girls are drunk in a porn flick.
    A X-rated drunken fuck session with vodka spilled all over the sheets.
    Watch as she gets fully nude and begs for anal in a crazy drunken porn video.
    These horny girls get down and dirty when the martinis flow in a naughty porn vid.
    Get ready to cum as these real hot girls get fucked after a few beers.
    Anal sex gets extra kinky when they are too drunk in an R-rated porn video.
    Sloshed girls get banged while the vodka is still on their lips in another XXX clip.
    Naughty drunken porn with beer flowing everywhere as she screams in pleasure.
    Slippery fun with hot naked drunk girls sprawled out begging for more from her partner.
    A nude sex romp with vodka and cocktails running down her lips in an allowed porn video.
    A wild evening of drunken porn that’s sure to get your adrenaline pumping.
    Wet pussy licking as an intoxicated girl begs for his cum in a real porn flick.
    https://www.obesityhelp.com/members/kippage1950/about_me/ https://rentry.org/rwpg2 https://www.metal-archives.com/users/androlepsia1965 https://photozou.jp/user/top/3336229 https://haveagood.holiday/users/315374

    A XXX drunken orgy that is filled with lots of naughty action and pleasure.

  10. Sexy drunk girl eagerly sucks beer from a martini glass in a real porn video.
    Pussies get pounded extra hard when these hot girls are drunk in a porn flick.
    A X-rated drunken fuck session with vodka spilled all over the sheets.
    Watch as she gets fully nude and begs for anal in a crazy drunken porn video.
    These horny girls get down and dirty when the martinis flow in a naughty porn vid.
    Get ready to cum as these real hot girls get fucked after a few beers.
    Anal sex gets extra kinky when they are too drunk in an R-rated porn video.
    Sloshed girls get banged while the vodka is still on their lips in another XXX clip.
    Naughty drunken porn with beer flowing everywhere as she screams in pleasure.
    Slippery fun with hot naked drunk girls sprawled out begging for more from her partner.
    A nude sex romp with vodka and cocktails running down her lips in an allowed porn video.
    A wild evening of drunken porn that’s sure to get your adrenaline pumping.
    Wet pussy licking as an intoxicated girl begs for his cum in a real porn flick.
    https://www.metal-archives.com/users/iedionym1958 https://www.shutterstock.com/g/sepiatone1983/about https://ellak.gr/user/jopa1221951/ https://imageevent.com/iatraliptic1954 https://www.hentai-foundry.com/user/pantophagy1986/profile

    A XXX drunken orgy that is filled with lots of naughty action and pleasure.

  11. Sexy drunk girl eagerly sucks beer from a martini glass in a real porn video.
    Pussies get pounded extra hard when these hot girls are drunk in a porn flick.
    A X-rated drunken fuck session with vodka spilled all over the sheets.
    Watch as she gets fully nude and begs for anal in a crazy drunken porn video.
    These horny girls get down and dirty when the martinis flow in a naughty porn vid.
    Get ready to cum as these real hot girls get fucked after a few beers.
    Anal sex gets extra kinky when they are too drunk in an R-rated porn video.
    Sloshed girls get banged while the vodka is still on their lips in another XXX clip.
    Naughty drunken porn with beer flowing everywhere as she screams in pleasure.
    Slippery fun with hot naked drunk girls sprawled out begging for more from her partner.
    A nude sex romp with vodka and cocktails running down her lips in an allowed porn video.
    A wild evening of drunken porn that’s sure to get your adrenaline pumping.
    Wet pussy licking as an intoxicated girl begs for his cum in a real porn flick.
    https://www.quia.com/profiles/feliciac145 https://www.metal-archives.com/users/magendy1957 https://www.cossa.ru/profile/?ID=217935 https://haveagood.holiday/users/317937 https://www.divephotoguide.com/user/meedless1997

    A XXX drunken orgy that is filled with lots of naughty action and pleasure.

  12. Sexy drunk girl eagerly sucks beer from a martini glass in a real porn video.
    Pussies get pounded extra hard when these hot girls are drunk in a porn flick.
    A X-rated drunken fuck session with vodka spilled all over the sheets.
    Watch as she gets fully nude and begs for anal in a crazy drunken porn video.
    These horny girls get down and dirty when the martinis flow in a naughty porn vid.
    Get ready to cum as these real hot girls get fucked after a few beers.
    Anal sex gets extra kinky when they are too drunk in an R-rated porn video.
    Sloshed girls get banged while the vodka is still on their lips in another XXX clip.
    Naughty drunken porn with beer flowing everywhere as she screams in pleasure.
    Slippery fun with hot naked drunk girls sprawled out begging for more from her partner.
    A nude sex romp with vodka and cocktails running down her lips in an allowed porn video.
    A wild evening of drunken porn that’s sure to get your adrenaline pumping.
    Wet pussy licking as an intoxicated girl begs for his cum in a real porn flick.
    https://www.obesityhelp.com/members/xstrazhx1964/about_me/ https://www.shutterstock.com/g/nemeanlion1997/about https://pornsavant.com/members/78868-victrix1992?tab=aboutme#aboutme https://chyoa.com/user/xczvzn1964 http://www.nfomedia.com/profile?uid=rLiWZkF

    A XXX drunken orgy that is filled with lots of naughty action and pleasure.

  13. Sexy drunk girl eagerly sucks beer from a martini glass in a real porn video.
    Pussies get pounded extra hard when these hot girls are drunk in a porn flick.
    A X-rated drunken fuck session with vodka spilled all over the sheets.
    Watch as she gets fully nude and begs for anal in a crazy drunken porn video.
    These horny girls get down and dirty when the martinis flow in a naughty porn vid.
    Get ready to cum as these real hot girls get fucked after a few beers.
    Anal sex gets extra kinky when they are too drunk in an R-rated porn video.
    Sloshed girls get banged while the vodka is still on their lips in another XXX clip.
    Naughty drunken porn with beer flowing everywhere as she screams in pleasure.
    Slippery fun with hot naked drunk girls sprawled out begging for more from her partner.
    A nude sex romp with vodka and cocktails running down her lips in an allowed porn video.
    A wild evening of drunken porn that’s sure to get your adrenaline pumping.
    Wet pussy licking as an intoxicated girl begs for his cum in a real porn flick.
    https://www.cakeresume.com/me/felicia-69eb8e https://files.fm/apjiekuh1952/info https://haveagood.holiday/users/317825 https://ellak.gr/user/derina1960/ https://zapytaj.zhp.pl/user/earthmother1979

    A XXX drunken orgy that is filled with lots of naughty action and pleasure.