2 Gunde E-TICARET Semineri Sadece 150 TL. // 19-20 Subat Cumartesi ve Pazar Gunu Istanbul Taksim Gönen Otelde

2011-01-29 Thread Menekse DEMIREZEN
www.disticaretyonetimi.com


19-20 Subat Cumartesi ve Pazar Gunu Istanbul Taksim Gvnen Otelde

2 Gunde E-TICARET ve B2B ile Sat}~lar} Artt}ma ve M|steri Bulma Semineri


 2 G|nl|k Seminer |creti Sadece 150 TL+KDV

INTERNET UZERINDEN MUSTERI ve URUN BULMA, ITHALAT veya IHRACAT ILE MAL ALIP
SATABILME SEMINERI.

KENDI ISINIZI KURABILIR, KOMISYON BAZLI CALISARAK PARA KAZANABILIR
SIRKETINIZIN SATISLARINI ARTTIRABILIRSINIZ !!!

REFERANSLARIMIZ ve PROJELERIMIZ ICIN KURUMSAL EGITIMLERIMIZ - REFERANSLARIMIZ
TIKLAYINIZ  http://www.disticaretyonetimi.com/?p=607


Seminer Programi Detaylar} ve Butun Tesvikler Asagidadir.

Seminer Tarihi :  19-20 Subat 2010 Cumartesi ve Pazar
Seminer Yeri:   ]stanbul - Taksim Gvnen Otel  (www.gonenhotels.com)
Seminer Saati :09.30 - 17.00
Seminer \creti : 150 TL+ KDV.

Konu~mac}lar: - B|lent BALYEMEZ ( Istanbul \niversitesi D}~ Ticaret Bvl|m|
Vpretim gvrevisi)
  - Derya ACAR ( www.alibaba.com T|rkiye Bayi
Sorumlusu )
  - Nil|fer YAGIZ ( Getco E-Ticaret Uzman} )

Konular :


1-  E-i~,
- E-ticaret var m}d}r ? Para kazand}rabilir mi? , Firmalara ne avantaj
saplar !
- Ki~ilerin ve Firmalar}n E Ticaret Stratejisi ne olmal}d}r ?

2- Internet Pazarlamas},
- Uluslararas} pazarlama teknikleri, yvntemleri ile operasyonlar},
- ]nternet |zerinden Hedef D}~ Pazarlar}n Tespit Yollar} ve D}~ Pazarlara
Giri~ Analizleri.
- Uluslararas} pazarlama teknikleri ve yvntemleri,

3- Dijital ]~letme Stratejisi,
   - \r|n segiminin Vnemi. D|nyada Y|kselen Trendler !
  - ]nternet |zerinden \r|n Hakk}nda Bilgilerinin Toplanmas}, Bilgilerin
Teknik deperlendirilmesinin yap}lmas}
  - \reticilerle baplant}ya  nas}l gegilir ? Hangi |reticileri segmeliyiz.
.

4-  ]nternet Giri~imcilipi
  - ]nternet |zerinden d|nya pazar}nda |r|n nas}l bulunur, nas}l almal}y}m
ve nas}l satmal}y}m ?
  - Al}c}lar ve Sat}c}lara nas}l ula~acap}m, Nerede ve Nas}l Bulurum?
Nas}l irtibata gegmeliyim ? Nelere Dikkat Etmeliyim.

5- Elektronik Ticaret Epitimi,
   - E-Ticaret ile ihracat ve ithalat en h}zl} ve kolay bir ~ekilde nas}l
yap}l}r ?
  - Sat}~lar}m} nas}l artt}r}r}m?
  - Yabac} Firmalara Etkili Tan}t}m ve  Sat}~ Teklifi Yazma Teknikleri
nelerdir?
  - E Ticaret ile ]nternet |zerinden Firmalar ile Ticari Baplant} Kurma
Teknikleri.
  - Hedef pazar}n tespitinden sonra mallar}m} nas}l satar}m ?

6- www.alibaba.com b2b sitesinin T|rkiye Bayi sorumlusu Derya ACAR Alibabay}
nas}l kullanmam}z gerektipini, dikkat edilmesi gereken vnemli uyar}lar,
alibabada |st s}ralara nas}l g}kabiliriz. ve B2B nin vnemini anlatacakt}r.

7- E- Ticaret Devlet Destekleri ve Te~vikleri Nelerdir?

* Yerlerimiz belirli say}da oldupu igin ilk bavuranlar kay}t olacakt}r.

Sayg}lar}mla
Menekse DEM]REZEN
Epitim Dan}sman}
G|zel oba Mah. Kaplan2 Sok.
Yakup Ding Sit. B.Blok Kat:7 No: 16
LARA - ANTALYA
www.disticaretyonetimi.com
Tel : 0 242 349 27 17
Cep : 0 532 332 32 99
Mail : mene...@disticaretyonetimi.com

DI^ T]CARET YVNET]M] - www.disticaretteyaklasimlar.com kurulu~udur.

REFERANSLARIMIZ ve PROJELERIMIZ ICIN KURUMSAL EGITIMLERIMIZ - REFERANSLARIMIZ
TIKLAYINIZ  http://www.disticaretyonetimi.com/?p=607
Not: Haber sistemimiz yenilenmi~tir. Haber sistemimizden g}kmak igin
bulent.balye...@disticaretyonetimi.com  mail atman}z yeterlidir.



Re: amd64.html diff

2011-01-29 Thread Abel Abraham Camarillo Ojeda
As far as I know there is no way to prevent it from making shit when
you send diffs
through it's web client.

But anyway, I didn't searched enough, I just got tired and take the
dust off my nail(1)
(Heirloom mailx).

On Fri, Jan 28, 2011 at 10:27 PM, Amit Kulkarni amitk...@gmail.com wrote:
 Ok I got it. I admit I didn't think of Semprons or Athlon Neo as 64
 bit capable but some are :)

 I will post to www@ after this. Sorry about my mail. I thought gmail
 would be better. I have set it to text encoding. I will definitely try
 and fix this.

 On Fri, Jan 28, 2011 at 9:26 PM, Nick Holland
 n...@holland-consulting.net wrote:
 On 01/28/11 14:57, Amit Kulkarni wrote:
 Updated diff based on private Atom feedback and bigmem feedback.

 In short, no.
 In long: well, see notes within.

 Index: amd64.html
 ===
 RCS file: /cvs/www/amd64.html,v
 retrieving revision 1.228
 diff -u -r1.228 amd64.html
 --- amd64.html B  B  B  B 1 Nov 2010 22:06:58 - B  B  B  1.228
 +++ amd64.html B  B  B  B 28 Jan 2011 19:55:09 -
 @@ -20,7 +20,7 @@
 B hr

 B p
 -OpenBSD/amd64 runs on AMD's Athlon-64 family of processors in 64-bit
 mode.
 +OpenBSD/amd64 runs on AMD's Opteron-64/Athlon-64 family of processors
 in 64-bit mode.

 I think this is already quite correct, if we consider the Opteron part
 of the Athlon64 family.

 IF you are going to get really picky about this, you need to do your
 homework, as I'll pick you back.
 * It's Opteron, not Opteron-64.
 * If I read it as it is, I think there's a strong possibility my 64 bit
 happy Sempron might run. B After your change, I start thinking you have
 itemized everything that works...and thus, my Sempron won't work. B I
 lose, my Sempron works fine, thank you very much. B And here's where it
 gets ugly...not all the Semprons do.
 * Athlon Neo? Turion? B Athlon X2, X3, X4...? Phenom?

 And what have we gained by enlarging the list? B nothing.

 B It also runs on processors made by other manufacturers which have
cloned
 B the AMD64 extensions. B (Some Intel processors lack support for
important
 B PAE NX bit, which means those machines will run without any W^X support
 --
 @@ -52,7 +52,7 @@
 B p
 B The only major shortcoming at this time is that the kernel debugger
 B a


href=http://www.openbsd.org/cgi-bin/man.cgi?query=ddbamp;arch=amd64amp;sek
 tion=4ddb/a
 -is somewhat poor.
 +is somewhat poor. There is no support yet for memory greater than 4 GB.

 this probably does need a note somewhere, but I think it can be done
 better.

 B hr
 B a name=hardware/a
 @@ -62,7 +62,7 @@

 B p
 B All versions of the AMD Athlon 64 processors and their clones are
 -supported.
 +supported. This includes AMD Opteron, AMD Phenom, AMD Athlon, Intel
 Nehalem (Core i3, i5, and i7), and 64 bit Intel Atom.

 again, you take a broad general statement which is accurate and turn it
 into an incomplete (and wrong -- many Athlons are NOT amd64 compatable!
 B The name predates the 64 bit instruction set) specific statement. B I'm
 not even gonna start listing the Intel systems you skipped over there,
 and a very high percentage of the Intel Atom chips in consumer hands
 (and I believe some still being sold) are NOT AMD64 compatible. B It's
 all covered under clone quite nicely and to my satisfaction. B A lot of
 the early Intel AMD64-compatible chips screwed up their AMD64
 compatibility to the point where you basically just have to try it and
 see if YOUR chip works.

 It is not practical to enumerate every marketing name for every chip out
 there (I see an attempt was made on the i386 page, though that should be
 a legacy platform now and thus easier, but good ol' Intel is still
 making new i386-only chips (or at least was, as of the first generations
 of Atom...*sigh*).

 There's also just no point, and a lot more future maintenance for this
 page. B We are, actually, trying to cut down the itemized lists of
 devices supported, not add to them. B It isn't about having the longest
 list, it is about having the most useful list.

 B h4SMP support/h4
 B Starting with OpenBSD 3.6, OpenBSD/amd64 supports most SMP


 On Fri, Jan 28, 2011 at 12:25 PM, Amit Kulkarni amitk...@gmail.com
 wrote:
 Hi misc,

 I don't know where to post www updates. www seems to be heavily
 spammed and nobody uses it. And I don't want to spam specific people.

 www@ is the right place. B It's read by the people that need to read it.
 B However, your mailer is mangling diffs still (line wraps, two leading
 spaces where there should be one, etc.). B Mail the diff to yourself, see
 if you can apply it.

 Nick.



Openbsd Firewalls in network setup

2011-01-29 Thread Kapetanakis Giannis

Hi all,

Right now I have a C6500 doing internal vlan switching as well as 
routing/ACL/ospf/L2 uplink to rest of the network.


Ext Net|G5/1 on C6500|---Int Net

I want to put 2 obsd firewalls (carp-pfsync) in the way but I cannot 
afford to put an external switch for the link.
So the C6500 will still keep the L2 link (G5/1 interface) as well as the 
internal VLANs. I prefer to keep all vlans on the

cisco for the moment...

The Firewalls will connect on C6500 on interfaces G1/1, G1/2 (firewall1 
in/out) and G2/1, G2/2 (firewall2 in/out).


I was thinking to make 2 new vlans. One vlan would have G5/1, G1/1, G2/1 
and the second vlan
would have G1/2 and G2/2. The external IP (routing to ext net) would go 
on the external interfaces of the firewalls.
The internal interfaces of the firewalls would have a new IP. The 2 
firewalls will cross connect on a 3rd interface for pfsync.


a) Would you suggest a better setup for this project?
b) I have an Intel ET gigabit dual port server adapter on each firewall. 
Is it better to use both interfaces for in/out or
just use one interface with vlan tagging. What is best for performance 
(less interrupts?)


regards,

Giannis



Re: simple pf match question

2011-01-29 Thread Henning Brauer
no, that's wrong. match rules that matched during evaluation get their
counters updated. aka, your rule did not match.

see pf_counters_inc() in sys/net/pf.c

* Josh Hoppes josh.hop...@gmail.com [2011-01-29 07:11]:
 If I'm reading the man page correctly the rule only counts if it's the
 one creating a state. Since the match rule won't be the deciding one
 to generate a state or not I expect it will never actually count on
 those statistics.
 
 On Fri, Jan 28, 2011 at 8:48 PM, Ted Unangst ted.unan...@gmail.com wrote:
  I am apparently not getting pf at a very simple level.  Here's my rule:
 
  match proto tcp from any to any port 80 label web
 
  Here's the output of pfctl -sr -v after visiting a few websites:
 
  match proto tcp from any to any port = www label web
   [ Evaluations: 1398  Packets: 0 Bytes: 0   States: 0  
   ]
   [ Inserted: uid 0 pid 931 State Creations: 0 ]
 
  I would expect that rule to match the packets to port 80 and make the
  counters go up, but they stay stuck at 0.  Why is that?
 

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Das schönste Geschenk zu Valentinstag

2011-01-29 Thread news
LABONAF.COM
Originelle Geschenkideen


Das schC6ntes Geschenk zu Valentinstag !

In wenigen Tagen ist es soweit : es ist Valentinstag !

Statt eine konventionelle Rose zu verschenken, die schon nach wenigen Tagen 
verblCht,B7bieten wir Ihnen an, eine Ewige Rose mit der einer
persC6nlichen Beschriftung in goldener Schrift auf einem Rosenblatt zu 
schenken, damit Ihr Liebesbeweis Cber das ganze Jahr dauert...

Ewige-Rose
Originalfoto der Ewige Rose

labonaf.com hat sich auf originelle Geschenkideen spezialisiert.

Ob lustige oder verrCckte Geschenke, wir haben immer eine gute Idee fCr Sie. 
Produkte die GARANTIERT viel Freude bereiten werden.


Hier ein kleiner Vorgeschmack

Eine ECHTE Rose

Eine natCrliche BlCte, weich, samtig, strahlend. Genau dann, wenn sie am 
schC6nsten ist, wird sie gepflCckt und mit einem natCrlichen Verfahren
konserviert. Und genau so bleibt sie jahrelang erhalten. Ein StCck Ewigkeit...


Sie duftet und duftet...

Ein Tropfchen im Herz der BlChte und der Duft der Rose bleibt erhalten.


Ein ewiger Strauss

Jahr fCr Jahr eine Ewige Rose zum Neujahr und bald haben Sie einen Ewigen 
Strauss.



Geschenkideen-Himmel
Geschenke aus dem All

Ein MondgrundstCck? Eine Sternentaufe ? Ein Meteoritenschmuck ?

Lordtitel
Werden Sie ein LORD

Werden Sie ein echter Lord und beeindrucken Sie Ihre Freunde und Kollegen

Olivenset
Paten eines Olivenbaumes

Werden Sie Paten eines Olivenbaumes und genieCen Se Ihr eigenes OlivenC6l


LABONAF.com : originelle Geschenkideen


Sie wCnschen kein Newsletter mehr ? klicken Sie bitte hier : abmelden (
http://www.cadeaufou.info/index.php?option=com_acymailingctrl=usertask=optoutmailid=12subid=182582key=acfe7aecd681c348fdfe2680c419daebItemid=1
 )



Re: Atheros AR5001

2011-01-29 Thread Stuart Henderson
On 2011-01-27, Sergey Kish sergey.k...@gmail.com wrote:
 You have been answered in your other thread...
 It doesn't work.

 In another thread I've asked about unexpected difference between
 shipped kernel and same kernel built from source.
 Still have no answer, but a lot of answers about AR5424.

 But I have no AR5424!
 My Acer Aspire One 751 shipped with Atheros AR5001.

AR5001 is an (incomplete) name for an older (PCI) Atheros chipset.
The device as listed in dmesg is the MAC chip. AR5424 is part of the
AR5006EXS (PCIE) chipset.

http://madwifi-project.org/wiki/Chipsets

Please, don't make multiple threads about the same topic...



Re: equivalent of Linux mount -o bind

2011-01-29 Thread Stuart Henderson
On 2011-01-28, Travis H. tra...@bitrot.info wrote:
 So I'm curious if there's something in OpenBSD that's similar to the
 mount -o bind /dir1 /dir2 to make dir1 appear where dir2 is.

I think an nfs loopback mount is the closest thing.

 I seem to recall a mount_nullfs but don't see it in the latest
 OpenBSD.

It was removed.



Re: simple pf match question

2011-01-29 Thread Ted Unangst
On Sat, Jan 29, 2011 at 5:37 AM, Henning Brauer lists-open...@bsws.de
wrote:
 no, that's wrong. match rules that matched during evaluation get their
 counters updated. aka, your rule did not match.

ok, that's wrong. :)

Somebody else told me to add a pass all rule at the top of the rule
set.  Then it did work.  But pass all is the default.  Somehow adding
it explicitly changes the behavior of match rules.  I know the rule
matches because it does so after adding pass all.


 see pf_counters_inc() in sys/net/pf.c

 * Josh Hoppes josh.hop...@gmail.com [2011-01-29 07:11]:
 If I'm reading the man page correctly the rule only counts if it's the
 one creating a state. Since the match rule won't be the deciding one
 to generate a state or not I expect it will never actually count on
 those statistics.

 On Fri, Jan 28, 2011 at 8:48 PM, Ted Unangst ted.unan...@gmail.com
wrote:
  I am apparently not getting pf at a very simple level.  Here's my rule:
 
  match proto tcp from any to any port 80 label web
 
  Here's the output of pfctl -sr -v after visiting a few websites:
 
  match proto tcp from any to any port = www label web
   [ Evaluations: 1398  Packets: 0 Bytes: 0   States:
0
   ]
   [ Inserted: uid 0 pid 931 State Creations: 0 ]
 
  I would expect that rule to match the packets to port 80 and make the
  counters go up, but they stay stuck at 0.  Why is that?


 --
 Henning Brauer, h...@bsws.de, henn...@openbsd.org
 BS Web Services, http://bsws.de
 Full-Service ISP - Secure Hosting, Mail and DNS Services
 Dedicated Servers, Rootservers, Application Hosting



PF load balancing outgoing ISPs

2011-01-29 Thread FRLinux
Hello list,

I have this page trying to load balance my some of my devices (for now
my laptop as a test) to my second internet connection but have been
unable to make it work.
http://www.openbsd.org/faq/pf/pools.html#outgoing

I would be grateful if someone could explain my own mistakes in that
setup. I have set a default route for the gateway to isp two as I
thought i could direct traffic from laptop to isp one without having
to remove default routes, am I wrong here?

# isp one
ext_if1=sis1
# isp two
ext_if=sis2
# internal interface
int_if=sis0

set skip on lo


#QoS on isp2
altq on $int_if cbq bandwidth 25Mb queue q_default
queue q_default bandwidth 25Mb cbq(default)

altq on $ext_if priq bandwidth 2600Kb queue std_out
queue std_out priq(default)

# nat for laptop to isp one
match out on $ext_if1 from 192.168.0.52 !tagged NO_NAT nat-to (sis1:0)
match out on $ext_if1 from 192.168.0.52 nat-to (sis1)

# nat for isp two
match out on $ext_if from !($ext_if) !tagged NO_NAT nat-to ($ext_if:0)

# out with QoS
pass out on $ext_if queue std_out
pass out on $int_if queue q_default

#pass out to isp one from laptop
pass out on $ext_if1 from 192.168.0.52

block in

# pass all in
pass in on $int_if no state

#pass route to isp one from laptop
pass in on $int_if from 192.168.0.52 route-to sis1


Thanks in advance for any reply.
Steph



Re: simple pf match question

2011-01-29 Thread Henning Brauer
* Ted Unangst ted.unan...@gmail.com [2011-01-29 17:36]:
 On Sat, Jan 29, 2011 at 5:37 AM, Henning Brauer lists-open...@bsws.de
 wrote:
  no, that's wrong. match rules that matched during evaluation get their
  counters updated. aka, your rule did not match.
 
 ok, that's wrong. :)
 
 Somebody else told me to add a pass all rule at the top of the rule
 set.  Then it did work.  But pass all is the default.  Somehow adding
 it explicitly changes the behavior of match rules.  I know the rule
 matches because it does so after adding pass all.

ok, we get into semantic nitpicking...
there is no default pass all rule.
packets are being passed by default.
that is an important difference - no state is ever created for those
packets being passed since they didn't match a pass rule.
now i wonder wether we fail to update the counters on match rules for
the !state case... and the more i think about it the more i think that
is the case.
yup, indeed.
not trivial to fix. the state is the link to the match rules.

a change on one of my laptops (now if i knew which...) is likely to
fix that as a side effect, but it has some bad bugs. no way it makes
4.9. and a fix for this issue would be either intrusive or very ugly
(and still not trivial), thus not a viable option either. live with it
for now.

did i mention that stateless is pretty dumb anyway? :)

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Give old laptops

2011-01-29 Thread TeXitoi
Hi,

I have 2 similar old laptops that I do not use. They are 15 compaq
presario 2100. You can find dmesg, pcidump and sysctl hw here :

  http://www.texitoi.eu/~texitoi/laptops/

One have a dead batterie, the keyboard sometime bugs (repeating
constantly a key) and do not have CDROM drive (I use it in another
computer).  I have only 1 power supply.

PCMCIA is buggy (on one, inserting a card do not do anything, and in
the other one, you can see at the end of the dmesg the messages).  I
have a CISCO an(4) card that works on Linux and should be supported on
OpenBSD.

Suspend do not work: the kernel page-fault while suspending the radeon
card on the two computers.

DRI does not seem to work (30-50 fps on glxgears with 0% idle).

If an OpenBSD developper is interested by all that (for acpi,
pcmcia/cardbus, drm development or simply to recycle the hard drives,
the memory or using them directly), I'll ship them for free in
European Union (preferably in Paris for hand to hand exchange, or in
France by mail).

If you have any question on the hardware, just ask.

-- 
Guillaume Pinot   http://www.texitoi.eu

+ Il semble que la perfection soit atteinte non quand il n'y a plus
rien ` ajouter, mais quand il n'y a plus rien ` retrancher. ;
  -- Antoine de Saint-Exupiry, Terre des hommes

()  ASCII ribbon campaign  -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments



Re: PF load balancing outgoing ISPs

2011-01-29 Thread FRLinux
On Sat, Jan 29, 2011 at 8:12 PM, roberth rob...@openbsd.pap.st wrote:
 I'll point out the most obvious:
 Since there are no tagged states, everyone of those three match rules
 matches and the last one wins.

Hello Robert,

Thanks for responding, I have changed the rules to tag packets coming
from the laptop but still not getting through the right connection :(

This is the modified ruleset:

# isp one
ext_if1=sis1
# isp two
ext_if=sis2
# internal interface
int_if=sis0

set skip on lo


#QoS on isp2
altq on $int_if cbq bandwidth 25Mb queue q_default
queue q_default bandwidth 25Mb cbq(default)

altq on $ext_if priq bandwidth 2600Kb queue std_out
queue std_out priq(default)

# nat for laptop to isp one
match on sis1 from 192.168.0.52 to !192.168.0.0/24 tag LAPTOP
match out on $ext_if1 from 192.168.0.52 !tagged NO_NAT nat-to (sis1:0)
match out on $ext_if1 from 192.168.0.52 nat-to (sis1)

# nat for isp two
match out on $ext_if from !($ext_if) !tagged NO_NAT nat-to ($ext_if:0)

# out with QoS
pass out on $ext_if queue std_out
pass out on $int_if queue q_default

#pass out to isp one from laptop
pass out on sis1 tagged LAPTOP

block in

#pass route to isp one from laptop
pass in on $int_if tag LAPTOP keep state route-to sis1

# pass all in
pass in on $int_if no state


Thanks,
Steph



Re: Give old laptops

2011-01-29 Thread Jason Dixon
Is the hostname lucky?

http://www.stationbay.com/images/P/lostdog_R.jpg

-J.

On Sat, Jan 29, 2011 at 08:08:13PM +0100, TeXitoi wrote:
 Hi,
 
 I have 2 similar old laptops that I do not use. They are 15 compaq
 presario 2100. You can find dmesg, pcidump and sysctl hw here :
 
   http://www.texitoi.eu/~texitoi/laptops/
 
 One have a dead batterie, the keyboard sometime bugs (repeating
 constantly a key) and do not have CDROM drive (I use it in another
 computer).  I have only 1 power supply.
 
 PCMCIA is buggy (on one, inserting a card do not do anything, and in
 the other one, you can see at the end of the dmesg the messages).  I
 have a CISCO an(4) card that works on Linux and should be supported on
 OpenBSD.
 
 Suspend do not work: the kernel page-fault while suspending the radeon
 card on the two computers.
 
 DRI does not seem to work (30-50 fps on glxgears with 0% idle).
 
 If an OpenBSD developper is interested by all that (for acpi,
 pcmcia/cardbus, drm development or simply to recycle the hard drives,
 the memory or using them directly), I'll ship them for free in
 European Union (preferably in Paris for hand to hand exchange, or in
 France by mail).
 
 If you have any question on the hardware, just ask.
 
 -- 
 Guillaume Pinot   http://www.texitoi.eu
 
 + Il semble que la perfection soit atteinte non quand il n'y a plus
 rien ` ajouter, mais quand il n'y a plus rien ` retrancher. ;
   -- Antoine de Saint-Exupiry, Terre des hommes
 
 ()  ASCII ribbon campaign  -- Against HTML e-mail
 /\  http://www.asciiribbon.org -- Against proprietary attachments
 

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: route flush and sh /etc/netstart not enough?

2011-01-29 Thread Neal Hogan
On Tue, Jan 25, 2011 at 10:11 PM, Neal Hogan nealho...@gmail.com wrote:
 On Tue, Jan 25, 2011 at 9:51 PM, Ryan Flannery ryan.flann...@gmail.com
wrote:
 On Tue, Jan 25, 2011 at 9:01 PM, Neal Hogan nealho...@gmail.com wrote:
 Hello misc@,

 I'm having an issue with my wifi AP after I reconnect to my ISP. That
 is, when my internet connection is broken, for whatever reason, and
 then reconnected, my wireless machines see that the AP is available,
 but fail to connect to it. My hard connection works just fine.

 Do you still have a dynamic IP?  If so, is it set to something
 different when you reconnect?

 If so, the nat in your pf is probably causing the problem.


 I was thinking the same and when I finally got the internet connection
 back the IP looked the same.

 I flush all the routes (ie., # route flush) and then sh /etc/netstart,
 but that does not work.

 Have you also tried restarting pf at this point?


 I did not not do that this most recent time, but I seem to remember
 doing it last time without it helping. When I get time, I will try to
 recreate the situation by unplugging my modem and restarting pf.

I tried restarting pf (i.e., pfctl -d  pfctl -ef /etc/pf.conf) and
it didn't work. That is, I flushed the routes, 'sh /etc/netstart'd',
and restarted pf and my wifi access point fails to give addresses.

Below are my pf rules and, route table and ifconfig info before and
after I reboot.

lambdaroot pfctl -s rules
match in all scrub (no-df random-id reassemble tcp)
match out on em1 from ! (em1) to any nat-to (em1) round-robin
pass in on em1 inet proto tcp from whitelist to (em1) port = smtp
flags S/SA keep state rdr-to 127.0.0.1 port 25
pass in on em0 inet proto tcp from any to 192.168.2.1 port = smtp
flags S/SA keep state rdr-to 127.0.0.1 port 25
pass in on em1 inet proto tcp from spamd to 64.53.218.214 port =
smtp flags S/SA keep state rdr-to 127.0.0.1 port 8025
pass in on em1 inet proto tcp from spamd-white to any port = smtp
flags S/SA keep state rdr-to 127.0.0.1 port 25
pass in on em1 inet proto tcp from ! spamd-white to any port = smtp
flags S/SA keep state rdr-to 127.0.0.1 port 8025
block drop in all
block drop out all
block drop in log quick on ! lo inet6 from ::1 to any
block drop in log quick on ! lo inet from 127.0.0.0/8 to any
block drop in log quick inet from 127.0.0.1 to any
block drop in log quick on ! em1 inet from 64.53.216.0/21 to any
block drop in log quick inet from 64.53.218.214 to any
block drop in log quick on ! em0 inet from 192.168.2.0/24 to any
block drop in log quick inet from 192.168.2.1 to any
block drop in log quick on ! ral0 inet from 192.168.3.0/24 to any
block drop in log quick inet from 192.168.3.1 to any
block drop in log quick inet6 from ::1 to any
block drop in log quick on lo0 inet6 from fe80::1 to any
block drop in log quick on em1 inet6 from fe80::2e0:81ff:febc:f36a to any
block drop in log quick on em0 inet6 from fe80::2e0:81ff:febc:f36b to any
block drop in log quick on ral0 inet6 from fe80::20e:2eff:fe96:4ee0 to any
block drop in log quick from bad_ssh to any
block drop in log quick from bad_www to any
block drop in log quick from bad_wifi to any
pass out quick on em1 inet proto tcp from any to 24.172.134.210 port =
finger user = 67 flags S/SA modulate state
pass out quick on ral0 inet proto tcp from any to
__automatic_80b2c777_0 port = finger user = 67 flags S/SA modulate
state
pass out quick on em0 inet proto tcp from any to
__automatic_80b2c777_2 port = finger user = 67 flags S/SA modulate
state
pass out quick on ral0 inet proto tcp from any to
__automatic_80b2c777_1 port = ssh user = 67 flags S/SA modulate
state
pass out quick on em0 inet proto tcp from any to
__automatic_80b2c777_3 port = ssh user = 67 flags S/SA modulate
state
pass in log on em1 inet proto tcp from any to (em1) port = ssh flags
S/SA synproxy state (source-track rule, max-src-conn-rate 10/20,
overload bad_ssh flush global, src.track 20)
pass in log on em1 inet proto tcp from any to (em1) port = smtp flags
S/SA synproxy state
pass in log on em1 inet proto tcp from any to (em1) port = www flags
S/SA synproxy state (source-track rule, max-src-conn 100,
max-src-conn-rate 15/5, overload bad_www flush global, src.track 5)
pass in log on em1 inet proto tcp from any to (em1) port = https flags
S/SA synproxy state (source-track rule, max-src-conn 100,
max-src-conn-rate 15/5, overload bad_www flush global, src.track 5)
pass in log on em1 inet proto icmp from any to (em1) icmp-type echoreq
keep state
pass in log on em1 inet proto icmp from any to (em1) icmp-type unreach
keep state
pass in on em1 inet proto tcp from any to (em1) port = ftp flags S/SA
keep state (source-track rule, max-src-conn 3, max-src-conn-rate 15/5,
src.track 5)
pass in on em1 proto tcp from any to any port  49151 flags S/SA keep state
pass in on em1 proto tcp from any to any port = rsync flags S/SA keep state
pass in log on em1 inet proto tcp from 24.172.134.210 to 64.53.218.214
port = finger flags S/SA synproxy state
pass 

OT: gmail, realy that hard to discern offlist mails?

2011-01-29 Thread roberth
as i dont have any insight myself about it and experienced it a lot
around here, ...

is it realy that hard to discern mail sent offlist in the gmail
interface?
am i just spoiled by a simple check on mail headers?

(if you don't want to spam anyone with ot-replies, don't answer
on-list.)

thx.



Printing (well anything) using lpd...

2011-01-29 Thread Bryan
*tried sending this to the newbies list, but was kicked back*

I have been hampered with this for a few years now, and at most times,
it was easier to copy the file to a Windows box and print.  But I'm
tired of having to do this, and have begun researching how to print to
a printer on the network.  I recently bought a Brother 9840CDW, which
supports lpd and postscript.  It also allows for FTP of files to queue
among other things.  It's probably more printer (scanner, fax, copier)
than I need, but I'm tired of HP printers and the toner issues they
have.  It is a really nice printer in Windows, and the scanner is most
excellent and fast.  And according to the LInux foundation site
(http://www.linuxfoundation.org/collaborate/workgroups/openprinting)
it works perfectly.  Of course, I have to take this with a grain of
salt, because of Linux's willingness to add proprietary drivers,
firmware, etc.

I am running a -current built with a vanilla GENERIC.MP (dmesg and
printcap below).
 It's valid as of the 24th of January 2011.  I have googled several
sites, and found a site that was able to help me get a running config.
 This meant I was able to successfully send something over my network
to the printer.  I've sent a copy of the /etc/printcap to the printer,
and while it does print the first line of the text correctly, the next
line begins where the first line ends, but one line down


example:


blah blah blah
blah blah blah


the interesting thing is, the burst page, which prints after the job
completes, prints correctly, with lines printing correctly.  Truly
frustrating.  And in a moment of ignorance, I wasted about 50 pages of
paper when I sent a PDF to the printer.  Tons of garbage on the the
page, sometimes on both sides.  I was able to purge the queue with
'lpc' but ended up powercycling the printer to kill the printing.

I've been reading the printcap man page, lpd, lpr, and the following sites:

http://www.linuxfoundation.org/collaborate/workgroups/openprinting
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
http://www.digitalissues.co.uk/html/os/unix/bsd.html (this helped me
get connected to my networked printer)
http://onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html?page=1
(Darrin Chandler's blog directed me here when he was having issues)

I've been to other sites and forums where people are using samba to
print.  But I am having enough trouble with a simple text file to
setup samba just to print.  Has anyone been able to print regular
text, pdfs, and possibly images on a printer? I tried using 'pdf2ps',
but this only cut down the amount of wasted paper with gibberish on it
by 25 or so pages.

I've got the network portion down, but I think that I don't know
enough about how filters work.  Do people create their own, or are
there any 'recipes' out there that I can modify to work with my
printer?

If you have a site that I should be reading, or a man page that I
missed, please let me know, and I'll study it. I do have ghostscript
installed, and I tried using apsfilter, but it didn't appear to work.
I configured everything, using the GS Driver option #2, but everything
still printed the same gibberish and text still printed like the
above.

Regards,
Bryan

/etc/printcap:
#   $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $

#lp|local line printer:\
#   :lp=/dev/lp:sd=/var/spool/output:lf=/var/log/lpd-errs:

lp|9840CDN:\
:sd=/var/spool/output/9840CDN:\
:lp=:\
:rm=9840CDN:\
:rp=9840CDN:

'9840CDN' is the printer, I put it wrong in both my printcap, and in
/etc/hosts.  The printer is the *9840CDW*

dmesg:

OpenBSD 4.9-beta (GENERIC.MP) #34: Mon Jan 24 12:26:44 CST 2011
r...@obsd-amd64.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3707031552 (3535MB)
avail mem = 3594342400 (3427MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6530 (57 entries)
bios0: vendor Dell Inc. version A24 date 08/19/2010
bios0: Dell Inc. Latitude E6500
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG SLIC SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) USB6(
S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3)
RP05(S3) RP06(S5) LID_(
S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz, 2660.46 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,AC
PI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,
SSE4.1,XSAVE,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8800 @ 2.66GHz, 2660.00 MHz
cpu1: