ssh tunneling
Hi, Just would like to ask for your advice. I have a firewall rule that allow ssh from computer-1 to computer-2 and deny ssh from computer-2 to computer-1. is it possible to a tunnel *ssh **myu...@computer-2* *'svn update svn+ssh://u...@computer-1/svn/data /home/myuser' *and use the same tunnel when *svn update svn+ssh://u...@computer-1/svn/data /home/myuser* is invoke going to computer-1 from computer2 through ssh, when ssh not allowed from computer-2 to computer-1. Many thanks, Jay
Re: OT recommended mobo with lots of pci slots
hi, Just an o.t. based on your experience, can anyone pls recommend to me a intel/asus/epox mobo for dual core or pentium 4 proc with a lots of pci slot probably 4 or 5 pci slots and works fine on openbsd . is there a good(at least) support on linux or bsd for intel dual core proc? Thanks for your help guys. -- Jay Jesus D. Amorin Mobile: +639156275787 Home: +63 35 422-0023 Email: jay [at] jayamorin [dot] ph YM: jayamorin
Re: extracting iso
humppa, is there a tool/way to extract an iso file to a directory? thanks -- Jay Software like sex is best when its free.
Re: Macbook on Openbsd
is anyone out there running openbsd on intel based macbook or macbook pro? any problems or compatibility issue? performance? i'm planning to buy one or any reason why i shouldn't? cheers -- Jay Jesus D. Amorin, CCNA, LPIC-1 Mobile No. +639156275787 Landline No. +63 35 422-0023 Website: http://www.jayamorin.ph Email Address: jay [at] jayamorin [dot] ph
iwi0: XXX too many rates (count=13, last=108)
hi gurus, can anyone please give me some knowledge on this: # dmesg iwi0: XXX too many rates (count=13, last=108) has this something to do with my iwi0 configuration? /etc/hostname.iwi0 dhcp inet NONE NONE description wifi nwid mathwifi_02 btw. im running openbsd 4.1-current thanks --jay--
any site or doc about openbsd kernel configuration, info or tweak?
any site or doc about openbsd kernel configuration, info or tweak aside from man page? thanks
acpi is working but halt -p is now working, why?
im running openbsd 4.1-current on my laptop, acpi is working but halt -p is not working, it will just reboot instead of halt, WHY? here's my additional info: # sysctl -aA | grep acpi kern.timecounter.hardware=acpitimer0 kern.timecounter.choice=i8254(0) acpihpet0(1000) acpitimer0(1000) dummy(-100) hw.sensors.acpiac0.indicator0=On (power supply) hw.sensors.acpibat0.volt0=14.80 VDC (voltage) hw.sensors.acpibat0.volt1=12.54 VDC (current voltage) hw.sensors.acpibat0.amphour0=3.81 Ah (last full capacity) hw.sensors.acpibat0.amphour1=0.21 Ah (warning capacity) hw.sensors.acpibat0.amphour2=0.13 Ah (low capacity) hw.sensors.acpibat0.amphour3=3.42 Ah (remaining capacity), OK hw.sensors.acpibat0.raw0=2 (battery charging), OK hw.sensors.acpibat0.raw1=unknown (rate), UNKNOWN hw.sensors.acpitz0.temp0=51.05 degC (zone temperature) # dmesg OpenBSD 4.1-current (GENERIC) #7: Sat Mar 24 03:37:46 PHT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.50 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,TM,SBF real mem = 795308032 (776668K) avail mem = 717516800 (700700K) using 4278 buffers containing 39890944 bytes (38956K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 07/08/05, BIOS32 rev. 0 @ 0xfd710, SMBIOS rev. 2.31 @ 0xdf010 (19 entries) bios0: Hewlett-Packard Presario M2000 (PV328PA#UUF) pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0xf200! 0xcf800/0x1000 0xdf000/0x800! 0xe/0x4000! acpi0 at mainbus0: rev 0 acpi0: tables DSDT APIC FACP HPET MCFG BOOT SSDT SSDT acpitimer0 at acpi0: 3579545 Hz, 24 bits acpi device at acpi0 from table DSDT not configured acpi device at acpi0 from table APIC not configured acpi device at acpi0 from table FACP not configured acpihpet0 at acpi0 table HPET: 248348 Hz acpi device at acpi0 from table MCFG not configured acpi device at acpi0 from table BOOT not configured acpi device at acpi0 from table SSDT not configured acpi device at acpi0 from table SSDT not configured acpiprt at acpi0 not configured acpiprt at acpi0 not configured acpiec0 at acpi0: EC0_ acpibtn0 at acpi0: PRWB acpibtn1 at acpi0: SLPB acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0: model: JM-6 serial: 0095813029 type: LION oem: Hewlett-Packard acpibtn2 at acpi0: LID_ acpitz0 at acpi0, critical temperature: 98 degC cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82915GM/GMS Video" rev 0x03: aperture at 0xb008, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82915GM/GMS Video" rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 3 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 3 uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 4 uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 10 ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 3 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 uhub0: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub0: 8 ports with 8 removable, self powered ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 pci1 at ppb0 bus 1 rl0 at pci1 dev 0 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:c0:9f:90:0f:6f rlphy0 at rl0 phy 0: RTL internal PHY iwi0 at pci1 dev 6 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 4, address 00:12:f0:c7:30:a9 cbb0 at pci1 dev 9 function 0 "TI PCI7XX1 CardBus" rev 0x00pci_intr_map: no mapping for pin A : couldn't map interrupt "TI PCI7XX1 FireWire" rev 0x00 at pci1 dev 9 function 2 not configured "TI PCI7XX1 Flash" rev 0x00 at pci1 dev 9 function 3 not configured sdhc0 at pci1 dev 9 function 4 "TI PCI7XX1 Secure Data" rev 0x00: irq 11 sdmmc0 at sdhc0 sdmmc1 at sdhc0 sdmmc2 at sdhc0 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 5, ICH6 AC97 ac97: codec id 0x43585430 (Conexant CX?) ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auich0 "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable wd0(pciide0:0:0): using P
openbsd acpi help
good day! can anyone here help me on how i can enable acpi on my laptop? my laptop is running openbsd 4.1-current. thanks for your help long live openbsd. --jay--
help with 4.1 snapshots and latest ports and src
is my setup ok? im running snaphots 4.1 and here's my supfile: # /usr/supfile *default release=cvs *default delete use-rel-suffix *default umask=002 *default host=anoncvs.usa.openbsd.org *default base=/usr *default prefix=/usr *default tag=. OpenBSD-ports OpenBSD-src OpenBSD-xf4 check-out cvs and upgrade: # cvsup -g -L 2 /usr/supfile and another question how will i upgrade from snapshots 4.1 to current? thanks --jay--
whats wrong with my iwi still ieee80211: nwid "" -50dBm
#dmesg OpenBSD 4.0 (GENERIC) #1: Mon Mar 19 00:36:34 PHT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.50 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,TM,SBF real mem = 795308032 (776668K) avail mem = 716935168 (700132K) using 4256 buffers containing 39866368 bytes (38932K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(ff) BIOS, date 07/08/05, BIOS32 rev. 0 @ 0xfd710, SMBIOS rev. 2.31 @ 0xdf010 (19 entries) bios0: Hewlett-Packard Presario M2000 (PV328PA#UUF) pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0xf200! 0xcf800/0x1000 0xdf000/0x800! 0xe/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel 82915GM/GMS Video" rev 0x03: aperture at 0xb008, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82915GM/GMS Video" rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 3 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 3 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 4 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 10 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 3 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 pci1 at ppb0 bus 1 rl0 at pci1 dev 0 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:c0:9f:90:0f:6f rlphy0 at rl0 phy 0: RTL internal PHY iwi0 at pci1 dev 6 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 4, address 00:12:f0:c7:30:a9 cbb0 at pci1 dev 9 function 0 "TI PCI7XX1 CardBus" rev 0x00pci_intr_map: no mapping for pin A : couldn't map interrupt "TI PCI7XX1 FireWire" rev 0x00 at pci1 dev 9 function 2 not configured "TI PCI7XX1 Flash" rev 0x00 at pci1 dev 9 function 3 not configured sdhc0 at pci1 dev 9 function 4 "TI PCI7XX1 Secure Data" rev 0x00: irq 11 sdmmc0 at sdhc0 sdmmc1 at sdhc0 sdmmc2 at sdhc0 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 5, ICH6 AC97 ac97: codec id 0x43585430 (Conexant CX?) ac97: codec features reserved, headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auich0 "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 ignored (disabled) ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 3 iic0 at ichiic0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 biomask efdd netmask efdd ttymask ffdf pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 auich0: measured ac97 link rate at 48007 Hz, will use 48000 Hz uhidev0 at uhub1 port 1 configuration 1 interface 0 uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 umass0 at uhub4 port 1 configuration 1 interface 0 umass0: vendor 0x0457 product 0x0151, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets sd0 at scsibus0 targ 1 lun 0: SCSI2 0/direct removable sd0: 1000MB, 1000 cyl, 64 head, 32 sec,
Re: sshd configure howto
im using this set-up for pf/authpf authentication gateway, all i'm concern of is i dont want my user use other users account. hope this helps you help me. thanks --jay-- On 3/17/07, Joachim Schipper <[EMAIL PROTECTED]> wrote: On Sat, Mar 17, 2007 at 12:46:29PM +0800, Jay Jesus Amorin wrote: > On 3/17/07, Joachim Schipper <[EMAIL PROTECTED]> wrote: > >On Fri, Mar 16, 2007 at 07:17:10PM +0800, Jay Jesus Amorin wrote: > >> hi gurus, > >> > >> how will i configure sshd to allow only one username at a time. > >> > >> example: > >> > >> on pc1 ssh [EMAIL PROTECTED] > >> on pc2 ssh [EMAIL PROTECTED] > >> > >> now what i like to happen is ssh on pc2 should be drop bec. the user > >> root is already connected from pc1. > >> > >> is it possible with to configure sshd that way like ssh will already > >> drop ssh root from pc2 bec. username root is already connected from > >> pc1? > > > >I don't think that is a smart idea, and I am not aware of any way to > >implement this particular requirement. You could probably write a daemon > >or cron job that takes a look at the number of ptys in use by any single > >account, and so on. > > thanks for the ideas Not to appear too nosy, but what do you *really* want to do? If you are concerned about people leaving root sessions unattended, perhaps a timeout would be a better way of achieving this? IIRC, there are some programs that will lock a console when it's not used for X seconds. Joachim
Re: sshd configure howto
thanks for the ideas On 3/17/07, Joachim Schipper <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 07:17:10PM +0800, Jay Jesus Amorin wrote: > hi gurus, > > how will i configure sshd to allow only one username at a time. > > example: > > on pc1 ssh [EMAIL PROTECTED] > on pc2 ssh [EMAIL PROTECTED] > > now what i like to happen is ssh on pc2 should be drop bec. the user > root is already connected from pc1. > > is it possible with to configure sshd that way like ssh will already > drop ssh root from pc2 bec. username root is already connected from > pc1? I don't think that is a smart idea, and I am not aware of any way to implement this particular requirement. You could probably write a daemon or cron job that takes a look at the number of ptys in use by any single account, and so on. Joachim -- Jay Jesus D. Amorin, CCNA, LPIC-1 Department of Mathematics, University of the Philippines, Diliman Mobile No. +639156275787 Landline No. +63 02 434-2309 Email Address: jdamorin [at] gmail [dot] com Email Address: jay [at] math [dot] upd [dot] edu [dot] ph -- Be liberal in what you accept, and conservative in what you send. --
sshd configure howto
hi gurus, how will i configure sshd to allow only one username at a time. example: on pc1 ssh [EMAIL PROTECTED] on pc2 ssh [EMAIL PROTECTED] now what i like to happen is ssh on pc2 should be drop bec. the user root is already connected from pc1. is it possible with to configure sshd that way like ssh will already drop ssh root from pc2 bec. username root is already connected from pc1? --jay--
redirect unauthenticated web users
openbsd gurus, can u please give me an idea on how can i redirect all unauthenticated authpf users to a webpage? and after authentication it can continue surfing the net. my rules seems wont work for me. /etc/pf.conf rdr on $wifi_if proto { tcp, udp } from ! to any port { www, https } -> $authgate port www pass in quick on $wifi_if proto { tcp, udp } from any to $authgate port www keep state anchor "authpf/*" in on $wifi_if im running pf on openbsd 4.0. thanks
mounting problems
hi, pls. help me mount my partition in my linux partitions #fdisk -lu /dev/hda (in linux) Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 634882153424410736 a6 OpenBSD /dev/hda248821535 156296384537374255 Extended /dev/hda54882159852725329 1951866 a6 OpenBSD /dev/hda652725393 10154686424410736 83 Linux /dev/hda7 101546928 105450659 1951866 82 Linux swap / Solaris /dev/hda8 105450723 15629638425422831 83 Linux how will i mount /dev/hda8 and /dev/hda6 in openbsd? my openbsd /etc/fstab entry: /dev/wd0a / ffs rw 1 1 thanks, --jay--
openbsd cd resellers in asia?
hi, im from the Philippines and i would like to order a openbsd 4.0 cd, does anyone in here can help where in asia can i order the said openbsd stuff? the http://www.genesis.com.hk which openbsd.org said where i can purchase in asia seems not responding. :( thanks --jay--
openbsd mobile question?
hi, does openbsd 4.0 supports intel ac'97 modem and intel ipw2200 on laptop? guys, any ideas? thanks jay
pf.conf question?
hi, good day, how do i do an alternate sets of route-to rules for the internal interface loaded in an anchor? btw im doing a failover between two firewalls, |--| |-| | internet | | internet | |--| |-| || || |--| |--| | firewall 1 || firewall 2 | |--| |--| | | | | |---| | manage switch (des-3326sr) | |---| i've used ifstated to detect ( thanks a lot for those who help ). any suggestions? help? thanks more power to openbsd --jay--
Re: starting ifstated at boot
rc.conf.local ifstated_enable="YES" wont work for me. has anyone got to run ifstated at boot on openbsd? thanks, --jay-- On 9/18/06, Stuart Henderson <[EMAIL PROTECTED]> wrote: > > On 2006/09/18 03:23, Nick Guenther wrote: > > On 9/18/06, Jay Jesus Amorin <[EMAIL PROTECTED]> wrote: > > >hi, > > > > > >have gud day, how do i configure ifstated to automatically start at > boot > > >time? > > > > > >thanks and more power > > > > man rc.conf > > ifstated isn't handled by /etc/rc; try rc.local.
starting ifstated at boot
hi, have gud day, how do i configure ifstated to automatically start at boot time? thanks and more power --jay--
carp or trunk for loadbalancing?
hi, which is better to use if i load balance my 2 ethernet ports, would you prefer to use carp or trunk? btw im going to load balance 2 ethernet ports on my openbsd firewall going to my manage switch which supports 802.1q and port-aggregation or load sharing between multiple ports. thanks a lot for your suggestions. Jay