synproxy state with multipath routing

2017-06-20 Thread Indunil Jayasooriya
(max-src-conn-rate 1/120) reply-to ($wan_if $wan_gw) Why? seeking answers... -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Fwd: synproxy state with multipath routing

2017-06-22 Thread Indunil Jayasooriya
synproxy state (max-src-conn-rate 1/120) reply-to ($wan_if $wan_gw) Why? seeking answers... -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Get an MAC address of a LAN PC - OpenBSD

2017-06-22 Thread Indunil Jayasooriya
Hi Misc, I do want to get an MAC address of a LAN PC that is 192.168.1.x This PC is behind OpenBSD pf box. this below command only shows IPs. tcpdump -n -e -ttt -r /var/log/pflog How can I get it from this OpenBSD Pf box? -- cat /etc/motd Thank you Indunil Jayasooriya http

Re: Get an MAC address of a LAN PC - OpenBSD

2017-06-22 Thread Indunil Jayasooriya
database somewhere in OpenBSD or do you know any other software that can fulfill my need. Sir, Hope to hear from you. On Fri, Jun 23, 2017 at 9:55 AM, Raul Miller wrote: > http://man.openbsd.org/arp.8? > > -- > Raul > > > On Fri, Jun 23, 2017 at 12:01 AM, Indunil Jayasooriya

Re: Get an MAC address of a LAN PC - OpenBSD

2017-06-22 Thread Indunil Jayasooriya
, > > -- > Raul > > > On Fri, Jun 23, 2017 at 1:03 AM, Indunil Jayasooriya > wrote: > > > > arp -a gives all. > > > > thanks a LOT. > > > > it gives current list. > > > > > > Is there any way to get an MAC address of a PC th

Re: Get an MAC address of a LAN PC - OpenBSD

2017-06-22 Thread Indunil Jayasooriya
/etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Get an MAC address of a LAN PC - OpenBSD

2017-06-22 Thread Indunil Jayasooriya
Am I right? Pls correct me if I am wrong. If we reboot or format that PC , again it will show the real MAC. Sir, hope to hear from you. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Fwd: Get an MAC address of a LAN PC - OpenBSD

2017-06-23 Thread Indunil Jayasooriya
rpwatch -i bge2 ( man arpwatch ) I want to set bge2 to default. I cant find any .conf file. pls guide me. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Not able to boot from softraid :(

2018-07-24 Thread Indunil Jayasooriya
penbsd on sd2 disk, using gpt. > > The installed system boots, but the last line i see is: > > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > that's all. my keyboard not working and boot process stops. > > I have tried to boot without inteldrm but nothing changed except > resolution. > > Is there i done something wrong? > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/

Re: Fail2ban alternative for OpenBSD

2017-10-30 Thread Indunil Jayasooriya
On Mon, Oct 30, 2017 at 3:27 PM, Kamil Cholewiński wrote: > > I am wondering since years why the hell people left SSH port open to > > the word? > > Because I trust OpenSSH. > > Yeah, It is pretty secure. I trust too. great work from OpenBSD. -- cat /etc/motd Thank

Re: OpenBSD crypto and NSA/Bruce Schneier

2013-09-11 Thread Indunil Jayasooriya
s. > > Both good and bad things exist in the world. It is the way of the world. It is quite normal. It is the True Nature of the world. Intention ( volition ) to add protection (security) is the WISE man's characteristic. So this wise man is always protected. He will win his life.

the same ip address for 2 vpn client computers

2013-10-07 Thread Indunil Jayasooriya
r got the same ip address (10.0.1.6) Why's that? this is the source I referred to http://www.kernel-panic.it/openbsd/vpn/vpn4.html any idea? -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Sorry OpenBSD people, been a bit busy

2013-10-07 Thread Indunil Jayasooriya
a useless topic. Let's discard it. -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Sorry OpenBSD people, been a bit busy

2013-10-08 Thread Indunil Jayasooriya
that. > > My favourite O/S is also OpenBSD. Theo and his guys protect the world. so they are naturally protected. Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: undeadly.org status?

2014-11-23 Thread Indunil Jayasooriya
2P > is the real #cloudcomputing. > Rio de Janeiro, Brazil · > Github: https://github.com/TeeBSB > Blog: http://teebsd.github.io/ > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Packet Tagging (Policy Filtering)

2014-12-11 Thread Indunil Jayasooriya
ist2* -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

PF tagging

2014-12-28 Thread Indunil Jayasooriya
an1_if $wan1_gw) tag ip_list1_traffic pass out quick log on $wan1_if tagged ip_list1_traffic -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

How to Selectively route DESTINATIONS via wan1_gw and via wan2_gw

2015-01-13 Thread Indunil Jayasooriya
-type $icmp_types I still can NOT traceroute to destinations in /etc/ip_list1 via wan1_gw and the rest via wan2_gw How to achive this goal? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

ddb error

2012-10-15 Thread Indunil Jayasooriya
am sending 2 attachments for you guys to see and let me know what actually happens? Services running on these 2 Open BSD Servers are carp , pf and relayd Any comments? -- Thank you Indunil Jayasooriya [demime 1.01d removed an attachment of type image/jpeg which had a name of ddb1.jpg

How to list available all hard disks in OpenBSD

2012-12-20 Thread Indunil Jayasooriya
. In OpenBSD what's the command for it? -- Thank you Indunil Jayasooriya

Re: How to list available all hard disks in OpenBSD

2012-12-20 Thread Indunil Jayasooriya
Hi misc Thanks a lot On Fri, Dec 21, 2012 at 10:07 AM, Wesley wrote: > Hi, > > you can try this : > > > /usr/sbin/sysctl hw.disknames > > Cheers, > Wesley > > > Le 2012-12-21 7:17, Indunil Jayasooriya a écrit : > > HI, >> >> I woul

Re: Pf with multi gateways

2013-02-13 Thread Indunil Jayasooriya
> You can list multiple gateways in priority order (I would usually > add these in hostname.if files e.g. "!route add") > > route add default -priority 10 10.1.1.1 > route add default -priority 12 10.2.2.2 > should the file /etc/mygate be deleted? I think &qu

Load Balance Outgoing Traffic via 3 outgoing interfaces

2015-04-08 Thread Indunil Jayasooriya
/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: Load Balance Outgoing Traffic via 3 outgoing interfaces

2015-04-08 Thread Indunil Jayasooriya
the > redirector. > > 2015-04-08 10:54 GMT+03:00 Indunil Jayasooriya : > >> Hi Mics, >> >> I have a requirement that Users in LAN wan to browse INTERNET with squid >> proxy server via 3 outgoing links. So I have a box with 4 Network >> interfaces. One for

Re: relayd crashes often

2015-04-26 Thread Indunil Jayasooriya
t; --- relay.c 6 Feb 2015 01:37:11 - 1.191 > +++ relay.c 25 Apr 2015 13:11:33 - > @@ -988,7 +988,7 @@ relay_error(struct bufferevent *bev, sho > dst = EVBUFFER_OUTPUT(cre->dst->bev); > if (EVBUFFER_LENGTH(dst)) > return; > - } else > + } else if (cre->output != NULL && > EVBUFFER_LENGTH(cre->output)) > return; > > relay_close(con, "done"); > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

how to add squid access log in /etc/newsyslog.conf

2015-07-13 Thread Indunil Jayasooriya
comments ? I referred to below urls http://jamesoff.net/site/reference/squid-log-rotation-with-newsyslog/ http://lists.freebsd.org/pipermail/freebsd-questions/2007-July/154219.html http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/021765.html -- cat /etc/motd Thank you Indunil

Re: how to add squid access log in /etc/newsyslog.conf

2015-07-13 Thread Indunil Jayasooriya
access.log <14Z>: --> trimming log Now I have 2 files in this way. -rw-r- 1 _squid _squid 28668 Jul 13 16:27 access.log -rw-r- 1 _squid _squid56380324 Jul 13 16:24 access.log.0.gz Let's see tomorrow morning, On Mon, Jul 13, 2015 at 4:24 PM, Craig Ski

Re: how to add squid access log in /etc/newsyslog.conf

2015-07-14 Thread Indunil Jayasooriya
>> This is correct, Squid wants a SIGUSR1 as this triggers the > rotate ( like calling squid -k rotate). > > You need to configure > > logfile_rotate 0 > > in the squid.conf. This tells squid to rotate the files but keep itself. > Added, Thank you. -- ca

Re: how to add squid access log in /etc/newsyslog.conf

2015-07-14 Thread Indunil Jayasooriya
it seems to be OK On Mon, Jul 13, 2015 at 8:29 PM, Stuart Henderson wrote: > On 2015-07-13, Indunil Jayasooriya wrote: > > I delted 30 from that line. Now it looks like this. > > > > /var/squid/logs/access.log _squid:_squid 640 14 * > > @T00

no bandwidthd src pkd in /usr/ports

2016-02-24 Thread Indunil Jayasooriya
cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: no bandwidthd src pkd in /usr/ports

2016-02-24 Thread Indunil Jayasooriya
s software hasn't seen a > release in over 11 years. > > What about darkstat ( /usr/ports/net/darkstat/ ) or something else you can recommend? > Regards, > > Raf > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: no bandwidthd src pkd in /usr/ports

2016-02-26 Thread Indunil Jayasooriya
On Thu, Feb 25, 2016 at 8:35 PM, Marc Espie wrote: > On Thu, Feb 25, 2016 at 11:56:10AM +0530, Indunil Jayasooriya wrote: > > Hi Misc, > > > > I have OpenBSD 5.5 64 bit gateway. > > UPGRADE. > > You're very badly out of date. That stuff is no longer s

ntop on openbsd

2016-03-15 Thread Indunil Jayasooriya
a source. http://www.computerglitch.net/blog/attic/ntop-2-0-on-openbsd.html -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

SPF Examples

2016-05-29 Thread Indunil Jayasooriya
main, prohibit all others. Waiting your INPUTS. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: SPF Examples

2016-05-31 Thread Indunil Jayasooriya
commnets. > I would recommend RFC 7208 these are all easily answered in Appendix A. > > thanks for the above > > > > > -- > > cat /etc/motd > > > > Thank you > > Indunil Jayasooriya > > http://www.theravadanet.net/ > > http://www.s

Re: DNS servers around here not working for days. dig works. fix?

2016-06-14 Thread Indunil Jayasooriya
both 8.8.8.8 and 8.8..4.4 work for me. On Tue, Jun 14, 2016 at 8:26 PM, Chris Bennett < chrisbenn...@bennettconstruction.us> wrote: > Neither 8.8.8.8 or 8.8.4.4 works. > After netstart, no. After reboot, no. > > -- cat /etc/motd Thank you Indunil Jayasooriya http://ww

Re: DNS servers around here not working for days. dig works. fix?

2016-06-14 Thread Indunil Jayasooriya
t; > Could this problem be because of my being behind the wifi NAT? > > Chris Bennett > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

mail.ssh with netstat command

2014-06-20 Thread Indunil Jayasooriya
Dear ALL, netstat gives below output on my openbsd 5 64 bit firewall. it is a VM. tcp 0128 mail.ssh 192.168.x.y.57850 ESTABLISHED I think it is unusual? your comment? How to find this mail.ssh ? -- Thank you Indunil Jayasooriya http://www.theravadanet.net

Re: mail.ssh with netstat command

2014-06-20 Thread Indunil Jayasooriya
192.168.x.y > to the machine you ran netstat on, which has an interface > named "mail"? > > --patrick > Thank you. I got it. this Openbsd box's /etc/host file says mail.example.com -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

hp proliant dl 320e gen 8 for openbsd 5.5 64 bit ?

2014-08-06 Thread Indunil Jayasooriya
e to hear form gurus? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: hp proliant dl 320e gen 8 for openbsd 5.5 64 bit ?

2014-08-07 Thread Indunil Jayasooriya
with 1 TB. But We got it WITHOUT getting it mirrored. We can tell the Hardware vendor to mirror this 2 hard disks. My question is after mirroring, Will OpenBSD work or again will have to change BIOS settings ? Hope to hear from you. -- cat /etc/motd Thank you Indunil Jayasoo

Re: hp proliant dl 320e gen 8 for openbsd 5.5 64 bit ?

2014-08-07 Thread Indunil Jayasooriya
> -- > Med venlig hilsen/Kind regards > Søren Aurehøj > > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: hp proliant dl 320e gen 8 for openbsd 5.5 64 bit ?

2014-08-07 Thread Indunil Jayasooriya
this server). > > As mine you may have to enter into RAID carte separate BIOS than the > mother board BIOS to activate disks & setup RAID-levels > maybe you missed that step or exited without saving setup. > > Hmm, I will look in to it. > -- cat /etc/motd Thank you In

amavisd uses high cpu usage?

2014-08-22 Thread Indunil Jayasooriya
/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: amavisd uses high cpu usage?

2014-08-22 Thread Indunil Jayasooriya
gt; -- > A CONS is an object which cares. > -- Bernie Greenberg. > -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: amavisd uses high cpu usage?

2014-08-22 Thread Indunil Jayasooriya
en, it gave this. The amavisd daemon is already running, PID: [4909] I think may be something is wrong with perl modules. U guys are experts. any comments? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: amavisd uses high cpu usage?

2014-08-23 Thread Indunil Jayasooriya
0.1p1handle the old .ZOO archive format Hope to hear from you. -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

pflogd uses high cpu.

2014-08-26 Thread Indunil Jayasooriya
/2009-March/004206.html Can you guys have any comment on this? -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: PF Tagging

2014-09-03 Thread Indunil Jayasooriya
Oooo, thats an exciting possibility :) > > Any opportunities for reducing PF rule sets is always great. > > Yes, Indeed. +1 -- cat /etc/motd Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

how to forward port 2222 of pf box to port 22 of internel webserver

2014-05-01 Thread Indunil Jayasooriya
ulate state But, I can't access Why? -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: how to forward port 2222 of pf box to port 22 of internel webserver

2014-05-02 Thread Indunil Jayasooriya
ve does not help run tcpdump on both interfaces and see what is > / is not being passed... > > hth > > Fred > > > Not sure but what does: -- Thank you Indunil Jayasooriya http://www.theravadanet.net/ http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts

Re: how to forward port 2222 of pf box to port 22 of internel webserver

2014-05-04 Thread Indunil Jayasooriya
Thanks for enlightening me. Have a good day. On Fri, May 2, 2014 at 8:53 PM, John D. Verne wrote: > On Fri, May 02, 2014 at 12:53:05PM +0530, Indunil Jayasooriya wrote: > > Thanks for the support. > > > > I changed the port from to 2224. Now it works. This PF box i

pcn0: packet spilled into next buffer

2012-01-05 Thread Indunil Jayasooriya
mp;ved=0CBoQFjAA&url=ftp%3A%2F%2Fftp.irisa.fr %2Fpub%2FOpenBSD%2Fsrc%2Fsys%2Fdev%2Fpci%2Fif_pcn.c&ei=0KMGT8bKJPHQmAWiutSxAg&usg=AFQjCNE_6v0It-SIaxCx7Yblsbf2Po1Y9g&cad=rja But, I can't get an idea from it. It is normal or should I solve it ? Hope to hear from you. -- Thank you Indunil Jayasooriya

Re: pcn0: packet spilled into next buffer

2012-01-06 Thread Indunil Jayasooriya
and added ne2k_pci Now, All is OKAY. I am really happy. Stuart, many thanks for your effort to help me. > -- Thank you Indunil Jayasooriya

Re: pcn0: packet spilled into next buffer

2012-01-06 Thread Indunil Jayasooriya
> Bugs in virtual SW are not problem of OpenBSD ;-) > > yeah, U r right. OpenBSD is always excellent > -- Thank you Indunil Jayasooriya

how to access a specific port on pf itself when equal-cost multipath routing is present

2012-01-09 Thread Indunil Jayasooriya
.254 which connects to Leased line. when there is one default route is available, it is possible. But, When there are 2 default routes, I can NOT access. How can I archive this ? -- Thank you Indunil Jayasooriya

Re: how to access a specific port on pf itself when equal-cost multipath routing is present

2012-01-09 Thread Indunil Jayasooriya
Hi , Can I archive it with reply-to option what about below URL ( it gives about rdr-to rule ). Can I get an help from this below URL http://n4p1.wordpress.com/2011/10/10/how-to-route-traffic-from-two-isp-in-openbsd-wo-bgp/ -- Thank you Indunil Jayasooriya

load balancing outgoing web traffic ( http , https ) with failover

2012-01-17 Thread Indunil Jayasooriya
3128 Could you pls help me to solve it? If you need more info, I would like to provide. -- Thank you Indunil Jayasooriya

ifstated.conf for multiple links with failover

2012-01-25 Thread Indunil Jayasooriya
1 280 - 8 ne1 I have enabled below values in /etc/sysctl.conf file. net.inet.ip.forwarding=1 net.inet.ip.multipath=1 hope to hear from you. -- Thank you Indunil Jayasooriya

Re: ifstated.conf for multiple links with failover

2012-01-25 Thread Indunil Jayasooriya
I have Not tried it. Do yo have any experience in regard to it. I am using squid as transparent proxy on my PF box. So I think I only need pass out traffic. So , I am trying the below URL. http://www.openbsd.org/faq/faq6.html#Multipath That's why I try to configure ifstated.. any comments? -- Thank you Indunil Jayasooriya

Re: ifstated.conf for multiple links with failover

2012-01-26 Thread Indunil Jayasooriya
Thanks for your reply. I am still studying your scripts. anyway, I came across this below URL ( it is for Linux with fail over) http://tech.gaeatimes.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/ They are doing it. Your comments? Can

reply-to option for udp port 1194 ( for OpenVPN)

2012-02-02 Thread Indunil Jayasooriya
port 1194 reply-to ($wan_if $wan_gw) It works . Why It does NOT work for udp? Hope to hear from you.. , it works -- Thank you Indunil Jayasooriya

Load balancing and fail-over

2012-05-16 Thread Indunil Jayasooriya
p from $lan_net to port https \ route-to ($ext_if2 $ext_gw2) If I am right, How to delete the existing rule and add other rule when failover happens? Hope to hear from you. -- Thank you Indunil Jayasooriya

Re: Load balancing and fail-over

2012-05-17 Thread Indunil Jayasooriya
rson, Many thanks to your effort that put forth me to go ahead, Hope to hear from ALL. > > -- Thank you Indunil Jayasooriya

Re: Load balancing and fail-over

2012-05-17 Thread Indunil Jayasooriya
> why you not try the relayd way ? > look at > http://gouloum.fr/doc/multilink.html > > the part with relayd > > holger > > > On 2012/05/17 13:20, Indunil Jayasooriya wrote: > >> > >> > >> Route lookups are based on the *destin

Re: Load balancing and fail-over

2012-05-17 Thread Indunil Jayasooriya
> why you not try the relayd way ? >> look at >> http://gouloum.fr/doc/multilink.html >> >> the part with relayd >> > > > > I found that URL yesterday, I will have to learn it. I just try to do it with a shell script. >anyway,

Re: Load balancing and fail-over

2012-05-17 Thread Indunil Jayasooriya
ll go via WAN1 When, WAN1 goes down, https should go via WAN2 I think If I add another variable to /etc/pf.conf, I will be able to achieve it too. ONEWAYHTTPS="1.1.1.1@em0" pass in on $int_if proto tcp from $lan_net to port https \ route-to { $ONEWAYHTTPS } and use this bel

Re: Load balancing and fail-over

2012-05-18 Thread Indunil Jayasooriya
192.168.0.0/24 to port https route-to 1.1.1.1@em0" | pfctl -a onewayhttps -f - fi I think I am NOW all right. Anyway, I will have to test it in 2 or 3 days time. Then, I will let you know everything. Stuart , Thanks a LOT for your compassion towards me. I worked hard. I am very happy. Any way, I will have to test its behaviour. Hope to hear from you. > > -- Thank you Indunil Jayasooriya

Re: Load balancing and fail-over

2012-05-22 Thread Indunil Jayasooriya
hing via ADSL) I am happy since the script worked . Stuart, Thanks trillions times for your compassion and effort. Anyway, I welcome your ideas, if I have to look any further and if there are things to be improved. -- Thank you Indunil Jayasooriya

Re: OpenBSD forked

2012-06-18 Thread Indunil Jayasooriya
uffs coming in. anyway GPL is also doing a good job in the world of Open Source. -- Thank you Indunil Jayasooriya

relayd for lan servers with carp and pfsync

2012-08-15 Thread Indunil Jayasooriya
0.00% down Seeking your ideas to solve this? where have I gone wrong? I referred to below 2 URLs http://www.openbsd.org/faq/pf/carp.html#failover http://meinit.nl/openbsd-loadbalancing-and-failover-relayd-pf-and-carp -- Thank you Indunil Jayasooriya

Re: relayd for lan servers with carp and pfsync

2012-08-16 Thread Indunil Jayasooriya
# anchor for relayd(8) *#anchor "relayd/*" pass quick on { em1 } proto pfsync keep state (no-sync) pass on { em0 em1 } proto carp keep state* I added below lines # anchor for relayd(8) *anchor "relayd/*" pass on em1 proto pfsync pass on { em0 em1 } proto carp * Now.

relayd error related /var/run/relayd.sock

2012-08-28 Thread Indunil Jayasooriya
would like to know why this happened. (This is on Openbsd 5.1 64 bit - actually 2 boxes with relayd, PF , pfsync and carp ) These are actually 2 Vms running on 2 redhat 6.2 - 64bit KVMs ( network drivers are e1000 ( em0 and em1) Any comments ? -- Thank you Indunil Jayasooriya

Re: OpenBSD 5.0 released Nov 1, 2011

2011-11-01 Thread Indunil Jayasooriya
, Alexandr Shadchin, Alexandre Ratchov, >Anil Madhavapeddy, Anthony J. Bentley, Antoine Jacoutot, >Ariane van der Steldt, Austin Hook, Benoit Lecocq, Bernd Ahlers, >Bob Beck, Bret Lambert, Charles Longeau, Chris Kuethe, >Christian Weisgerber, Christiano F. Haesbaert, Claudio Jeker, >Dale Rahn, Damien Bergamini, Damien Miller, Darren Tucker, >David Coppa, David Gwynne, David Hill, David Krause, Edd Barrett, >Eric Faurot, Federico G. Schwindt, Felix Kronlage, Gilles Chehade, >Giovanni Bechis, Gleydson Soares, Henning Brauer, Ian Darwin, >Igor Sobrado, Ingo Schwarze, Jacek Masiulaniec, Jakob Schlyter, >Janne Johansson, Jason George, Jason McIntyre, Jason Meltzer, >Jasper Lievisse Adriaanse, Jeremy Evans, Jim Razmus II, Joel Sing, >Joerg Zinke, Jolan Luff, Jonathan Armani, Jonathan Gray, >Jonathan Matthew, Jordan Hargrave, Joshua Stein, >Kenneth R Westerback, Kevin Lo, Kevin Steves, Kurt Miller, >Landry Breuil, Laurent Fanis, Marc Espie, Marco Peereboom, >Marco Pfatschbacher, Marcus Glocker, Mark Kettenis, Mark Lumsden, >Mark Uemura, Markus Friedl, Martin Pieuchot, Martynas Venckus, >Mats O Jansson, Matthew Dempsky, Matthias Kilian, Matthieu Herrb, >Michael Erdely, Mike Belopuhov, Mike Larkin, Miod Vallat, >Nayden Markatchev, Nicholas Marriott, Nick Holland, Nigel Taylor, >Nikolay Sturm, Okan Demirmen, Otto Moerbeek, Owain Ainsworth, >Paul de Weerd, Paul Irofti, Peter Hessler, Peter Valchev, >Philip Guenther, Pierre-Emmanuel Andre, Pierre-Yves Ritschard, >Remi Pointel, Reyk Floeter, Robert Nagy, Ryan Freeman, >Ryan Thomas McBride, Sasano, Sebastian Reitenbach, Simon Bertrang, >Stefan Sperling, Stephan A. Rickauer, Steven Mestdagh, >Stuart Henderson, Takuya Asada, Ted Unangst, Theo de Raadt, >Thordur I Bjornsson, Tobias Weingartner, Todd C. Miller, Todd Fries, >Will Maier, William Yodlowsky, Yasuoka Masahiko, Yojiro Uo > > -- Thank you Indunil Jayasooriya

Re: nginx

2011-11-09 Thread Indunil Jayasooriya
On Wed, Nov 9, 2011 at 10:33 PM, bigboy wrote: > Hi > Has anyone got examples of the right way of configuring the nginx no in > base? > > what about this? https://calomel.org/nginx.html > > -- Thank you Indunil Jayasooriya

Re: SSH getting blocked on PF after 30 seconds (OpenBSD 4.7)

2011-02-10 Thread Indunil Jayasooriya
le to remove *queue q_admin* from the above rule and see ? -- Thank you Indunil Jayasooriya

Re: how to set an alias on a carp interface?

2011-02-18 Thread Indunil Jayasooriya
192.168.5.63 255.255.255.255 inet alias 192.168.6.62 255.255.255.0 inet alias 192.168.6.63 255.255.255.255 your comments? > -- Thank you Indunil Jayasooriya

mount_ffs: -o mand: option not supported for havp

2011-03-11 Thread Indunil Jayasooriya
has mounted in a right way. Hope to hear from you. -- Thank you Indunil Jayasooriya

Re: mount_ffs: -o mand: option not supported for havp

2011-03-11 Thread Indunil Jayasooriya
ig file. KEEPBACKBUFFER 20 and KEEPBACKTIME 5 and I also want to know, which method is recommended? havp as a parent proxy ( i am currently running) or squid as a parent proxy? Hope to hear from you. -- Thank you Indunil Jayasooriya

Re: mount_ffs: -o mand: option not supported for havp

2011-03-12 Thread Indunil Jayasooriya
On Sat, Mar 12, 2011 at 1:00 PM, Joachim Schipper < joac...@joachimschipper.nl> wrote: > On Sat, Mar 12, 2011 at 07:39:12AM +0100, Antoine Jacoutot wrote: > > On Sat, 12 Mar 2011, Indunil Jayasooriya wrote: > > > > > # /usr/local/sbin/havp > &g

No data in pfstat-queues graph

2011-03-18 Thread Indunil Jayasooriya
uot; color 0 192 192, graph 12 bps "dns" "bits/s" color 192 0 192, graph 13 bps "ssh" "bits/s" color 255 0 0, graph 14 bps "std" "bits/s" color 192 192 0 } I dig from the net. I did NOT come across an answer. That's why I sent it. Could you pls let me know what will I have to do ? -- Thank you Indunil Jayasooriya

Re: No data in pfstat-queues graph

2011-03-21 Thread Indunil Jayasooriya
eue "tcp_ack_out" pass bytes diff it is OKAY. I have replied too. Thanks for your reply. > -- Thank you Indunil Jayasooriya

Re: pf rule

2011-04-06 Thread Indunil Jayasooriya
tcp } from any to any port { ssh telnet } do you have one interface? re0 may be your external interface. What is your internal interface -- Thank you Indunil Jayasooriya

/dev/pf permission for squid 3.2.0.6 on openbsd 4.8

2011-04-08 Thread Indunil Jayasooriya
chgrp _squid /dev/pf # chmod g+rw /dev/pf but, for squid 2.7.9 on OpenBSD 4.8, I have the default. Pls see .I did NOT change /dev/pf # ls -al /dev/pf crw--- 1 root wheel 73, 0 Dec 17 16:33 /dev/pf any comments? -- Thank you Indunil Jayasooriya

Re: /dev/pf permission for squid 3.2.0.6 on openbsd 4.8

2011-04-15 Thread Indunil Jayasooriya
y from a squid developer) http://www.mail-archive.com/squid-users@squid-cache.org/msg78541.html -- Thank you Indunil Jayasooriya

Re: /dev/pf permission for squid 3.2.0.6 on openbsd 4.8

2011-04-19 Thread Indunil Jayasooriya
p_port 3129 intercept to http_port 127.0.0.1:3129 intercept in squid.conf file. Here's the rule in pf.conf pass in log on $int_if proto tcp from $lan_net to any port 80 \ divert-to 127.0.0.1 port 3129 -- Thank you Indunil Jayasooriya

Re: /dev/pf permission for squid 3.2.0.6 on openbsd 4.8

2011-04-20 Thread Indunil Jayasooriya
On Tue, Apr 19, 2011 at 12:00 PM, Indunil Jayasooriya wrote: > many thanks. I got it working. I changed from http_port 3129 intercept to > http_port 127.0.0.1:3129 intercept in squid.conf file. > > Here's the rule in pf.conf > > pass in log on $int_if proto tcp from

Re: I hate Spam

2011-05-11 Thread Indunil Jayasooriya
>> and receive a lot of spam mail through the lists. > > I only receive a couple a day - no problem at all. I have subscribed to misc , ipv6 and tech. I am free from spam too. works great. No, problem at all. -- Thank you Indunil Jayasooriya

Re: PF subdomain filtering

2010-12-16 Thread Indunil Jayasooriya
1 AM, Rafal Brodewicz wrote: > > > Hi. > > > > How can I pass with PF traffic from all subdomains, for example > > *.microsoft.com ? > > > > Thanks. > > -- > > Rafal Brodewicz > > > > > > > -- > Gula_Gula =;=; BNF > > -- Thank you Indunil Jayasooriya

64 bit cvsup pkg?

2010-12-20 Thread Indunil Jayasooriya
bit, could You pls let me know where can I download a 64 bit cvsup pkg? Hope to hear from you. * * -- Thank you Indunil Jayasooriya

Re: 64 bit cvsup pkg?

2010-12-22 Thread Indunil Jayasooriya
-ports That's it. On Tue, Dec 21, 2010 at 2:29 PM, Rune Lynge wrote: > On Tue, Dec 21, 2010 at 7:33 AM, Indunil Jayasooriya > wrote: > > I installed OpenBSD 64 bit. I want to update it by using cvsup.But, I am > not > > able to find a *cvsup* 64 bit pkg . > &g

64 bit OpenBSD VM hangs after building the Kernel.

2010-12-26 Thread Indunil Jayasooriya
actually a *Virtual Machine on VirtualBox* - I have installed Vitualbox on fedora 12 64 bit PC) I have attached 2 errors. It says at least run trace and ps and give the OUTPUT. So I am sending those here with. Pls view and let me know what has gone wrong. -- Thank you Indunil Jayas

Re: 64 bit OpenBSD VM hangs after building the Kernel.

2010-12-26 Thread Indunil Jayasooriya
. -- Thank you Indunil Jayasooriya

anoncvs update ?

2010-12-29 Thread Indunil Jayasooriya
bus_dbus-marshal-validate_h U x11/dbus/patches/patch-dbus_dbus-message-factory_c U x11/dbus/patches/patch-doc_dbus-specification_xml -- Thank you Indunil Jayasooriya

Re: anoncvs update ?

2010-12-29 Thread Indunil Jayasooriya
ption of the -I option). > > -- Thank you Indunil Jayasooriya

Re: reboot command doesn't work

2010-12-30 Thread Indunil Jayasooriya
hat's as far as it >> goes. I re-installed 3.3 and confirmed the reboot works fine under 3.3. >> >> Any tips/hints to help troubleshoot or resolve this problem would be >> greatly >> appreciated. >> >> Do you have powerdown=YES in /etc/rc.shutdown? > > Thanks in advance! >> >> MC. >> > > -- Thank you Indunil Jayasooriya

Re: Another carp problem.

2011-01-01 Thread Indunil Jayasooriya
problem. > > I've made recently a lot of tests with carp and pfsync without any > problem (on 4.8/amd64). IMO it should work (but I don't use the > carp peer option). > > One remark, you should use a dedicated interface for pfsync. In your > setup, rl0 is shared by pfsync and carp1. This is a no sense. > > Best regards and happy new year to all. > > -- Thank you Indunil Jayasooriya

Re: New documents: How to create a port

2011-01-05 Thread Indunil Jayasooriya
> Pd: The documents are just in spanish. > > Enjoy it! > -- > > > -- > Fernando Quintero > http://nonroot.blogspot.com/ > Just a nonroot User > > -- Thank you Indunil Jayasooriya

Re: Sendmail basic mail server

2011-01-17 Thread Indunil Jayasooriya
user > > in my /etc/mail/genericstable : > user u...@domainchosed.net > > in my /etc/local-host-names : > domainchosed.net > > i also done : > makemap hash genericstable.db < genericstable > makemap hash virtusertable.db < virtusertable > restart send

Re: Sendmail basic mail server

2011-01-17 Thread Indunil Jayasooriya
and generate as m4 /usr/share/sendmail/cf/cf.m4 /etc/mail/openbsd-proto.mc > /etc/mail/ sendmail.cf If it works, Pls let me know. -- Thank you Indunil Jayasooriya

  1   2   >