Re: wireless router
Another good tool is flashrd for any Soekris needs: http://www.nmedia.net/flashrd/ This make deployment even more smooth. Even the upgrades are nice. But mostly it comes with a mindset of preserving the flashdisk. Cheers, * On Tue, Jul 26, 2016 at 07:15:06PM -0500, Edgar Pettijohn wrote: > I just wanted to thank OpenBSD for making it so easy to > turn my Soekris box into a wireless router for my home. > > I've been fighting it for a couple of weekends now. It > seems the problem was it was easier than I expected, so > all of my problems were self made. > > Thanks! > -- > Edgar Pettijohn > -- -- Steve Clement https://www.twitter.com/SteveClement mailto:st...@localhost.lu .lu: +352 20 333 55 65 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: simple DNS lookup utility
2016-07-26 7:00 GMT-03:00 Peter J. Philipp : > On Tue, Jul 26, 2016 at 01:00:43AM -0300, Rodrigo Mosconi wrote: > > Hi, > > > > For a course work, I wrote a simple DNS lookup utility using only the > > native libc. It`s not yet a complete replacement for dig/host/nslookup, > > but I can work to improve it later. > > I would like to receive any comments about it. > > > > > > Follow the diff. > > > > thx, > > > > Mosconi > > Hello Rodrigo Mosconi, > > I haven't used this utility only read the code a little. I think the > bsearch of the RR types is cool. I did think that when you cast to > unsigned long for some SOA values you may be doing something unintended, > it's better to cast to uint32_t IMO if casting at all. The reason being > an unsigned long on amd64 is 8 bytes size, and 4 bytes size on i386. > > Anyhow since you're leaning on libasr you're getting experience with it. > There was a call by OpenSMTPD on twitter a while back that "if DNSSEC is > put > into libasr, they would look into DANE". I don't know where the status of > that is now. I did some code and posted it to the freenode IRC channel > #opensmtpd, since eric was very busy at the time I don't know if he saw it. > > What you can do is perhaps look into getting a full dnssec stack into > libasr > as a follow up project if you want. I'd try to get in touch with eric@ if > you're interested in that. Perhaps you guys can form a coding group to > make > this horrendously difficult project easier. > > If you're interested in that I'd recommend to you this book that I also > have > that I use for my DNSSEC implementations. It's called "The DNSSEC > Specifications" by Reed Media Services. It's basically the RFC's printed > out > and put into a book, but it's handy for dealing with DNSSEC since you have > an offline copy of the RFC's to read at places where there is no computer. > > If that's not the way you want to go, perhaps you want to write a DNS > server. > I did this and my code can be found at http://delphinusdns.centroid.eu. > I'm > currently programming on a sign utility for DNSSEC signing zones. DNS is a > never ending subject and I've been programming 10+ years on my DNS server, > what > I have learned is that it's a long term commitment to do any code for DNS. > > So in conclusion, you've proved that you can code DNS, a few doors open for > you but they promise to be a long journey to reach the final destination > and > a lot of hard work. You can choose to close those doors and stick with the > achievement of a dig like tool and persue other short term projects or you > can take the leap, but it'll consume your life for years on end if you stay > at it. It can be profitable for you if you market it right, or it can keep > you unfed for a decade or longer. I'm just saying. :-) > > To reiterate I think your code looks fairly good with minor nits given from > a mediocre programmer such as me. > > Best Regards, > > -peter > Thanks Peter, Related with DNS, I`m thinking on improve it later to become more like dig. For now, I`m finishing a 40 pages report about it.. (yes, the report is bigger than the code...). []`s Mosconi
6.0 lyrics
I'm impressed. Great job on the music and artwork, I'm sure the cyberpunk community screaming right now. It's a great contemporary remake of a classic work that marked a generation. Congrats for everyone that worked on this.
Re: spreed server
Did you use "gmake"? Mart On Thu, Jul 21, 2016 at 10:29 PM, Stephen Graf wrote: > Has anyone tried to build the spreed server? > https://github.com/strukturag/spreed-webrtc > > I tried, but the configure would not run with openbsd automake, autoconf and > m4 packages. > When I loaded the GNU equivalents, the configure ran but the makefile > produced did not work, > probably because the openbsd packages were not used.
wireless router
I just wanted to thank OpenBSD for making it so easy to turn my Soekris box into a wireless router for my home. I've been fighting it for a couple of weekends now. It seems the problem was it was easier than I expected, so all of my problems were self made. Thanks! -- Edgar Pettijohn
Re: athn0: device timeout with AR9271
On Tue, Jul 26, 2016 at 07:57:46PM +, ML mail wrote: > Should I upgrade to -CURRENT? Yes!
Re: athn0: device timeout with AR9271
Hi ML, in which machine is the usb dongle plugged in? Alix/Apu1/Apu2? Other? Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Dienstag, 26. Juli 2016 21:59 An: Adam Wolk; Miscellaneous OBSD Antwort an: ML mail Betreff: Re: athn0: device timeout with AR9271 Hi Adam, I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the same issue. In the kernel log I get a ton of these messages: athn0: firmware command 0x17 timed out athn0: firmware command 0x18 timed out Now what would be the next step? Should I upgrade to -CURRENT? or is there any patches I can try from you? Regards, ML On Tuesday, July 26, 2016 11:38 AM, Adam Wolk wrote: On Mon, Jul 25, 2016 at 01:31:13PM +0200, Stefan Sperling wrote: > On Mon, Jul 25, 2016 at 09:57:38AM +, ML mail wrote: > > Hi, > > > > I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot. > > > > Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs > in the wifi stack were fixed in -current which might affect this. > The issue might also be what I encountered with my athn0 usb dongle. https://marc.info/?l=openbsd-misc&m=144895556213390&w=2 I do plan on implementing the process context for this specific driver (even started during pkgsrcon in the beginning of this month). Let me know if the issue persists after upgrading, would be nice to have more than one person to test the changes when I get around to finishing it up. Regards, Adam
Re: athn0: device timeout with AR9271
Yeah, But answer to list and Adam as well, sorry pressed wrong button on my BlackBerry. Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Dienstag, 26. Juli 2016 22:34 An: Kapfhammer, Stefan Antwort an: ML mail Betreff: Re: AW: athn0: device timeout with AR9271 Thanks for the tip regarding the BIOS. The machine was bought autumn 2015 so I will check with the hardware vendor see if he has a newer firmware for this BIOS and get back to you. On Tuesday, July 26, 2016 10:28 PM, "Kapfhammer, Stefan" wrote: Have latest bis firmware upgrade? That was the issue on apu2. After upgrading workes like a charm. Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Dienstag, 26. Juli 2016 22:26 An: Kapfhammer, Stefan; Adam Wolk; Miscellaneous OBSD Antwort an: ML mail Betreff: Re: AW: athn0: device timeout with AR9271 Hi Stefan, It's a Nexcom network application NSA 1150, you will find the exact specs here: http://www.nexcom.com/Products/network-and-communication-solutions/entry-leve l-appliance/entry-level-appliance/network-communication-nsa-1150 Regards, ML On Tuesday, July 26, 2016 10:05 PM, "Kapfhammer, Stefan" wrote: Hi ML, in which machine is the usb dongle plugged in? Alix/Apu1/Apu2? Other? Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Dienstag, 26. Juli 2016 21:59 An: Adam Wolk; Miscellaneous OBSD Antwort an: ML mail Betreff: Re: athn0: device timeout with AR9271 Hi Adam, I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the same issue. In the kernel log I get a ton of these messages: athn0: firmware command 0x17 timed out athn0: firmware command 0x18 timed out Now what would be the next step? Should I upgrade to -CURRENT? or is there any patches I can try from you? Regards, ML On Tuesday, July 26, 2016 11:38 AM, Adam Wolk wrote: On Mon, Jul 25, 2016 at 01:31:13PM +0200, Stefan Sperling wrote: > On Mon, Jul 25, 2016 at 09:57:38AM +, ML mail wrote: > > Hi, > > > > I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot. > > > > Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs > in the wifi stack were fixed in -current which might affect this. > The issue might also be what I encountered with my athn0 usb dongle. https://marc.info/?l=openbsd-misc&m=144895556213390&w=2 I do plan on implementing the process context for this specific driver (even started during pkgsrcon in the beginning of this month). Let me know if the issue persists after upgrading, would be nice to have more than one person to test the changes when I get around to finishing it up. Regards, Adam
Re: athn0: device timeout with AR9271
Hi Stefan, It's a Nexcom network application NSA 1150, you will find the exact specs here: http://www.nexcom.com/Products/network-and-communication-solutions/entry-leve l-appliance/entry-level-appliance/network-communication-nsa-1150 Regards, ML On Tuesday, July 26, 2016 10:05 PM, "Kapfhammer, Stefan" wrote: Hi ML, in which machine is the usb dongle plugged in? Alix/Apu1/Apu2? Other? Freundliche Grüße / Regards -stefan kapfhammer Originalnachricht Von: ML mail Gesendet: Dienstag, 26. Juli 2016 21:59 An: Adam Wolk; Miscellaneous OBSD Antwort an: ML mail Betreff: Re: athn0: device timeout with AR9271 Hi Adam, I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the same issue. In the kernel log I get a ton of these messages: athn0: firmware command 0x17 timed out athn0: firmware command 0x18 timed out Now what would be the next step? Should I upgrade to -CURRENT? or is there any patches I can try from you? Regards, ML On Tuesday, July 26, 2016 11:38 AM, Adam Wolk wrote: On Mon, Jul 25, 2016 at 01:31:13PM +0200, Stefan Sperling wrote: > On Mon, Jul 25, 2016 at 09:57:38AM +, ML mail wrote: > > Hi, > > > > I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot. > > > > Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs > in the wifi stack were fixed in -current which might affect this. > The issue might also be what I encountered with my athn0 usb dongle. https://marc.info/?l=openbsd-misc&m=144895556213390&w=2 I do plan on implementing the process context for this specific driver (even started during pkgsrcon in the beginning of this month). Let me know if the issue persists after upgrading, would be nice to have more than one person to test the changes when I get around to finishing it up. Regards, Adam
Re: athn0: device timeout with AR9271
Hi Adam, I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the same issue. In the kernel log I get a ton of these messages: athn0: firmware command 0x17 timed out athn0: firmware command 0x18 timed out Now what would be the next step? Should I upgrade to -CURRENT? or is there any patches I can try from you? Regards, ML On Tuesday, July 26, 2016 11:38 AM, Adam Wolk wrote: On Mon, Jul 25, 2016 at 01:31:13PM +0200, Stefan Sperling wrote: > On Mon, Jul 25, 2016 at 09:57:38AM +, ML mail wrote: > > Hi, > > > > I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time > > to time there are timeouts which prevents any access to it anymore until I > > either plug out and in the Wifi dongle again or reboot. > > > > Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs > in the wifi stack were fixed in -current which might affect this. > The issue might also be what I encountered with my athn0 usb dongle. https://marc.info/?l=openbsd-misc&m=144895556213390&w=2 I do plan on implementing the process context for this specific driver (even started during pkgsrcon in the beginning of this month). Let me know if the issue persists after upgrading, would be nice to have more than one person to test the changes when I get around to finishing it up. Regards, Adam
Re: nd6_na_input: duplicate IP6 address OpenBSD i386 4.7
On Tue, Jul 26, 2016 at 10:11 AM, Motty wrote: > I have two gateways carp between them, recently I notice they bounced back > between them with the following erro: OpenBSD 4.7? Seriously? That's been off the supported version list for *five years*. $ grep -ic carp plus{4[89],5}* plus48.html:1 plus49.html:3 plus50.html:6 plus51.html:10 plus52.html:1 plus53.html:1 plus54.html:8 plus55.html:2 plus56.html:1 plus57.html:4 plus58.html:6 plus59.html:7 $ Upgrade, or rather: set up new hosts running 6.0 and switch to them. Philip Guenther
Re: nd6_na_input: duplicate IP6 address OpenBSD i386 4.7
I failed to mentioned CARP interfaces are only IPv4 not IPv6 also, I don't have vlan. Please help! I can't find any references on how to fix this issue on google. Thanks, From: Motty [mailto:motty.c...@gmail.com] Sent: Tuesday, July 26, 2016 10:12 AM To: 'misc@openbsd.org' Subject: nd6_na_input: duplicate IP6 address OpenBSD i386 4.7 I have two gateways carp between them, recently I notice they bounced back between them with the following erro: Jul 26 09:41:11 AN1 /bsd: carp0: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: carp3: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: carp2: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::9::0200 Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::c::0200 Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::b::0200 Any ideas?
nd6_na_input: duplicate IP6 address OpenBSD i386 4.7
I have two gateways carp between them, recently I notice they bounced back between them with the following erro: Jul 26 09:41:11 AN1 /bsd: carp0: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: carp3: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: carp2: state transition: MASTER -> BACKUP Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::9::0200 Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::c::0200 Jul 26 09:41:11 AN1 /bsd: nd6_na_input: duplicate IP6 address fe80::b::0200 Any ideas?
Re: ispec - PSK - issues
On Tue, Jul 26, 2016 at 2:08 AM, Maurice Janssen wrote: >>https://code.google.com/p/android/issues/detail?id=196939 > > Yeah, that's the link I wanted to send. Somehow I managed to copy > the wrong link in my previous email. I have been seeing a lot of copy&paste errors myself, where I performed the keyboard action to trigger a copy but paste gives me something from an older context. I'm sure a lot of people put a lot of time into making things work this way... -- Raul
Re: httpd (+ relayd ?) URL redirection, anyone?
Good find. Thank you! That helped a lot. This relayd.conf works now, if I switch httpd to listen to port 81: relayd_address="127.0.0.1" table { 127.0.0.1 } table { 127.0.0.1 } http protocol reverse_proxy { match request path "/hello" forward to match response header set "Connection" value "close" tcp { nodelay, sack } } relay www { listen on $relayd_address port 80 protocol reverse_proxy forward to check tcp port 81 forward to check tcp port 3000 } On Tue, Jul 26, 2016 at 11:27 PM, Comète wrote: > 26 juillet 2016 12:20 "Miles Keaton" a écrit: > > Sorry to bother the list with this, but still stumped after two days. > > > > Trying to switch from nginx to httpd, but there's just one thing left: > > > > Having the webserver pass some URLs to another port: > > > > # working nginx config: > > http { > > server { > > listen 80; > > # serving static here > > root /var/www/htdocs/test; > > # but this URL is sent to Ruby rack server > > location = /hello { > > proxy_pass http://127.0.0.1:3000; > > } > > } > > } > > > > I'm assuming I need relayd to do this, but still stumped after two days > of > > reading and experimenting with man 5 relayd.conf. > > > > Found this answer from Reyk from two years ago: > > https://marc.info/?l=openbsd-misc&m=140508090726719&w=2 > > ... but maybe the syntax has changed since then, since relayd gives a > syntax > > error for that example, and any variation of it I've tried. > > > > Any suggestions? > > > > Thanks in advance. > > > Hi, > > maybe this should help you: > > > https://www.reddit.com/r/openbsd/comments/3qb2c4/some_observations_about_rela yd/
Re: httpd (+ relayd ?) URL redirection, anyone?
26 juillet 2016 12:20 "Miles Keaton" a écrit: > Sorry to bother the list with this, but still stumped after two days. > > Trying to switch from nginx to httpd, but there's just one thing left: > > Having the webserver pass some URLs to another port: > > # working nginx config: > http { > server { > listen 80; > # serving static here > root /var/www/htdocs/test; > # but this URL is sent to Ruby rack server > location = /hello { > proxy_pass http://127.0.0.1:3000; > } > } > } > > I'm assuming I need relayd to do this, but still stumped after two days of > reading and experimenting with man 5 relayd.conf. > > Found this answer from Reyk from two years ago: > https://marc.info/?l=openbsd-misc&m=140508090726719&w=2 > ... but maybe the syntax has changed since then, since relayd gives a syntax > error for that example, and any variation of it I've tried. > > Any suggestions? > > Thanks in advance. Hi, maybe this should help you: https://www.reddit.com/r/openbsd/comments/3qb2c4/some_observations_about_rela yd/
Re: httpd (+ relayd ?) URL redirection, anyone?
Le 2016-07-26 12:13, Miles Keaton a écrit : Sorry to bother the list with this, but still stumped after two days. Trying to switch from nginx to httpd, but there's just one thing left: Having the webserver pass some URLs to another port: # working nginx config: http { server { listen 80; # serving static here root /var/www/htdocs/test; # but this URL is sent to Ruby rack server location = /hello { proxy_pass http://127.0.0.1:3000; } } } I'm assuming I need relayd to do this, but still stumped after two days of reading and experimenting with man 5 relayd.conf. Found this answer from Reyk from two years ago: https://marc.info/?l=openbsd-misc&m=140508090726719&w=2 ... but maybe the syntax has changed since then, since relayd gives a syntax error for that example, and any variation of it I've tried. Any suggestions? Thanks in advance. Hello, from http.conf(5) there is no way to redirect to a http server with httpd. It seems to only supports fastcgi with a socket.
httpd (+ relayd ?) URL redirection, anyone?
Sorry to bother the list with this, but still stumped after two days. Trying to switch from nginx to httpd, but there's just one thing left: Having the webserver pass some URLs to another port: # working nginx config: http { server { listen 80; # serving static here root /var/www/htdocs/test; # but this URL is sent to Ruby rack server location = /hello { proxy_pass http://127.0.0.1:3000; } } } I'm assuming I need relayd to do this, but still stumped after two days of reading and experimenting with man 5 relayd.conf. Found this answer from Reyk from two years ago: https://marc.info/?l=openbsd-misc&m=140508090726719&w=2 ... but maybe the syntax has changed since then, since relayd gives a syntax error for that example, and any variation of it I've tried. Any suggestions? Thanks in advance.
Re: simple DNS lookup utility
On Tue, Jul 26, 2016 at 01:00:43AM -0300, Rodrigo Mosconi wrote: > Hi, > > For a course work, I wrote a simple DNS lookup utility using only the > native libc. It`s not yet a complete replacement for dig/host/nslookup, > but I can work to improve it later. > I would like to receive any comments about it. > > > Follow the diff. > > thx, > > Mosconi Hello Rodrigo Mosconi, I haven't used this utility only read the code a little. I think the bsearch of the RR types is cool. I did think that when you cast to unsigned long for some SOA values you may be doing something unintended, it's better to cast to uint32_t IMO if casting at all. The reason being an unsigned long on amd64 is 8 bytes size, and 4 bytes size on i386. Anyhow since you're leaning on libasr you're getting experience with it. There was a call by OpenSMTPD on twitter a while back that "if DNSSEC is put into libasr, they would look into DANE". I don't know where the status of that is now. I did some code and posted it to the freenode IRC channel #opensmtpd, since eric was very busy at the time I don't know if he saw it. What you can do is perhaps look into getting a full dnssec stack into libasr as a follow up project if you want. I'd try to get in touch with eric@ if you're interested in that. Perhaps you guys can form a coding group to make this horrendously difficult project easier. If you're interested in that I'd recommend to you this book that I also have that I use for my DNSSEC implementations. It's called "The DNSSEC Specifications" by Reed Media Services. It's basically the RFC's printed out and put into a book, but it's handy for dealing with DNSSEC since you have an offline copy of the RFC's to read at places where there is no computer. If that's not the way you want to go, perhaps you want to write a DNS server. I did this and my code can be found at http://delphinusdns.centroid.eu. I'm currently programming on a sign utility for DNSSEC signing zones. DNS is a never ending subject and I've been programming 10+ years on my DNS server, what I have learned is that it's a long term commitment to do any code for DNS. So in conclusion, you've proved that you can code DNS, a few doors open for you but they promise to be a long journey to reach the final destination and a lot of hard work. You can choose to close those doors and stick with the achievement of a dig like tool and persue other short term projects or you can take the leap, but it'll consume your life for years on end if you stay at it. It can be profitable for you if you market it right, or it can keep you unfed for a decade or longer. I'm just saying. :-) To reiterate I think your code looks fairly good with minor nits given from a mediocre programmer such as me. Best Regards, -peter
Re: athn0: device timeout with AR9271
On Mon, Jul 25, 2016 at 01:31:13PM +0200, Stefan Sperling wrote: > On Mon, Jul 25, 2016 at 09:57:38AM +, ML mail wrote: > > Hi, > > > > I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time > > to time there are timeouts which prevents any access to it anymore until I > > either plug out and in the Wifi dongle again or reboot. > > > > Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs > in the wifi stack were fixed in -current which might affect this. > The issue might also be what I encountered with my athn0 usb dongle. https://marc.info/?l=openbsd-misc&m=144895556213390&w=2 I do plan on implementing the process context for this specific driver (even started during pkgsrcon in the beginning of this month). Let me know if the issue persists after upgrading, would be nice to have more than one person to test the changes when I get around to finishing it up. Regards, Adam
Re: Freezing VMs on Bytemark Hosting
On 26 Jul 2016, Edd Barrett wrote: > I have a support ticket open, but we are not sure if it's an OpenBSD > problem, or something on their end. The VM is running 5.9-stable with > all patches applied. FWIW, Bytemark uses KVM + Qemu, so this question may > extend to ARP networks VMs too(?). > > Wondering if anyone else here is hosting on Bytemark (or ARP) and had a > similar issue, or even a workaround. I am running vanilla 5.9-stable on Bytemark's BigV, pretty up to date with patches, and haven't seen any such problems. Feel free to e-mail privately if you want to probe any particular aspects of it. -- Mark
Freezing VMs on Bytemark Hosting
Hi, This is very much off-topic, and a long shot. I have a VM hosted at Bytemark, which seems to have started freezing about once a week. It stops responding to the network, and if I bring up the console, I see the login prompt with a flashing cursor, but it is not responsive to key-presses. I have a support ticket open, but we are not sure if it's an OpenBSD problem, or something on their end. The VM is running 5.9-stable with all patches applied. FWIW, Bytemark uses KVM + Qemu, so this question may extend to ARP networks VMs too(?). Wondering if anyone else here is hosting on Bytemark (or ARP) and had a similar issue, or even a workaround. Like I said, long shot. Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk