Re: [NEW] net/rwhoisd
Resubmitting again with new UID/GUID numbers, ones I had were reserved. Also patched server/security.c so that the daemon will refuse to run as root. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/19/2013 01:06 PM, Andrew Klettke wrote: Minor update; changed UID and GUID for the new users after finding the new ones I'd selected had already been reserved in the -current ports tree. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/19/2013 11:58 AM, Andrew Klettke wrote: Thank you very much for your input Stuart, I've addressed the issues you've raised and the new version is attached. Please let me know if there's anything else that needs attention. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/17/2013 01:26 AM, Stuart Henderson wrote: To get this into ports a bit more work is needed: On 2013/08/16 16:25, Andrew Klettke wrote: The easiest way would be to: 1. Copy the contents of the example directory into a directory that _rwhoisd owns (I like to use /var/rwhoisd, so `cp -R /usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`) 2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c /var/rwhoisd/rwhoisd.conf -i -s txt` - this information needs to go in a pkg/README file. 3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and 'use-syslog: YES' should be the only options you need to change) - the code should be patched so that this isn't needed, particularly the userid setting, there should be no chance of somebody running this as root by mistake. (@newuser/@newgroup lines also need updating to a free uid/gid, these ones are taken). 4. Run the daemon (`cd /var/rwhoisd rwhoisd`). There should be an rc script for this. Then you can test it using telnet to port 4321 (just enter '10.0.0.1' after connecting if you're using the sample data); it binds to all inet4 interfaces. I didn't look in detail, but does it really not have v6 support? rwhoisd.tar.gz Description: GNU Zip compressed data
Re: [NEW] net/rwhoisd
Thank you very much for your input Stuart, I've addressed the issues you've raised and the new version is attached. Please let me know if there's anything else that needs attention. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/17/2013 01:26 AM, Stuart Henderson wrote: To get this into ports a bit more work is needed: On 2013/08/16 16:25, Andrew Klettke wrote: The easiest way would be to: 1. Copy the contents of the example directory into a directory that _rwhoisd owns (I like to use /var/rwhoisd, so `cp -R /usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`) 2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c /var/rwhoisd/rwhoisd.conf -i -s txt` - this information needs to go in a pkg/README file. 3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and 'use-syslog: YES' should be the only options you need to change) - the code should be patched so that this isn't needed, particularly the userid setting, there should be no chance of somebody running this as root by mistake. (@newuser/@newgroup lines also need updating to a free uid/gid, these ones are taken). 4. Run the daemon (`cd /var/rwhoisd rwhoisd`). There should be an rc script for this. Then you can test it using telnet to port 4321 (just enter '10.0.0.1' after connecting if you're using the sample data); it binds to all inet4 interfaces. I didn't look in detail, but does it really not have v6 support? rwhoisd.tar.gz Description: GNU Zip compressed data
Re: [NEW] net/rwhoisd
Minor update; changed UID and GUID for the new users after finding the new ones I'd selected had already been reserved in the -current ports tree. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/19/2013 11:58 AM, Andrew Klettke wrote: Thank you very much for your input Stuart, I've addressed the issues you've raised and the new version is attached. Please let me know if there's anything else that needs attention. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/17/2013 01:26 AM, Stuart Henderson wrote: To get this into ports a bit more work is needed: On 2013/08/16 16:25, Andrew Klettke wrote: The easiest way would be to: 1. Copy the contents of the example directory into a directory that _rwhoisd owns (I like to use /var/rwhoisd, so `cp -R /usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`) 2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c /var/rwhoisd/rwhoisd.conf -i -s txt` - this information needs to go in a pkg/README file. 3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and 'use-syslog: YES' should be the only options you need to change) - the code should be patched so that this isn't needed, particularly the userid setting, there should be no chance of somebody running this as root by mistake. (@newuser/@newgroup lines also need updating to a free uid/gid, these ones are taken). 4. Run the daemon (`cd /var/rwhoisd rwhoisd`). There should be an rc script for this. Then you can test it using telnet to port 4321 (just enter '10.0.0.1' after connecting if you're using the sample data); it binds to all inet4 interfaces. I didn't look in detail, but does it really not have v6 support? rwhoisd.tar.gz Description: GNU Zip compressed data
Re: [NEW] net/rwhoisd
To get this into ports a bit more work is needed: On 2013/08/16 16:25, Andrew Klettke wrote: The easiest way would be to: 1. Copy the contents of the example directory into a directory that _rwhoisd owns (I like to use /var/rwhoisd, so `cp -R /usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`) 2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c /var/rwhoisd/rwhoisd.conf -i -s txt` - this information needs to go in a pkg/README file. 3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and 'use-syslog: YES' should be the only options you need to change) - the code should be patched so that this isn't needed, particularly the userid setting, there should be no chance of somebody running this as root by mistake. (@newuser/@newgroup lines also need updating to a free uid/gid, these ones are taken). 4. Run the daemon (`cd /var/rwhoisd rwhoisd`). There should be an rc script for this. Then you can test it using telnet to port 4321 (just enter '10.0.0.1' after connecting if you're using the sample data); it binds to all inet4 interfaces. I didn't look in detail, but does it really not have v6 support?
Re: [NEW] net/rwhoisd
The easiest way would be to: 1. Copy the contents of the example directory into a directory that _rwhoisd owns (I like to use /var/rwhoisd, so `cp -R /usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`) 2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c /var/rwhoisd/rwhoisd.conf -i -s txt` 3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and 'use-syslog: YES' should be the only options you need to change) 4. Run the daemon (`cd /var/rwhoisd rwhoisd`). Then you can test it using telnet to port 4321 (just enter '10.0.0.1' after connecting if you're using the sample data); it binds to all inet4 interfaces. Thanks, Andrew Klettke Systems Admin Optic Fusion On 08/16/2013 04:11 PM, Chris Cappuccio wrote: hey do you have templates or some simple way of configuring this bastard to actually output data? Andrew Klettke [aklet...@opticfusion.net] wrote: I had this port working the last time I posted it, but with the changes to the ports system it needed some updates. It never actually made it into the ports tree (which is fine), but just in case there are people using this that have run into problems, I've been hacking away and got it working again. Please see ARIN's rwhoisd server port tarball, attached. Testers would be appreciated, inclusion into the ports tree would be nice, too. -- Thanks, Andrew Klettke Systems Admin Optic Fusion
[NEW] net/rwhoisd
I had this port working the last time I posted it, but with the changes to the ports system it needed some updates. It never actually made it into the ports tree (which is fine), but just in case there are people using this that have run into problems, I've been hacking away and got it working again. Please see ARIN's rwhoisd server port tarball, attached. Testers would be appreciated, inclusion into the ports tree would be nice, too. -- Thanks, Andrew Klettke Systems Admin Optic Fusion rwhoisd.tar.gz Description: GNU Zip compressed data
New - net/rwhoisd
I've completed work on porting ARIN's rwhoisd, it has been tested on and has been running just fine on i386 hardware; any testers for different architectures? -- Thanks, Andrew Klettke Optic Fusion NOC 253-830-2943 rwhoisd.tgz Description: application/compressed-tar