poor network performance after wake from suspend

2014-09-26 Thread Кирилл
Hello.
After apm -z and wake by wol (re0) sometimes machine becomes very slow on
network operations (even ssh!)
Help, please.
Here is dmesg and ifconfig:


OpenBSD 5.5 (GENERIC) #276: Wed Mar  5 09:57:06 MST 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.61
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 1062436864 (1013MB)
avail mem = 103228 (984MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/14/08, SMBIOS rev. 2.4 @
0x3f607010 (45 entries)
bios0: vendor American Megatrends Inc. version 4.6.3 date 07/16/2008
bios0: MICRO-STAR INTERNATIONAL CO., LTD U-100
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG SLIC SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1)
EHCI(S1) MC97(S4) P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4)
P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model MS-N011
 serial
 type LION
 oem MSI Corp.

acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000
cpu0: Enhanced SpeedStep 1601 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
composite sync not supported
composite sync not supported
inteldrm0: 1024x600
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 16
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102E (0x3480),
msi, address 00:21:85:52:d5:ea
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 17
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965 rev 0x61:
msi, MIMO 2T3R, MoW2, address 00:13:e8:7a:c3:7d
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci3 at ppb2 bus 3
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MQ01ABD100
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.5
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
umass0 at uhub0 port 6 

Pidgin/Lync success stories?

2014-09-26 Thread Alexander Hall
Hi!

I'm trying to set up Pidgin to talk to our Lync servers at work, but it
seems somewhere after (or in) the TLS handshaking, it just stops, and
eventually times out.

I installed the pidgin-sipe package and I'm using the 'office
communicator' protocol. On a Debian box on the side, with the same
settings, I don't have this issue.

Can someone please share success stories, non-success stories, or useful
hints of using Pidgin for Lync on OpenBSD?

/Alexander



Re: Pidgin/Lync success stories?

2014-09-26 Thread Mattieu Baptiste
On Fri, Sep 26, 2014 at 10:49 AM, Alexander Hall alexan...@beard.se wrote:

 Hi!

 I'm trying to set up Pidgin to talk to our Lync servers at work, but it
 seems somewhere after (or in) the TLS handshaking, it just stops, and
 eventually times out.

 I installed the pidgin-sipe package and I'm using the 'office
 communicator' protocol. On a Debian box on the side, with the same
 settings, I don't have this issue.

 Can someone please share success stories, non-success stories, or useful
 hints of using Pidgin for Lync on OpenBSD?


Hi,

I've also failed at using Pidgin with Office 365. I tried different
settings with the pidgin-sipe port, without success.
I found a workaround with chrome (+ extension to change the user-agent) and
Outlook web access. It let me use the Lync web client.

Regards,
-- 
Mattieu Baptiste
/earth is 102% full ... please delete anyone you can.



10 Million in NSF grants for processor security

2014-09-26 Thread J. Scott Heppler

The hardware is just one piece of the puzzle.  There might be grant
money available for the software aspect and the NSF should not be as
touchy about anti-war statements.  Canada should also have an interest
in this.

http://www.nsf.gov/news/news_summ.jsp?cntn_id=132795org=NSFfrom=news

--
J. Scott Heppler



Compiling a modern version of Amanad on OpenBSD 5.5

2014-09-26 Thread stan
WE have a large investment in an Amanda backup system that has served us
faithfully for years, backing up a diverse mix of OpenbSD, Linux, HP{-UX,
FreeBSD, and Solaris systems.

The Amanda server is at version 2.65., 

We recently upgraaded sme of our OpenBSD machines from 4.5 to 5.5. I have
manda (client only) to compile on this version ofthe oS.

I do realizethee is a really old version of Amanda in the ports tree, and
yes it compiles, but it is too old to work with our server.

It is a great shame that a package which was originally famous for compling
and running on virtually everything that looked vaugely *NIX like has been
pushed by the comercail vendor who has come to dominate he development of
this package into something that is very dependent on may Linux specific
libraries. If I werestarting over, of course, I would chose something else
for backup, but we have large installed base ofthis system.

We arecomited to retaining OpnebSD asa key component of a upcoing
widesrpead upgaede of our systems.

Can anyone please give me some help with this?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



something is weird with pppoe

2014-09-26 Thread Harald Dunkel
Hi folks,

I've setup a pppoe connection to my ISP (Deutsche Telekom),
following pppoe(4). Problem:

At boot time the connection is not setup immediately.
ifconfig -A shows just

re0: flags=28843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6 mtu 
1500
lladdr 80:ee:73:95:c1:0c
priority: 0
media: Ethernet autoselect (100baseTX 
full-duplex,rxpause,txpause)
status: active
pppoe0: flags=28851UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NOINET6 
mtu 1492
priority: 0
dev: re0 state: PADR sent
sid: 0x0 PADI retries: 0 PADR retries: 1
sppp: phase establish authproto pap authname 
00150xxx#0...@t-online.de
groups: pppoe extern egress
status: no carrier
inet 0.0.0.0 -- 0.0.0.1 netmask 0x

It takes 2 or 3 minutes till the connection is established.


This is openBSD current grabbed via CVS and built 2 days ago.

Every helpful comment is highly appreciated.


Regards
Harri
-
# hostname.re0
up

# hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev re0 \
authproto pap \
authname '00150xxx#0...@t-online.de' \
authkey '' \
up
dest 0.0.0.1
group extern
!/sbin/route add default -ifp pppoe0 0.0.0.1
OpenBSD 5.6-current (build) #4: Wed Sep 24 14:24:40 CEST 2014
r...@marvin.afaics.de:/export/build
real mem = 8462303232 (8070MB)
avail mem = 8228302848 (7847MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb530 (73 entries)
bios0: vendor American Megatrends Inc. version 1.01 date 09/25/2013
bios0: Shuttle Inc. DS437
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG SLIC HPET SSDT SSDT SSDT
acpi0: wakeup devices P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
USB6(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) 
PXSX(S4) RP04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU 1037U @ 1.80GHz, 1796.20 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU 1037U @ 1.80GHz, 1795.92 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 3 (RP03)
acpiprt5 at acpi0: bus 4 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus -1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 106 degC
acpitz1 at acpi0: critical temperature is 106 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1800, 1700, 1600, 1500, 1400, 1300, 
1200, 1100, 1000, 900, 800, 774 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 2500 rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
No connectors reported connected with modes
Cannot find any crtc or sizes - going 1024x768
inteldrm0: 1024x768
wsdisplay0 at vga1 mux 1: 

Re: Android Studio

2014-09-26 Thread Mihai Popescu
Why would someone want to bring the SDK for that junk on OpenBSD platform?



Re: Compiling a modern version of Amanad on OpenBSD 5.5

2014-09-26 Thread Mark Kettenis
 It is a great shame that a package which was originally famous for compling
 and running on virtually everything that looked vaugely *NIX like has been
 pushed by the comercail vendor who has come to dominate he development of
 this package into something that is very dependent on may Linux specific
 libraries. If I werestarting over, of course, I would chose something else
 for backup, but we have large installed base ofthis system.

The Amanda client compiles just fine for me on OpenBSD 5.6-current
when do:

$ tar xfz amanda-3.3.6.tar.gz
$ cd amanda-3.3.6
$ ./configure --without-server
$ gmake

Haven't checked whether it works though.

I have a fair number of packages installed on this machine.  You
probably need at least:

curl
gettext
glib
gtar
libffi
libiconv
libidn
pcre

Cheers,

Mark



Re: Android Studio

2014-09-26 Thread Antoine Jacoutot
On Fri, Sep 26, 2014 at 09:47:38PM +0200, Mihai Popescu wrote:
 Why would someone want to bring the SDK for that junk on OpenBSD platform?

To make a living?

-- 
Antoine



Re: Android Studio

2014-09-26 Thread Matti Karnaattu
Why would someone want to bring the SDK for that junk on OpenBSD platform?

Why not? What do you lose if someone bring that?

I don't think that there is not many operating systems, especially
open source licenses, putting effort to proactive security. Android is
one of the few.

In fact, Android API may be good match to provide secure application
platform to OpenBSD.



OpenBSD 5.6 pre-orders in Germany possible

2014-09-26 Thread Stefan Wollny
Hi folks,

I just noticed that in Germany Lehmanns (see OpenBSD's order-site)
already accepts pre-orders for OpenBSD 5.6-release.

Guess what I just did :-)

My little contribution to the project along with a big
THANK YOU to the devs!

Cheers,
STEFAN



Re: Android Studio

2014-09-26 Thread Theo de Raadt
Why would someone want to bring the SDK for that junk on OpenBSD platform?

Why not? What do you lose if someone bring that?

I don't think that there is not many operating systems, especially
open source licenses, putting effort to proactive security. Android is
one of the few.

In fact, Android API may be good match to provide secure application
platform to OpenBSD.

Adding bugs to grep on one side, and encouraging use of software
with more bugs than grep on the other side.

You are quite a character.  I suspect money which goes into your bank
account comes from an entity not quite on the same side as us.



Re: Android Studio

2014-09-26 Thread Matti Karnaattu
I'll have to disappoint you but I don't have any side.
I'm pretty much agnostic and interested all kind of technology.

But if we talk on methods to make platform secure, don't you agree that
folks on Google have put effort to make Android hard to exploit?

Criminals, at least go on where the fence is lowest, that is, in the
form of trojans. As far I know, exploiting security holes significantly
less common. I didn't comment how buggy that is.

Btw, I managed to get neat test case generator to running on OpenBSD and
I'm now bruteforcing some of the interfaces.

Let's see if I can find new bugs..



Re: Atheros AR9380 Panic

2014-09-26 Thread mark hellewell
On 26 September 2014 05:28, Marc Suttle marc.sut...@gmail.com wrote:
 Mark,

 What card do you plan on using?

A Ubiquiti SR71-E, with AR9280 chipset.

I should reiterate that I'm not yet in possession of the card, but am
hopeful that it will do the job :)



Re: how to debug iked failures?

2014-09-26 Thread Ryan Slack
The iked.conf, output/logs from iked running -v, and a description of
client setup would help.

Don't forget to include your PSK. :-)

On Thu, Sep 25, 2014 at 1:09 AM, Artem Falcon lo...@gero.in wrote:

 Markus Wernig liste...@wernig.net:

  ...
  But the client is unable to connect to the VPN GW, and I just can't find
  out what's going wrong. Unfortunately there are two ways it is failing:
 
  1) Client sends IKEv2 msg IKE_SA_INIT on Port 500, VPN GW replies with
  IKE_SA_INIT and CertReq, *then client sends IKE_AUTH. But to this packet
  the VPN GW never replies, and the client resends until it times out*. I
  see in the client log that it is selecting and sending the j...@doe.com
  certificate. In the VPN GW logs I get:
 
  Aug  9 08:40:35 tunnel iked[18255]: ikev2_recv: IKE_SA_INIT from
  initiator A.B.C.D:34276 to 10.x.y.z:500 policy 'johndoevpn' id 0, 1048
 bytes
  Aug  9 08:40:35 tunnel iked[18255]: ikev2_msg_send: IKE_SA_INIT from
  10.x.y.z:500 to A.B.C.D:34276, 457 bytes
  Aug  9 08:40:35 tunnel iked[18255]: ikev2_recv: IKE_AUTH from initiator
  A.B.C.D:4500 to 10.x.y.z:4500 policy 'johndoevpn' id 1, 2320 bytes
  Aug  9 08:40:39 tunnel iked[18255]: ikev2_recv: IKE_AUTH from initiator
  A.B.C.D:4500 to 10.x.y.z:4500 policy 'johndoevpn' id 1, 2320 bytes
  Aug  9 08:40:46 tunnel iked[18255]: ikev2_recv: IKE_AUTH from initiator
  A.B.C.D:4500 to 10.x.y.z:4500 policy 'johndoevpn' id 1, 2320 bytes
  Aug  9 08:40:59 tunnel iked[18255]: ikev2_recv: IKE_AUTH from initiator
  A.B.C.D:4500 to 10.x.y.z:4500 policy 'johndoevpn' id 1, 2320 bytes
  ...

 Hi, folks!

 I have the same failing scenario when using BlackBerry 10 client.
 OpenIKED is from -current. Ikeauth mode is PSK (yeah, insecure).

 Any ideas what it may be and how to fix it?
 Thanks.



Re: Android Studio

2014-09-26 Thread Nick Holland
On 09/26/14 20:26, Matti Karnaattu wrote:
I'll have to disappoint you but I don't have any side.
I'm pretty much agnostic and interested all kind of technology.
 
 But if we talk on methods to make platform secure, don't you agree that
 folks on Google have put effort to make Android hard to exploit?

um. no.  No.  Hell no.  So f*cking wrong, I can't even ignore this
idiotic statement for fear that someone will see it on the OpenBSD lists
and think it might be true.

Sorry, I've had the honor of working with some amazing malware experts
(AND the OpenBSD developers.  Have I had a rockin' life or what? :),
none of them have anything good to say about the Android platform from a
security standpoint.

ON TOP OF the nature of the beast -- a very open platform you can
basically do anything with, including shooting yourself in the foot (and
if you can easily be prompted to shoot yourself in the foot, most other
security measures are surmountable) -- Google's Android team has done a
horrible job on the very basics, including shipping KNOWN BAD,
exploitable and long fixed kernel code YEARS after fixed code was
available.  Start with crappy Linux code...and then don't even fix the
known problems?  WTF?  That's a security face plant before one's foot
has left the starting block.

I'd LOVE to think Google took security more seriously than other
dipshits in the computer industry, but sadly, the Android platform did
not show it.  I have an Android phone, I would not trade it for an
iProduct...but I will never trust it or use it for security critical
purposes.
...

Nick.



edge router lite promt-less boot

2014-09-26 Thread Rusty

Good morning misc/

I purchased a couple of ubequitys edgerouter lite boxes.

And while the ubequity os is ok (better than most small home routers 
anyhow) I quickly started missing my obsd, this is why I bought them 
after all.


I am fine netbooting for the time being. however are there any hints to 
skip the prompt for the root device?


you know the one asking for
root device:

I would also welcome any hints on updating a diskless set.
My current method is based roughly on the install script.

detar sets preserving permissions(excepting etc??.tgz)
reboot into arches bsd.rd to rebuild device nodes
reboot and run sysmerge to merge etc??.tgz


full serial boot log:

Looking for valid bootloader image
Jumping to start of image at address 0xbfc8


U-Boot 1.1.1 (UBNT Build ID: 4493936-g009d77b) (Build time: Sep 20 2012 
- 15:48:51)


BIST check passed.
UBNT_E100 r1:2, r2:14, serial #: DC9FDB803A4D
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM:  512 MB
Clearing DRAM... done
Flash:  4 MB
Net:   octeth0, octeth1, octeth2

USB:   (port 0) scanning bus for devices... 1 USB Devices found
   scanning bus for storage devices...
  Device 0: Vendor:  Prod.: USB DISK 2.0 Rev: PMAP
Type: Removable Hard Disk
Capacity: 3700.6 MB = 3.6 GB (7579008 x 512)
 0
Interface 0 has 3 ports (RGMII)
Using octeth0 device
TFTP from server 192.168.16.5; our IP address is 192.168.16.16
Filename 'bsd.sp.octeon'.
Load address: 0x9f0
Loading: octeth0: Up 1000 Mbps Full duplex (port  0)
### 


  [76/276]
done
Bytes transferred = 3734226 (38fad2 hex), 9855 Kbytes/sec
ELF file is 64 bit
Allocating memory for ELF segment: addr: 0x8100 (adjusted 
to: 0x100), size 0x3bfc70

Allocated memory for ELF segment: addr: 0x8100, size 0x3bfc70
Processing PHDR 0
  Loading 334bf8 bytes at 8100
  Clearing 8b078 bytes at 81334bf8
## Loading Linux kernel with entry point: 0x8100 ...
Bootloader: Done loading app on coremask: 0x1
Total DRAM Size 0x2000
Bank 0 = 0x013C   -  0x0FFF
mem_layout[0] page 0x04F0 - 0x3FFF
boot_desc-argv[1] = root=/dev/cnmac0
Initial setup done, switching console.
boot_desc-desc_ver:7
boot_desc-desc_size:400
boot_desc-stack_top:0
boot_desc-heap_start:0
boot_desc-heap_end:0
boot_desc-argc:2
boot_desc-flags:0x5
boot_desc-core_mask:0x1
boot_desc-dram_size:512
boot_desc-phy_mem_desc_addr:0
boot_desc-debugger_flag_addr:0xa44
boot_desc-eclock:5
boot_desc-boot_info_addr:0x1001f0
boot_info-ver_major:1
boot_info-ver_minor:2
boot_info-stack_top:0
boot_info-heap_start:0
boot_info-heap_end:0
boot_info-boot_desc_addr:0
boot_info-exception_base_addr:0x1000
boot_info-stack_size:0
boot_info-flags:0x5
boot_info-core_mask:0x1
boot_info-dram_size:512
boot_info-phys_mem_desc_addr:0x24108
boot_info-debugger_flags_addr:0
boot_info-eclock:5
boot_info-dclock:26600
boot_info-board_type:20002
boot_info-board_rev_major:2
boot_info-board_rev_minor:14
boot_info-mac_addr_count:3
boot_info-cf_common_addr:0
boot_info-cf_attr_addr:0
boot_info-led_display_addr:0
boot_info-dfaclock:0
boot_info-config_flags:0x8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2014 OpenBSD. All rights reserved. 
http://www.OpenBSD.org


OpenBSD 5.6 (GENERIC) #3: Thu Aug 14 15:00:46 CEST 2014
r...@erl.jasper.la:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 247709696 (236MB)
avail mem = 245399552 (234MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 8192 way D 16KB 4096 way, L2 128KB 32768 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
octcf at iobus0 base 0x1d000800 irq 0 not configured
pcibus at iobus0 irq 0 not configured
cn30xxgmx0 at iobus0 base 0x118000800 irq 48
cnmac0 at cn30xxgmx0: RGMII, address dc:9f:db:80:3a:4d
atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address dc:9f:db:80:3a:4e
atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address dc:9f:db:80:3a:4f
atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
octrng0 at iobus0 base 0x14000 irq 0
octhci at iobus0 irq 56 not configured
octrng0 at iobus0 base 0x14000 irq 0 


   [0/276]
octhci at iobus0 irq 56 not configured
uar: ns16550, no working fifo
com0: console
com1 at uartbus0 base 0x118000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root device: cnmac0
nfs_boot: using interface cnmac0, with revarp  bootparams
nfs_boot: client_addr=192.168.16.16
nfs_boot: server_addr=192.168.16.5 hostname=erl1
root on doan:/export/diskless/host/erl1
WARNING: No TOD clock, believing file 

Re: Android Studio

2014-09-26 Thread Jay Patel
We should have our own Phone OS. :D :) just like Nokia 3310 series. I
 would like that .

just call , sms, and alarm.

I make living making android apps also but i hope SDK don't come to OpenBSD.

On Wed, Sep 24, 2014 at 2:52 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk
wrote:

 http://marc.info/?l=openbsd-miscm=132934643309355w=2

 That thread mentions getting the Android emulator running and creating
 a hello world program on OpenBSD but I think required? linux emulation
 and so i386 and copying from a linux install.

 A recent Intellij is in ports which Android Studio Beta is based on and
 whilst I hope Gnome/KDE requirments for Linux are mis-prints and not on
 the OSX version maybe there's a chance it will work without Linux
 emulation like netbeans does compared to the pain of recompiling
 eclipse.



Re: Android Studio

2014-09-26 Thread Brian Empson
Basic phones are distracting enough as it is, more so with all the 
widgets. I agree: call, sms. That's all I'd need anyway. It seems that 
the more we march forward the more we take for granted tech wise. We 
have processors that go into the Ghz range but it still feels sluggish. 
I guess I like OpenBSD for that reason, it feels like it's not bloated 
and everything is integrated better than other OSes.


On 9/27/2014 1:11 AM, Jay Patel wrote:

We should have our own Phone OS. :D :) just like Nokia 3310 series. I
  would like that .

just call , sms, and alarm.

I make living making android apps also but i hope SDK don't come to OpenBSD.

On Wed, Sep 24, 2014 at 2:52 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk
wrote:


http://marc.info/?l=openbsd-miscm=132934643309355w=2

That thread mentions getting the Android emulator running and creating
a hello world program on OpenBSD but I think required? linux emulation
and so i386 and copying from a linux install.

A recent Intellij is in ports which Android Studio Beta is based on and
whilst I hope Gnome/KDE requirments for Linux are mis-prints and not on
the OSX version maybe there's a chance it will work without Linux
emulation like netbeans does compared to the pain of recompiling
eclipse.