<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="description" content="IRC LOG for channel #evergreen" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" type="text/css" href="/s/style.css" title="Irclog Stylesheet" /> <link rel="shortcut icon" href="/s/favicon.ico" type="image/x-icon" /> <link rel="canonical" href="/evergreen/2017-01-29" /> <title>IRC log for #evergreen, 2017-01-29</title> </head> <body> <p><a href="http://evergreen-ils.org/"><img style="float:right; border:none" src="/s/small_logo.jpg" alt="Evergreen ILS Website"/></a></p> <h1>IRC log for #evergreen, 2017-01-29</h1> <p> <a href="/evergreen/2017-01-28" rel="prev"> ← Previous day</a> | <a href="/">Channels</a> | <a href="/evergreen/">#evergreen index</a> | <a href="/evergreen/today">Today</a> | <a href="/evergreen/2017-01-30" rel="next"> Next day →</a> | <a href="/evergreen/search">Search</a> | <a href="http://www.google.com/search?q=site%3Airc.evergreen-ils.org+inurl%3Aevergreen">Google Search</a> | <a href="/evergreen/2017-01-29/text">Plain-Text</a> | <a href="/evergreen/2017-01-29/summary">summary</a> | <a href="https://webchat.freenode.net/?channels=evergreen">Join Webchat</a> </p> <p>All times shown according to the server's local time.</p> <div> <span style="display: none;" id="filter_toggle"></span> <span id="summary_container" /> </div> <form action="#" name="summary_form" id="summary_form"> <span id="top" /> <table id="log" style="clear:both"> <tr class="head"> <th>Time</th> <th>Nick</th> <th>Message</th> </tr> <tr id="id_l2" class="new nick nick_pinesol_green dark"> <td class="time" id="i_286194"><a href="/evergreen/2017-01-29#i_286194">05:00</a></td> <td style="color: #bb004d" class="nick">pinesol_green</td> <td class="msg ">News from qatests: Test Success <<a href="http://testing.evergreen-ils.org/~live" title="http://testing.evergreen-ils.org/~live">http://testing.evergreen-ils.org/~live</a>></td> </tr> <tr id="id_l3" class="new special"> <td class="time" id="i_286196"><a href="/evergreen/2017-01-29#i_286196">09:50</a></td> <td style="color: #ad7900" class="nick"></td> <td class="msg ">genpaku joined #evergreen</td> </tr> <tr id="id_l4" class="cont special"> <td class="time" id="i_286197"><a href="/evergreen/2017-01-29#i_286197">14:49</a></td> <td style="color: #ad7900" class="nick"></td> <td class="msg ">Dyrcona joined #evergreen</td> </tr> <tr id="id_l5" class="cont special"> <td class="time" id="i_286199"><a href="/evergreen/2017-01-29#i_286199">15:57</a></td> <td style="color: #ad7900" class="nick"></td> <td class="msg ">kenstir joined #evergreen</td> </tr> <tr id="id_l6" class="new nick nick_kenstir dark"> <td class="time" id="i_286200"><a href="/evergreen/2017-01-29#i_286200">16:06</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">How do I query the 856 field via OSRF? In the Android app, I provide an "online access" button for electronic resources, and "place hold" for others. I want to reliably determine whether a record is an online resource and if so the URL. I have been using "open-ils.search.biblio.record.mods_slim.retrieve", but it is not working in some cases.</td> </tr> <tr id="id_l7" class="new nick nick_Dyrcona"> <td class="time" id="i_286201"><a href="/evergreen/2017-01-29#i_286201">16:15</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">mods won't include the 856, I don't think.</td> </tr> <tr id="id_l8" class="cont nick nick_Dyrcona"> <td class="time" id="i_286202"><a href="/evergreen/2017-01-29#i_286202">16:16</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">You could retrieve the MARC of the record and parse that.</td> </tr> <tr id="id_l9" class="new nick nick_kenstir dark"> <td class="time" id="i_286203"><a href="/evergreen/2017-01-29#i_286203">16:20</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">and can you lend me a clue as to how to retrieve the MARC of the record given a record ID?</td> </tr> <tr id="id_l10" class="cont nick nick_kenstir dark"> <td class="time" id="i_286204"><a href="/evergreen/2017-01-29#i_286204">16:23</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">I am grepping through Open-ILS/src/perlmods for all methods with "marc" in the name but so far this is not fruitful.</td> </tr> <tr id="id_l11" class="new nick nick_Dyrcona"> <td class="time" id="i_286205"><a href="/evergreen/2017-01-29#i_286205">16:29</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">You can retrieve the bre object via pcrud. The marc field will have the marcxml representation of the record.</td> </tr> <tr id="id_l12" class="new nick nick_kenstir dark"> <td class="time" id="i_286206"><a href="/evergreen/2017-01-29#i_286206">16:32</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">Thanks, that's a great lead!</td> </tr> <tr id="id_l13" class="new nick nick_Dyrcona"> <td class="time" id="i_286207"><a href="/evergreen/2017-01-29#i_286207">16:33</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">You can also try open-ils.supercat.record.marcxml.retrieve</td> </tr> <tr id="id_l14" class="cont nick nick_Dyrcona"> <td class="time" id="i_286208"><a href="/evergreen/2017-01-29#i_286208">16:34</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I'm having fun trying to get FreeBSD syslog to route messages through a script...</td> </tr> <tr id="id_l15" class="new nick nick_kenstir dark"> <td class="time" id="i_286209"><a href="/evergreen/2017-01-29#i_286209">16:34</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">That does sound like fun:)</td> </tr> <tr id="id_l16" class="cont nick nick_kenstir dark"> <td class="time" id="i_286210"><a href="/evergreen/2017-01-29#i_286210">16:35</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">I have been using <a href="https://webby.evergreencatalog.com/opac/extras/docgen.xsl" title="https://webby.evergreencatalog.com/opac/extras/docgen.xsl">https://webby.evergreencatalog.com/opac/extras/docgen.xsl</a> to explore the service APIs, but they are not always listed.</td> </tr> <tr id="id_l17" class="new nick nick_Dyrcona"> <td class="time" id="i_286211"><a href="/evergreen/2017-01-29#i_286211">16:37</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Well, if I grep lines from the logs into my script, the script seems to work.</td> </tr> <tr id="id_l18" class="cont nick nick_Dyrcona"> <td class="time" id="i_286212"><a href="/evergreen/2017-01-29#i_286212">16:37</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">When I configure the line in syslog.conf, nothing seems to happen.</td> </tr> <tr id="id_l19" class="cont nick nick_Dyrcona"> <td class="time" id="i_286213"><a href="/evergreen/2017-01-29#i_286213">16:39</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Well, if that docgen.xsl is using srsh's introspect command, it can choke on the services with lots of autogenerated methods like storage and cstore.</td> </tr> <tr id="id_l20" class="cont nick nick_Dyrcona"> <td class="time" id="i_286214"><a href="/evergreen/2017-01-29#i_286214">16:42</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Well, I got my script to work. At least, it created the db file. :)</td> </tr> <tr id="id_l21" class="cont nick nick_Dyrcona"> <td class="time" id="i_286215"><a href="/evergreen/2017-01-29#i_286215">16:42</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I'm trying to be pro-active about blocking sites that try to guess passwords over email ports.</td> </tr> <tr id="id_l22" class="new nick nick_kenstir dark"> <td class="time" id="i_286216"><a href="/evergreen/2017-01-29#i_286216">16:43</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">Cool, I didn't know you could syslog to a script.</td> </tr> <tr id="id_l23" class="cont nick nick_kenstir dark"> <td class="time" id="i_286217"><a href="/evergreen/2017-01-29#i_286217">16:43</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">Do you know about fail2ban?</td> </tr> <tr id="id_l24" class="new nick nick_Dyrcona"> <td class="time" id="i_286218"><a href="/evergreen/2017-01-29#i_286218">16:43</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">You can on FreeBSD. I'm not sure it works with rsyslog on most Linux systems.</td> </tr> <tr id="id_l25" class="cont nick nick_Dyrcona"> <td class="time" id="i_286219"><a href="/evergreen/2017-01-29#i_286219">16:43</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Yes, I know about it, but this is simpler. :)</td> </tr> <tr id="id_l26" class="new nick nick_kenstir dark"> <td class="time" id="i_286220"><a href="/evergreen/2017-01-29#i_286220">16:43</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">At my shop we use syslog-ng everywhere</td> </tr> <tr id="id_l27" class="new nick nick_Dyrcona"> <td class="time" id="i_286221"><a href="/evergreen/2017-01-29#i_286221">16:44</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">yeah, I looked at syslog-ng's documentation and I'm not sure you can do this with syslog-ng, either. :)</td> </tr> <tr id="id_l28" class="cont nick nick_Dyrcona"> <td class="time" id="i_286222"><a href="/evergreen/2017-01-29#i_286222">16:44</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Anyway, I'm blocking sites that try non-existent accounts or accounts that do not receive email immediately.</td> </tr> <tr id="id_l29" class="cont nick nick_Dyrcona"> <td class="time" id="i_286223"><a href="/evergreen/2017-01-29#i_286223">16:45</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">If you try a legit account, you get blocked after so many failures in a certain time period, hence the dbm file.</td> </tr> <tr id="id_l30" class="cont nick nick_Dyrcona"> <td class="time" id="i_286224"><a href="/evergreen/2017-01-29#i_286224">16:46</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I tested it by deliberately messing up my password.</td> </tr> <tr id="id_l31" class="cont nick nick_Dyrcona"> <td class="time" id="i_286225"><a href="/evergreen/2017-01-29#i_286225">16:46</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I've been getting attacked every couple of weeks from Romania, Belize, and Ukraine mostly.</td> </tr> <tr id="id_l32" class="new nick nick_kenstir dark"> <td class="time" id="i_286226"><a href="/evergreen/2017-01-29#i_286226">16:53</a></td> <td style="color: #00413d" class="nick">kenstir</td> <td class="msg ">It's annoying, but as soon as you bring up a server on a public IP it gets probed.</td> </tr> <tr id="id_l33" class="new nick nick_Dyrcona"> <td class="time" id="i_286227"><a href="/evergreen/2017-01-29#i_286227">16:56</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Yeah.</td> </tr> <tr id="id_l34" class="cont nick nick_Dyrcona"> <td class="time" id="i_286228"><a href="/evergreen/2017-01-29#i_286228">16:56</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">And my script works, 'cause I managed to fail enough times to get blocked in my firewall. :)</td> </tr> <tr id="id_l35" class="cont nick nick_Dyrcona"> <td class="time" id="i_286229"><a href="/evergreen/2017-01-29#i_286229">16:58</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I guess my first attempt at configuring it didn't have the program name filter correct, and my second attempt had the wrong level.</td> </tr> <tr id="id_l36" class="cont nick nick_Dyrcona"> <td class="time" id="i_286230"><a href="/evergreen/2017-01-29#i_286230">16:59</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">I wonder if it works if I move it to the bottom of the file?</td> </tr> <tr id="id_l37" class="new nick nick_pinesol_green dark"> <td class="time" id="i_286231"><a href="/evergreen/2017-01-29#i_286231">17:00</a></td> <td style="color: #bb004d" class="nick">pinesol_green</td> <td class="msg ">News from qatests: Test Success <<a href="http://testing.evergreen-ils.org/~live" title="http://testing.evergreen-ils.org/~live">http://testing.evergreen-ils.org/~live</a>></td> </tr> <tr id="id_l38" class="new nick nick_Dyrcona"> <td class="time" id="i_286233"><a href="/evergreen/2017-01-29#i_286233">17:00</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Yes, apparently, so that wasn't my problem before.</td> </tr> <tr id="id_l39" class="cont nick nick_Dyrcona"> <td class="time" id="i_286234"><a href="/evergreen/2017-01-29#i_286234">17:00</a></td> <td style="color: #7d008d" class="nick">Dyrcona</td> <td class="msg ">Anyway, enough about that.</td> </tr> <tr id="id_l40" class="new nick nick_dbs dark"> <td class="time" id="i_286235"><a href="/evergreen/2017-01-29#i_286235">22:07</a></td> <td style="color: #100090" class="nick">dbs</td> <td class="msg ">@later tell kenstir <a href="https://example.org/opac/extras/supercat/retrieve/marcxml-full/record/907278" title="https://example.org/opac/extras/supercat/retrieve/marcxml-full/record/907278">https://example.org/opac/extras/supercat/retrieve/marcxml-full/record/907278</a> to get the MARCXML + holdings + URIs for record 907278, per <a href="https://wiki.evergreen-ils.org/doku.php?id=backend-devel:supercat:examples" title="https://wiki.evergreen-ils.org/doku.php?id=backend-devel:supercat:examples">https://wiki.evergreen-ils.org/doku.php?id=backend-devel:supercat:examples</a></td> </tr> <tr id="id_l41" class="new nick nick_pinesol_green"> <td class="time" id="i_286236"><a href="/evergreen/2017-01-29#i_286236">22:07</a></td> <td style="color: #bb004d" class="nick">pinesol_green</td> <td class="msg ">dbs: The operation succeeded.</td> </tr> </table> </form> <span id="bottom" /> <p> <a href="/evergreen/2017-01-28" rel="prev"> ← Previous day</a> | <a href="/">Channels</a> | <a href="/evergreen/">#evergreen index</a> | <a href="/evergreen/today">Today</a> | <a href="/evergreen/2017-01-30" rel="next"> Next day →</a> | <a href="/evergreen/search">Search</a> | <a href="http://www.google.com/search?q=site%3Airc.evergreen-ils.org+inurl%3Aevergreen">Google Search</a> | <a href="/evergreen/2017-01-29/text">Plain-Text</a> | <a href="/evergreen/2017-01-29/summary">summary</a> | <a href="https://webchat.freenode.net/?channels=evergreen">Join Webchat</a> </p> <div id="footer"> <p>Powered by <a href="http://moritz.faui2k3.org/en/ilbot">ilbot</a>. <strong>Any questions? Ask bshum in #evergreen on irc.libera.chat</strong></p> <p> Evergreen is open source software, freely licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU GPLv2</a> or later.<br /> The <a href="http://evergreen-ils.org/blog/?p=583" target="_blank">Evergreen Project is a member</a> of <a href="http://sfconservancy.org/" target="_blank">Software Freedom Conservancy</a>. </p> </div> <script type="text/javascript" src="/s/jquery.min.js"></script> <script type="text/javascript"> IlbotConfig = { base_url: '/', channel: 'evergreen', day: '2017-01-29', still_today: false }; </script> <script type="text/javascript" src="/s/dynamic.js"></script> </body> </html> <!-- -->