![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
For some reason whenever I try to connect with ircII or irssi, it will not let me connect to ANY IRC server, not even my friend's private one.
But if I switch to say Linux or Windows partition on this computer, I can get on IRC fine with irssi and HydraIRC. But on OpenBSD with irssi I get like "Connection refused" or with ircII I get a similar message like: Code:
*** Connecting to port 6667 of server irc.freenode.net *** Connection closed from irc.freenode.net: Connection reset by peer *** Unable to connect to server irc.freenode.net Update: BUT if I use a web service like mibbit.com to connect to IRC on OpenBSD, I can connect fine! I need to get my clients working, though because Firefox takes up a lot of memory more than irssi or ircII (I just tried xchat too but still same error that I can't connect). Last edited by guitarscn; 31st August 2009 at 10:56 PM. |
|
|||
![]() Code:
# $OpenBSD: pf.conf,v 1.38 2009/02/23 01:18:36 deraadt Exp $ # # See pf.conf(5) for syntax and examples; this sample ruleset uses # require-order to permit mixing of NAT/RDR and filter rules. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 # in /etc/sysctl.conf if packets are to be forwarded between interfaces. set require-order no set skip on lo scrub in # NAT/filter rules and anchors for ftp-proxy(8) #nat-anchor "ftp-proxy/*" #rdr-anchor "ftp-proxy/*" #rdr pass on ! egress proto tcp to port ftp -> 127.0.0.1 port 8021 #anchor "ftp-proxy/*" #pass out proto tcp from $proxy to any port ftp # NAT/filter rules and anchors for relayd(8) #rdr-anchor "relayd/*" #anchor "relayd/*" # NAT rules and anchors for spamd(8) #table <spamd-white> persist #table <nospamd> persist file "/etc/mail/nospamd" #no rdr on egress proto tcp from <nospamd> to any port smtp #no rdr on egress proto tcp from <spamd-white> to any port smtp #rdr pass on egress proto tcp from any to any port smtp -> 127.0.0.1 port spamd pass in # to establish keep-state #block in quick from urpf-failed to any # use with care # By default, do not permit remote connections to X11 block in on ! lo0 proto tcp from any to any port 6000 |
|
|||
![]()
Yes, same IP address
I remember in March I couldn't load scripts but I got it working. But at that time, I had similar issues to this one I have now, but I never pursued it which is why there is somewhat of a gap between times I have been posting, because when I am not posting questions, it usually means I am using another OS because I run into a lot of hassles on OpenBSD each time I use it. Anyway, it WAS working before, but then it suddenly stopped working I think when I installed something, or changed settings for something? Maybe Tor/Privoxy or Bitlbee because I had to change some inetd settings as well as some xinetd thing, and for Privoxy I put something into rc.local for it to work Here I am using rl0 which is my ethernet. Code:
# ifconfig -A lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33204 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:03:0d:15:18:6f priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::203:dff:fe15:186f%rl0 prefixlen 64 scopeid 0x1 inet 172.17.4.72 netmask 0xffffff00 broadcast 172.17.4.255 enc0: flags=0<> mtu 1536 priority: 0 ath0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:14:bf:7b:2f:34 priority: 0 groups: wlan media: IEEE802.11 autoselect status: no network ieee80211: nwid "" Code:
# route -n show -inet Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 172.17.4.1 UGS 9 36469 - 8 rl0 127/8 127.0.0.1 UGRS 0 0 33204 8 lo0 127.0.0.1 127.0.0.1 UH 4 597 33204 4 lo0 172.17.4/24 link#1 UC 1 0 - 4 rl0 172.17.4.1 00:1f:45:47:89:1b UHLc 1 0 - 4 rl0 172.17.4.72 127.0.0.1 UGHS 0 0 33204 8 lo0 224/4 127.0.0.1 URS 0 0 33204 8 lo0 Code:
# vi /etc/host hostapd.conf hosts hosts.equiv hosts.lpd And I also have no /etc/mygate Last edited by guitarscn; 1st September 2009 at 12:47 AM. |
|
||||
![]()
Back in February, ocicat recommended FAQ 6:
http://www.daemonforums.org/showthre...2878#post21488 http://www.daemonforums.org/showthre...2878#post21492 In that thread where FAQ 6 was discussed, you wrote you had an /etc/hostname.rl0 file. Since you no longer have it ... something has changed since the last time you mentioned your network configuration, back in February. I'll ask again: did IRC ever work for you in the past? You asked about IRC script files in March. Apparently, you are no longer using a static IP address, and it looks to me like you are using DHCP, and are manually using dhclient(8) once again, rather than a hostname file. A re-reading of FAQ 6 is recommended, since you are not automating your network configuration. As currently configured, your network appears as follows: IP Address: 172.17.4.72I see nothing unusual in your configuration, other than a lack of correct configuration files. Your default route (network gateway) appears to be routing properly, according to your routing table. This give me the opportunity to ask you a second time: when you boot another OS on the same computer, can you please confirm the other OSes use the same IP address of 172.17.4.72? I'm asking this (again), because the problem, as I understand it, is that IRC is the only network application you have tried that is not working. Is that assumption correct? If so, then the most likely reason is a firewall setting. Your firewall is external to OpenBSD, and resides in your gateway router at 172.17.4.1. If your Linux and Windows systems use a different IP address, than that would explain why they work and this OS does not. |
|
||||
![]()
I just went back and noted you are running Tor. It will get in the way of many normal TCP/IP applications, in particular, IRC. If you disable Tor, your IRC function will probably return to normal.
Tor's brief description (highlight mine): Quote:
|
|
|||
![]()
What I think I will try is, save all my configurations and stuff since I don't have much installed, and re-install a fresh copy of 4.5 and only install ircII and see if that works first and maybe that will tell me if another program is affecting IRC or not
|
|
|||
![]()
Some IRC networks don't allow Tor connections, see https://wiki.torproject.org/noreply/...er/BlockingIrc
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
I never use Tor with IRC, I just have it installed and running for Firefox
|
|
||||
![]()
Sigh. Did you do either of these, and try your IRC connection again?
A. ReinstallB is simple, quick, and easier than A, if you haven't done either, yet. Last edited by jggimi; 4th September 2009 at 02:25 PM. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restore OBSD Over SSH | revzalot | OpenBSD Installation and Upgrading | 16 | 2nd September 2009 06:45 PM |
Vista network issues behind PF Firewall | cerulean | Other OS | 3 | 10th November 2008 10:36 PM |
obsd 4.3 chrooted sftp permissions? | luismi | OpenBSD General | 4 | 12th July 2008 11:39 PM |
Cacti performance OBSD vs. CentOS | ai-danno | General software and network | 8 | 3rd July 2008 08:51 PM |
obsd 4.3 secure ssh use | milo974 | OpenBSD Security | 9 | 3rd July 2008 11:23 AM |