classify scp and ssh

2007-07-08 Thread Lawrence Horvath
Is there a way using pf to distinguish between ssh shell logins, and scp file transfers? -- -Lawrence

Re: classify scp and ssh

2007-07-08 Thread Damien Miller
On Sat, 7 Jul 2007, Lawrence Horvath wrote: Is there a way using pf to distinguish between ssh shell logins, and scp file transfers? Not easily: ssh sets IPTOS_THROUGHPUT for non-interactive sessions, but does it after the TCP handshake. If you are assigning connections to queues statefully,

Re: classify scp and ssh

2007-07-08 Thread viq
On 08/07/07, Damien Miller [EMAIL PROTECTED] wrote: On Sat, 7 Jul 2007, Lawrence Horvath wrote: Is there a way using pf to distinguish between ssh shell logins, and scp file transfers? Not easily: ssh sets IPTOS_THROUGHPUT for non-interactive sessions, but does it after the TCP handshake. If

Re: classify scp and ssh

2007-07-08 Thread Darren Tucker
Damien Miller wrote: On Sat, 7 Jul 2007, Lawrence Horvath wrote: Is there a way using pf to distinguish between ssh shell logins, and scp file transfers? Not easily: ssh sets IPTOS_THROUGHPUT for non-interactive sessions, but does it after the TCP handshake. If you are assigning connections

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Henning Brauer
* Falk Brockerhoff [EMAIL PROTECTED] [2007-07-07 23:44]: Hello, I don't know, if this is a bug, but I can recognize a strange thing. Im setting up a redundant pair of routers and run some tests with carp for the failover on the lan side. Because of the bug refreshing the kernel routing

Re: classify scp and ssh

2007-07-08 Thread Henning Brauer
* Damien Miller [EMAIL PROTECTED] [2007-07-08 10:49]: On Sat, 7 Jul 2007, Lawrence Horvath wrote: Is there a way using pf to distinguish between ssh shell logins, and scp file transfers? Not easily: ssh sets IPTOS_THROUGHPUT for non-interactive sessions, but does it after the TCP

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Falk Brockerhoff
Henning Brauer schrieb: i believe that isfixed in -current Oh, this would be really nice. Hm, yesterday I switched off ospf on both routers and set static routes to the other loopbacks and eBGP next-hop adresses and configured ifstated for a plenty of interfaces - today it seems I'm switching

Re: How to update Xorg?

2007-07-08 Thread Timo Myyra
Antti Harri wrote: On Sat, 7 Jul 2007, djgoku wrote: On 7/7/07, Timo Myyra [EMAIL PROTECTED] wrote: Is there a easy way to update OpenBSD's Xorg to latest cvs release of it. This because of the added 'avivo' driver for my ATI Mobility Radeon X1400 graphics card. Like from release to stable?

1-wire uow(4) bug ?

2007-07-08 Thread Julien TOUCHE
i'm trying to get a ds9490r# to work on a soekris4801 with 4.1 but it doesn't seem to get recognize (not depending on what is connected on the 1wire bus, even if nothing. get: uhub0: device problem, disabling port 1 nothing in sysctl hw.sensors for it. any ideads to get it work ? thanks a lot

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Falk Brockerhoff
Falk Brockerhoff schrieb: Ok, I'll give it a try. I assume 4.1 GENERIC#320 is current enough? In this version the bug is NOT fixed. I will try an update and this setup again tomorrow. # ospfctl sh rib Destination Nexthop Path TypeType Cost Uptime 195.140.213.0/24

install gnokii package - error

2007-07-08 Thread Mitja
Hello, I am trying to install gnokii package. It looks that it has difficulties finding dependencies. I have xbase installed. Any ideas? # pkg_add ftp://spargel.kd85.com/pub/OpenBSD/4.1/packages/i386/gnokii-0.6.14p1-no_x11.tgz Can't install

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Claudio Jeker
On Sun, Jul 08, 2007 at 11:07:13PM +0200, Falk Brockerhoff wrote: Falk Brockerhoff schrieb: Ok, I'll give it a try. I assume 4.1 GENERIC#320 is current enough? In this version the bug is NOT fixed. I will try an update and this setup again tomorrow. # ospfctl sh rib Destination

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Falk Brockerhoff
Claudio Jeker schrieb: There are still some issues with carp and the routes it modifies on the fly. Ospfd and bgpd have problems to see carp routes as connected. You can force ospfd to redistribute the route by mentioning the network directly in the redistribute statement for now until the

Re: route change differs from route delete / route add? openbgpd session drops

2007-07-08 Thread Stuart Henderson
On 2007/07/08 23:35, Falk Brockerhoff wrote: The route is redistributed correctly, but the local static route to the carp-interface is not deleted when the state changes to init or backup. alternatively: put an address on the carp's parent iface. (ifstated is very cool but I prefer my

Re: Setting up a virtual hosting machine w. SSH/SFTP accounts - pitfalls/experiences?

2007-07-08 Thread Chris Cappuccio
Stuart Henderson [EMAIL PROTECTED] wrote: Or use different ports and proxy them based on host headers rather than burning IP addresses (for some RIR you are expected not to use IP addresses for non-SSL virtual web hosting). I haven't checked, but hoststated should be able to do this. What

Re: Setting up a virtual hosting machine w. SSH/SFTP accounts - pitfalls/experiences?

2007-07-08 Thread Stuart Henderson
On 2007/07/08 15:30, Chris Cappuccio wrote: Stuart Henderson [EMAIL PROTECTED] wrote: Or use different ports and proxy them based on host headers rather than burning IP addresses (for some RIR you are expected not to use IP addresses for non-SSL virtual web hosting). I haven't

xorg + dual head + ion3: workspaces on 2nd screen?

2007-07-08 Thread Jacob Yocom-Piatt
got a new monitor recently and have managed to put together an xorg.conf that displays to a laptop LCD (1024x768) and the external LCD (1680x1050). the associated xorg.conf modifications and dmesg are listed below and do not use MergedFB or Xinerama. the problem is that when i run my favorite