Start localnet

Author: r | 2025-04-24

★★★★☆ (4.5 / 1656 reviews)

bluestack free fire

LocalNet Start Page. Start Page LocalNet Start Page. Start Page

hwinfo64 4.24

LocalNet - With inflation soaring, Argentina will start printing

Port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_ports http_access allow localnet http_access deny all フィルタリングしてみる クライアントPCのIPアドレスは 192.168.11.5. http_access allow localnet → #http_access allow localnet コメントアウトする。 localnetは 192.168.11.0/24 なので、クライアントPCは定義名 localnet に含まれる。 http_access allow localnet をコメント化されるので、次の行の http_access deny all が適用される。定義名 all は acl all src all なので、すべてのIPが拒否されるということになる。 なお、定義を修正したらsquidを再起動する。 この状態でアクセスするとフィルタリングされてアクセスできない。 http_access allow localnet を有効化し、acl Safe_ports port 80 をコメントアウトするとアクセスできない。これは http_access deny !Safe_ports で safe_ports でないポートを拒否するようにしているため。「acl Safe_ports port 80 # http」をコメントアウトすると定義名 acl Safe_ports にはポート番号 80 は含まなれなくなるので、インターネットアクセスができなくなる感じ。 ドメイン指定でフィルタリングする yahoo.co.jp と bing.com を拒否する acl all src allacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.11.0/24 # RFC1918 possible internal network acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_ports #bingとyahooを遮断acl denyDomain dstdomain www.yahoo.co.jp .bing.comhttp_access deny denyDomain http_access allow localnet http_access deny all ちなみに http_access allow localnet を先に書くとLAN上のPCからのアクセスはすべて許可するので、bing.com と yahoo.co.jp は拒否されない。記述する順番に注意。 ・・・・・・ http_access allow localnet#bingとyahooを遮断acl denyDomain dstdomain www.yahoo.co.jp .bing.comhttp_access deny denyDomain ・・・・・・ URLフィルタ http_access allow localnethttp_access deny all よりも上に下記を追加。 #urlに yahoo があるのを遮断acl denyRegx url_regex yahoohttp_access deny denyRegx URLに yahoo 動機 プロキシサーバというものはどのようにして構築するのか試したかった。 LinuxはよくわからないのでWindows。 インターネット閲覧でブラックリスト、ホワイトリスト方式のフィルタリングをどのように実現するのかを試してみたかった。 アクセスログを取集してみたかった。 プロキシサーバソフト Squidを使用する。Delegateという日本人が開発した方を使いたかったが、解説サイトがあまりないので、Squidにした。 プロキシサーバ構築 Squid for Windows をダウンロード Squid for Windows の Squid Downloads → mirror 1 → 2.7STABLE8 の Standard をダウンロード ダウンロードしたファイルを展開 squid-2.7.STABLE8-bin.zip を 解凍し、フォルダ squid を c:\ にコピーする。ここでは c:\ にしたが、任意の場所で構わない。 設定ファイルのファイル名を変更する C:\squid\etc にある mime.conf.default → mime.conf squid.conf.default → squid.conf cachemgr.conf → cachemgr.conf 設定ファイルを編集 squid.conf をメモ帳などで開く ※#はコメント行※検索では複数検索されるが、図の部分を検索 LAN環境のサブネットを登録 Ctrl + F で acl localnet を検索する。LAN環境のサブネットを「localnet」という定義名で登録する。うちのLAN環境は 192.168.11.xx/24 なのでacl localnet src 192.168.0.0/16 → acl localnet src 192.168.11.0/24 に修正する。多分その上のacl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkは不要だけど残しておく。同じ定義名を複数記述すると、どれも登録されるということみたい。 → Squidのポートを設定する http_port を検索する。ここではデフォルトの3128のままにした。 このポートはブラウザのプロキシ設定で指定するポート番号になる。 ログファイルのローテーション周期を指定する logfile_rotate を検索する。ここではデフォルトの10にするが、時間的なローテーション周期は不明。なお、コメントアウトされているので、# をとるだけ。 → visible_hostname を検索する unknown にすると、ホスト名が相手方に unknown と通知される。任意の名前でOK。 → Squidに必要なフォルダを生成する コマンドプロンプトを起動しC:\squid\sbin>squid -z必要なフォルダが生成される。 Squidをサービスに登録する コマンドプロンプトを管理者モードで起動し C:\squid\sbin>squid -i サービスから削除するには C:\squid\sbin>squid -r Squidのサービスを開始する コマンドプロンプトを管理者モードで起動し net start squid サービスを停止する場合は net stop squid設定ファイルを修正した場合は、Squidを再起動する必要がある。 これでプロキシサーバーの Squid が起動した状態。 なお、Squidを稼働させているパソコンのIPアドレスは 192.168.11.8 。 別のパソコンからSquidを経由してネットにアクセス IEにプロキシ接続を設定 IEのインターネットオプション 接続タブ → LANの設定 下図のようにSquidを起動しているパソコンのIPアドレスとポートを指定する。「ローカルアドレスにはプロキシサーバを使用しない」にチェックすると、イントラネット上のWebサービスにアクセスする場合、プロキシを経由しない。 ローカルイントラネット上のWebサイトはプロキシの対象外。ちなみにこれは自作のWebアプリ。 インターネットにアクセス プロキシサーバーは応答していないとでる。 プロキシサーバ(Squid)を起動しているパソコンのWindowsファイアーウォールでTCPポート3128受信を許可していないからである。 下図の手順でプロキシサーバ(Squid)を起動しているパソコンのWindowsのファイアーウォールでTCPポート3128受信を許可する プロキシ接続できた。 Webフィルタリングする 設定ファイル squid.conf でフィルタリングを設定する。 デフォルト定義 デフォルト定義だとプロキシ経由でインターネット接続できる。 acl 定義名 定義種別 種別に応じた値(定義種別) src:IPアドレス port:ポート番号 dstdomain:ドメイン url_regex:URL http_access allow 定義名:許可 http_access deny 定義名:拒否 allowとdenyは記述順に優先される。 デフォルト定義 ※コメントは削除した acl all src allacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.11.0/24 # RFC1918 possible internal network acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports

LocalNet - Muslims start the Hajj against the backdrop of the

Modems to trydifferent baud rates, which would make the download appear erraticas the modems slow down and speed up. A different brand modem, orHere's the thing though; If I start multiple simultaneous downloads, theoverall transfer rate goes up. For example, if I go to a web site and startdownloading a file using a single connection, I'll get an erratic downloadrate of 2-3K/S. If I tell GetRight to download the file using 2-4simultaneous connections, the download rate (according to NetStat Live)goes to a steady 5-6K/S (see below). Using one copy of Agent to downloadfrom the news server, I get an erratic 2-4K/S. I run two copies of Agent,both downloading from the same server and the download rate goes to afairly steady 5-6K/S. This rules out line noise, since if that were thecause, it wouldn't matter how many connections I used, the data would stillget choked off in the phone line.Also, I've downloaded the same files from the same sources (web site ornews server) using Juno's free internet access and I only need a singleconnection to get the same download rates as using 2-4 with my ISP.During times when less people are connected (late at night, or during the2003 east coast blackout), I get much better download rates. Also, theformer Supernews employee tested my account by connecting using his systemand he experienced the same packet loss. Afterwards he said "I didn'trealize how bad it was."I've sent all this info to the ISP (LocalNet), including printouts showinga side by side comparison with Juno, but they still claim they can'tduplicate the problem.Another interesting thing to note is that anytime I get someone on thephone who seems genuinely interested in helping me, such as a supervisor oran engineer, and they promise to look into it, I never hear from themagain. When I call back, they're never available to talk to me and the mostI get is a relayed message quoting the company line; "There's nothing wronghere. The net is too unpredictable to guarantee any set download speed.There's nothing we can do for you." It's like they get told by the companyto drop it (although I have no proof of this).Of course their tech support is fairly incompetent anyway. I used to getdisconnected all the time, but yet they claimed that nobody else had thatproblem. Anytime I see anyone talking about LocalNet, frequent disconnectsare the number one complaint. While trying to diagnose the speed problems,I discovered a routing issue using Supernews's trace page. Traces to unusedLocalNet IP addresses would loop until they reached the maximum number ofhops. LocalNet tried to claim that this was completely normal. Also, atvarious times, I've gotten RADIUS errors while logging onto the newsserver, which means that their RADIUS server didn't properly respond toSupernews's attempt to validate my name/password. Twice now it's gotten sobad that it was happening about 50% of the time. LocalNet tried to claimthat it was a problem with my dialup networking configuration. :-/Post by BillBupdated drivers or firmware (if you're not using a "WinModem") mightwork better with the. LocalNet Start Page. Start Page

LocalNet - Ceremony marks start of rebuilding for Pittsburgh

IP don't fragment flag is marked with a trailing (DF). Timestamps By default, all output lines are preceded by a timestamp. The timestamp is the current clock time in the form hh:mm:ss.frac and is as accurate as the kernel's clock. The timestamp reflects the time the kernel first saw the packet. No attempt is made to account for the time lag between when the Ethernet interface removed the packet from the wire and when the kernel serviced the 'new packet' interrupt. Examples tcpdump host sundown Prints all packets arriving at or departing from host sundown. tcpdump host helios and \( hot or ace \) Prints traffic between host helios and either hot or ace. tcpdump ip host ace and not helios Prints all IP packets between ace and any host except helios. tcpdump 'gateway snup and (port ftp or ftp-data)' Prints all ftp traffic through Internet gateway snup. Note that the expression is quoted to prevent the shell from interpreting the parentheses. tcpdump ip and not net localnet Prints traffic neither sourced from nor destined for local hosts. If you gateway to another network, this stuff should never make it onto your local network. tcpdump 'tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net localnet' Prints the start and end packets (the SYN and FIN packets) of each TCP conversation that involves a non-local host. tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)>2)) != 0)' Prints all IPv4 HTTP packets to and from port 80. tcpdump prints only packets that contain data; not, for example, SYN and FIN packets and ACK-only packets. tcpdump 'gateway snup and ip[2:2] > 576' Prints IP packets longer than 576 bytes sent through gateway snup. tcpdump 'ether[0] & 1 = 0 and ip[16] >= 224' Prints IP broadcast or multicast packets that were not sent via Ethernet broadcast or multicast. tcpdump 'icmp[icmptype] != icmp-echo and icmp[icmptype] != icmp-echoreply' Prints all ICMP packets that are not echo requests/replies (i.e., not ping packets). ip — Display and manipulate information about routing, devices, policy routing and tunnels.stty — Set options for your terminal display. が含まれる yahoo.co.jp も yahoo.com も拒否される。 bingで yahoo を検索 を検索してもフィルタリングされる。URLパラメータもフィルタ対象になるようだ。 ただし、Googleだとフィルタされない。Googleで Yahoo を検索。Yahooは検索できるが、検索結果をクリックすると、遮断された。 Squidのログ 1411054269.454 236673 192.168.11.5 TCP_MISS/200 425280 CONNECT www.google.co.jp:443 - DIRECT/74.125.235.111 -1411054269.454 151626 192.168.11.5 TCP_MISS/200 14090 CONNECT encrypted-tbn1.gstatic.com:443 - DIRECT/173.194.38.68 -1411054269.454 151594 192.168.11.5 TCP_MISS/200 9344 CONNECT encrypted-tbn2.gstatic.com:443 - DIRECT/173.194.38.70 -1411054269.454 151391 192.168.11.5 TCP_MISS/200 8903 CONNECT encrypted-tbn0.gstatic.com:443 - DIRECT/173.194.38.65 -1411054269.454 151391 192.168.11.5 TCP_MISS/200 8536 CONNECT encrypted-tbn3.gstatic.com:443 - DIRECT/173.194.38.71 -1411054395.782 0 192.168.11.5 TCP_DENIED/403 1391 GET - NONE/- text/html Google で Yahoo を検索した時のIEの開発者ルールキャプチャ 許可リストにあるもののみ許可する bing.com yahoo.co.jp cman.jp だけ通し、それ以外は遮断。http_access allow localnetをコメントアウトする。acl whiteList dstdomain .bing.com .yahoo.co.jp .cman.jphttp_access allow whiteList#http_access allow localnet Googleは遮断される。 Bingには接続できる。 cman.jpに接続しているが、cman.jpでないドメインの広告が除外されている。 SSL接続を遮断してみる acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_ports#http_access deny CONNECT !SSL_ports http_access deny CONNECT SSL_ports #urlにyahooがあるのを遮断acl denyRegx url_regex yahoohttp_access deny denyRegx http_access allow localnet GoogleはSSL接続なので遮断される。 とりあえず、プロキシを稼働させてみた。運用するわけでないので、さらなる追及はまた今度。

LocalNet: How to configure your LocalNet internet

Work with internal scaling Added support for Sub-pixel preccision to hardware renderers Fixed garbage on borders in some games in hardware renderers Fixed vibration on player 1 Fixed the game The Hive Fixed PBP support on Nexus Player in android 6.0 Fixed some crashes while scanning games Added more gamepads profiles: Mad Catz, Xiomi Fixed ECM indexing block size when using MDF filesePSXe v1.9.40, released on 11.24.2015 Experimental support: local netplay (using wifi or wifi-direct). Requirements: 1) the same game in both devices (in device 2, the game has that be visible in gamelist) 2) the same bios version in both devices. 3) both devices connected to the same wifi-router, or paired using wifi-direct. Steps to use: 1) In device1, select multiplayer+Localnet player1 (Server), select the game, and it will show the IP for the second player 2) In device2, select multiplayer+Localnet player2 (Client), insert the IP got from the player1. Note: Loadstate is supported, but not recommended/stable!! Updated opengl plugin to v15, updated the gpustatus interlaced code to fix some problems Fixed MDECs in GPU x4 resolution option. Fixed autofire in threading modes Added a new option to remove the gamepad/joystick filter while searching for new gamepads When mapping buttons, now it is possible to unmap pressing long in a button in the buttonlist (required for Android tv) Fixed a bug in Medievil II background music Fixed Tenchu memcards on bios HLE modeePSXe v1.9.39, released on 11.24.2015 Improved OpenGL Plugin performance on some complex scenes. V14 relays on ePSXe

LocalNet - Head Start and Medicaid providers hit glitches as

B4bd08bc-d8c0-43c8-b27e-83e6e1f3b940 (router) port router-ovirt-default mac: "40:44:00:00:00:03" networks: ["10.0.150.1/24"] Create the logical bridge named public. [root@olvm-he opc]# ovn-nbctl ls-add public Prepare to connect the local KVM hosts port to the logical bridge public through the provider network. [root@olvm-he opc]# ovn-nbctl lsp-add public ln-public[root@olvm-he opc]# ovn-nbctl lsp-set-type ln-public localnet[root@olvm-he opc]# ovn-nbctl lsp-set-addresses ln-public unknown[root@olvm-he opc]# ovn-nbctl lsp-set-options ln-public network_name=provider Connect the router to the public logical bridges using a distributed router port. [root@olvm-he opc]# ovn-nbctl lrp-add router router-public 02:00:17:0F:D1:16 10.0.20.10/24[root@olvm-he opc]# ovn-nbctl lsp-add public public-router[root@olvm-he opc]# ovn-nbctl lsp-set-type public-router router[root@olvm-he opc]# ovn-nbctl lsp-set-addresses public-router router[root@olvm-he opc]# ovn-nbctl lsp-set-options public-router router-port=router-public Schedule the router port (higher priority for the first KVM host). [root@olvm-he opc]# ovn-nbctl lrp-set-gateway-chassis router-public kvm1.olvm.demo 20[root@olvm-he opc]# ovn-nbctl lrp-set-gateway-chassis router-public kvm2.olvm.demo 15 Check the configuration of the router port. [root@olvm-he opc]# ovn-nbctl lrp-get-gateway-chassis router-publicrouter-public-kvm1.olvm.demo 20router-public-kvm2.olvm.demo 15 Define next hop for 0.0.0.0/0 through OCI VLAN gateway. [root@olvm-he opc]# ovn-nbctl lr-route-add router "0.0.0.0/0" 10.0.20.1 Run the following command to see the configuration summary. [root@olvm-he opc]# ovn-nbctl showswitch a7ce3f64-44e2-4a60-993b-b2d230a13212 (public) port public-router type: router router-port: router-public port ln-public type: localnet addresses: ["unknown"]switch 9364e7ce-87a9-4bc4-b044-b973e3288bcd (ovirt-Default-72198b26-61c3-4448-b13e-b72bb29f57ea) port ovirt-default-router type: router router-port: router-ovirt-default port 35bfefc5-8a7e-4f17-b508-587d764875ba addresses: ["56:6f:4b:b2:00:01 dynamic"]router b4bd08bc-d8c0-43c8-b27e-83e6e1f3b940 (router) port router-ovirt-default mac: "40:44:00:00:00:03" networks: ["10.0.150.1/24"] port router-public mac: "02:00:17:0F:D1:16" networks: ["10.0.20.10/24"] gateway chassis: [kvm1.olvm.demo kvm2.olvm.demo][root@olvm-he opc]# ovn-sbctl showChassis kvm2.olvm.demo hostname: kvm-2.kvmhosts.defaultvcn.oraclevcn.com Encap geneve ip: "10.0.10.12" options: {csum="true"}Chassis kvm1.olvm.demo hostname: kvm-1.kvmhosts.defaultvcn.oraclevcn.com Encap geneve ip: "10.0.10.11" options: {csum="true"} Port_Binding cr-router-public Port_Binding "35bfefc5-8a7e-4f17-b508-587d764875ba" We can confirm by seeing Port_Binding cr-router-public under kvm1.olvm.demo section that the router port is. LocalNet Start Page. Start Page

LocalNet - CVS and Walgreens plan to start dispensing abortion

Particular modems used by your ISP.On my old system, I was using an internal USR Courier V.Everythinghardware modem (which a LocalNet tech once tried to convince me was aWinModem). That modem connected at 49333 about 95% of the time. Now I'musing a new system with a POS Creative WinModem. I usually connect at46667, 48000 or 49333. I'm not sure the connect message is accurate though,since my download rates seem completely unrelated to what the connectionspeed is. I can connect 3 times in a row and get three different downloadrates of the same file. Unfortunately, this system doesn't have any ISAslots so I can't use my old modem with it.Regardless, the download speed hasn't improved. The best I can manage withthis modem is about 5.4K/S. My old modem used to get a steady 6.4K a secondwhile downloading the same type files.Please note that I realize that those rates don't take the modem's datacompression into account, but I'm downloading the same type of stuff as Ialways have, so I'm looking at it as a relative indication of the downloadspeed. Post by No BodyOn Wed, 24 Nov 2004 15:14:20 GMT, /betty/Post by /betty/comparisons -- just in case your curiousity might someday extend tofirst hand observations and assessments.Sometimes there are valid reason why a person might want to hear otherpeople's opinions on a program before trying it for themselves.Sometimes.This was not one of those sometimes cases though.Post by No BodyWhen I looked at Dialog, people were still reporting some fairly majorbugs and occasional crashes. Since I download a lot (for a dialup user,which is all I can afford), I don't want to take the chance that it mightdecide to crash on me and lose several hours worth of downloads. I'mstruggling to keep up as it is.Then if you're prepared to take my advice you'd do yourself a greatfavour by not ever using Dialog. It's as stable and predictable as aone-legged epileptic who's pissed as a fart and trying to navigate anicerink in a hurricane.--/betty/ [2004-11-25 14:13:35] On Wed, 24 Nov 2004 15:14:20 GMT, /betty/Post by /betty/I believe it can also be anonymously downloaded and tried indefinitelyfor free, you don't even require permission or opinions or even to drawcomparisons -- just in case your curiousity might someday extend tofirst hand observations and assessments.Oooh, I bet that hurt!But-A wise man (or woman) learns from his (her) mistakes.A wiser man (or woman) learns from the mistakes of others.So I see nothing wrong with asking advice before trying it out - buthe should certainly not depend on advice uncritically - I agree withyou that a personal "try before buy" is essential.My sin is that I'm lazy too: Agent works well for me so I can't bebothered switching. I have all these other programmes on my HDD thatjust sit there wasting space: Witless Excuse, Godzilla, Outlook etc.I need Outlook for scheduling, so perhaps should try to use it foremail, but after a short experiment realised that the biggest problemin switching for me would be to create a working filter

Comments

User3209

Port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_ports http_access allow localnet http_access deny all フィルタリングしてみる クライアントPCのIPアドレスは 192.168.11.5. http_access allow localnet → #http_access allow localnet コメントアウトする。 localnetは 192.168.11.0/24 なので、クライアントPCは定義名 localnet に含まれる。 http_access allow localnet をコメント化されるので、次の行の http_access deny all が適用される。定義名 all は acl all src all なので、すべてのIPが拒否されるということになる。 なお、定義を修正したらsquidを再起動する。 この状態でアクセスするとフィルタリングされてアクセスできない。 http_access allow localnet を有効化し、acl Safe_ports port 80 をコメントアウトするとアクセスできない。これは http_access deny !Safe_ports で safe_ports でないポートを拒否するようにしているため。「acl Safe_ports port 80 # http」をコメントアウトすると定義名 acl Safe_ports にはポート番号 80 は含まなれなくなるので、インターネットアクセスができなくなる感じ。 ドメイン指定でフィルタリングする yahoo.co.jp と bing.com を拒否する acl all src allacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.11.0/24 # RFC1918 possible internal network acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_portshttp_access deny CONNECT !SSL_ports #bingとyahooを遮断acl denyDomain dstdomain www.yahoo.co.jp .bing.comhttp_access deny denyDomain http_access allow localnet http_access deny all ちなみに http_access allow localnet を先に書くとLAN上のPCからのアクセスはすべて許可するので、bing.com と yahoo.co.jp は拒否されない。記述する順番に注意。 ・・・・・・ http_access allow localnet#bingとyahooを遮断acl denyDomain dstdomain www.yahoo.co.jp .bing.comhttp_access deny denyDomain ・・・・・・ URLフィルタ http_access allow localnethttp_access deny all よりも上に下記を追加。 #urlに yahoo があるのを遮断acl denyRegx url_regex yahoohttp_access deny denyRegx URLに yahoo

2025-04-19
User5276

動機 プロキシサーバというものはどのようにして構築するのか試したかった。 LinuxはよくわからないのでWindows。 インターネット閲覧でブラックリスト、ホワイトリスト方式のフィルタリングをどのように実現するのかを試してみたかった。 アクセスログを取集してみたかった。 プロキシサーバソフト Squidを使用する。Delegateという日本人が開発した方を使いたかったが、解説サイトがあまりないので、Squidにした。 プロキシサーバ構築 Squid for Windows をダウンロード Squid for Windows の Squid Downloads → mirror 1 → 2.7STABLE8 の Standard をダウンロード ダウンロードしたファイルを展開 squid-2.7.STABLE8-bin.zip を 解凍し、フォルダ squid を c:\ にコピーする。ここでは c:\ にしたが、任意の場所で構わない。 設定ファイルのファイル名を変更する C:\squid\etc にある mime.conf.default → mime.conf squid.conf.default → squid.conf cachemgr.conf → cachemgr.conf 設定ファイルを編集 squid.conf をメモ帳などで開く ※#はコメント行※検索では複数検索されるが、図の部分を検索 LAN環境のサブネットを登録 Ctrl + F で acl localnet を検索する。LAN環境のサブネットを「localnet」という定義名で登録する。うちのLAN環境は 192.168.11.xx/24 なのでacl localnet src 192.168.0.0/16 → acl localnet src 192.168.11.0/24 に修正する。多分その上のacl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkは不要だけど残しておく。同じ定義名を複数記述すると、どれも登録されるということみたい。 → Squidのポートを設定する http_port を検索する。ここではデフォルトの3128のままにした。 このポートはブラウザのプロキシ設定で指定するポート番号になる。 ログファイルのローテーション周期を指定する logfile_rotate を検索する。ここではデフォルトの10にするが、時間的なローテーション周期は不明。なお、コメントアウトされているので、# をとるだけ。 → visible_hostname を検索する unknown にすると、ホスト名が相手方に unknown と通知される。任意の名前でOK。 → Squidに必要なフォルダを生成する コマンドプロンプトを起動しC:\squid\sbin>squid -z必要なフォルダが生成される。 Squidをサービスに登録する コマンドプロンプトを管理者モードで起動し C:\squid\sbin>squid -i サービスから削除するには C:\squid\sbin>squid -r Squidのサービスを開始する コマンドプロンプトを管理者モードで起動し net start squid サービスを停止する場合は net stop squid設定ファイルを修正した場合は、Squidを再起動する必要がある。 これでプロキシサーバーの Squid が起動した状態。 なお、Squidを稼働させているパソコンのIPアドレスは 192.168.11.8 。 別のパソコンからSquidを経由してネットにアクセス IEにプロキシ接続を設定 IEのインターネットオプション 接続タブ → LANの設定 下図のようにSquidを起動しているパソコンのIPアドレスとポートを指定する。「ローカルアドレスにはプロキシサーバを使用しない」にチェックすると、イントラネット上のWebサービスにアクセスする場合、プロキシを経由しない。 ローカルイントラネット上のWebサイトはプロキシの対象外。ちなみにこれは自作のWebアプリ。 インターネットにアクセス プロキシサーバーは応答していないとでる。 プロキシサーバ(Squid)を起動しているパソコンのWindowsファイアーウォールでTCPポート3128受信を許可していないからである。 下図の手順でプロキシサーバ(Squid)を起動しているパソコンのWindowsのファイアーウォールでTCPポート3128受信を許可する プロキシ接続できた。 Webフィルタリングする 設定ファイル squid.conf でフィルタリングを設定する。 デフォルト定義 デフォルト定義だとプロキシ経由でインターネット接続できる。 acl 定義名 定義種別 種別に応じた値(定義種別) src:IPアドレス port:ポート番号 dstdomain:ドメイン url_regex:URL http_access allow 定義名:許可 http_access deny 定義名:拒否 allowとdenyは記述順に優先される。 デフォルト定義 ※コメントは削除した acl all src allacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.11.0/24 # RFC1918 possible internal network acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports

2025-03-25
User7112

Modems to trydifferent baud rates, which would make the download appear erraticas the modems slow down and speed up. A different brand modem, orHere's the thing though; If I start multiple simultaneous downloads, theoverall transfer rate goes up. For example, if I go to a web site and startdownloading a file using a single connection, I'll get an erratic downloadrate of 2-3K/S. If I tell GetRight to download the file using 2-4simultaneous connections, the download rate (according to NetStat Live)goes to a steady 5-6K/S (see below). Using one copy of Agent to downloadfrom the news server, I get an erratic 2-4K/S. I run two copies of Agent,both downloading from the same server and the download rate goes to afairly steady 5-6K/S. This rules out line noise, since if that were thecause, it wouldn't matter how many connections I used, the data would stillget choked off in the phone line.Also, I've downloaded the same files from the same sources (web site ornews server) using Juno's free internet access and I only need a singleconnection to get the same download rates as using 2-4 with my ISP.During times when less people are connected (late at night, or during the2003 east coast blackout), I get much better download rates. Also, theformer Supernews employee tested my account by connecting using his systemand he experienced the same packet loss. Afterwards he said "I didn'trealize how bad it was."I've sent all this info to the ISP (LocalNet), including printouts showinga side by side comparison with Juno, but they still claim they can'tduplicate the problem.Another interesting thing to note is that anytime I get someone on thephone who seems genuinely interested in helping me, such as a supervisor oran engineer, and they promise to look into it, I never hear from themagain. When I call back, they're never available to talk to me and the mostI get is a relayed message quoting the company line; "There's nothing wronghere. The net is too unpredictable to guarantee any set download speed.There's nothing we can do for you." It's like they get told by the companyto drop it (although I have no proof of this).Of course their tech support is fairly incompetent anyway. I used to getdisconnected all the time, but yet they claimed that nobody else had thatproblem. Anytime I see anyone talking about LocalNet, frequent disconnectsare the number one complaint. While trying to diagnose the speed problems,I discovered a routing issue using Supernews's trace page. Traces to unusedLocalNet IP addresses would loop until they reached the maximum number ofhops. LocalNet tried to claim that this was completely normal. Also, atvarious times, I've gotten RADIUS errors while logging onto the newsserver, which means that their RADIUS server didn't properly respond toSupernews's attempt to validate my name/password. Twice now it's gotten sobad that it was happening about 50% of the time. LocalNet tried to claimthat it was a problem with my dialup networking configuration. :-/Post by BillBupdated drivers or firmware (if you're not using a "WinModem") mightwork better with the

2025-04-24
User1143

IP don't fragment flag is marked with a trailing (DF). Timestamps By default, all output lines are preceded by a timestamp. The timestamp is the current clock time in the form hh:mm:ss.frac and is as accurate as the kernel's clock. The timestamp reflects the time the kernel first saw the packet. No attempt is made to account for the time lag between when the Ethernet interface removed the packet from the wire and when the kernel serviced the 'new packet' interrupt. Examples tcpdump host sundown Prints all packets arriving at or departing from host sundown. tcpdump host helios and \( hot or ace \) Prints traffic between host helios and either hot or ace. tcpdump ip host ace and not helios Prints all IP packets between ace and any host except helios. tcpdump 'gateway snup and (port ftp or ftp-data)' Prints all ftp traffic through Internet gateway snup. Note that the expression is quoted to prevent the shell from interpreting the parentheses. tcpdump ip and not net localnet Prints traffic neither sourced from nor destined for local hosts. If you gateway to another network, this stuff should never make it onto your local network. tcpdump 'tcp[tcpflags] & (tcp-syn|tcp-fin) != 0 and not src and dst net localnet' Prints the start and end packets (the SYN and FIN packets) of each TCP conversation that involves a non-local host. tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)>2)) != 0)' Prints all IPv4 HTTP packets to and from port 80. tcpdump prints only packets that contain data; not, for example, SYN and FIN packets and ACK-only packets. tcpdump 'gateway snup and ip[2:2] > 576' Prints IP packets longer than 576 bytes sent through gateway snup. tcpdump 'ether[0] & 1 = 0 and ip[16] >= 224' Prints IP broadcast or multicast packets that were not sent via Ethernet broadcast or multicast. tcpdump 'icmp[icmptype] != icmp-echo and icmp[icmptype] != icmp-echoreply' Prints all ICMP packets that are not echo requests/replies (i.e., not ping packets). ip — Display and manipulate information about routing, devices, policy routing and tunnels.stty — Set options for your terminal display.

2025-04-17
User2589

が含まれる yahoo.co.jp も yahoo.com も拒否される。 bingで yahoo を検索 を検索してもフィルタリングされる。URLパラメータもフィルタ対象になるようだ。 ただし、Googleだとフィルタされない。Googleで Yahoo を検索。Yahooは検索できるが、検索結果をクリックすると、遮断された。 Squidのログ 1411054269.454 236673 192.168.11.5 TCP_MISS/200 425280 CONNECT www.google.co.jp:443 - DIRECT/74.125.235.111 -1411054269.454 151626 192.168.11.5 TCP_MISS/200 14090 CONNECT encrypted-tbn1.gstatic.com:443 - DIRECT/173.194.38.68 -1411054269.454 151594 192.168.11.5 TCP_MISS/200 9344 CONNECT encrypted-tbn2.gstatic.com:443 - DIRECT/173.194.38.70 -1411054269.454 151391 192.168.11.5 TCP_MISS/200 8903 CONNECT encrypted-tbn0.gstatic.com:443 - DIRECT/173.194.38.65 -1411054269.454 151391 192.168.11.5 TCP_MISS/200 8536 CONNECT encrypted-tbn3.gstatic.com:443 - DIRECT/173.194.38.71 -1411054395.782 0 192.168.11.5 TCP_DENIED/403 1391 GET - NONE/- text/html Google で Yahoo を検索した時のIEの開発者ルールキャプチャ 許可リストにあるもののみ許可する bing.com yahoo.co.jp cman.jp だけ通し、それ以外は遮断。http_access allow localnetをコメントアウトする。acl whiteList dstdomain .bing.com .yahoo.co.jp .cman.jphttp_access allow whiteList#http_access allow localnet Googleは遮断される。 Bingには接続できる。 cman.jpに接続しているが、cman.jpでないドメインの広告が除外されている。 SSL接続を遮断してみる acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl CONNECT method CONNECT http_access allow manager localhosthttp_access deny managerhttp_access deny !Safe_ports#http_access deny CONNECT !SSL_ports http_access deny CONNECT SSL_ports #urlにyahooがあるのを遮断acl denyRegx url_regex yahoohttp_access deny denyRegx http_access allow localnet GoogleはSSL接続なので遮断される。 とりあえず、プロキシを稼働させてみた。運用するわけでないので、さらなる追及はまた今度。

2025-04-07

Add Comment