<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>just real quick, since I'm at a Real Job and haven't access to a system yet to test, fixing is an exercise left to reader...:). IOW, it is probably full of bugs....</div><div><br></div><div>where 'other' is the blacklist list</div><div>'main' is the nodelist file:</div><div> </div><div>#! /bin/bash</div><div>awk 'FNR==NR { a [$1]; next } !($1 in a)' other main > temp</div><div>mv main old</div><div>mv temp main</div><div><br></div><div><br></div><div><br><br><div>--</div><div>Bryan</div>Sent from my iPad</div><div><br>On Aug 30, 2013, at 12:47 PM, "David Osborn" <<a href="mailto:david.osborn@manx.net">david.osborn@manx.net</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">Interesting idea.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I’ve done a bit of AWK’ing in the past to parse out stats from the log of who connected when and how many times, but I’ve slept since then and will have to learn it all over again </span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I guess that this will need to run regularly (cron?) in order to prevent a newly downloaded node list from unblocking the user.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I’ll look further at that. Thanks<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"> Bryan D. Boyle [<a href="mailto:bdboyle@bdboyle.com">mailto:bdboyle@bdboyle.com</a>] <br><b>Sent:</b> 30 August 2013 17:41<br><b>To:</b> David Osborn<br><b>Cc:</b> <<a href="mailto:app_rpt-users@ohnosec.org">app_rpt-users@ohnosec.org</a>><br><b>Subject:</b> Re: [App_rpt-users] Node Blocking<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal">write an awk (or PERL or ?) script to grok through the nodelist that gets downloaded on a regular basis and remove the node in question. <o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">that will, in essence, prevent the node from being listed as a valid node and prevent connection.<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal">I assume you are talking about allstar nodes vs individual users via the web transceiver...<br><br>--<o:p></o:p></p><div><p class="MsoNormal">Bryan<o:p></o:p></p></div><div><p class="MsoNormal">Sent from my iPhone 5...small<o:p></o:p></p></div><div><p class="MsoNormal">keyboard, big fingers...please<o:p></o:p></p></div><div><p class="MsoNormal">forgive misspellings...<o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal"><o:p> </o:p></p></div></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>On Aug 30, 2013, at 12:06, "David Osborn" <<a href="mailto:david.osborn@manx.net">david.osborn@manx.net</a>> wrote:<o:p></o:p></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">Hi Group,<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">I’m convinced I’ve seen talk of this before, but having trawled the archives, I’m darned if I can find it.<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Is there a method of blocking specific AllStar nodes from connecting? I know we’re all friends here and wouldn’t dream of being unpleasant to each other, but there are occasions when it may be necessary to temporarily stop another node from linking. How would this be achieved?<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Thanks<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">David<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB">_______________________________________________<br>App_rpt-users mailing list<br><a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br><a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><o:p></o:p></span></p></div></blockquote></div></div></blockquote></body></html>