Re: Processes' FIBs

2012-01-17 Thread Oliver Fromme
Kostik Belousov wrote: > The patch misses compat32 bits and breaks compat32 ps/top. Right, thank you for pointing it out! I missed it because I only have i386 for testing. I've created new patch sets for releng8 and current. These include compat32 support and an entry for the manual page. Wo

Re: Processes' FIBs

2012-01-12 Thread Oliver Fromme
Bjoern A. Zeeb wrote: > On 11. Jan 2012, at 15:06 , Oliver Fromme wrote: > > I'm currently looking at the source code of ps, but adding > > a field for the FIB isn't as trivial as I thought because > > ps only sees struct kinfo_proc (via sysctl kern.proc.*) &g

Re: Processes' FIBs

2012-01-11 Thread Oliver Fromme
Bjoern A. Zeeb wrote: > On 10. Jan 2012, at 20:32 , Paul A. Procacci wrote: > > On Tue, Jan 10, 2012 at 09:12:17PM +0100, Oliver Fromme wrote: > > > Is there a way to find out the default FIB number of a > > > process (from a shell script)? I've checked the &

Processes' FIBs

2012-01-10 Thread Oliver Fromme
Hi, Is there a way to find out the default FIB number of a process (from a shell script)? I've checked the manpages of ps and procstat, but they don't mention FIBs. I'm using stable/8, if that matters. Best regards Oliver -- ___ freebsd-net@freebsd.or

Re: 8.1R: ppp default route uses wrong Netif (with pppoe)

2010-08-11 Thread Oliver Fromme
k: default gateway: gateway.myisp.net interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msecmtuweightexpire 0 0 0 0 1492 1 0 Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co.

Re: Watchdog resets on 82575

2010-08-10 Thread Oliver Fromme
g is the "chip" ID: 0x10c98086 The lower half is the vendor ID: 8086 is intel. The upper half is the device ID: 10c9 is the 82576 gigabit NIC. You can look up these numbers on http://pciids.sf.net for example. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, M

Re: kern/134658: [bce] bce driver fails on PowerEdge m610 blade.

2010-01-21 Thread Oliver Fromme
David Christensen wrote: > Oliver Fromme wrote: > > While trying to debug the same issue I stumbled across this > > thread ... We've got HS22 blades (IBM BladeCenter) which > > habe the BCM5709S and suffer from exactly the same problem. > > > > Dave

Re: kern/134658: [bce] bce driver fails on PowerEdge m610 blade.

2010-01-20 Thread Oliver Fromme
've never touched a NIC/PHY driver, except for very trivial fixes.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregis

Re: Dynamic loading of network kernel modules?

2009-03-18 Thread Oliver Fromme
David Horn wrote: > Oliver Fromme wrote: > > > >  network_interfaces="bge0 lo0" > > Ah. Ok, now I am understanding your scenario. > > I thought that using 'network_interfaces' with anything other than > "AUTO" was in the p

Re: Dynamic loading of network kernel modules?

2009-03-18 Thread Oliver Fromme
Oliver Fromme wrote: > ifconfig_bge0="up" > cloned_interfaces="vlan103 vlan105" > ifconfig_vlan103="inet 10.103.0.20/16 vlan 103 vlandev bge0" > ifconfig_vlan105="inet 10.105.0.20/16 vlan 105 vlandev bge0" Sorry, I forgot to paste on

Re: Dynamic loading of network kernel modules?

2009-03-18 Thread Oliver Fromme
ded automatically, and the interfaces are up: ifconfig_bge0="up" cloned_interfaces="vlan103 vlan105" ifconfig_vlan103="inet 10.103.0.20/16 vlan 103 vlandev bge0" ifconfig_vlan105="inet 10.105.0.20/16 vlan 105 vlandev bge0" Best regards Oliver -- Oliver

Packet filter performance on SMP

2009-02-17 Thread Oliver Fromme
n such SMP machines? I heard that PF doesn't support SMP hardware very well -- is that true? Will IPFW be better? Thanks for any insights. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht

LevelOne WPC-0301 11g Wireless CardBus

2008-10-30 Thread Oliver Fromme
ything I can do, except drop the new card in the dustbin? :-( Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Regist

Re: SCP/SFTP Brain Fart

2008-06-19 Thread Oliver Fromme
unset for non- interactive (t)csh sessions. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB

Re: CARP + multiple addresses

2008-06-19 Thread Oliver Fromme
Peter Jeremy wrote: > On 2008-Jun-12 17:26:25 +0200, Oliver Fromme <[EMAIL PROTECTED]> wrote: > > So far it seems to work fine with CARP, but now it turned > > out that I need another address from a different subnet > > which also needs to access the database. Wha

Re: SCP/SFTP Brain Fart

2008-06-19 Thread Oliver Fromme
true | hd then you should not get any output from it. If you do get output, you need to fix your shell profile on the remote host. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA

CARP + multiple addresses

2008-06-12 Thread Oliver Fromme
! Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik

Re: ipv6 connection hash function wanted ...

2006-11-15 Thread Oliver Fromme
Oliver Fromme wrote: > Max Laier wrote: > > David Malone wrote: > > > Assuming you don't want to use one of the standard cryptographic > > > ones (which I can imagine being a bit slow for something done > > > per-packet), then one option might be t

Re: ipv6 connection hash function wanted ...

2006-11-15 Thread Oliver Fromme
i.e. take those bits from there and there and XOR them with > your canary yada-yada-yada ... In that case, simply use crc32 (available from libkern.h) and xor with a random key generated at boot time. crc32 is fast to calculate and has the properties that you need. Best regards Oliver -- Ol

Re: ipv6 connection hash function wanted ...

2006-11-14 Thread Oliver Fromme
27;s not cryptographically strong, it _is_ possible to construct inputs that will produce collisions. Just my 2 cents. YMMV. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de

Re: a very strange netstat output and problem when using transparent proxy

2006-11-07 Thread Oliver Fromme
r off (if enabled) and check whether it improves the situation for you. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal

Re: a very strange netstat output and problem when using transparent proxy

2006-11-07 Thread Oliver Fromme
t rule, is "xx.xx.xx.xx" an IP address configured on your NIC, or is it 127.0.0.1? If the former, try to replace it with 127.0.0.1 and check if that improves the situation. However, the FWD line should not cause ierrs on the NIC. If you're sure that your hardware is good, then ther

Re: Posting restrictions on this mailing list (for spam control)?

2006-11-06 Thread Oliver Fromme
problem. I think -hackers, -current and -arch are the lists requiring approval. Best regards Oliver PS: Please reply to -chat (this is off-topic on -net). -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix

Re: VLAN switch

2006-11-03 Thread Oliver Fromme
tches). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix

Re: Network Card problems in FreeBSD 4.9

2006-09-20 Thread Oliver Fromme
is supported by this driver. However, I'm not sure that 4.9 supports it, because it's very old. You probably must update to a more recent version of FreeBSD. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt

Re: How to access the values of the kenv variables in driver code?

2006-09-19 Thread Oliver Fromme
xargs grep -w getenv Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions o

Re: blocking a string in a packet using ipfw

2006-09-15 Thread Oliver Fromme
s had to be checked for each packet, instead of 50,000. Of course, with IPFW2's table feature, that tool of mine became obsolete. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.d

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Oliver Fromme
quot; instead of "deny" in the IPFW rule. If you use deny, the packets are simply dropped, causing the clients to retransmit their SYN packets several times, while "reset" (which here means "connection refused") causes no TCP retransmits. Best regards Oliver -- Oliv

Re: possible patch for implementing split DNS

2006-08-29 Thread Oliver Fromme
ess. However, I'm aware that variant symlinks are probably not going to be available in FreeBSD anytime soon. Therefore I think your patch to libc/net/res_init.c would be useful. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing

Re: Redundant/failover NFS servers - stale NFS file handle

2006-08-18 Thread Oliver Fromme
Attila Nagy wrote: > Oliver Fromme wrote: > > We use NetApp Filer clusters (NAS) for that purpose. > > They aren't cheap, but they work very well. > > I don't like blackboxes with nice GUIs. :) But they do exactly what you need. I doubt that you can build th

Re: Redundant/failover NFS servers - stale NFS file handle

2006-08-14 Thread Oliver Fromme
+ AMD running, and mount everything else via NFS. Another possibility is to put a CompactFlash card to boot from into the machines (could be read-only). CF cards and CF-IDE/ATA adapters are fairly cheap nowadays. 512 MB cards are about 20 Euros over here, and that's more than enough to contai

Re: Can't delete route

2006-05-18 Thread Oliver Fromme
ero. That's why netstat(1) displays "0". It also displays the netmask, usually CIDR notation if possible (i.e. "/x"), but that's not possible with your weird netmask, so it just displays "&" followed by the mask in hex. Best regards Oliver --

Re: disable kernel driver at boot?

2006-05-18 Thread Oliver Fromme
ot;unload" a driver which is compiled statically into the kernel. If you're afraid of compiling your own kernel, I suggest you have a look at the appropriate chapter in the Handbook. It is quite easy. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 855

Re: disable kernel driver at boot?

2006-05-17 Thread Oliver Fromme
sfp <[EMAIL PROTECTED]> wrote: > I'd still like to find a way to suppress the driver in the kernel entirely > though :P As I said, that's simple: Remove the driver from your kernel configuration, then recompile the kernel. Easy. Best regards Oliver -- Oliver Fromm

Re: /31 on 2 interfaces

2006-05-17 Thread Oliver Fromme
ddresses /30 instead of /31. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect

Re: changing default route

2006-05-16 Thread Oliver Fromme
t IP (and/or different network) on the internal LAN. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may

Re: disable kernel driver at boot?

2006-05-16 Thread Oliver Fromme
a kernel that does not include the driver. > I don't have the option of recompiling the kernel to exclude EM(4). Too bad. (Why don't you have that option?) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit

Re: vrf support in FreeBSD

2006-05-09 Thread Oliver Fromme
accounted separately). Currently, the only generic way to force programs to use a certain source IP is to put them into a jail, but again, I often need multiple IPs for a service so it doesn't work with jails. Same problem as above. Just my 2 cents (since you asked for it). :-) Be

Re: qemu + 802.1Q VLANs

2006-04-10 Thread Oliver Fromme
Lowell Gilbert <[EMAIL PROTECTED]> wrote: > Oliver Fromme <[EMAIL PROTECTED]> writes: > > I'm running FreeBSD/i386 RELENG_6 as a guest within qemu > > on a FreeBSD host. Guest and host are connected through > > the usual tap0/ed0 virtual ethernet. >

qemu + 802.1Q VLANs

2006-04-05 Thread Oliver Fromme
ke to access some of the VLANs from the guest OS running in qemu, too, but haven't been able to find out how to do that. So, here's the question: Is it possible to "forward" a VLAN trunk into a qemu guest somehow, so that both host and guest can use VLANs from it? Best regards

Re: FreeBSD on embedded systems

2005-11-13 Thread Oliver Fromme
ocessor. The board is just 4" x 6" (about the size of a 3.5" hard disk). I use this sweet little thing as a stand-alone mp3 player. It's running diskless (boots from a CompactFlash card and mounts data via NFS). http://www.secnetix.de/~olli/dmesg/cantaro/ Best regards Olive

Re: All-in-one box

2005-11-13 Thread Oliver Fromme
ditional external power supply and power socket. But don't try this if you're not familiar with voltages and how power supplies work, or if you're unsure which end of the soldering iron is the hot one. ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Ma

Re: VIA VT6103 support (VIA EPIA PD)

2005-10-11 Thread Oliver Fromme
Mike Tancsa wrote: > [ Oliver Fromme wrote: ] > > It has survived several buildworlds and network activity > > without any problems. It's now running today's 6.0-BETA5. > > Here's a copy of dmesg, if someone's interested: > > > >

Re: VIA VT6103 support (VIA EPIA PD)

2005-10-07 Thread Oliver Fromme
Oliver Fromme <[EMAIL PROTECTED]> wrote: > Antony Mawer <[EMAIL PROTECTED]> wrote: > > I'm using one of the PD1 EPIA machines as a mail > > server/router/firewall/etc at home and it performs quite nicely at the > > job. I haven't

Re: double tagged vlans on 6.0

2005-10-07 Thread Oliver Fromme
[broken quoting fixed] Donatas <[EMAIL PROTECTED]> wrote: > Oliver Fromme wrote: > > Donatas <[EMAIL PROTECTED]> wrote: > > > Just wonder - what is the major reason double vlan support > > > (also known as q-in-q or nested vlan) is still not inclu

Re: double tagged vlans on 6.0

2005-10-07 Thread Oliver Fromme
if you want (do Cisco etc. support that?). ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not

Re: How to best set-up a small local 'sync' network next to the live network?

2005-10-05 Thread Oliver Fromme
etter choice? My personal recommendation is to use PostgreSQL 8. Its WAL logging feature is very well suited to synchronize one or more slave machines, and it's rock stable and fast. However, if you application is Mysql-specific and cannot easily be ported to PostgreSQL, then I'm

Re: VIA VT6103 support (VIA EPIA PD)

2005-09-25 Thread Oliver Fromme
lso reported that their problems were caused by improperly grounded hardware.) > If anyone has this working properly with FreeBSD, I'd appreciate knowing. I > hear the Ethernet on these are not great performers. I'll report as soon as I got my PD board and performed some testing. Bes

Re: VIA VT6103 support (VIA EPIA PD)

2005-09-24 Thread Oliver Fromme
fected? Does the VIA EPIA PD have that problem? I cannot find any information about a "VIA BIOS bug". Are you sure you're not confusing things? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD:

Re: VIA VT6103 support (VIA EPIA PD)

2005-09-23 Thread Oliver Fromme
Antony Mawer <[EMAIL PROTECTED]> wrote: > On 22/09/2005 8:40 PM, Oliver Fromme wrote: > > Therefore I'd like to ask: Does the VIA VT6103 work with- > > out problems under FreeBSD (RELENG_5 or RELENG_6, or maybe > > even RELENG_4)? > > > > Bet

VIA VT6103 support (VIA EPIA PD)

2005-09-22 Thread Oliver Fromme
board has only one PCI slot, and I already need that slot for a SCSI card, so I cannot use a CPI network card. Therefore it is critical that the on-board NICs work. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.

Re: tuning network limits?

2001-10-31 Thread Oliver Fromme
ur problem. Either compile a larger number of NMBCLUSTERS into your kernel, or use the appropriate loader.conf option to set the value at boot time. By the way, you're lucky -- Earlier versions of FreeBSD tended to panic sometimes when the mbuf limit was hit. ;-) Regards Oliver -- Oliver

Port-based routing?

2001-10-26 Thread Oliver Fromme
liver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. P